Skip to main content
OlympiadHQ

Browse · MathNet

Print

IMO 2006 Shortlisted Problems

2006 number theory

Problem

Find all integer solutions of the equation
Solution
The equation has no integer solutions. To show this, we first prove a lemma.

Lemma. If is an integer and is a prime divisor of then either or .

Proof. Both and are divisible by , by hypothesis and by Fermat's little theorem, respectively. Suppose that does not divide . Then , so there exist integers and such that . We therefore have and so It follows that divides , hence must hold if does not, as stated.

The lemma shows that each positive divisor of satisfies either or .

Now assume that is an integer solution of the original equation. Notice that , because for all . Since divides , we have or by the previous paragraph. In the first case, , and in the second . Both possibilities contradict the fact that the positive divisor of is congruent to or modulo . So the given equation has no integer solutions.
Final answer
No integer solutions exist.

Techniques

Fermat / Euler / Wilson theoremsPrime numbersGreatest common divisors (gcd)Techniques: modulo, size analysis, order analysis, inequalities