Browse · MathNet
PrintT3MO 2017
Thailand 2017 number theory
Problem
Find all positive integers such that is a perfect square.
Solution
For , we can easily check that are the only positive integers satisfying the condition.
We will prove that there are no other positive integers which satisfy the condition. Assume to the contrary that there exists a positive integer that satisfies the condition. Let for some non-negative integer .
So . Let be a prime factor of . From and , we get that is divisible by . This means or . But from the quadratic reciprocity theorem, which is 1 only when . So every prime factor of is 3 or is congruent to 1 modulo 3. That is .
Case 1 ; that is So , which contradicts the fact that is a perfect square.
Case 2 ; that is So or or . Then . But since , this implies that . So or . Thus , which contradicts our conclusion that all prime factors of are 3 or are congruent to 1 modulo 3.
So the only positive integers satisfying the condition are 1, 2 and 4.
We will prove that there are no other positive integers which satisfy the condition. Assume to the contrary that there exists a positive integer that satisfies the condition. Let for some non-negative integer .
So . Let be a prime factor of . From and , we get that is divisible by . This means or . But from the quadratic reciprocity theorem, which is 1 only when . So every prime factor of is 3 or is congruent to 1 modulo 3. That is .
Case 1 ; that is So , which contradicts the fact that is a perfect square.
Case 2 ; that is So or or . Then . But since , this implies that . So or . Thus , which contradicts our conclusion that all prime factors of are 3 or are congruent to 1 modulo 3.
So the only positive integers satisfying the condition are 1, 2 and 4.
Final answer
1, 2, 4
Techniques
Quadratic reciprocityQuadratic residuesPrime numbersTechniques: modulo, size analysis, order analysis, inequalities