Skip to main content
OlympiadHQ

Browse · MathNet

Print

Vietnamese Mathematical Olympiad

Vietnam algebra

Problem

Let be the given integers and the sequence is defined by for all .

a) Prove that if then there are infinitely many pairs of integers so that .

b) Prove that there exists a positive integer such that exactly one of the following two statements is true:

i) There are infinitely many positive integers , such that is divisible by or ;

ii) There are infinitely many positive integers so that is divisible by 2023.
Solution
a) For , we have . By induction, one can prove for all . Then . For any , choose and . In other words, and , so we have This implies that there exist infinitely many pairs of for .

b) Note that . Let be the remainder of when divided by 2023. Then it is easy to check that is the periodic sequence with some period, denote by . We consider the following cases:

If there exists such that or . Let consider the first case while the other case does the same. Since , Hence proposition ii) is not satisfied. For all , choose . Because , and so for all . Thus the sequence contains at least 2023 terms which are divisible by 7. Hence, Therefore, proposition i) is satisfied.

If for all , choose , obviously proposition i) is not satisfied. Otherwise, , so by Euler's theorem, Set , for all , then choose . We will prove that . Indeed, we have ...... Hence for all . From this we conclude that or . So proposition ii) is true.

Techniques

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