Skip to main content
OlympiadHQ

Browse · MathNet

Print

58th Ukrainian National Mathematical Olympiad

Ukraine number theory

Problem

Find all positive integer numbers such that:
Solution
Rewrite first equation in the form and subtract the second equation: . Thus, it is obvious, that , so there are only the following cases.

Case 1. , . It is obvious, that , so there are no solutions.

Case 2. , . Then we have an equality or . Thus, . Then from the first equality . It is not hard to see, that these values satisfy also the second equality. Thus, for any the answer is a set of numbers: , , and .

Case 3. , or , . Then we have equality and so there are no answers.

Case 4. , . Then we have an equality and then there are no answers.
Final answer
All solutions are p = 2, n = 1, k ≥ 3 with x = 2^{k-3} and y = 3·2^{k-3}. No other positive integer solutions exist.

Techniques

Techniques: modulo, size analysis, order analysis, inequalitiesFactorization techniques