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 3 of 6: Second lemma for r=2
an≤an+1  ⟹  an+2≤an+1a_n\le a_{n+1} \implies a_{n+2}\le a_{n+1}
Detailed analysis

Similarly, if an≤an+1a_n\le a_{n+1}, then an+2≤an2+2an+1≤an+12+2an+1+1=an+1+1a_{n+2}\le\sqrt{a_n^2+2a_{n+1}}\le\sqrt{a_{n+1}^2+2a_{n+1}+1}=a_{n+1}+1; the same computation as in the first lemma with the roles of an,an+1a_n,a_{n+1} swapped shows directly an+2≤an+1a_{n+2}\le a_{n+1}.