# Harmonic series

The series of numbers $$\sum_{k=1}^{\infty}\frac{1}{k}.$$ Each term of the harmonic series (beginning with the second) is the harmonic mean of its two contiguous terms (hence the name harmonic series). The harmonic series is divergent (G. Leibniz, 1673), and its partial sums $$S_n = \sum_{k=1}^n\frac{1}{k}$$ increase as $\ln n$ (L. Euler, 1740). There exists a constant $\gamma>0$, known as the Euler constant, such that $S_n = \ln n + \gamma + \varepsilon_n$, where $\lim\limits_{n\to\infty}\varepsilon_n = 0$. The series $$\sum_{k=1}^{\infty}\frac{1}{k^{\alpha}}$$ is called the generalized harmonic series; it is convergent for $\alpha>1$ and divergent for $\alpha\leq1$.

For a proof of the expression for $S_n$ see, e.g., [a1], Thm. 422. Note that the series $\sum 1/p$ extended over all prime numbers $p$ diverges also; see, e.g., [a1], Thm. 427, for an expression of its partial sums.
Generalized harmonic series are often used to test whether a given series is convergent or divergent by estimating in terms of $1/n^{\alpha}$ the order of the terms of the given series; see Series.