Maths Olympiad Prep

Library / Saudi Arabian IMO Booklet /18 of 26

Saudi Arabian IMO Booklet

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+n⋅an,∀n≥1. 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 p∣aip|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 3∉S3 \notin S by proving that
a3k−2≡2(mod3), a3k−1≡2(mod3)  and  a3k≡2(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+2⋅2=8≡2(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)≡2⋅2≡1(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 an∣an+1a_n|a_{n+1} so an∣ama_n|a_m for all m≥nm \ge n. By the definition of SS, there are some index tt such that p1∣atp_1|a_t, thus p1∣at′p_1|a_{t'} for all t′≥tt' \ge t. Similarly for p2,p3,…,pkp_2, p_3, \dots, p_k so there exist NN big enough such that p1p2⋯pk∣anp_1p_2\cdots p_k|a_n for all n≥Nn \ge N. Taking the integer ℓ>N+1\ell > N + 1 such that ℓ≡2(modp1p2⋯pk)\ell \equiv 2 \pmod{p_1p_2\cdots p_k}. Since aℓ=aℓ−1(aℓ−1+ℓ−1)a_\ell = a_{\ell-1}(a_{\ell-1} + \ell - 1), we get
aℓ−1+ℓ−1≡1(modp1p2⋯pk) a_{\ell-1} + \ell - 1 \equiv 1 \pmod{p_1 p_2 \cdots p_k}
so aℓ−1+ℓ−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,604 problems in a working order, from Junior Challenge level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.