Let's rewrite the inequality:
(an−1)(an+2−1)⩽1−an+12
By looking at the signs, we see that if ak>1 for some k⩾3, then necessarily (via k=n+1) either ak−11>ak+1. By repeating this observation, we see that in the first case, we have ak−1,ak+21, while in the second case, we have ak−2,ak+11. Set n=k−1 in the first case, n=k−2 in the second; we then have:
1−an+12⩾(1−an)(1−an+2)1−an+22⩾(1−an+3)(1−an+1)
Or (1−an+3)(1−an+1)=1+an+1(1−an+3)(1−an+12)⩾1+an+1(1−an+3)(1−an)(1−an+2).
Thus (1+an+1)(1+an+2)(1−an+2)⩾(1−an+3)(1−an)(1−an+2).
But 1−an+2<0 and 1−an,1−an+3∈]0,1[, so (1+an+1)(1+an+2)<1, which is a contradiction.