Maths Olympiad Prep

Library / /19 of 27

Number theory Difficulty 8.3 Shortlist Prove it Saudi Arabia

Let (an)(a_n) be the integer sequence which is defined by a1=1a_1 = 1 and
an+1=an2+nan,n1. a_{n+1} = a_n^2 + n \cdot a_n, \forall n \ge 1.
Let SS be the set of all primes pp such that there exists an index ii such that paip|a_i. Prove that the set SS is an infinite set and it is not equal to the set of all primes.

Solution

First, we shall show that 3S3 \notin S by proving that
a3k22(mod3), a3k12(mod3)  and  a3k2(mod3). a_{3k-2} \equiv 2 \pmod{3},\ a_{3k-1} \equiv 2 \pmod{3}\ \text{ and }\ a_{3k} \equiv 2 \pmod{3}.
Since a1=1a_1 = 1, a2=2a_2 = 2, a3=22+22=82(mod3)a_3 = 2^2 + 2 \cdot 2 = 8 \equiv 2 \pmod{3} so the claim is true for k=1k = 1.
Suppose that the claim holds for k=nk = n. We have
a3n+1=a3n(a3n+3n)221(mod3),a3n+2=a3n+1(a3n+1+3n+1)1(1+1)2(mod3),a3n+3=a3n+2(a3n+2+3n+2)2(2+2)2(mod3). \begin{align*} a_{3n+1} &= a_{3n}(a_{3n} + 3n) \equiv 2 \cdot 2 \equiv 1 \pmod{3}, \\ a_{3n+2} &= a_{3n+1}(a_{3n+1} + 3n + 1) \equiv 1(1 + 1) \equiv 2 \pmod{3}, \\ a_{3n+3} &= a_{3n+2}(a_{3n+2} + 3n + 2) \equiv 2(2 + 2) \equiv 2 \pmod{3}. \end{align*}
Thus, the claim is also true for k=n+1k = n + 1. So by induction, the claim is proved.

Now suppose on the contrary that SS is finite, denote S={p1,p2,,pk}S = \{p_1, p_2, \dots, p_k\}. Note that anan+1a_n|a_{n+1} so anama_n|a_m for all mnm \ge n. By the definition of SS, there are some index tt such that p1atp_1|a_t, thus p1atp_1|a_{t'} for all ttt' \ge t. Similarly for p2,p3,,pkp_2, p_3, \dots, p_k so there exist NN big enough such that p1p2pkanp_1p_2\cdots p_k|a_n for all nNn \ge N. Taking the integer >N+1\ell > N + 1 such that 2(modp1p2pk)\ell \equiv 2 \pmod{p_1p_2\cdots p_k}. Since a=a1(a1+1)a_\ell = a_{\ell-1}(a_{\ell-1} + \ell - 1), we get
a1+11(modp1p2pk) a_{\ell-1} + \ell - 1 \equiv 1 \pmod{p_1 p_2 \cdots p_k}
so a1+1a_{\ell-1} + \ell - 1 is coprime to all primes in SS, which implies that SS has some prime divisor that not belong to SS, a contradiction. Hence, SS is an infinite set. \square

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.