Skip to main content
OlympiadHQ

Browse · MathNet

Print

IMO Team Selection Test 1

Netherlands algebra

Problem

The sequence of integers is defined by and for all . Determine all integers for which for all .
Solution
The sequence is given by the formula for . (We use the usual definition , which satisfies , in the same way we have for other positive integers .) We will prove the equality by induction. We have , which equals . Now suppose for certain that , then This finishes the induction.

We see that is always odd, hence for all . It follows also that for all . Hence, with satisfies the condition. Now consider an which is not a power of two. Then has an odd prime divisor, say . We will show that is a divisor of . By Wilson's theorem, we have . Hence, So indeed we have . We conclude that does not satisfy the condition. Hence, the only values of satisfying the condition are powers of two.
Final answer
All m that are powers of two: m = 2^i for i ≥ 1.

Techniques

Recurrence relationsFermat / Euler / Wilson theoremsGreatest common divisors (gcd)Prime numbers