Find all prime numbers and such that is a power of a prime number. (Numbers and are powers of prime numbers, but is not.)
, 2013
Solution
Write for some prime and some positive integer . The expression can be factored as . Since , the primes and cannot be equal and are therefore relatively prime. Let be the greatest common divisor of the numbers and . Then divides and . Since and are relatively prime, it follows that can be at most .
If , then as well as and . Adding the equations and dividing by we get , or . The numbers and have to be powers of , but this is only possible if . Now, we get a contradiction with .
So, . Since and are relatively prime and their product is a power of a prime, we have , or . Since is prime, we have and , so neither of the factors and is equal to . If their product is to be the square of a prime, the two factors have to be equal. The equality implies and from we then obtain . Finally, we check that is indeed a power of a prime. The only solution is .