I got this question : $$a_n = \sum_{k=1}^n \frac 1k - \log n$$ I proved that $\lim a_n $ exist. Now I have to prove: $$ 0<a_n-\lim a_n\le \frac 1n $$ for every $n \in \mathbb N$.
I tried induction,without any luck in the induction step. I think there is another way , maybe, with integrals.
Thanks for helping.
The given inequality is equivalent with $$1+\cdots +\frac{1}{n-1}-\ln n < \gamma$$ It now follows by remarking that $$b_n=1+\cdots +\frac{1}{n}-\ln (n+1)$$ (which has the same limit $\gamma$ as $a_n$) is increasing. This being easy to see from the inequality $$\ln (1+\frac{1}{n})\leq \frac{1}{n}$$