Find all solutions to , where m and n are non-zero integers.
Do it
Solution
Expanding both sides, Note that can be canceled and as , can be factored out.
Writing this as a quadratic equation in : .
The discriminant equals , which we want to be a perfect square.
Miraculously, this factors as . This is square iff (if and only if) is square or . It can be checked that the only nonzero that work are . Finally, plugging this in and discarding extraneous roots gives all possible ordered pairs as .
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.