Problem:
Find all positive integers such that there exists a prime number , such that
is a power of .
Junior Balkan MO
Solution
Solution:
Suppose that the positive integer is such that
for some prime and positive integer .
If , then by , whence , so should be even. Setting we obtain . It follows that and are both powers of , but since they are both odd, they are co-prime, and we have , i.e. and .
If , then (1) gives , which is impossible.
Let . Then it follows from (1) that we can not have . This means that , so should be even, and let . Then
If , then . However, both numbers are powers of , so and , .
If , then and we can take . For we have (this inequality is equivalent to , which is obviously true). Then , which is absurd.
It follows that the only solution is .
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.