harmonic number
   HOME

TheInfoList



OR:

In
mathematics Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
, the -th harmonic number is the sum of the reciprocals of the first
natural number In mathematics, the natural numbers are those numbers used for counting (as in "there are ''six'' coins on the table") and ordering (as in "this is the ''third'' largest city in the country"). Numbers used for counting are called ''Cardinal n ...
s: H_n= 1+\frac+\frac+\cdots+\frac =\sum_^n \frac. Starting from , the sequence of harmonic numbers begins: 1, \frac, \frac, \frac, \frac, \dots Harmonic numbers are related to the
harmonic mean In mathematics, the harmonic mean is one of several kinds of average, and in particular, one of the Pythagorean means. It is sometimes appropriate for situations when the average rate is desired. The harmonic mean can be expressed as the recipro ...
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 Number theory (or arithmetic or higher arithmetic in older usage) is a branch of pure mathematics devoted primarily to the study of the integers and arithmetic function, integer-valued functions. German mathematician Carl Friedrich Gauss (1777â ...
. They are sometimes loosely termed harmonic series, are closely related to the
Riemann zeta function The Riemann zeta function or Euler–Riemann zeta function, denoted by the Greek letter (zeta), is a mathematical function of a complex variable defined as \zeta(s) = \sum_^\infty \frac = \frac + \frac + \frac + \cdots for \operatorname(s) > ...
, and appear in the expressions of various
special function Special functions are particular mathematical functions that have more or less established names and notations due to their importance in mathematical analysis, functional analysis, geometry, physics, or other applications. The term is defined by ...
s. The harmonic numbers roughly approximate the natural logarithm function and thus the associated harmonic series grows without limit, albeit slowly. In 1737,
Leonhard Euler Leonhard Euler ( , ; 15 April 170718 September 1783) was a Swiss mathematician, physicist, astronomer, geographer, logician and engineer who founded the studies of graph theory and topology and made pioneering and influential discoveries in ma ...
used the
divergence of the harmonic series In mathematics, the harmonic series is the infinite series formed by summing all positive unit fractions: \sum_^\infty\frac = 1 + \frac + \frac + \frac + \frac + \cdots. The first n terms of the series sum to approximately \ln n + \gamma, wher ...
to provide a new proof of the infinity of prime numbers. His work was extended into the
complex plane In mathematics, the complex plane is the plane formed by the complex numbers, with a Cartesian coordinate system such that the -axis, called the real axis, is formed by the real numbers, and the -axis, called the imaginary axis, is formed by the ...
by
Bernhard Riemann Georg Friedrich Bernhard Riemann (; 17 September 1826 – 20 July 1866) was a German mathematician who made contributions to analysis, number theory, and differential geometry. In the field of real analysis, he is mostly known for the first rig ...
in 1859, leading directly to the celebrated
Riemann hypothesis In mathematics, the Riemann hypothesis is the conjecture that the Riemann zeta function has its zeros only at the negative even integers and complex numbers with real part . Many consider it to be the most important unsolved problem in ...
about the
distribution of prime numbers In mathematics, the prime number theorem (PNT) describes the asymptotic distribution of the prime numbers among the positive integers. It formalizes the intuitive idea that primes become less common as they become larger by precisely quantifying ...
. 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 In statistics and business, a long tail of some probability distribution, distributions of numbers is the portion of the distribution having many occurrences far from the "head" or central part of the distribution. The distribution could involv ...
and the theory of network value.
Bertrand's postulate In number theory, Bertrand's postulate is a theorem stating that for any integer n > 3, there always exists at least one prime number p with :n < p < 2n - 2. A less restrictive formulation is: for every n > 1, there is always ...
implies that, except for the case , the harmonic numbers are never integers.


Identities involving harmonic numbers

By definition, the harmonic numbers satisfy the
recurrence relation In mathematics, a recurrence relation is an equation according to which the nth term of a sequence of numbers is equal to some combination of the previous terms. Often, only k previous terms of the sequence appear in the equation, for a parameter ...
H_ = H_ + \frac. The harmonic numbers are connected to the
Stirling numbers of the first kind In mathematics, especially in combinatorics, Stirling numbers of the first kind arise in the study of permutations. In particular, the Stirling numbers of the first kind count permutations according to their number of cycles (counting fixed poin ...
by the relation H_n = \frac\left
right Rights are law, legal, social, or ethics, ethical principles of Liberty, freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convent ...
The functions f_n(x)=\frac(\log x-H_n) satisfy the property f_n'(x)=f_(x). In particular f_1(x)=x(\log x-1) is an integral of the logarithmic function. The harmonic numbers satisfy the series identities \sum_^n H_k = (n+1) H_ - n and \sum_^n H_k^2 = (n+1)H_^2 - (2 n +1) H_n + 2 n. These two results are closely analogous to the corresponding integral results \int_0^x \log y \ d y = x \log x - x and \int_0^x (\log y)^2\ d y = x (\log x)^2 - 2 x \log x + 2 x.


Identities involving

There are several infinite summations involving harmonic numbers and powers of : \sum_^\infty \frac=\frac\pi ^2 \sum_^\infty \frac=\frac\pi^4 \sum_^\infty \frac=\frac\pi^4 \sum_^\infty \frac=\frac\pi^4


Calculation

An integral representation given by
Euler Leonhard Euler ( , ; 15 April 170718 September 1783) was a Swiss mathematician, physicist, astronomer, geographer, logician and engineer who founded the studies of graph theory and topology and made pioneering and influential discoveries in ma ...
is H_n = \int_0^1 \frac\,dx. The equality above is straightforward by the simple
algebraic identity In mathematics, an identity is an equality relating one mathematical expression ''A'' to another mathematical expression ''B'', such that ''A'' and ''B'' (which might contain some variables) produce the same value for all values of ...
\frac=1+x+\cdots +x^. Using the substitution , another expression for is \begin H_n &= \int_0^1 \frac\,dx = \int_0^1\frac\,du \\ pt&= \int_0^1\left \sum_^n(-1)^k \binom nk u^\right,du = -\sum_^n (-1)^k\binom nk \int_0^1u^\,du \\ pt&= -\sum_^n(-1)^k\frac\binom nk . \end The th harmonic number is about as large as the
natural logarithm The natural logarithm of a number is its logarithm to the base of the mathematical constant , which is an irrational and transcendental number approximately equal to . The natural logarithm of is generally written as , , or sometimes, if ...
of . The reason is that the sum is approximated by the
integral In mathematics Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented i ...
\int_1^n \frac\, dx, whose value is . The values of the sequence decrease monotonically towards the
limit Limit or Limits may refer to: Arts and media * ''Limit'' (manga), a manga by Keiko Suenobu * ''Limit'' (film), a South Korean film * Limit (music), a way to characterize harmony * "Limit" (song), a 2016 single by Luna Sea * "Limits", a 2019 ...
\lim_ \left(H_n - \ln n\right) = \gamma, where is the
Euler–Mascheroni constant Euler's constant (sometimes also called the Euler–Mascheroni constant) is a mathematical constant usually denoted by the lowercase Greek letter gamma (). It is defined as the limiting difference between the harmonic series and the natural l ...
. The corresponding
asymptotic expansion In mathematics, an asymptotic expansion, asymptotic series or Poincaré expansion (after Henri Poincaré) is a formal series of functions which has the property that truncating the series after a finite number of terms provides an approximation to ...
is \begin H_n &\sim \ln+\gamma+\frac-\sum_^\infty \frac\\ &=\ln+\gamma+\frac-\frac+\frac-\cdots, \end where are the
Bernoulli numbers In mathematics, the Bernoulli numbers are a sequence of rational numbers which occur frequently in analysis. The Bernoulli numbers appear in (and can be defined by) the Taylor series expansions of the tangent and hyperbolic tangent functions, ...
.


Generating functions

A
generating function In mathematics, a generating function is a way of encoding an infinite sequence of numbers () by treating them as the coefficients of a formal power series. This series is called the generating function of the sequence. Unlike an ordinary seri ...
for the harmonic numbers is \sum_^\infty z^n H_n = \frac , where ln(''z'') is the
natural logarithm The natural logarithm of a number is its logarithm to the base of the mathematical constant , which is an irrational and transcendental number approximately equal to . The natural logarithm of is generally written as , , or sometimes, if ...
. An exponential generating function is \sum_^\infty \frac H_n = -e^z \sum_^\infty \frac \frac = e^z \operatorname(z) where Ein(''z'') is the entire
exponential integral In mathematics, the exponential integral Ei is a special function on the complex plane. It is defined as one particular definite integral of the ratio between an exponential function and its argument. Definitions For real non-zero values of  ...
. The exponential integral may also be expressed as \operatorname(z) = \mathrm_1(z) + \gamma + \ln z = \Gamma (0,z) + \gamma + \ln z where Γ(0, ''z'') is the incomplete gamma function.


Arithmetic properties

The harmonic numbers have several interesting arithmetic properties. It is well-known that H_n is an integer
if and only if In logic and related fields such as mathematics and philosophy, "if and only if" (shortened as "iff") is a biconditional logical connective between statements, where either both statements are true or both are false. The connective is bicondi ...
n=1, a result often attributed to Taeisinger. Indeed, using 2-adic valuation, it is not difficult to prove that for n \ge 2 the numerator of H_n is an odd number while the denominator of H_n is an even number. More precisely, H_n=\frac\frac with some odd integers a_n and b_n. As a consequence of
Wolstenholme's theorem In mathematics, Wolstenholme's theorem states that for a prime number p \geq 5, the congruence : \equiv 1 \pmod holds, where the parentheses denote a binomial coefficient. For example, with ''p'' = 7, this says that 1716 is one more than a multiple ...
, for any prime number p \ge 5 the numerator of H_is divisible by p^2. Furthermore, Eisenstein proved that for all odd prime number p it holds H_ \equiv -2q_p(2) \pmod p where q_p(2) = (2^ -1)/p is a
Fermat quotient In number theory, the Fermat quotient of an integer ''a'' with respect to an odd prime ''p'' is defined as= 3/ref> The smallest solutions of ''q'p''(''a'') ≡ 0 (mod ''p'') with ''a'' = ''n'' are: :2, 1093, 11, 1093, 2, 66161, 5, 3, 2, 3, 71, ...
, with the consequence that p divides the numerator of H_ if and only if p is a
Wieferich prime In number theory, a Wieferich prime is a prime number ''p'' such that ''p''2 divides , therefore connecting these primes with Fermat's little theorem, which states that every odd prime ''p'' divides . Wieferich primes were first described by Ar ...
. In 1991, Eswarathasan and Levine defined J_p as the set of all positive integers n such that the numerator of H_n is divisible by a prime number p. They proved that \\subseteq J_p for all prime numbers p \ge 5, and they defined ''harmonic primes'' to be the primes p such that J_p has exactly 3 elements. Eswarathasan and Levine also conjectured that J_p is a
finite set In mathematics, particularly set theory, a finite set is a set that has a finite number of elements. Informally, a finite set is a set which one could in principle count and finish counting. For example, :\ is a finite set with five elements. Th ...
for all primes p, and that there are infinitely many harmonic primes. Boyd verified that J_p is finite for all prime numbers up to p = 547 except 83, 127, and 397; and he gave a heuristic suggesting that the
density Density (volumetric mass density or specific mass) is the substance's mass per unit of volume. The symbol most often used for density is ''Ï'' (the lower case Greek letter rho), although the Latin letter ''D'' can also be used. Mathematical ...
of the harmonic primes in the set of all primes should be 1/e. Sanna showed that J_p has zero
asymptotic density In number theory, natural density (also referred to as asymptotic density or arithmetic density) is one method to measure how "large" a subset of the set of natural numbers is. It relies chiefly on the probability of encountering members of the des ...
, while Bing-Ling Wu and Yong-Gao Chen proved that the number of elements of J_p not exceeding x is at most 3x^, for all x \geq 1.


Applications

The harmonic numbers appear in several calculation formulas, such as the
digamma function In mathematics, the digamma function is defined as the logarithmic derivative of the gamma function: :\psi(x)=\frac\ln\big(\Gamma(x)\big)=\frac\sim\ln-\frac. It is the first of the polygamma functions. It is strictly increasing and strictly ...
\psi(n) = H_ - \gamma. This 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: \gamma = \lim_, although \gamma = \lim_ converges more quickly. In 2002,
Jeffrey Lagarias Jeffrey Clark Lagarias (born November 16, 1949 in Pittsburgh, Pennsylvania, United States) is a mathematician and professor at the University of Michigan. Education While in high school in 1966, Lagarias studied astronomy at the Summer Science P ...
proved that the
Riemann hypothesis In mathematics, the Riemann hypothesis is the conjecture that the Riemann zeta function has its zeros only at the negative even integers and complex numbers with real part . Many consider it to be the most important unsolved problem in ...
is equivalent to the statement that \sigma(n) \le H_n + (\log H_n)e^, is true for every
integer An integer is the number zero (), a positive natural number (, , , etc.) or a negative integer with a minus sign (−1, −2, −3, etc.). The negative numbers are the additive inverses of the corresponding positive numbers. In the language ...
with strict inequality if ; here denotes the sum of the divisors of . The eigenvalues of the nonlocal problem \lambda \varphi(x) = \int_^ \frac \, dy are given by \lambda = 2H_n, where by convention H_0 = 0, and the corresponding eigenfunctions are given by the
Legendre polynomials In physical science and mathematics, Legendre polynomials (named after Adrien-Marie Legendre, who discovered them in 1782) are a system of complete and orthogonal polynomials, with a vast number of mathematical properties, and numerous applicat ...
\varphi(x) = P_n(x).


Generalizations


Generalized harmonic numbers

The generalized harmonic number of order ''m'' of ''n'' is given by H_=\sum_^n \frac. Other notations occasionally used include H_= H_n^ = H_m(n). The special case of ''m'' = 0 gives H_= n. The special case of ''m'' = 1 is simply called a harmonic number and is frequently written without the ''m'', as H_n= \sum_^n \frac. The limit as is finite if , with the generalized harmonic number bounded by and converging to the
Riemann zeta function The Riemann zeta function or Euler–Riemann zeta function, denoted by the Greek letter (zeta), is a mathematical function of a complex variable defined as \zeta(s) = \sum_^\infty \frac = \frac + \frac + \frac + \cdots for \operatorname(s) > ...
\lim_ H_ = \zeta(m). 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 \sum_^n k^m occurs in the study of
Bernoulli number In mathematics, the Bernoulli numbers are a sequence of rational numbers which occur frequently in analysis. The Bernoulli numbers appear in (and can be defined by) the Taylor series expansions of the tangent and hyperbolic tangent functions, ...
s; the harmonic numbers also appear in the study of
Stirling number In mathematics, Stirling numbers arise in a variety of analytic and combinatorial problems. They are named after James Stirling, who introduced them in a purely algebraic setting in his book ''Methodus differentialis'' (1730). They were rediscov ...
s. Some integrals of generalized harmonic numbers are \int_0^a H_ \, dx = a \frac -H_ and \int_0^a H_ \, dx = a A - \frac H_, where ''A'' is
Apéry's constant In mathematics, Apéry's constant is the sum of the reciprocals of the positive cubes. That is, it is defined as the number : \begin \zeta(3) &= \sum_^\infty \frac \\ &= \lim_ \left(\frac + \frac + \cdots + \frac\right), \end ...
''ζ''(3), and \sum_^n H_=(n+1)H_- H_ \text m \geq 0 . Every generalized harmonic number of order ''m'' can be written as a function of harmonic numbers of order m-1 using H_ = \sum_^ \frac + \frac   for example: H_ = \frac + \frac + \frac + \frac A
generating function In mathematics, a generating function is a way of encoding an infinite sequence of numbers () by treating them as the coefficients of a formal power series. This series is called the generating function of the sequence. Unlike an ordinary seri ...
for the generalized harmonic numbers is \sum_^\infty z^n H_ = \frac , where \operatorname_m(z) is the
polylogarithm In mathematics, the polylogarithm (also known as Jonquière's function, for Alfred Jonquière) is a special function of order and argument . Only for special values of does the polylogarithm reduce to an elementary function such as the natur ...
, and . The generating function given above for is a special case of this formula. A fractional argument for generalized harmonic numbers can be introduced as follows: For every p,q>0 integer, and m>1 integer or not, we have from polygamma functions: H_=\zeta(m)-p^m\sum_^\infty \frac where \zeta(m) is the
Riemann zeta function The Riemann zeta function or Euler–Riemann zeta function, denoted by the Greek letter (zeta), is a mathematical function of a complex variable defined as \zeta(s) = \sum_^\infty \frac = \frac + \frac + \frac + \cdots for \operatorname(s) > ...
. The relevant recurrence relation is H_=H_+\frac. Some special values are H_=16-8G-\tfrac\pi^2 where ''G'' is
Catalan's constant In mathematics, Catalan's constant , is defined by : G = \beta(2) = \sum_^ \frac = \frac - \frac + \frac - \frac + \frac - \cdots, where is the Dirichlet beta function. Its numerical value is approximately : It is not known whether is irra ...
, H_=4-\tfrac H_=8G+\tfrac-\tfrac\pi^2 H_=64-27\zeta(3)-\pi^3 H_=8-6\zeta(3) H_=^3-27\zeta(3)+\pi^3 In the special case that p = 1, we get H_=\zeta(m, 1) - \zeta(m, n+1), where \zeta(m, n) is the
Hurwitz zeta function In mathematics, the Hurwitz zeta function is one of the many zeta functions. It is formally defined for complex variables with and by :\zeta(s,a) = \sum_^\infty \frac. This series is absolutely convergent for the given values of and and can ...
. This relationship is used to calculate harmonic numbers numerically.


Multiplication formulas

The
multiplication theorem Multiplication (often denoted by the cross symbol , by the mid-line dot operator , by juxtaposition, or, on computers, by an asterisk ) is one of the four elementary mathematical operations of arithmetic, with the other ones being additio ...
applies to harmonic numbers. Using
polygamma In mathematics, the polygamma function of order is a meromorphic function on the complex numbers \mathbb defined as the th derivative of the logarithm of the gamma function: :\psi^(z) := \frac \psi(z) = \frac \ln\Gamma(z). Thus :\psi^(z) = ...
functions, we obtain H_=\frac\left(H_x+H_\right)+\ln 2, H_=\frac\left(H_x+H_+H_\right)+\ln 3, or, more generally, H_=\frac\left(H_x+H_+H_+\cdots +H_ \right) + \ln n. For generalized harmonic numbers, we have H_=\frac\left(\zeta(2)+\frac\left(H_+H_\right)\right) H_=\frac\left(6\zeta(2)+H_+H_+H_\right), where \zeta(n) is the
Riemann zeta function The Riemann zeta function or Euler–Riemann zeta function, denoted by the Greek letter (zeta), is a mathematical function of a complex variable defined as \zeta(s) = \sum_^\infty \frac = \frac + \frac + \frac + \cdots for \operatorname(s) > ...
.


Hyperharmonic numbers

The next generalization was discussed by
J. H. Conway John Horton Conway (26 December 1937 – 11 April 2020) was an English mathematician active in the theory of finite groups, knot theory, number theory, combinatorial game theory and coding theory. He also made contributions to many branches ...
and R. K. Guy in their 1995 book '' The Book of Numbers''. Let H_n^ = \frac1n. Then the nth
hyperharmonic number In mathematics, the ''n''-th hyperharmonic number of order ''r'', denoted by H_n^, is recursively defined by the relations: : H_n^ = \frac , and : H_n^ = \sum_^n H_k^\quad(r>0). In particular, H_n=H_n^ is the ''n''-th harmonic number. The hy ...
of order ''r'' (''r>0'') is defined recursively as H_n^ = \sum_^n H_k^. In particular, H_n^ is the ordinary harmonic number H_n.


Harmonic numbers for real and complex values

The formulae given above, H_x = \int_0^1 \frac \, dt= -\sum_^\infty \frac are an integral and a series representation for a function that interpolates the harmonic numbers and, via
analytic continuation In complex analysis, a branch of mathematics, analytic continuation is a technique to extend the domain of definition of a given analytic function. Analytic continuation often succeeds in defining further values of a function, for example in a new ...
, extends the definition to the complex plane other than the negative integers ''x''. The interpolating function is in fact closely related to the
digamma function In mathematics, the digamma function is defined as the logarithmic derivative of the gamma function: :\psi(x)=\frac\ln\big(\Gamma(x)\big)=\frac\sim\ln-\frac. It is the first of the polygamma functions. It is strictly increasing and strictly ...
H_x = \psi(x+1)+\gamma, where is the digamma function, and is the
Euler–Mascheroni constant Euler's constant (sometimes also called the Euler–Mascheroni constant) is a mathematical constant usually denoted by the lowercase Greek letter gamma (). It is defined as the limiting difference between the harmonic series and the natural l ...
. The integration process may be repeated to obtain H_=-\sum_^\infty \frac H_k. The
Taylor series In mathematics, the Taylor series or Taylor expansion of a function is an infinite sum of terms that are expressed in terms of the function's derivatives at a single point. For most common functions, the function and the sum of its Taylor serie ...
for the harmonic numbers is H_x=\sum_^\infty (-1)^\zeta (k)\;x^\quad\text , x, < 1 which comes from the Taylor series for the digamma function (\zeta is the
Riemann zeta function The Riemann zeta function or Euler–Riemann zeta function, denoted by the Greek letter (zeta), is a mathematical function of a complex variable defined as \zeta(s) = \sum_^\infty \frac = \frac + \frac + \frac + \cdots for \operatorname(s) > ...
).


Approximation using the Taylor series expansion

The harmonic number can be approximated using the first few terms of the Taylor series expansion:Claude Leibovici (https://math.stackexchange.com/users/82404/claude-leibovici), Harmonic series sum approximation, URL (version: 2018-11-11): https://math.stackexchange.com/q/2986766 H_n = \gamma + \ln n + \frac + O\left(\frac\right) \simeq \gamma + \ln n + \frac where \gamma = 0.57721... is the
Euler–Mascheroni constant Euler's constant (sometimes also called the Euler–Mascheroni constant) is a mathematical constant usually denoted by the lowercase Greek letter gamma (). It is defined as the limiting difference between the harmonic series and the natural l ...
.


Alternative, asymptotic formulation

When seeking to approximate  for a complex number , it is effective to first compute  for some large integer . Use that to approximate a value for  and 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 \lim_ \left _ - H_m\right= 0. 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 . \lim_ \left _ - H_m\right= 0, Swapping the order of the two sides of this equation and then subtracting them from  gives \beginH_x &= \lim_ \left _m - (H_-H_x)\right\\ pt&= \lim_ \left left(\sum_^m \frac\right) - \left(\sum_^m \frac\right) \right\\ pt&= \lim_ \sum_^m \left(\frac - \frac\right) = x \sum_^ \frac\, . \end This
infinite series In mathematics, a series is, roughly speaking, a description of the operation of adding infinitely many quantities, one after the other, to a given starting quantity. The study of series is a major part of calculus and its generalization, math ...
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 . Note that this last formula can be used to show that \int_0^1 H_x \, dx = \gamma, where  is the
Euler–Mascheroni constant Euler's constant (sometimes also called the Euler–Mascheroni constant) is a mathematical constant usually denoted by the lowercase Greek letter gamma (). It is defined as the limiting difference between the harmonic series and the natural l ...
or, more generally, for every  we have: \int_0^nH_\,dx = n\gamma + \ln(n!) .


Special values for fractional arguments

There are the following special analytic values for fractional arguments between 0 and 1, given by the integral H_\alpha = \int_0^1\frac\,dx\, . More values may be generated from the recurrence relation H_\alpha = H_+\frac\,, or from the reflection relation H_-H_\alpha = \pi\cot-\frac+\frac\, . For example: H_ = 2 -2\ln H_ = 3-\tfrac -\tfrac\ln H_ = \tfrac(1-\ln)+\sqrt\tfrac H_ = 4-\tfrac - 3\ln H_ = \tfrac-3\ln+\tfrac H_ = 6-\tfrac \sqrt -2\ln -\tfrac \ln H_ = 8-\tfrac - 4\ln - \tfrac \left\ H_ = 12-3\left(\ln+\tfrac\right)-\pi\left(1+\tfrac\right)+2\sqrt\ln \left (\sqrt \right ) For positive integers ''p'' and ''q'' with ''p'' < ''q'', we have: H_ = \frac +2\sum_^ \cos\left(\frac\right)\ln\left(\right)-\frac\cot\left(\frac\right)-\ln\left(2q\right)


Relation to the Riemann zeta function

Some derivatives of fractional harmonic numbers are given by \begin \frac & = (-1)^n!\left zeta(n+1)-H_\right\\ pt\frac & = (-1)^(n+1)!\left zeta(n+2)-H_\right\\ pt\frac & = (-1)^\frac(n+2)!\left zeta(n+3)-H_\right \end And using
Maclaurin series Maclaurin or MacLaurin is a surname. Notable people with the surname include: * Colin Maclaurin (1698–1746), Scottish mathematician * Normand MacLaurin (1835–1914), Australian politician and university administrator * Henry Normand MacLaurin ( ...
, we have for ''x'' < 1 that \begin H_x & = \sum_^\infty (-1)^x^n\zeta(n+1) \\ ptH_ & = \sum_^\infty (-1)^(n+1)x^n\zeta(n+2) \\ ptH_ & = \frac\sum_^\infty (-1)^(n+1)(n+2)x^n\zeta(n+3). \end For fractional arguments between 0 and 1 and for ''a'' > 1, \begin H_ & = \frac\left(\zeta(2)-\frac\zeta(3)+\frac\zeta(4)-\frac \zeta(5) + \cdots\right) \\ ptH_ & = \frac\left(2\zeta(3)-\frac\zeta(4)+\frac\zeta(5)-\frac \zeta(6) + \cdots\right) \\ ptH_ & = \frac\left(2\cdot3\zeta(4)-\frac\zeta(5)+\frac\zeta(6)-\frac\zeta(7)+\cdots\right). \end


See also

*
Watterson estimator In population genetics, the Watterson estimator is a method for describing the genetic diversity in a population. It was developed by Margaret Wu and G. A. Watterson in the 1970s. It is estimated by counting the number of polymorphic sites. It is a ...
*
Tajima's D Tajima's D is a population genetic test statistic created by and named after the Japanese researcher Fumio Tajima. Tajima's D is computed as the difference between two measures of genetic diversity: the mean number of pairwise differences and the ...
*
Coupon collector's problem In probability theory, the coupon collector's problem describes "collect all coupons and win" contests. It asks the following question: If each box of a brand of cereals contains a coupon, and there are ''n'' different types of coupons, what is th ...
*
Jeep problem The jeep problem, desert crossing problem or exploration problem"Exploration problems. Another common question is concerned with the maximum distance into a desert which could be reached from a frontier settlement by an explorer capable of carryi ...
* 100 prisoners problem *
Riemann zeta function The Riemann zeta function or Euler–Riemann zeta function, denoted by the Greek letter (zeta), is a mathematical function of a complex variable defined as \zeta(s) = \sum_^\infty \frac = \frac + \frac + \frac + \cdots for \operatorname(s) > ...
*
List of sums of reciprocals In mathematics and especially number theory, the sum of reciprocals generally is computed for the reciprocals of some or all of the positive integers (counting numbers)—that is, it is generally the sum of unit fractions. If infinitely many n ...
* False discovery rate#Benjamini–Yekutieli procedure


Notes


References

* * * Ed Sandifer,
How Euler Did It — Estimating the Basel problem
'' (2003) * * *


External links

* {{DEFAULTSORT:Harmonic Number Number theory