Problem:
Find all triples of non-negative integers such that is prime and
NZMO Round One
Solution
Solution:
The equation rearranges to be
Since is a non-negative integer, both factors and must be positive integers. Therefore both and are both powers of . Let
Now note that which must equal either or (because is prime). We consider each case individually:
If then and . Thus either or . Either way we get . This leads to and so .
If then . Thus or . So either or . We can't have so we must have . This leads to and so .
Therefore the only solutions for are and .
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.