I need help with solving the following diophantine equation: $$x^2+y^2=2018$$
Thanks a lot in advance!
I need help with solving the following diophantine equation: $$x^2+y^2=2018$$
Thanks a lot in advance!
HINTS:
$$2(31^2)<2018<2(32^2)$$ $$44^2<2018<45^2$$
Use these two to narrow down the range of possibilities, and test them by assigning all $y$ and seeing if $2018-y^2$ is a square number.
We know that $2018=1009^1·2^1$.
– Dr. Mathva Feb 18 '19 at 20:12