Solve the equation in the set of integers.
Macedonian Junior Mathematical Olympiad
Solution
It is obvious that . If , then , i.e. . This is not possible because the remainders of squares of integers after division by are or . According to that, .
If , then .
If , then , i.e. .
Therefore are the solutions of the given equation.
Want a route through all this instead of an archive? The track
puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.