What can be a function that take integers as input values,and give output as odd Numbers?

35 Views Asked by At

I want a function that can get input as integers and give result as odd numbers. for example if x=1,y=1 then (2,3) (3,5) (4,7) (5,9) (6,11) expressing y in terms of x.

1

There are 1 best solutions below

1
On

If you plot the points in the $xy$-plane, you'll see that they lie on a straight line: $$ y=2x-1 . $$