MathLabs

Problem 4

Find the maximum value of x0x_0 for which there exists a sequence x0,x1,…,x1995x_0,x_1,\ldots,x_{1995} of positive reals with x0=x1995x_0=x_{1995} such that for i=1,…,1995i=1,\ldots,1995, xi−1+2xi−1=2xi+1xix_{i-1}+\frac2{x_{i-1}}=2x_i+\frac1{x_i}.
Step 3 of 4: Bound a closed odd word
In plain words

An even number of inversions would require an even number of halvings, impossible here.

r is odd,2t0=c≤1994r\text{ is odd},\quad 2t_0=c\le1994
Detailed analysis

There are 19951995 operations. If rr were even, closure t1995=t0t_{1995}=t_0 would require the alternating sum of halving-run lengths to be zero, forcing their total (the number of halvings) to be even; but 1995−r1995-r is odd. Hence rr is odd. Closure now gives 2t0=c2t_0=c. Since at most 19941994 operations are halvings, c≤1994c\le1994, so t0≤997t_0\le997 and x0≤2997x_0\le2^{997}.