Show that if the Diophantine equation $y^2=x^3+ 2$ has a solution, then $x$ and $y$ must both be odd.
How do I take into account the condition that $y^2=x^3+ 2$ has a solution? How do I take this into account to prove the question?
Show that if the Diophantine equation $y^2=x^3+ 2$ has a solution, then $x$ and $y$ must both be odd.
How do I take into account the condition that $y^2=x^3+ 2$ has a solution? How do I take this into account to prove the question?
Re-writing that as $y^2 - x^3 = 2$, the only possibilities are that $y$ and $x$ are both even, or $y$ and $x$ are both odd.
If they are even, then write $y=2k$ and $x=2t$. Then:
$$4k^2-8t^3 = 2 \\ 2k^2 - 4t^3 = 1$$
Which is impossible.