Find all prime numbers and , such that is also prime.
Solution
If the pair satisfies the conditions of the problem, then so does the pair . It is therefore sufficient to only consider the case where . Obviously, is not a solution. If and are both odd primes, then is an even integer greater than , so it is not prime. Hence, .
Let us figure out when the number is prime. If , then is prime. Else, divides or , so divides which is then not prime.
We conclude that is prime only if and or and .
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.