Let us define x0=0 and xn=an/c for all integers n⩾1. It is easy to see that the sequence (xn) thus obtained obeys the recursive law
xn+1=c2(xn3−4xn2+5xn)+1(1)
for all integers n⩾0. In particular, all of its terms are positive integers; notice that x1=1 and x2=2c2+1. Since
xn+1=c2xn(xn−2)2+c2xn+1>xn(2)
holds for all integers n⩾0, it is also strictly increasing. Since xn+1 is by (1) coprime to c for any n⩾0, it suffices to prove that for each n⩾2 there exists a prime number p dividing xn but none of the numbers x1,…,xn−1. Let us begin by establishing three preliminary claims.
Claim 1. If i≡j(modm) holds for some integers i,j⩾0 and m⩾1, then xi≡xj(modxm) holds as well.
*Proof.* Evidently, it suffices to show xi+m≡xi(modxm) for all integers i⩾0 and m⩾1. For this purpose we may argue for fixed m by induction on i using x0=0 in the base case i=0. Now, if we have xi+m≡xi(modxm) for some integer i, then the recursive equation (1) yields
xi+m+1≡c2(xi+m3−4xi+m2+5xi+m)+1≡c2(xi3−4xi2+5xi)+1≡xi+1(modxm),
which completes the induction. □
Claim 2. If the integers i,j⩾2 and m⩾1 satisfy i≡j(modm), then xi≡xj(modxm2) holds as well.
*Proof.* Again it suffices to prove xi+m≡xi(modxm2) for all integers i⩾2 and m⩾1. As above, we proceed for fixed m by induction on i. The induction step is again easy using (1), but this time the base case i=2 requires some calculation. Set L=5c2. By (1) we have xm+1≡Lxm+1(modxm2), 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(modxm2)
which in turn gives indeed xm+2≡2c2+1≡x2(modxm2). □
Claim 3. For each integer n⩾2, we have xn>x1⋅x2⋯xn−2.
*Proof.* The cases n=2 and n=3 are clear. Arguing inductively, we assume now that the claim holds for some n⩾3. Recall that x2⩾3, so by monotonicity and (2) we get xn⩾x3⩾x2(x2−2)2+x2+1⩾7. It follows that
xn+1>xn3−4xn2+5xn>7xn2−4xn2>xn2>xnxn−1,
which by the induction hypothesis yields xn+1>x1⋅x2⋯xn−1, as desired. □
Now we direct our attention to the problem itself: let any integer n⩾2 be given. By Claim 3 there exists a prime number p appearing with a higher exponent in the prime factorisation of xn than in the prime factorisation of x1⋯xn−2. In particular, p∣xn, and it suffices to prove that p divides none of x1,…,xn−1.
Otherwise let k∈{1,…,n−1} be minimal such that p divides xk. Since xn−1 and xn are coprime by (1) and x1=1, we actually have 2⩽k⩽n−2. Write n=qk+r with some integers q⩾0 and 0⩽r<k. By Claim 1 we have xn≡xr(modxk), whence p∣xr. Due to the minimality of k this entails r=0, i.e. k∣n.
Thus from Claim 2 we infer
xn≡xk(modxk2)
Now let α⩾1 be maximal with the property pα∣xk. Then xk2 is divisible by pα+1 and by our choice of p so is xn. So by the previous congruence xk is a multiple of pα+1 as well, contrary to our choice of α. This is the final contradiction concluding the solution.