Problem:
Determine all triples satisfying
where and are integers and is a prime number.
JBMO Shortlist
Solution
Solution:
By Fermat's theorem , therefore .
Case 1: . We have . Therefore,
and does not divide . On the other hand, by Fermat's theorem
(28) and (29) yield . Thus, .
Case 2: . Let us consider (27) in mod 4. or in mod 4. In both cases . From (27) we get . Therefore, , and again there is no solution.
Case 3: . The given equation is written as
Let . Readily, we do not get any solution for , . If , then there are four solutions: . There is no solution for , since in this case
Thus, (27) has four solutions: and we are done.
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.