The problem is interesting because the result is nice. It is strange (to me) because I have a strange proof, which I don't think I can find in an exam setting. Not sure what the official etc solutions are, but I expect it will be something much simpler.
Anyway, the problem is:
$a_n$ is a sequence such that $a_1 = 1$ and
$$a_{n+1} = \frac{n}{a_n} + \frac{a_n}{n} \quad \forall n \ge 1$$.
Show that $[a_n^2] = n$ for $n \ge 4$. ($[x]$ is the integer part of $x$).
Scroll down for a solution.
.
.
.
.
Let $b_n = a_n^2$, the we have that
$$b_{n+1} = \frac{n^2}{b_n} + \frac{b_n}{n^2} + 2 $$
We also have $a_4 = 2 + \frac{1}{6}$ and so $b_4 = 4 + \frac{2}{3} + \frac{1}{36}$.
So first assume $b_n$ satisfies $n < b_n < n+1$, being true for $n=4$. Then we proceed by induction.
Let us try to find a lower bound for $b_{n+1}$
Now
$$\frac{b_n}{n^2} + \frac{n^2}{b_n} + 2 > \frac{n}{n^2} + \frac{n^2}{n+1} + 2 = n+1 + \frac{1}{n} + \frac{1}{n+1}$$
Trying the same for an upper bound we get
$$\frac{b_n}{n^2} + \frac{n^2}{b_n} + 2 < \frac{n+1}{n^2} + \frac{n^2}{n} + 2 = n + 2 + \frac{n+1}{n^2}$$
We fail to get the upper bound we need (i.e $n+2$), because the lower bound $b_n > n$ is too small for us to get something smaller than $n+2$.
Perhaps we could change $n < b_n < n+1$ to $n + c_n < b_n < n + 1$.
Notice that we got $c_n = \frac{1}{n} + \frac{1}{n-1}$ from the lower bound computations earlier.
And the bound holds for $n = 4$, so if we are able to prove the upper bound of $b_n < n+1$, we will be done.
Let us try to find $d_n$ such that
$$\frac{n+1}{n^2} + \frac{n^2}{n + d_n} + 2 = n + 2$$
If $c_n > d_n$, then we will be done, because instead of $d_n$ if we choose a bigger number, the value of the expression will decrease and this expression with $c_n$ instead of $d_n$ is an upper bound for $b_{n+1}$.
Doing a bit of algebra gives us
$$d_n = \frac{n^2 + n}{n^3 - n - 1}$$
Our $c_n$ we chose was
$$c_n = \frac{1}{n} + \frac{1}{n-1} = \frac{2n-1}{n(n-1)}$$
Since $nc_n \to 2$ while $n d_n \to 1$, we have some hope that this might work.
Now for $n > 2$, $n^3 - n - 1 > n^3 - n^2$ and so
$$d_n = \frac{n^2 + n}{n^3 - n - 1} < \frac{n^2 + n}{n^3 - n^2} = \frac{n + 1}{n(n-1)}$$
For $n > 2$, $2n - 1 > n + 1$ and so
$$ d_n < \frac{n+1}{n(n-1)} < \frac{2n-1}{n(n-1)} = c_n$$
And so we have the following:
$$n < n + d_n < n + c_n < b_n < n + 1$$
which holds for $n = 4$. And by induction we prove that
$$ n + 1 + c_{n+1} < b_{n+1} < n + 2$$
Thus for $n \ge 4$, $$[a_n^2] = [b_n] = n$$