Browse · MathNet
Print16th Turkish Mathematical Olympiad
Turkey number theory
Problem
a. Find all primes for which is a perfect square.
b. Find all primes for which is a perfect square.
b. Find all primes for which is a perfect square.
Solution
Since for any odd integer , if for an integer and an odd prime , then either
Case 1: and
or
Case 2: and
for some integers .
a. Let . Since is a quadratic residue mod , but is not; Case 2 is not possible. In Case 1, . When we have . If , then . Let . Then implies that is a perfect square. But this is not possible as . We conclude that is the only prime for which is a perfect square.
b. Let . This time, is not a quadratic residue mod , and we have only Case 2 to consider.
.
Therefore, implies , which is impossible as and cannot be both powers of ; or , which is impossible as is not a quadratic residue mod . So there is no prime for which is a perfect square.
Case 1: and
or
Case 2: and
for some integers .
a. Let . Since is a quadratic residue mod , but is not; Case 2 is not possible. In Case 1, . When we have . If , then . Let . Then implies that is a perfect square. But this is not possible as . We conclude that is the only prime for which is a perfect square.
b. Let . This time, is not a quadratic residue mod , and we have only Case 2 to consider.
.
Therefore, implies , which is impossible as and cannot be both powers of ; or , which is impossible as is not a quadratic residue mod . So there is no prime for which is a perfect square.
Final answer
a) p = 3. b) No prime p.
Techniques
Quadratic residuesMultiplicative orderGreatest common divisors (gcd)Polynomial operationsTechniques: modulo, size analysis, order analysis, inequalities