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 6 of 6: Conclude
M=max⁡(m+1, m+2K)  ⟹  an+2=an (n≥M)M=\max(m+1,\,m+2K) \implies a_{n+2}=a_n\ (n\ge M)
Detailed analysis

If no index mm has am+2>ama_{m+2}>a_m, then an+2=ana_{n+2}=a_n for all nn (equality throughout, by the given an≤an+2a_n\le a_{n+2} together with the previous lemmas applied everywhere), so M=1M=1 works. Otherwise, with m,Km,K as above, take M=max⁡(m+1,m+2K)M=\max(m+1,m+2K): for n≥Mn\ge M of the same parity as m+1m+1, an+2=an=am+1a_{n+2}=a_n=a_{m+1}; for n≥Mn\ge M of the same parity as mm, an+2=an=am+2Ka_{n+2}=a_n=a_{m+2K}. In both cases an+2=ana_{n+2}=a_n, so r=2r=2 satisfies the required condition, and by the first step it is the largest such real number.