Browse · MathNet
PrintSAUDI ARABIAN MATHEMATICAL COMPETITIONS
Saudi Arabia number theory
Problem
Find all prime numbers such that is a perfect square.
Solution
Let be a prime satisfying the condition of the problem. By assumption, there is a positive integer such that .
It is clear that is a solution. Now, we consider . Put , one has . Since , it follows that there are positive integers and such that either or But, the first case cannot hold since , we get which is impossible.
For the second case, if is odd then , hence (since is odd). This turns out to be that is divisible by which contradicts to (since is odd). Thus, must be even. Put , then Again, since , there are positive integers such that either or As above, the equality leads to a contradiction. Hence, , that is Therefore, there are non-negative integers such that and . This gives, This happens if and only if and , i.e. and , we find that (satisfied).
In conclusion, .
It is clear that is a solution. Now, we consider . Put , one has . Since , it follows that there are positive integers and such that either or But, the first case cannot hold since , we get which is impossible.
For the second case, if is odd then , hence (since is odd). This turns out to be that is divisible by which contradicts to (since is odd). Thus, must be even. Put , then Again, since , there are positive integers such that either or As above, the equality leads to a contradiction. Hence, , that is Therefore, there are non-negative integers such that and . This gives, This happens if and only if and , i.e. and , we find that (satisfied).
In conclusion, .
Final answer
p = 2 and p = 5
Techniques
Greatest common divisors (gcd)Factorization techniquesTechniques: modulo, size analysis, order analysis, inequalities