Browse · MathNet
PrintJunior Balkan Mathematical Olympiad
North Macedonia number theory
Problem
Find all positive integers such that is a perfect square.
Solution
Clearly, is odd, so, if this number is a perfect square then , , whence .
The integers and are coprime, so one of them must be divisible by , which means that the other must be at most . This shows that .
An easy induction shows that the above inequality is false for all , and a direct inspection confirms that the only convenient values in the case are and .
The integers and are coprime, so one of them must be divisible by , which means that the other must be at most . This shows that .
An easy induction shows that the above inequality is false for all , and a direct inspection confirms that the only convenient values in the case are and .
Final answer
3
Techniques
Techniques: modulo, size analysis, order analysis, inequalitiesFactorization techniques