I am interested in the asymptotic behavior of the sum $$\sum_{m=1}^M\frac{1}{\sqrt{m^2+\omega}}$$ for $1>\omega>0$ in the Limit $M\to\infty$ up to order $\mathcal{O}(M^{-1})$.
The first thing I did was splitting the sum as follows:
$$\sum_{m=1}^M\frac{1}{\sqrt{m^2+\omega}}=\sum_{m=1}^M\frac{1}{m}+\sum_{m=1}^M\left(\frac{1}{\sqrt{m^2+\omega}}-\frac{1}{m}\right)$$
For the first sum I use the Euler approximation to get $$\sum_{m=1}^M\frac{1}{m}=\log(M)+\gamma_E+\mathcal{O}(M^{-1}).$$
Now I suspect that the remainder goes like $$\sum_{m=1}^M\left(\frac{1}{\sqrt{m^2+\omega}}-\frac{1}{m}\right)=c(\omega)+\mathcal{O}(M^{-1}).$$
The question is, how can I explicitly compute $c(\omega)$?


If we exploit:
$$\mathcal{L}^{-1}\left(\frac{1}{\sqrt{x^2+\omega}}-\frac{1}{x}\right)=-1+J_0(s\sqrt{\omega})=\sum_{n\geq 1}\frac{s^{2n}\omega^n(-1)^n}{4^nn!^2} \tag{1}$$ we have: