Skip to main content
OlympiadHQ

Browse · MathNet

Print

Balkan Mathematical Olympiad

number theory

Problem

Find all integer solutions of the equation
Solution
We start by observing that must be even, so is divisible by , which implies that is even, say . Then our equation can be rewritten as , which means that both and for some nonnegative integer . Since is not divisible by , it follows that and Suppose that . Then is divisible by , which is only possible if . However, in this case , so is also divisible by , which is impossible. Therefore we must have , which yields a (unique) solution .
Final answer
(2, 1, 2)

Techniques

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