Find all primes such that and the number is a perfect square.
Fall Mathematical Competition
Solution
It is obvious that and then . Hence which can be written as . Hence we have the following two cases:
Case 1. and . Then , whence and .
Case 2. and . Then , whence , a contradiction.
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.