Sum of two squares equal to $2018^{2019}+2018$

463 Views Asked by At

$$x^2+y^2 = 2018^{2019}+2018$$

is expressed as sum of two perfect squares.

Any pair of perfect squares can satisfy?

2

There are 2 best solutions below

0
On

See that your expression equals $2018(2018^{2018}+1).$ If you can do two things, you can solve your problem:

  1. Express $2018$ as a sum of two squares.

  2. Convert the product of two sums of two squares into one sum of two squares.

0
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.)