Find all primes such that and the number is a perfect square.
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,000 problems in a working order, from AMC 10 level to the IMO shortlist.