Calculate summation of square roots i.e $$\sum_{i=1}^N\sqrt{i}$$
I tried to search for its formula on the net but I couldn't find any of its sources.
Calculate summation of square roots i.e $$\sum_{i=1}^N\sqrt{i}$$
I tried to search for its formula on the net but I couldn't find any of its sources.
As I said in a comment $$\sum_{i=1}^N \sqrt i=H_N^{\left(-\frac{1}{2}\right)}$$ where $H$ represents a generalized harmonic number.
For large values of $N$, the following approximation is quite interesting and extremely accurate $$\sum_{i=1}^N \sqrt i=\frac{2 N^{3/2}}{3}+\frac{\sqrt{N}}{2}+\zeta \left(-\frac{1}{2}\right)+\frac{\sqrt{\frac{1}{N}}}{24}+O\left(\left(\frac{1}{N} \right)^2\right)$$ and very accurate; for example, for $N=10$, the value is $22.46827819$ while the truncated approximation lead to $22.46827983$; for even $N=2$, the value is $2.414213562$ for an approximation of $2.414301422$