Skip to main content
OlympiadHQ

Browse · MathNet

Print

XVI-th Junior Balkan Mathematical Olympiad

North Macedonia number theory

Problem

Find all positive integers , , and such that
Solution
Reducing modulo we get , therefore is even, , . Next we prove that is even. Obviously, . Let us suppose that is odd, say , . The equation becomes . If , reducing modulo we get , a contradiction. And if , we have and reducing modulo we obtain which means that is even. Then , . We obtain , and reducing modulo we get which is false for all . Hence is even, , as claimed.

Now the equation can be written as As and , there exist exactly three possibilities:

### Case 1. We have and reducing modulo , we get , hence is even, i.e. , , where , since would mean which is impossible (even=odd). We obtain Then we have We obtain , false. In conclusion, in this case there are no solutions to the equation.

### Case 2. From we obtain . Then , i.e. , hence is odd. As , we get , hence , . As in the previous case, from reducing modulo we obtain (because ). We get i.e. , hence, reducing modulo we obtain which is false, because is congruent either to (if is even) or to (if is odd). In conclusion, in this case there are no solutions to the equation.

### Case 3. From it follows that the last digit of is , hence , . If , from reducing modulo we obtain which is false. For we get and the solution .
Final answer
(x, y, z, t) = (3, 1, 2, 2)

Techniques

Techniques: modulo, size analysis, order analysis, inequalitiesGreatest common divisors (gcd)Factorization techniquesMultiplicative order