2005 JBMO Problems/Problem 1
Find all positive integers satisfying the equation
We can re-write the equation as:
The above equation tells us that is a perfect square. Since . this implies that
Trying all values of from to , we find that result in perfect squares.
Thus, we have cases to check:
Thus all solutions are and .