Define a sequence $\left\lbrace a_{n}\right\rbrace$ by $\displaystyle{a_{1} = 1\,,\ a_{n + 1} = {n \over a_n} + {a_n \over n}.\quad}$ Prove that for $n \geq 4,\,\,\left\lfloor a_{n}^{2}\right\rfloor=n$
The substitution $b_{n} = a_{n}^{2}$ might be helpful, but I still haven't proved the assertion yet.
First,we use Mathematical induction have following inequality
we easy prove this function $$f(x)=\dfrac{x}{n}+\dfrac{n}{x} $$ is decreasing on $(0,n)$
becasue $$f'(x)=-\dfrac{n}{x^2}+\dfrac{1}{n}\le 0$$
since $a_{1}=1,a_{2}=2,a_{3}=2$,so $$\sqrt{3}\le a_{3}\le\dfrac{3}{\sqrt{2}}$$ Assmue that $$\sqrt{n}\le a_{n}\le\dfrac{n}{\sqrt{n-1}},n\ge 3$$
then $$a_{n+1}=f(a_{n})\ge f(\dfrac{n}{\sqrt{n-1}}=\dfrac{n}{\sqrt{n-1}}>\sqrt{n+1}$$ $$a_{n+1}=f(a_{n})\le f(\sqrt{n})=\dfrac{n+1}{\sqrt{n}}$$
In fact,we can prove
it suffces prove that $$\dfrac{(n-1)^2+n^2(n-2)}{(n-1)n\sqrt{n-2}}\le\sqrt{n+2},n\ge 4$$ $$\Longleftrightarrow n^3-n^2-2n+1<(n^2-n)\sqrt{n^2-4}$$ $$\Longleftrightarrow 2n^3-6n^2+4n-1=2n^2(n-3)+4n-1>0$$