Browse · MathNet
PrintBalkan Mathematical Olympiad Shortlist
algebra
Problem
The sequence is defined by the initial conditions , and the recursion for . Prove that has at least three prime factors for every positive integer .
Solution
Consider the sequence , defined by the initial conditions , , and the recursion for . We have , for all . In particular, , . It is not hard to see that the general formula for is Let be fixed. It follows from (1) that and thus It is easy to see that the terms of the sequence, defined by , are positive integers, which satisfy for all . In particular, we have Applying the identity with and for , we get Therefore, It follows from (2) and (3) that Since , by (3), (4) and (5) we have Now, suppose that there exists an such that has at most two prime factors. Then it follows from the relations in (2) that these prime factors must be 2 and (or) 3. Furthermore, (6) implies that we must have (7). Therefore, by (3) we get On the other hand, by (4) we have , and thus as by (4). This is a contradiction to (8) and therefore has at least three prime factors for every positive integer .
Alternative solution:
This approach is based on the fact that all linear sequences are periodic modulo arbitrary positive integer. We show that is divisible by , , . Observe that if is even for some , then is also even. Since is even, we conclude that is even for all positive integers . Therefore, is even. Let . Since and , it follows by induction that and . Hence, , i.e. is divisible by . Let . We have Since , and , , we conclude that the sequence is periodic with period . It follows from that for all positive integers . It remains to notice that , implying that . Therefore, is divisible by .
Alternative solution:
This approach is based on the fact that all linear sequences are periodic modulo arbitrary positive integer. We show that is divisible by , , . Observe that if is even for some , then is also even. Since is even, we conclude that is even for all positive integers . Therefore, is even. Let . Since and , it follows by induction that and . Hence, , i.e. is divisible by . Let . We have Since , and , , we conclude that the sequence is periodic with period . It follows from that for all positive integers . It remains to notice that , implying that . Therefore, is divisible by .
Techniques
Recurrence relationsPrime numbersGreatest common divisors (gcd)Pell's equations