26

There is a partial sum formula for $$\sum_{x=1}^n x^1 = \frac{n(n+1)}{2}$$ and even one when the exponent of $x$ is $0$: $$\sum_{x=1}^n x^0 = n$$ but I cannot find one for exponent $-1$: $$\sum_{x=1}^n x^{-1} = ?$$

I tried $$\frac2{n(n+1)},$$ but that failed miserably.

1 Answers1

32

No, there is no nice closed form for the harmonic numbers. There are some very accurate approximations that are easily computed;

$$H_n\approx\ln n+\gamma+\frac1{2n}-\frac1{12n^2}$$

is quite good, where $\gamma\approx 0.5772156649$ is the Euler-Mascheroni constant.

Brian M. Scott
  • 616,228