0
$\begingroup$

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.

$\endgroup$
0
$\begingroup$

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

$\endgroup$
  • $\begingroup$ thanks ,it was simple,but didn't click my mind $\endgroup$ – user20913 Jul 15 at 15:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.