Maths Olympiad Prep

Track / Stage 7 / 288 of 300 #1688 of 1964

Problem 1688

National olympiad second round; IMO P1/P4
Number theory Difficulty 7.9 Prove it

Let c1c \ge 1 be an integer. Define a sequence of positive integers by a1=ca_1 = c and an+1=an34can2+5c2an+ca_{n+1}=a_n^3-4c\cdot a_n^2+5c^2\cdot a_n+c for all n1n\ge 1. Prove that for each integer n2n \ge 2 there exists a prime number pp dividing ana_n but none of the numbers a1,,an1a_1 , \ldots , a_{n -1} .

Proposed by Austria

This one wants a proof. Work it on paper, then read the official solution and mark yourself. Be honest about it: the record is only any use to you if it is.

Official solution

1. Define the sequence and initial conditions:
Let c1 c \ge 1 be an integer. Define a sequence of positive integers by a1=c a_1 = c and
an+1=an34can2+5c2an+c a_{n+1} = a_n^3 - 4c \cdot a_n^2 + 5c^2 \cdot a_n + c
for all n1 n \ge 1 .

2. **Establish the periodicity modulo an a_n :**
We claim that for all integers k k , an+kak(modan) a_{n+k} \equiv a_k \pmod{a_n} . This can be shown by induction:
- Base case: For k=1 k = 1 , we have an+1c(modan) a_{n+1} \equiv c \pmod{a_n} .
- Inductive step: Assume an+kak(modan) a_{n+k} \equiv a_k \pmod{a_n} . Then,
an+k+1=an+k34can+k2+5c2an+k+cak34cak2+5c2ak+c=ak+1(modan). a_{n+k+1} = a_{n+k}^3 - 4c \cdot a_{n+k}^2 + 5c^2 \cdot a_{n+k} + c \equiv a_k^3 - 4c \cdot a_k^2 + 5c^2 \cdot a_k + c = a_{k+1} \pmod{a_n}.
Thus, an+k+1ak+1(modan) a_{n+k+1} \equiv a_{k+1} \pmod{a_n} .

3. **Show that aiaj(moda(i,j)) a_i \equiv a_j \pmod{a_{(i,j)}} :**
By the Euclidean algorithm, for any positive integers i i and j j , we have aiab(modaj) a_i \equiv a_b \pmod{a_j} where i=aj+b i = aj + b and 0b<j 0 \leq b < j . Hence, a(i,j)=(ai,aj) a_{(i,j)} = (a_i, a_j) .

4. **Prove that if ni n \mid i , then aian(modai2) a_i \equiv a_n \pmod{a_i^2} :**
Notice that
an+1=5c2an+c(modan2). a_{n+1} = 5c^2 \cdot a_n + c \pmod{a_n^2}.
Therefore,
an+2(5c2an+c)34c(5c2an+c)2+5c2(5c2an+c)+c(modan2). a_{n+2} \equiv (5c^2 \cdot a_n + c)^3 - 4c \cdot (5c^2 \cdot a_n + c)^2 + 5c^2 \cdot (5c^2 \cdot a_n + c) + c \pmod{a_n^2}.
Simplifying, we get:
an+22c2+ca2(modan2). a_{n+2} \equiv 2c^2 + c \equiv a_2 \pmod{a_n^2}.
Hence, for all integers k2 k \ge 2 , an+kak(modan2) a_{n+k} \equiv a_k \pmod{a_n^2} . Thus, aian(modan2) a_i \equiv a_n \pmod{a_n^2} .

5. **Assume there exists an integer m m such that for all pam p \mid a_m , there exists 1im1 1 \leq i \leq m-1 such that pai p \mid a_i :**
Let p1,p2,,pk p_1, p_2, \ldots, p_k be the prime factors of am a_m . Let qi=mpi q_i = \frac{m}{p_i} for all 1ik 1 \leq i \leq k .

6. **Claim that if p p is a prime factor of am a_m , then paqi p \mid a_{q_i} for some 1im1 1 \leq i \leq m-1 :**
Suppose not, then there exists 1in 1 \leq i \leq n such that pan p \mid a_n . From the periodicity, we have pa(m,n) p \mid a_{(m,n)} . Notice that (m,n)m (m,n) \neq m , hence there exists 1ik1 1 \leq i \leq k-1 such that (m,n)aqi (m,n) \mid a_{q_i} , which implies paqi p \mid a_{q_i} . This is a contradiction.

7. **Show that amaqi(modaqi2) a_m \equiv a_{q_i} \pmod{a_{q_i}^2} :**
From the periodicity, we have:
amaqi(modaqi2). a_m \equiv a_{q_i} \pmod{a_{q_i}^2}.
This clearly implies vp(am)=vp(aqi) v_p(a_m) = v_p(a_{q_i}) .

8. **Prove that am(aqi)2pi a_m \geq (a_{q_i})^{2^{p_i}} :**
Notice that for (c,n)(1,2) (c,n) \neq (1,2) , we can show using algebra that:
an+1=an34can2+5c2an+can2. a_{n+1} = a_n^3 - 4c \cdot a_n^2 + 5c^2 \cdot a_n + c \geq a_n^2.
Therefore, if (c,qi)(1,2) (c, q_i) \neq (1,2) , the inequality follows. If c=1 c = 1 and qi=2 q_i = 2 , then m4 m \geq 4 . Since a4=18334=a24 a_4 = 183 \geq 3^4 = a_2^4 , we are also done.

9. Derive the final contradiction:
From the previous claims, we have:
am<i=1kaqi. a_m < \prod_{i=1}^k a_{q_i}.
From the inequality, we have:
1<i=1k12pi<i=112i=1, 1 < \sum_{i=1}^k \frac{1}{2^{p_i}} < \sum_{i=1}^{\infty} \frac{1}{2^i} = 1,
which is a contradiction.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.