I need help with the following exercise that reads as follows
Calculate the limit of the sequence defined by:
$$x_n=\frac{1}{n}(n+\frac{n-1}{2}+\frac{n-2}{3}+...+\frac{2}{n-1}+\frac{1}{n}-\log(n!))$$
The idea is to find this limit by means of asymptotic equivalences, for this purpose consider the following
As $\log(n!)∼n\log(n)$ then $x_n ∼ \frac{1}{n}(n+\frac{n-1}{2}+\frac{n-2}{3}+...+\frac{2}{n-1}+\frac{1}{n}-n\log(n))$
I thought about establishing this equivalence, however I do not know how to arrive at the value of the limit.
Thank you for your help