Maths Olympiad Prep

Library / Turkey — Team Selection Test /52 of 66

Turkey — Team Selection Test

Algebra Difficulty 8.5 Shortlist Prove it Turkey

Let (an)n=1∞(a_n)_{n=1}^\infty be a sequence of integers such that a1=−5a_1 = -5, a2=−6a_2 = -6 and
an+1=an+(a1+1)(2a2+1)(3a3+1)⋯((n−1)an−1+1)((n2+n)an+2n+1) a_{n+1} = a_n + (a_1+1)(2a_2+1)(3a_3+1)\cdots((n-1)a_{n-1}+1)((n^2+n)a_n+2n+1)
for all integers n≥2n \ge 2. Prove that if prime number pp divides nan+1n a_n + 1 for some positive integer nn, then there exists an integer mm such that m2≡5(modp)m^2 \equiv 5 \pmod{p}.

Solution

Define bn=(a1+1)(2a2+1)⋯((n−1)an−1+1)b_n = (a_1 + 1)(2a_2 + 1) \cdots ((n-1)a_{n-1} + 1) for n=2,3,…n = 2, 3, \dots and let b1=1b_1 = 1. By using mathematical induction we will prove that for all positive values of nn
bn+1=(b1+2b2+⋯+nbn)2−5(1) b_{n+1} = (b_1 + 2b_2 + \dots + n b_n)^2 - 5 \quad (1)
For n=1n=1 we have b2=a1+1=−4b_2 = a_1 + 1 = -4 and hence b2=−4=b12−5b_2 = -4 = b_1^2 - 5 and (1) holds. Assume that (1) holds for n=k−1n = k - 1. Then we have bk=(b1+2b2+⋯+(k−1)bk−1)2−5b_k = (b_1 + 2b_2 + \dots + (k-1)b_{k-1})^2 - 5. In order to prove that (1) is held for n=kn = k we show that
bk+1−bk=k2bk2+2kbk(b1+2b2+⋯+(k−1)bk−1)(2) b_{k+1} - b_k = k^2 b_k^2 + 2k b_k (b_1 + 2b_2 + \dots + (k-1)b_{k-1}) \quad (2)
By definition of bnb_n, we have an+1−an=(a1+1)(2a2+1)(3a3+1)⋯((n−1)an−1+1)((n2+n)an+2n+1)=(n+1)bn+1+nbna_{n+1} - a_n = (a_1 + 1)(2a_2 + 1)(3a_3 + 1) \cdots ((n-1)a_{n-1} + 1)((n^2 + n)a_n + 2n + 1) = (n+1)b_{n+1} + n b_n. Hence we obtain that
ak−a2=∑i=3kai−ai−1=∑j=3kjbj+(j−1)bj−1=kbk+2(3b3+4b4+⋯+(k−1)bk−1)+2b2. a_k - a_2 = \sum_{i=3}^{k} a_i - a_{i-1} = \sum_{j=3}^{k} j b_j + (j-1) b_{j-1} = k b_k + 2(3b_3 + 4b_4 + \dots + (k-1)b_{k-1}) + 2b_2.
Since a2=−6a_2 = -6, b1=1b_1 = 1, b2=−4b_2 = -4, we conclude that ak−kbk=2(b1+2b2+⋯+(k−1)bk−1)a_k - k b_k = 2(b_1 + 2b_2 + \dots + (k-1)b_{k-1}). Therefore
bk+1−bkkbk−kbk=2(b1+2b2+⋯+(k−1)bk−1) \frac{b_{k+1} - b_k}{k b_k} - k b_k = 2(b_1 + 2b_2 + \dots + (k-1)b_{k-1})
and (2) is held. Thus, (1) is proved. Now if pp is a prime number dividing nan+1n a_n + 1, then pp also divides bn+1b_{n+1} and therefore we can choose m=b1+2b2+⋯+nbnm = b_1 + 2b_2 + \dots + n b_n and in this case pp divides m2−5=bn+1m^2 - 5 = b_{n+1}.

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.