Skip to main content
OlympiadHQ

Browse · MathNet

Print

55rd Ukrainian National Mathematical Olympiad - Fourth Round

Ukraine number theory

Problem

Positive integers , satisfy: . Find all such that is a square of an integer.
Solution
For we have and satisfies the problem.

For we have and doesn't satisfy the problem.

Assume now . Let , then . Hence: or . So . LHS is even, so as RHS. So . So only the following cases are possible.

1) , and .

If and , a contradiction with .

If and and . Hence .

2) , , and .

If and , so , hence .

If and and - contradiction.

---

Alternative solution.

Substitute into equality : If we have satisfies the problem.

If we have that equality (*) becomes , so is odd. The last equality can be transformed to: or Also . If are even, then they are powers of two, and also . Then , and the second solution is .
Final answer
a = 1 and a = 3

Techniques

Pell's equationsFactorization techniques