Olympiad Maths Prep

Track / Stage 10 / 6 of 40 #1966 of 2000

Problem 1966

Hardest shortlist tier
Number theory Difficulty 9.2 Prove it 55th International Mathematical Olympiad Shortlist · IMO

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

This one wants a proof. Work it on paper, read the official solution, then mark yourself honestly — the ladder only means something if the record is true.

Official solution

Let us define x0=0x_{0}=0 and xn=an/cx_{n}=a_{n} / c for all integers n1n \geqslant 1. It is easy to see that the sequence (xnx_{n}) thus obtained obeys the recursive law
xn+1=c2(xn34xn2+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 n0n \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(xn2)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 n0n \geqslant 0, it is also strictly increasing. Since xn+1x_{n+1} is by (1) coprime to cc for any n0n \geqslant 0, it suffices to prove that for each n2n \geqslant 2 there exists a prime number pp dividing xnx_{n} but none of the numbers x1,,xn1x_{1}, \ldots, x_{n-1}. Let us begin by establishing three preliminary claims.

Claim 1. If ij(modm)i \equiv j(\bmod m) holds for some integers i,j0i, j \geqslant 0 and m1m \geqslant 1, then xixj(modxm)x_{i} \equiv x_{j}\left(\bmod x_{m}\right) holds as well.

*Proof.* Evidently, it suffices to show xi+mxi(modxm)x_{i+m} \equiv x_{i}\left(\bmod x_{m}\right) for all integers i0i \geqslant 0 and m1m \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+mxi(modxm)x_{i+m} \equiv x_{i}\left(\bmod x_{m}\right) for some integer ii, then the recursive equation (1) yields
xi+m+1c2(xi+m34xi+m2+5xi+m)+1c2(xi34xi2+5xi)+1xi+1(modxm), 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,j2i, j \geqslant 2 and m1m \geqslant 1 satisfy ij(modm)i \equiv j(\bmod m), then xixj(modxm2)x_{i} \equiv x_{j}\left(\bmod x_{m}^{2}\right) holds as well.

*Proof.* Again it suffices to prove xi+mxi(modxm2)x_{i+m} \equiv x_{i}\left(\bmod x_{m}^{2}\right) for all integers i2i \geqslant 2 and m1m \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+1Lxm+1(modxm2)x_{m+1} \equiv L x_{m}+1\left(\bmod x_{m}^{2}\right), and hence
xm+134xm+12+5xm+1(Lxm+1)34(Lxm+1)2+5(Lxm+1)(3Lxm+1)4(2Lxm+1)+5(Lxm+1)2(modxm2) \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+22c2+1x2(modxm2)x_{m+2} \equiv 2 c^{2}+1 \equiv x_{2}\left(\bmod x_{m}^{2}\right). \square

Claim 3. For each integer n2n \geqslant 2, we have xn>x1x2xn2x_{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 n3n \geqslant 3. Recall that x23x_{2} \geqslant 3, so by monotonicity and (2) we get xnx3x2(x22)2+x2+17x_{n} \geqslant x_{3} \geqslant x_{2}\left(x_{2}-2\right)^{2}+x_{2}+1 \geqslant 7. It follows that
xn+1>xn34xn2+5xn>7xn24xn2>xn2>xnxn1, 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>x1x2xn1x_{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 n2n \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 x1xn2x_{1} \cdots x_{n-2}. In particular, pxnp \mid x_{n}, and it suffices to prove that pp divides none of x1,,xn1x_{1}, \ldots, x_{n-1}.

Otherwise let k{1,,n1}k \in\{1, \ldots, n-1\} be minimal such that pp divides xkx_{k}. Since xn1x_{n-1} and xnx_{n} are coprime by (1) and x1=1x_{1}=1, we actually have 2kn22 \leqslant k \leqslant n-2. Write n=qk+rn=q k+r with some integers q0q \geqslant 0 and 0r<k0 \leqslant r<k. By Claim 1 we have xnxr(modxk)x_{n} \equiv x_{r}\left(\bmod x_{k}\right), whence pxrp \mid x_{r}. Due to the minimality of kk this entails r=0r=0, i.e. knk \mid n.

Thus from Claim 2 we infer
xnxk(modxk2) 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 and solution reproduced as published; topic, difficulty and ordering added by this site.