Determine the prime numbers for which the number is a perfect square.
Solution
does not fulfill the requirement, but does: .
We show that there are no other solutions. Let be a prime number.
If , then , which shows that is not a perfect square.
If is a prime of the form , then, from Fermat's Little Theorem it follows that , hence , i.e. . If is a perfect square, then divides would lead to divides and divides 3, which is not possible.
In conclusion, the only solution to the problem is .
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.