Maths Olympiad Prep

Library / /16 of 63

, 2019

Algebra Difficulty 7.7 National olympiad, round 2 Prove it Turkey

Let (an)n=1(a_n)_{n=1}^\infty be a sequence of integers with a1=1a_1 = 1, a2=2a_2 = 2 and
an+2=an+12+(n+2)an+1an2nan a_{n+2} = a_{n+1}^2 + (n+2)a_{n+1} - a_n^2 - n a_n
for all n1n \ge 1.

a) Show that there exist infinitely many prime numbers dividing at least one term of this sequence.

b) Find three different prime numbers not dividing any term of this sequence.

Solution

a.
By putting b1=1b_1 = 1 and bn+1=an2+nanb_{n+1} = a_n^2 + n a_n for all n1n \ge 1 we get
an+2an+1=an+12+(n+1)an+1an2nan=bn+2bn+1. a_{n+2} - a_{n+1} = a_{n+1}^2 + (n+1)a_{n+1} - a_n^2 - n a_n = b_{n+2} - b_{n+1}.
We also have a1=b1=1a_1 = b_1 = 1, a2=b2=2a_2 = b_2 = 2. Hence, we conclude that an=bna_n = b_n for all n1n \ge 1. Then we get an+1=bn+1=an(an+n)a_{n+1} = b_{n+1} = a_n(a_n + n) for all n1n \ge 1.

Assume that the set of all prime numbers dividing at least one element of the sequence are finite. Denote these primes by p1,p2,,pkp_1, p_2, \dots, p_k. Since anan+1a_n \mid a_{n+1}, we have anama_n \mid a_m for all mnm \ge n. This means that if pianp_i \mid a_n for some i,ni, n, then piamp_i \mid a_m for all mnm \ge n. Therefore, there exists an index NN for which p1p2pkanp_1 \cdot p_2 \cdots p_k \mid a_n for all n>Nn > N.

Take an index \ell satisfying >N+1\ell > N+1 and 2(modp1p2pk)\ell \equiv 2 \pmod{p_1 \cdot p_2 \cdots p_k}. In this case, we get a=a1(a1+1)a_\ell = a_{\ell-1}(a_{\ell-1} + \ell - 1) and the expression a1+1a_{\ell-1} + \ell - 1 is not divisible by pip_i for all i=1,2,,ki = 1, 2, \dots, k. It is clear that this expression is larger than 1 and hence aa_\ell should have a prime divisor different from pip_i's, which is a contradiction.

b.
We will show that the primes 3, 5, 19 do not divide any term of (an)(a_n). We use the fact that for a prime number pp if amam+p(modp)a_m \equiv a_{m+p} \pmod{p} for some index mm, then aa+p(modp)a_\ell \equiv a_{\ell+p} \pmod{p} for all m\ell \ge m. Hence, after the index mm, the sequence becomes periodic modulo pp. Hence, if for some index mm, panp \nmid a_n for all n<m+pn < m + p, then we conclude that panp \nmid a_n for all nn.

Let us consider the sequence (an)(a_n) modulo 3, 5 and 19. We get
a1,a2,a3,a41,2,2,1(mod3)a_1, a_2, a_3, a_4 \equiv 1, 2, 2, 1 \pmod 3 so m=1,p=3m=1, p=3 holds.
a1,a2,a3,a4,a5,a61,2,3,3,1,1(mod5)a_1, a_2, a_3, a_4, a_5, a_6 \equiv 1, 2, 3, 3, 1, 1 \pmod 5 so m=1,p=5m=1, p=5 holds.
a1,a2,,a251,2,8,12,2,14,14,9,1,10,10,1,13,15,17,12,13,10,14,6,4,5,2,12,14(mod19)a_1, a_2, \dots, a_{25} \equiv 1, 2, 8, 12, 2, 14, 14, 9, 1, 10, 10, 1, 13, 15, 17, 12, 13, 10, 14, 6, 4, 5, 2, 12, 14 \pmod{19} so m=6,p=19m=6, p=19 holds. We are done.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic and difficulty added by this site.