Determine all pairs of primes for which both and are perfect squares.
, 2011
Solution
Answer. There is only one such pair, namely .
Proof. Let the pair be as described in the statement of the problem.
1.) First we show that . Otherwise, there would exist a prime for which and are perfect squares. Because of , the second condition gives and hence . But for or the expression fails to be a perfect square. Hence indeed and due to symmetry we also have .
2.) Next we consider the special case . Then is a perfect square, for which reason there exists an integer satisfying . Since is prime, this factorization yields and thus . This completes the discussion of the case .
3.) So from now on we may suppose that and are distinct odd prime. Let be a positive integer such that , i.e. . If both factors and were divisible by , then so were their difference , which is absurd. So by uniqueness of prime factorization we have and . Subtracting these equations we learn . Due to symmetry we also have . Now if , then , which gives a contradiction, and the case is excluded similarly.
Thereby the problem is solved.