Skip to main content
OlympiadHQ

Browse · MathNet

Print

75th NMO Selection Tests

Romania number theory

Problem

The sequence of positive integers is defined by and for . Let be an odd prime. Prove that has at least pairwise distinct prime divisors.
Solution
Let and write , . Clearly, , . If , it then follows that , so



As parities of the alternate and is odd, so is each of the factors above. We will prove that the factors are pairwise coprime, whence the conclusion.

Let and let . By the preceding, is odd. Suppose, if possible, that and let denote congruence modulo . Then , so . Continuing, and so on and so forth all the way up to get . On the other hand, , so . Hence , as is odd, so . Consider any index in the range through and use to get as , by the preceding paragraph. Hence . Similarly, , then and so on and so forth to conclude recursively that the sequence is periodic modulo . Let be the smallest period of the (mod ). Recall that , so divides . As is prime, either or . The former case is ruled out, as , so . Hence , so , as is odd. Recalling that , it follows that is divisible by . This is a contradiction, as . Consequently, the numbers , , are pairwise coprime, as stated. This ends the proof and completes the solution.

Techniques

Greatest common divisors (gcd)Factorization techniquesModular ArithmeticRecurrence relations