Euler's constant

Euler's constant (sometimes called the Euler–Mascheroni constant) is a mathematical constant, usually denoted by the lowercase Greek letter gamma (γ), defined as the limiting difference between the harmonic series and the natural logarithm, denoted here by log:
Here, ⌊·⌋ represents the floor function.
The numerical value of Euler's constant, to 50 decimal places, is:
History
The constant first appeared in a 1734 paper by the Swiss mathematician Leonhard Euler, titled De Progressionibus harmonicis observationes (Eneström Index 43), where he described it as "worthy of serious consideration". Euler initially calculated the constant's value to 6 decimal places. In 1781, he calculated it to 16 decimal places. Euler used the notations C and O for the constant. The Italian mathematician Lorenzo Mascheroni attempted to calculate the constant to 32 decimal places, but made errors in the 20th–22nd and 31st–32nd decimal places; starting from the 20th digit, he calculated ...1811209008239 when the correct value is ...0651209008240. In 1790, he used the notations A and a for the constant. Other computations were done by Johann von Soldner in 1809, who used the notation H. The notation γ appears nowhere in the writings of either Euler or Mascheroni, and was chosen at a later time, perhaps because of the constant's connection to the gamma function. For example, the German mathematician Carl Anton Bretschneider used the notation γ in 1835, and Augustus De Morgan used it in a textbook published in parts from 1836 to 1842. Euler's constant was also studied by the Indian mathematician Srinivasa Ramanujan who published one paper on it in 1917. David Hilbert mentioned the irrationality of γ as an unsolved problem that seems "unapproachable" and, allegedly, the English mathematician Godfrey Hardy offered to give up his Savilian Chair at Oxford to anyone who could prove this.
Appearances
Euler's constant appears frequently in mathematics, especially in number theory and analysis. Examples include, among others, the following places: (where '*' means that this entry contains an explicit equation):
Analysis
- The Weierstrass product formula for the gamma function and the Barnes G-function.
- The asymptotic expansion of the gamma function, .
- Evaluations of the digamma function at rational values.
- The Laurent series expansion for the Riemann zeta function*, where it is the first of the Stieltjes constants.
- Values of the derivative of the Riemann zeta function and Dirichlet beta function.
- In connection to the Laplace and Mellin transform.
- In the regularization/renormalization of the harmonic series as a finite value.
- Expressions involving the exponential and logarithmic integral.*
- A definition of the cosine integral.*
- In relation to Bessel functions.
- Asymptotic expansions of modified Struve functions.
- In relation to other special functions.
Number theory
- An inequality for Euler's totient function.
- The growth rate of the divisor function.
- A formulation of the Riemann hypothesis.
- The third of Mertens' theorems.*
- The calculation of the Meissel–Mertens constant.
- Lower bounds to specific prime gaps.
- An approximation of the average number of divisors of all numbers from 1 to a given n.
- The Lenstra–Pomerance–Wagstaff conjecture on the frequency of Mersenne primes.
- An estimation of the efficiency of the euclidean algorithm.
- Sums involving the Möbius and von Mangolt function.
- Estimate of the divisor summatory function of the Dirichlet hyperbola method.
In other fields
- In some formulations of Zipf's law.
- The answer to the coupon collector's problem.*
- The mean of the Gumbel distribution.
- An approximation of the Landau distribution.
- The information entropy of the Weibull and Lévy distributions, and, implicitly, of the chi-squared distribution for one or two degrees of freedom.
- An upper bound on Shannon entropy in quantum information theory.
- In dimensional regularization of Feynman diagrams in quantum field theory.
- In the BCS equation on the critical temperature in BCS theory of superconductivity.*
- Fisher–Orr model for genetics of adaptation in evolutionary biology.
Properties
Irrationality and transcendence
The number γ has not been proved algebraic or transcendental. In fact, it is not even known whether γ is irrational. The ubiquity of γ revealed by the large number of equations below and the fact that γ has been called the third most important mathematical constant after π and e makes the irrationality of γ a major open question in mathematics.
However, some progress has been made. In 1959 Andrei Shidlovsky proved that at least one of Euler's constant γ and the Gompertz constant δ is irrational; Tanguy Rivoal proved in 2012 that at least one of them is transcendental. Kurt Mahler showed in 1968 that the number is transcendental, where and are the usual Bessel functions. It is known that the transcendence degree of the field is at least two.
In 2010, M. Ram Murty and N. Saradha showed that at most one of the Euler-Lehmer constants, i. e. the numbers of the form is algebraic, if q ≥ 2 and 1 ≤ a < q; this family includes the special case γ(2,4) = γ/4.
Using the same approach, in 2013, M. Ram Murty and A. Zaytseva showed that the generalized Euler constants have the same property, where the generalized Euler constant are defined as where is a fixed list of prime numbers, if at least one of the primes in is a prime factor of , and otherwise. In particular, .
Using a continued fraction analysis, Papanikolaou showed in 1997 that if γ is rational, its denominator must be greater than 10244663. If eγ is a rational number, then its denominator must be greater than 1015000.
Euler's constant is conjectured not to be an algebraic period, but the values of its first 109 decimal digits seem to indicate that it could be a normal number.
Continued fraction
The simple continued fraction expansion of Euler's constant is given by:
which has no apparent pattern. It is known to have at least 16,695,000,000 terms, and it has infinitely many terms if and only if γ is irrational.

Numerical evidence suggests that both Euler's constant γ as well as the constant eγ are among the numbers for which the geometric mean of their simple continued fraction terms converges to Khinchin's constant. Similarly, when are the convergents of their respective continued fractions, the limit appears to converge to Lévy's constant in both cases. However neither of these limits has been proven.
There also exists a generalized continued fraction for Euler's constant.
A good simple approximation of γ is given by the reciprocal of the square root of 3 or about 0.57735:
with the difference being about 1 in 7,429.
Formulas and identities
Relation to gamma function
γ is related to the digamma function Ψ, and hence the derivative of the gamma function Γ, when both functions are evaluated at 1. Thus:
This is equal to the limits:
Further limit results are:
A limit related to the beta function (expressed in terms of gamma functions) is
Relation to the zeta function
γ can also be expressed as an infinite sum whose terms involve the Riemann zeta function evaluated at positive integers:
The constant can also be expressed in terms of the sum of the reciprocals of non-trivial zeros of the zeta function:
Other series related to the zeta function include:
The error term in the last equation is a rapidly decreasing function of n. As a result, the formula is well-suited for efficient computation of the constant to high precision.
Other interesting limits equaling Euler's constant are the antisymmetric limit:
and the following formula, established in 1898 by de la Vallée-Poussin:
where ⌈ ⌉ are ceiling brackets. This formula indicates that when taking any positive integer n and dividing it by each positive integer k less than n, the average fraction by which the quotient n/k falls short of the next integer tends to γ (rather than 0.5) as n tends to infinity.
Closely related to this is the rational zeta series expression. By taking separately the first few terms of the series above, one obtains an estimate for the classical series limit:
where ζ(s, k) is the Hurwitz zeta function. The sum in this equation involves the harmonic numbers, Hn. Expanding some of the terms in the Hurwitz zeta function gives:
where 0 < ε <1/252n6.
γ can also be expressed as follows where A is the Glaisher–Kinkelin constant:
γ can also be expressed as follows, which can be proven by expressing the zeta function as a Laurent series:
Relation to triangular numbers
Numerous formulations have been derived that express in terms of sums and logarithms of triangular numbers. One of the earliest of these is a formula for the th harmonic number attributed to Srinivasa Ramanujan where is related to in a series that considers the powers of (an earlier, less-generalizable proof by Ernesto Cesàro gives the first two terms of the series, with an error term):
From Stirling's approximation follows a similar series:
The series of inverse triangular numbers also features in the study of the Basel problem posed by Pietro Mengoli. Mengoli proved that , a result Jacob Bernoulli later used to estimate the value of , placing it between and . This identity appears in a formula used by Bernhard Riemann to compute roots of the zeta function, where is expressed in terms of the sum of roots plus the difference between Boya's expansion and the series of exact unit fractions :
Integrals
γ equals the value of a number of definite integrals:
where Hx is the fractional harmonic number, and is the fractional part of .
The third formula in the integral list can be proved in the following way:
The integral on the second line of the equation is the definition of the Riemann zeta function, which is m!ζ(m + 1).
Definite integrals in which γ appears include:
We also have Catalan's 1875 integral
One can express γ using a special case of Hadjicostas's formula as a double integral with equivalent series:
An interesting comparison by Sondow is the double integral and alternating series
It shows that log4/π may be thought of as an "alternating Euler constant".
The two constants are also related by the pair of series
where N1(n) and N0(n) are the number of 1s and 0s, respectively, in the base 2 expansion of n.
Series expansions
In general,
for any α > −n. However, the rate of convergence of this expansion depends significantly on α. In particular, γn(1/2) exhibits much more rapid convergence than the conventional expansion γn(0). This is because
while
Even so, there exist other series expansions which converge more rapidly than this; some of these are discussed below.
Euler showed that the following infinite series approaches γ:
The series for γ is equivalent to a series Nielsen found in 1897:
In 1910, Vacca found the closely related series
where log2 is the logarithm to base 2 and ⌊ ⌋ is the floor function.
This can be generalized to:
where:
In 1926 Vacca found a second series:
From the Malmsten–Kummer expansion for the logarithm of the gamma function we get:
Ramanujan, in his lost notebook gave a series that approaches γ:
An important expansion for Euler's constant is due to Fontana and Mascheroni
where Gn are Gregory coefficients. This series is the special case k = 1 of the expansions
convergent for k = 1, 2, ...
A similar series with the Cauchy numbers of the second kind Cn is
Blagouchine (2018) found an interesting generalisation of the Fontana–Mascheroni series
where ψn(a) are the Bernoulli polynomials of the second kind, which are defined by the generating function
For any rational a this series contains rational terms only. For example, at a = 1, it becomes
Other series with the same polynomials include these examples:
and
where Γ(a) is the gamma function.
A series related to the Akiyama–Tanigawa algorithm is
where Gn(2) are the Gregory coefficients of the second order.
As a series of prime numbers:
Asymptotic expansions
γ equals the following asymptotic formulas (where Hn is the nth harmonic number):
- (Euler)
- (Negoi)
- (Cesàro)
The third formula is also called the Ramanujan expansion.
Alabdulmohsin derived closed-form expressions for the sums of errors of these approximations. He showed that (Theorem A.1):
Exponential
The constant eγ is important in number theory. Its numerical value is:
eγ equals the following limit, where pn is the nth prime number:
This restates the third of Mertens' theorems.
We further have the following product involving the three constants e, π and γ:
Other infinite products relating to eγ include:
These products result from the Barnes G-function.
In addition,
where the nth factor is the (n + 1)th root of
This infinite product, first discovered by Ser in 1926, was rediscovered by Sondow using hypergeometric functions.
It also holds that
Published digits
Generalizations
Stieltjes constants

Euler's generalized constants are given by
for 0 < α < 1, with γ as the special case α = 1. Extending for α > 1 gives:
with again the limit:
This can be further generalized to
for some arbitrary decreasing function f. Setting
gives rise to the Stieltjes constants , that occur in the Laurent series expansion of the Riemann zeta function:
with
Euler-Lehmer constants
Euler–Lehmer constants are given by summation of inverses of numbers in a common modulo class:
The basic properties are
and if the greatest common divisor gcd(a,q) = d then
Masser-Gramain constant
A two-dimensional generalization of Euler's constant is the Masser-Gramain constant. It is defined as the following limiting difference:
where is the smallest radius of a disk in the complex plane containing at least Gaussian integers.
The following bounds have been established: .
See also
References
- Bretschneider, Carl Anton (1837) [1835]. "Theoriae logarithmi integralis lineamenta nova". Crelle's Journal (in Latin). 17: 257–285.
- Havil, Julian (2003). Gamma: Exploring Euler's Constant. Princeton University Press. ISBN 978-0-691-09983-5.
- Lagarias, Jeffrey C. (2013). "Euler's constant: Euler's work and modern developments". Bulletin of the American Mathematical Society. 50 (4): 556. arXiv:1303.1856. doi:10.1090/s0273-0979-2013-01423-x. S2CID 119612431.
Footnotes
Further reading
- Borwein, Jonathan M.; David M. Bradley; Richard E. Crandall (2000). "Computational Strategies for the Riemann Zeta Function". Journal of Computational and Applied Mathematics. 121 (1–2): 11. Bibcode:2000JCoAM.121..247B. doi:10.1016/s0377-0427(00)00336-8. Derives γ as sums over Riemann zeta functions.
- Finch, Steven R. (2003). Mathematical Constants. Encyclopedia of Mathematics and its Applications. Vol. 94. Cambridge: Cambridge University Press. ISBN 0-521-81805-2.
- Gerst, I. (1969). "Some series for Euler's constant". Amer. Math. Monthly. 76 (3): 237–275. doi:10.2307/2316370. JSTOR 2316370.
- Glaisher, James Whitbread Lee (1872). "On the history of Euler's constant". Messenger of Mathematics. 1: 25–30. JFM 03.0130.01.
- Gourdon, Xavier; Sebah, P. (2002). "Collection of formulae for Euler's constant, γ".
- Gourdon, Xavier; Sebah, P. (2004). "The Euler constant: γ".
- Julian Havil (2003): GAMMA: Exploring Euler's Constant, Princeton University Press, ISBN 978-0-69114133-6.
- Karatsuba, E. A. (1991). "Fast evaluation of transcendental functions". Probl. Inf. Transm. 27 (44): 339–360.
- Karatsuba, E.A. (2000). "On the computation of the Euler constant γ". Journal of Numerical Algorithms. 24 (1–2): 83–97. doi:10.1023/A:1019137125281. S2CID 21545868.
- Knuth, Donald (1997). The Art of Computer Programming, Vol. 1 (3rd ed.). Addison-Wesley. pp. 75, 107, 114, 619–620. ISBN 0-201-89683-4.
- Lehmer, D. H. (1975). "Euler constants for arithmetical progressions" (PDF). Acta Arith. 27 (1): 125–142. doi:10.4064/aa-27-1-125-142.
- Lerch, M. (1897). "Expressions nouvelles de la constante d'Euler". Sitzungsberichte der Königlich Böhmischen Gesellschaft der Wissenschaften. 42: 5.
- Mascheroni, Lorenzo (1790). Adnotationes ad calculum integralem Euleri, in quibus nonnulla problemata ab Eulero proposita resolvuntur. Galeati, Ticini.
- Sondow, Jonathan (2002). "A hypergeometric approach, via linear forms involving logarithms, to irrationality criteria for Euler's constant". Mathematica Slovaca. 59: 307–314. arXiv:math.NT/0211075. Bibcode:2002math.....11075S. doi:10.2478/s12175-009-0127-2. S2CID 16340929. with an Appendix by Sergey Zlobin
External links
- "Euler constant". Encyclopedia of Mathematics. EMS Press. 2001 [1994].
- Weisstein, Eric W. "Euler–Mascheroni constant". MathWorld.
- Jonathan Sondow.
- Fast Algorithms and the FEE Method, E.A. Karatsuba (2005)
- Further formulae which make use of the constant: Gourdon and Sebah (2004).