Browse · MathNet
PrintJunior Balkan Mathematical Olympiad
North Macedonia number theory
Problem
Find all the pairs of integers which satisfy the equation
Solution
If one of , is , the other has to be too, and is one solution.
If , let and we write , , with . Then, the given equation is transformed into So, by the above equation, we conclude that and thus . Similarly . Since , we get that , so we can write with . Then, equation (1) becomes Therefore, the difference must divide . This means that The smaller values of are or . Indeed, if then and or and , a contradiction. If , then and or and . Then , and or . Therefore, .
If then, without loss of generality, let and . Putting with , we have which is impossible. Thus, the only solutions are or .
If , let and we write , , with . Then, the given equation is transformed into So, by the above equation, we conclude that and thus . Similarly . Since , we get that , so we can write with . Then, equation (1) becomes Therefore, the difference must divide . This means that The smaller values of are or . Indeed, if then and or and , a contradiction. If , then and or and . Then , and or . Therefore, .
If then, without loss of generality, let and . Putting with , we have which is impossible. Thus, the only solutions are or .
Final answer
(m, n) = (0, 0) and (m, n) = (-2, 2)
Techniques
Techniques: modulo, size analysis, order analysis, inequalitiesGreatest common divisors (gcd)