In mathematics, the -th harmonic number is the sum of the reciprocals of the first natural numbers:[1]
Starting from, the sequence of harmonic numbers begins:
Harmonic numbers are related to the harmonic mean in that the -th harmonic number is also times the reciprocal of the harmonic mean of the first 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 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 most-valuable items is proportional to the -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, the harmonic numbers are never integers.[2]
Harmonic number, Hn | ||||
expressed as a fraction | decimal | relative size | ||
---|---|---|---|---|
1 | 1 | |||
2 | 3 | /2 | ||
3 | 11 | /6 | ~ | |
4 | 25 | /12 | ~ | |
5 | 137 | /60 | ~ | |
6 | 49 | /20 | ||
7 | 363 | /140 | ~ | |
8 | 761 | /280 | ~ | |
9 | 7 129 | /2 520 | ~ | |
10 | 7 381 | /2 520 | ~ | |
11 | 83 711 | /27 720 | ~ | |
12 | 86 021 | /27 720 | ~ | |
13 | 1 145 993 | /360 360 | ~ | |
14 | 1 171 733 | /360 360 | ~ | |
15 | 1 195 757 | /360 360 | ~ | |
16 | 2 436 559 | /720 720 | ~ | |
17 | 42 142 223 | /12 252 240 | ~ | |
18 | 14 274 301 | /4 084 080 | ~ | |
19 | 275 295 799 | /77 597 520 | ~ | |
20 | 55 835 135 | /15 519 504 | ~ | |
21 | 18 858 053 | /5 173 168 | ~ | |
22 | 19 093 197 | /5 173 168 | ~ | |
23 | 444 316 699 | /118 982 864 | ~ | |
24 | 1 347 822 955 | /356 948 592 | ~ | |
25 | 34 052 522 467 | /8 923 714 800 | ~ | |
26 | 34 395 742 267 | /8 923 714 800 | ~ | |
27 | 312 536 252 003 | /80 313 433 200 | ~ | |
28 | 315 404 588 903 | /80 313 433 200 | ~ | |
29 | 9 227 046 511 387 | /2 329 089 562 800 | ~ | |
30 | 9 304 682 830 147 | /2 329 089 562 800 | ~ | |
31 | 290 774 257 297 357 | /72 201 776 446 800 | ~ | |
32 | 586 061 125 622 639 | /144 403 552 893 600 | ~ | |
33 | 53 676 090 078 349 | /13 127 595 717 600 | ~ | |
34 | 54 062 195 834 749 | /13 127 595 717 600 | ~ | |
35 | 54 437 269 998 109 | /13 127 595 717 600 | ~ | |
36 | 54 801 925 434 709 | /13 127 595 717 600 | ~ | |
37 | 2 040 798 836 801 833 | /485 721 041 551 200 | ~ | |
38 | 2 053 580 969 474 233 | /485 721 041 551 200 | ~ | |
39 | 2 066 035 355 155 033 | /485 721 041 551 200 | ~ | |
40 | 2 078 178 381 193 813 | /485 721 041 551 200 | ~ |
By definition, the harmonic numbers satisfy the recurrence relation
The harmonic numbers are connected to the Stirling numbers of the first kind by the relation
The harmonic numbers satisfy the series identitiesandThese two results are closely analogous to the corresponding integral resultsand
There are several infinite summations involving harmonic numbers and powers of :[3]
An integral representation given by Euler[4] is
The equality above is straightforward by the simple algebraic identity
Using the substitution, another expression for is
The th harmonic number is about as large as the natural logarithm of . The reason is that the sum is approximated by the integralwhose value is .
The values of the sequence decrease monotonically towards the limitwhere is the Euler–Mascheroni constant. The corresponding asymptotic expansion iswhere are the Bernoulli numbers.
A generating function for the harmonic numbers iswhere ln(z) is the natural logarithm. An exponential generating function iswhere Ein(z) is the entire exponential integral. The exponential integral may also be expressed aswhere Γ(0, z) is the incomplete gamma function.
The harmonic numbers have several interesting arithmetic properties. It is well-known that is an integer if and only if , a result often attributed to Taeisinger.[5] Indeed, using 2-adic valuation, it is not difficult to prove that for the numerator of is an odd number while the denominator of is an even number. More precisely,with some odd integers and .
As a consequence of Wolstenholme's theorem, for any prime number
p\ge5
Hp-1
H(p-1)/2
In 1991, Eswarathasan and Levine[7] defined
Jp
n
Hn
p.
p\ge5,
Jp
Eswarathasan and Levine also conjectured that
Jp
p,
Jp
p=547
1/e
Jp
Jp
x
| ||||||||
3x |
x\geq1
The harmonic numbers appear in several calculation formulas, such as the digamma functionThis relation is also frequently used to define the extension of the harmonic numbers to non-integer n. The harmonic numbers are also frequently used to define using the limit introduced earlier:althoughconverges more quickly.
In 2002, Jeffrey Lagarias proved[11] that the Riemann hypothesis is equivalent to the statement thatis true for every integer with strict inequality if ; here denotes the sum of the divisors of .
The eigenvalues of the nonlocal problem on
L2([-1,1])
λ=2Hn
H0=0
\varphi(x)=Pn(x)
The nth generalized harmonic number of order m is given by
(In some sources, this may also be denoted by or )
The special case m = 0 gives
Hn,0=n.
The limit of as is finite if, with the generalized harmonic number bounded by and converging to the Riemann zeta function
The smallest natural number k such that kn does not divide the denominator of generalized harmonic number H(k, n) nor the denominator of alternating generalized harmonic number H′(k, n) is, for n=1, 2, ... :
77, 20, 94556602, 42, 444, 20, 104, 42, 76, 20, 77, 110, 3504, 20, 903, 42, 1107, 20, 104, 42, 77, 20, 2948, 110, 136, 20, 76, 42, 903, 20, 77, 42, 268, 20, 7004, 110, 1752, 20, 19203, 42, 77, 20, 104, 42, 76, 20, 370, 110, 1107, 20, ...
The related sum
n | |
\sum | |
k=1 |
km
Some integrals of generalized harmonic numbers areand where A is Apéry's constant ζ(3),and
Every generalized harmonic number of order m can be written as a function of harmonic numbers of order
m-1
H4,3=
H1,2 | |
1 ⋅ 2 |
+
H2,2 | |
2 ⋅ 3 |
+
H3,2 | |
3 ⋅ 4 |
+
H4,2 | |
4 |
A generating function for the generalized harmonic numbers iswhere
\operatorname{Li}m(z)
A fractional argument for generalized harmonic numbers can be introduced as follows:
For every
p,q>0
m>1
\zeta(m)
p=1
where
\zeta(m,n)
The multiplication theorem applies to harmonic numbers. Using polygamma functions, we obtainor, more generally,
For generalized harmonic numbers, we havewhere
\zeta(n)
The next generalization was discussed by J. H. Conway and R. K. Guy in their 1995 book The Book of Numbers. LetThen the nth hyperharmonic number of order r (r>0) is defined recursively asIn particular,
(1) | |
H | |
n |
Hn
The Roman Harmonic numbers,[13] named after Steven Roman, were introduced by Daniel Loeb and Gian-Carlo Rota in the context of a generalization of umbral calculus with logarithms.[14] There are many possible definitions, but one of them, for
n,k\geq0
If
n ≠ 0
s(-n,k)
In fact, these numbers were defined in a more general manner using Roman numbers and Roman factorials, that include negative values for
n
The formulae given above,are an integral and a series representation for a function that interpolates the harmonic numbers and, via analytic continuation, extends the definition to the complex plane other than the negative integers x. The interpolating function is in fact closely related to the digamma functionwhere is the digamma function, and is the Euler–Mascheroni constant. The integration process may be repeated to obtain
The Taylor series for the harmonic numbers iswhich comes from the Taylor series for the digamma function (
\zeta
When seeking to approximate for a complex number , it is effective to first compute for some large integer . Use that as an approximation for the value of . Then use the recursion relation backwards times, to unwind it to an approximation for . Furthermore, this approximation is exact in the limit as goes to infinity.
Specifically, for a fixed integer , it is the case that
If is not an integer then it is not possible to say whether this equation is true because we have not yet (in this section) defined harmonic numbers for non-integers. However, we do get a unique extension of the harmonic numbers to the non-integers by insisting that this equation continue to hold when the arbitrary integer is replaced by an arbitrary complex number ,
Swapping the order of the two sides of this equation and then subtracting them from gives
This infinite series converges for all complex numbers except the negative integers, which fail because trying to use the recursion relation backwards through the value involves a division by zero. By this construction, the function that defines the harmonic number for complex values is the unique function that simultaneously satisfies (1), (2) for all complex numbers except the non-positive integers, and (3) for all complex values .
This last formula can be used to show thatwhere is the Euler–Mascheroni constant or, more generally, for every we have:
There are the following special analytic values for fractional arguments between 0 and 1, given by the integral
More values may be generated from the recurrence relationor from the reflection relation
For example:
Which are computed via Gauss's digamma theorem, which essentially states that for positive integers p and q with p < q
Some derivatives of fractional harmonic numbers are given by
And using Maclaurin series, we have for x < 1 that
For fractional arguments between 0 and 1 and for a > 1,