What will a good approximation of the following series ?
S=Σ(1/√r) where r varies from 1 to N=10⁶ Specifically, we need to find floor(S)
I tried this by two methods,
1.Using the inequality, S<2√N , which can be proven easily by induction. Using this I got S<2000 but wasn't able to find out floor(S) as S can be 1999 or 1998 or anything below, but close to 2000.
- Replacing terms adjacent to perfect squares by perfect squares and adjusting the inequality , i.e replacing √3 by √4 and so on. This was a huge failure as it couldn't work for large values of N.
How would we obtain the right value? Is there a general method for any value of N?
$$\sum_{k=1}^n \frac{1}{\sqrt{k}} \asymp 2\sqrt{n} + \zeta(\frac12) + \frac{1}{2\sqrt{n}} -1/24,{n}^{-3/2}+{\frac {1}{384}},{n}^{-7/2} + \cdots$$ Since $\zeta(\frac12) \sim -1.4603545$, $\left\lfloor \sum_{k=1}^{10^6}\frac{1}{k} \right\rfloor = \left\lfloor 2\sqrt{10^6} - 1.46... \right\rfloor = 1998$
– achille hui Apr 30 '19 at 17:46