MathLabs

Problem 2

Show that r=2r=2 is the largest real number rr that satisfies the following condition: if a sequence a1,a2,…a_1,a_2,\ldots of positive integers fulfills the inequalities an≤an+2≤an2+r an+1a_n\le a_{n+2}\le\sqrt{a_n^2+r\,a_{n+1}} for every positive integer nn, then there exists a positive integer MM such that an+2=ana_{n+2}=a_n for every n≥Mn\ge M.
Step 4 of 6: Start the alternating chain
am+2>am  ⟹  am+2≤am+1,am+3=am+1a_{m+2}>a_m \implies a_{m+2}\le a_{m+1},\quad a_{m+3}=a_{m+1}
Detailed analysis

Suppose some index mm has am+2>ama_{m+2}>a_m. By the contrapositive of the first lemma (with n=mn=m), we cannot have am+1≤ama_{m+1}\le a_m, so am≤am+1a_m\le a_{m+1}; the second lemma then gives am+2≤am+1a_{m+2}\le a_{m+1}. Applying the first lemma at n=m+1n=m+1 (since am+2≤am+1a_{m+2}\le a_{m+1}) yields am+3=am+1a_{m+3}=a_{m+1}.