Skip to content

Chapter 3. Analytic Number Theory

The harmonic series is the infinite series

The Basic Series

The harmonic series is the infinite series

1+12+13+14+15+. 1+\frac12+\frac13+\frac14+\frac15+\cdots.

In summation notation, it is written as

n=11n. \sum_{n=1}^{\infty}\frac1n.

This is one of the first infinite series that appears in analysis, but it is also central in number theory. Its terms become smaller and tend to zero:

limn1n=0. \lim_{n\to\infty}\frac1n=0.

However, this condition alone does not guarantee that the infinite sum has a finite value. The harmonic series is the standard example showing that terms may go to zero while the series still diverges.

Partial Sums

The NN-th partial sum of the harmonic series is

HN=n=1N1n=1+12+13++1N. H_N=\sum_{n=1}^{N}\frac1n = 1+\frac12+\frac13+\cdots+\frac1N.

The numbers HNH_N are called the harmonic numbers. They form an increasing sequence, since each new term is positive:

HN+1=HN+1N+1>HN. H_{N+1}=H_N+\frac1{N+1}>H_N.

The main question is whether this increasing sequence stays bounded. If the sequence (HN)(H_N) has a finite limit, then the harmonic series converges. If the partial sums grow without bound, then the harmonic series diverges.

Divergence by Grouping

The harmonic series diverges. A classical proof groups the terms in blocks whose lengths double:

1+12+(13+14)+(15+16+17+18)+. 1+\frac12 + \left(\frac13+\frac14\right) + \left(\frac15+\frac16+\frac17+\frac18\right) + \cdots.

In each block after the first, every term is at least as large as the last term in that block. For example,

13+14>14+14=12, \frac13+\frac14>\frac14+\frac14=\frac12,

and

$$ \frac15+\frac16+\frac17+\frac18

4\cdot \frac18 = \frac12. $$

More generally, the block

12k+1+12k+2++12k+1 \frac1{2^k+1}+\frac1{2^k+2}+\cdots+\frac1{2^{k+1}}

contains 2k2^k terms, and each term is at least 1/2k+11/2^{k+1}. Hence the whole block is at least

2k12k+1=12. 2^k\cdot \frac1{2^{k+1}}=\frac12.

Therefore the partial sums repeatedly gain at least 1/21/2. Since this happens infinitely many times, the partial sums cannot remain bounded. Thus

n=11n \sum_{n=1}^{\infty}\frac1n

diverges.

Slow Growth

Although the harmonic series diverges, it does so very slowly. The first few harmonic numbers are

H1=1,H2=32,H3=116,H4=2512. H_1=1,\qquad H_2=\frac32,\qquad H_3=\frac{11}{6},\qquad H_4=\frac{25}{12}.

The growth is approximately logarithmic:

HNlogN. H_N \sim \log N.

More precisely, there is a constant γ\gamma, called the Euler-Mascheroni constant, such that

HN=logN+γ+o(1) H_N=\log N+\gamma+o(1)

as NN\to\infty.

This means that even though HNH_N grows without bound, it grows at about the same rate as logN\log N, not at the rate of NN, N2N^2, or any positive power of NN.

Integral Comparison

The logarithmic growth can be seen from the integral comparison. Since 1/x1/x is decreasing on [1,)[1,\infty), the sum

n=1N1n \sum_{n=1}^{N}\frac1n

is closely related to the area under the curve y=1/xy=1/x. We have

1Ndxx=logN. \int_1^N \frac{dx}{x}=\log N.

The sum HNH_N differs from this integral by a bounded amount. This explains why the harmonic numbers grow like logN\log N.

Role in Number Theory

The harmonic series appears throughout analytic number theory because it measures the average size of reciprocal sums. Number theorists often study sums such as

nx1n,px1p,nxd(n)n, \sum_{n\leq x}\frac1n, \qquad \sum_{p\leq x}\frac1p, \qquad \sum_{n\leq x}\frac{d(n)}n,

where pp ranges over primes and d(n)d(n) denotes the number of positive divisors of nn.

The harmonic series is especially important because it connects finite arithmetic sums with logarithmic growth. This link between summation and logarithms is one of the basic mechanisms behind analytic number theory.