Maths Olympiad Prep

Track / Stage 10 / 2 of 32 #2574 of 2604

Problem 2574

Hardest shortlist tier
Number theory Difficulty 9.2 Prove it IMO Shortlist · IMO

Let c⩾1c \geqslant 1 be an integer. Define a sequence of positive integers by a1=ca_{1}=c and
an+1=an3−4c⋅an2+5c2⋅an+c a_{n+1}=a_{n}^{3}-4 c \cdot a_{n}^{2}+5 c^{2} \cdot a_{n}+c
for all n⩾1n \geqslant 1. Prove that for each integer n⩾2n \geqslant 2 there exists a prime number pp dividing ana_{n} but none of the numbers a1,…,an−1a_{1}, \ldots, a_{n-1}.

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.

Next problem →

Official solution

Let us define x0=0x_{0}=0 and xn=an/cx_{n}=a_{n} / c for all integers n⩾1n \geqslant 1. It is easy to see that the sequence (xnx_{n}) thus obtained obeys the recursive law
xn+1=c2(xn3−4xn2+5xn)+1 \begin{equation*} x_{n+1}=c^{2}\left(x_{n}^{3}-4 x_{n}^{2}+5 x_{n}\right)+1 \tag{1} \end{equation*}
for all integers n⩾0n \geqslant 0. In particular, all of its terms are positive integers; notice that x1=1x_{1}=1 and x2=2c2+1x_{2}=2 c^{2}+1. Since
xn+1=c2xn(xn−2)2+c2xn+1>xn \begin{equation*} x_{n+1}=c^{2} x_{n}\left(x_{n}-2\right)^{2}+c^{2} x_{n}+1>x_{n} \tag{2} \end{equation*}
holds for all integers n⩾0n \geqslant 0, it is also strictly increasing. Since xn+1x_{n+1} is by (1) coprime to cc for any n⩾0n \geqslant 0, it suffices to prove that for each n⩾2n \geqslant 2 there exists a prime number pp dividing xnx_{n} but none of the numbers x1,…,xn−1x_{1}, \ldots, x_{n-1}. Let us begin by establishing three preliminary claims.

Claim 1. If i≡j( mod m)i \equiv j(\bmod m) holds for some integers i,j⩾0i, j \geqslant 0 and m⩾1m \geqslant 1, then xi≡xj( mod xm)x_{i} \equiv x_{j}\left(\bmod x_{m}\right) holds as well.

Proof. Evidently, it suffices to show xi+m≡xi( mod xm)x_{i+m} \equiv x_{i}\left(\bmod x_{m}\right) for all integers i⩾0i \geqslant 0 and m⩾1m \geqslant 1. For this purpose we may argue for fixed mm by induction on ii using x0=0x_{0}=0 in the base case i=0i=0. Now, if we have xi+m≡xi( mod xm)x_{i+m} \equiv x_{i}\left(\bmod x_{m}\right) for some integer ii, then the recursive equation (1) yields
xi+m+1≡c2(xi+m3−4xi+m2+5xi+m)+1≡c2(xi3−4xi2+5xi)+1≡xi+1( mod xm), x_{i+m+1} \equiv c^{2}\left(x_{i+m}^{3}-4 x_{i+m}^{2}+5 x_{i+m}\right)+1 \equiv c^{2}\left(x_{i}^{3}-4 x_{i}^{2}+5 x_{i}\right)+1 \equiv x_{i+1}\left(\bmod x_{m}\right),
which completes the induction. □\square

Claim 2. If the integers i,j⩾2i, j \geqslant 2 and m⩾1m \geqslant 1 satisfy i≡j( mod m)i \equiv j(\bmod m), then xi≡xj( mod xm2)x_{i} \equiv x_{j}\left(\bmod x_{m}^{2}\right) holds as well.

Proof. Again it suffices to prove xi+m≡xi( mod xm2)x_{i+m} \equiv x_{i}\left(\bmod x_{m}^{2}\right) for all integers i⩾2i \geqslant 2 and m⩾1m \geqslant 1. As above, we proceed for fixed mm by induction on ii. The induction step is again easy using (1), but this time the base case i=2i=2 requires some calculation. Set L=5c2L=5 c^{2}. By (1) we have xm+1≡Lxm+1( mod xm2)x_{m+1} \equiv L x_{m}+1\left(\bmod x_{m}^{2}\right), and hence
xm+13−4xm+12+5xm+1≡(Lxm+1)3−4(Lxm+1)2+5(Lxm+1)≡(3Lxm+1)−4(2Lxm+1)+5(Lxm+1)≡2( mod xm2) \begin{aligned} x_{m+1}^{3}-4 x_{m+1}^{2}+5 x_{m+1} & \equiv\left(L x_{m}+1\right)^{3}-4\left(L x_{m}+1\right)^{2}+5\left(L x_{m}+1\right) \\ & \equiv\left(3 L x_{m}+1\right)-4\left(2 L x_{m}+1\right)+5\left(L x_{m}+1\right) \equiv 2 \quad\left(\bmod x_{m}^{2}\right) \end{aligned}
which in turn gives indeed xm+2≡2c2+1≡x2( mod xm2)x_{m+2} \equiv 2 c^{2}+1 \equiv x_{2}\left(\bmod x_{m}^{2}\right). □\square

Claim 3. For each integer n⩾2n \geqslant 2, we have xn>x1⋅x2⋯xn−2x_{n}>x_{1} \cdot x_{2} \cdots x_{n-2}.

Proof. The cases n=2n=2 and n=3n=3 are clear. Arguing inductively, we assume now that the claim holds for some n⩾3n \geqslant 3. Recall that x2⩾3x_{2} \geqslant 3, so by monotonicity and (2) we get xn⩾x3⩾x2(x2−2)2+x2+1⩾7x_{n} \geqslant x_{3} \geqslant x_{2}\left(x_{2}-2\right)^{2}+x_{2}+1 \geqslant 7. It follows that
xn+1>xn3−4xn2+5xn>7xn2−4xn2>xn2>xnxn−1, x_{n+1}>x_{n}^{3}-4 x_{n}^{2}+5 x_{n}>7 x_{n}^{2}-4 x_{n}^{2}>x_{n}^{2}>x_{n} x_{n-1},
which by the induction hypothesis yields xn+1>x1⋅x2⋯xn−1x_{n+1}>x_{1} \cdot x_{2} \cdots x_{n-1}, as desired. □\square

Now we direct our attention to the problem itself: let any integer n⩾2n \geqslant 2 be given. By Claim 3 there exists a prime number pp appearing with a higher exponent in the prime factorisation of xnx_{n} than in the prime factorisation of x1⋯xn−2x_{1} \cdots x_{n-2}. In particular, p∣xnp \mid x_{n}, and it suffices to prove that pp divides none of x1,…,xn−1x_{1}, \ldots, x_{n-1}.

Otherwise let k∈{1,…,n−1}k \in\{1, \ldots, n-1\} be minimal such that pp divides xkx_{k}. Since xn−1x_{n-1} and xnx_{n} are coprime by (1) and x1=1x_{1}=1, we actually have 2⩽k⩽n−22 \leqslant k \leqslant n-2. Write n=qk+rn=q k+r with some integers q⩾0q \geqslant 0 and 0⩽r<k0 \leqslant r<k. By Claim 1 we have xn≡xr( mod xk)x_{n} \equiv x_{r}\left(\bmod x_{k}\right), whence p∣xrp \mid x_{r}. Due to the minimality of kk this entails r=0r=0, i.e. k∣nk \mid n.

Thus from Claim 2 we infer
xn≡xk( mod xk2) x_{n} \equiv x_{k} \quad\left(\bmod x_{k}^{2}\right)
Now let α⩾1\alpha \geqslant 1 be maximal with the property pα∣xkp^{\alpha} \mid x_{k}. Then xk2x_{k}^{2} is divisible by pα+1p^{\alpha+1} and by our choice of pp so is xnx_{n}. So by the previous congruence xkx_{k} is a multiple of pα+1p^{\alpha+1} as well, contrary to our choice of α\alpha. This is the final contradiction concluding the solution.

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