I was trying to solve this problem: $$L=\displaystyle\lim_{n\to\infty }{\sum_{r=1}^{n}\dfrac{r}{n^2+n+r}}$$
I managed to prove that it is $\tfrac{1}{2}$ using the Sandwich theorem. Is there some way, to either:
- Convert this into an integral
- Evaluate this sum directly.
$$S_n={\sum_{r=1}^{n}\dfrac{r}{n^2+n+r}}=n(n+1) \left(H_{n(n+1)}-H_{n (n+2)}\right)+n$$
Using the asymptotics of harmonic numbers $$S_n=\frac{1}{2}-\frac{1}{3 n}+\frac{5}{12 n^2}+O\left(\frac{1}{n^3}\right)$$