$$x^2+y^2 = 2018^{2019}+2018$$
is expressed as sum of two perfect squares.
Any pair of perfect squares can satisfy?
$$x^2+y^2 = 2018^{2019}+2018$$
is expressed as sum of two perfect squares.
Any pair of perfect squares can satisfy?
On
Since $1009$ is prime and $1009 \equiv 1 \mod 4,$ $1009$ can be expressed as a sum of two squares. $2=1^2+1^2.$ $2018^{2018}+1=(2018^{1009})^2+1^2.$ From these, you can conclude that $2 \times 1009 \times (2018^{2018}+1)$ is a sum of two squares. (I leave to you as an exercise to prove that the product of a sum of two squares is also a sum of two squares.)
See that your expression equals $2018(2018^{2018}+1).$ If you can do two things, you can solve your problem:
Express $2018$ as a sum of two squares.
Convert the product of two sums of two squares into one sum of two squares.