Harmonic number

The harmonic number with (red line) with its asymptotic limit (blue line) where is the Euler–Mascheroni constant.

In mathematics, the n-th harmonic number is the sum of the reciprocals of the first n natural numbers:[1]

Starting from n = 1, the sequence of harmonic numbers begins:

Harmonic numbers are related to the harmonic mean in that the n-th harmonic number is also n times the reciprocal of the harmonic mean of the first n positive integers.

Harmonic numbers have been studied since antiquity and are important in various branches of number theory. They are sometimes loosely termed harmonic series, are closely related to the Riemann zeta function, and appear in the expressions of various special functions.

The harmonic numbers roughly approximate the natural logarithm function[2]: 143  and thus the associated harmonic series grows without limit, albeit slowly. In 1737, Leonhard Euler used the divergence of the harmonic series to provide a new proof of the infinity of prime numbers. His work was extended into the complex plane by Bernhard Riemann in 1859, leading directly to the celebrated Riemann hypothesis about the distribution of prime numbers.

When the value of a large quantity of items has a Zipf's law distribution, the total value of the n most-valuable items is proportional to the n-th harmonic number. This leads to a variety of surprising conclusions regarding the long tail and the theory of network value.

The Bertrand-Chebyshev theorem implies that, except for the case n = 1, the harmonic numbers are never integers.[3]

  1. ^ Knuth, Donald (1997). The Art of Computer Programming (3rd ed.). Addison-Wesley. pp. 75–79. ISBN 0-201-89683-4.
  2. ^ Cite error: The named reference ConwayGuy was invoked but never defined (see the help page).
  3. ^ Graham, Ronald L.; Knuth, Donald E.; Patashnik, Oren (1994). Concrete Mathematics. Addison-Wesley.