TITLE: Bounds for generalized harmonic numbers
QUESTION [6 upvotes]: Guo and Qi recently discovered sharp bounds for the harmonic numbers (qq.v. doi:10.1016/j.amc.2011.01.089).  For example, they show that $$H_n < \ln(n) + \frac{1}{2n} + \gamma - \frac{1}{12n^2+\frac{6}{5}},$$ where $H_n$ is the $n$th harmonic number and $\gamma$ is the Euler-Mascheroni constant.
My question: are there any similar bounds on the generalized harmonic numbers?  By "generalized", I mean $H_{n,r}$ where $$H_{n,r} = \sum_{k=1}^n \frac{1}{k^r}.$$
I am specifically interested in the case when $r = \frac{1}{2}$.

REPLY [10 votes]: Let $f(x)=1/\sqrt{x}$. Then by Euler-Maclaurin summation,
$$ \sum_{2\leq k\leq n} \frac{1}{\sqrt{k}} = \int_1^n \frac{dx}{\sqrt{x}}+\sum_{r=0}^m\frac{(-1)^{r+1}B_{r+1}}{(r+1)!} \big(f^{(r)}(n)-f^{(r)}(1)\big)+ R$$
where $R$ is a remainder term of the form
$$R=\frac{(-1)^m}{(m+1)!}\int_1^n B_{m+1}(x)f^{(m+1)}(x)dx.$$
Here $B_m$ is the $m$th Bernoulli number and $B_m(x)$ is a periodic function of period 1 that coincides with the $m$th Bernoulli polynomial on [0,1).
Taking $m=0$, for instance, since $B_1=-1/2$ and $B_1(x)=${x} - $\frac{1}{2}$ we get
$$ \sum_{2\leq k\leq n} \frac{1}{\sqrt{k}} \leq 2\sqrt{n}-2 + \frac{1}{2}\Big(\frac{1}{\sqrt{n}}-1\Big)+\frac{1}{3}\int_1^n x^{-3/2} dx.$$
Now compute the integral and add back in the term $k=1$ to get an upper bound. 
Sharper bounds are possible choosing $m=1,2,3,\ldots$.