The proof is by induction on n.
We establish first the base case n=2. Suppose that x1>1, x2>1, ∣x1−x2∣<1 and moreover x1≤x2. Then
x2x1+x1x2≤1+x1x2<1+x1x1+1=2+x11<2+1=2⋅2−1.
Now we proceed to the inductive step, and assume that the numbers x1,x2,…,xn,xn+1>1 are given such that ∣xi−xi+1∣<1 for i=1,2,…,n−1,n. Let
S=x2x1+x3x2+⋯+xnxn−1+x1xn,S′=x2x1+x3x2+⋯+xnxn−1+xn+1xn+x1xn+1.
The inductive assumption is that S<2n−1 and the goal is that S′<2n+1. From the above relations involving S and S′ we see that it suffices to prove the inequality
xn+1xn+x1xn+1−xn≤2.
We consider two cases. If xn≤xn+1, then using the conditions x1>1 and xn+1−xn<1 we obtain
xn+1xn+x1xn+1−xn≤1+x1xn+1−xn<1+x11<2,
and if xn>xn+1, then using the conditions xn<xn+1+1 and xn+1>1 we get
xn+1xn+x1xn+1−xn<xn+1xn<xn+1xn+1+1=1+xn+11<1+1=2.
The induction is now complete.