Euler's constant
Template:Short description Template:Redirect Template:Distinguish Template:Use shortened footnotes Template:Log(x) Template:Infobox mathematical constant

Euler's constant (sometimes called the Euler–Mascheroni constant) is a mathematical constant, usually denoted by the lowercase Greek letter gamma (Template:Math), defined as the limiting difference between the harmonic series and the natural logarithm, denoted here by Template:Math:
Here, Template:Math represents the floor function.
The numerical value of Euler's constant, to 50 decimal places, is:Template:R
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".[1]Template:Sfn Euler initially calculated the constant's value to 6 decimal places. In 1781, he calculated it to 16 decimal places. Euler used the notations Template:Math and Template:Math 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 Template:Math and Template:Math for the constant. Other computations were done by Johann von Soldner in 1809, who used the notation Template:Math. The notation Template:Math 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.Template:Sfn For example, the German mathematician Carl Anton Bretschneider used the notation Template:Math in 1835,Template:Sfn and Augustus De Morgan used it in a textbook published in parts from 1836 to 1842.Template:R Euler's constant was also studied by the Indian mathematician Srinivasa Ramanujan who published one paper on it in 1917.[2] David Hilbert mentioned the irrationality of Template:Math 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.[1]
Appearances
Euler's constant appears frequently in mathematics, especially in number theory and analysis.[3] 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.[4][5]
- The asymptotic expansion of the gamma function, .
- Evaluations of the digamma function at rational values.[6]
- The Laurent series expansion for the Riemann zeta function*, where it is the first of the Stieltjes constants.[7]
- Values of the derivative of the Riemann zeta function and Dirichlet beta function.[8]Template:Rp[9]
- In connection to the Laplace and Mellin transform.[10][11]
- In the regularization/renormalization of the harmonic series as a finite value.
- Expressions involving the exponential and logarithmic integral.*[12][13]
- A definition of the cosine integral.*[12]
- In relation to Bessel functions.[14][15][16][17]
- Asymptotic expansions of modified Struve functions.[18]
- In relation to other special functions.[19][20]
Number theory
- An inequality for Euler's totient function.[21]
- The growth rate of the divisor function.[22]
- A formulation of the Riemann hypothesis.[23][24]
- The third of Mertens' theorems.*[25]
- The calculation of the Meissel–Mertens constant.[26]
- Lower bounds to specific prime gaps.[27]
- An approximation of the average number of divisors of all numbers from 1 to a given n.[28]
- The Lenstra–Pomerance–Wagstaff conjecture on the frequency of Mersenne primes.[29]
- An estimation of the efficiency of the euclidean algorithm.[30]
- Sums involving the Möbius and von Mangolt function.
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.Template:R
- 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.Template:R
Properties
Irrationality and transcendence
The number Template:Math has not been proved algebraic or transcendental. In fact, it is not even known whether Template:Math is irrational. The ubiquity of Template:Math revealed by the large number of equations below and the fact that Template:Math has been called the third most important mathematical constant after [[Pi|Template:Math]] and [[E (mathematical constant)|Template:Math]][31][8] makes the irrationality of Template:Math a major open question in mathematics.[1][32]Template:R[28]
However, some progress has been made. In 1959 Andrei Shidlovsky proved that at least one of Euler's constant Template:Math and the Gompertz constant Template:Math is irrational;Template:R[23] Tanguy Rivoal proved in 2012 that at least one of them is transcendental.Template:R Kurt Mahler showed in 1968 that the number is transcendental, where and are the usual Bessel functions.Template:RTemplate:Sfn It is known that the transcendence degree of the field is at least two.Template:Sfn
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 Template:Math and Template:Math; this family includes the special case Template:Math.Template:SfnTemplate:R
Using the same approach, in 2013, M. Ram Murty and A. Zaytseva showed that the generalized Euler constants have the same property, Template:SfnTemplate:R [33] where the generalized Euler constant are defined as where Template:Tmath is a fixed list of prime numbers, if at least one of the primes in Template:Tmath is a prime factor of Template:Tmath, and otherwise. In particular, Template:Tmath.
Using a continued fraction analysis, Papanikolaou showed in 1997 that if Template:Math is rational, its denominator must be greater than 10244663.Template:R If Template:Math is a rational number, then its denominator must be greater than 1015000.Template:Sfn
Euler's constant is conjectured not to be an algebraic period,Template:Sfn but the values of its first 109 decimal digits seem to indicate that it could be a normal number.[34]
Continued fraction
The simple continued fraction expansion of Euler's constant is given by:Template:R
which has no apparent pattern. It is known to have at least 16,695,000,000 terms,Template:R and it has infinitely many terms if and only if Template:Mvar is irrational.

Numerical evidence suggests that both Euler's constant Template:Math as well as the constant Template:Math 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.[35] However neither of these limits has been proven.[36]
There also exists a generalized continued fraction for Euler's constant.[37]
A good simple approximation of Template:Math is given by the reciprocal of the square root of 3 or about 0.57735:[38]
with the difference being about 1 in 7,429.
Formulas and identities
Relation to gamma function
Template:Mvar is related to the digamma function Template:Math, and hence the derivative of the gamma function Template:Math, when both functions are evaluated at 1. Thus:
This is equal to the limits:
Further limit results are:Template:R
A limit related to the beta function (expressed in terms of gamma functions) is
Relation to the zeta function
Template:Mvar 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:[39]
Other series related to the zeta function include:
The error term in the last equation is a rapidly decreasing function of Template:Mvar. 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:Template:R
and the following formula, established in 1898 by de la Vallée-Poussin:
where Template:Math are ceiling brackets. This formula indicates that when taking any positive integer Template:Mvar and dividing it by each positive integer Template:Mvar less than Template:Mvar, the average fraction by which the quotient Template:Math falls short of the next integer tends to Template:Mvar (rather than 0.5) as Template:Mvar 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 Template:Math is the Hurwitz zeta function. The sum in this equation involves the harmonic numbers, Template:Math. Expanding some of the terms in the Hurwitz zeta function gives:
where Template:Math
Template:Mvar can also be expressed as follows where Template:Mvar is the Glaisher–Kinkelin constant:
Template:Mvar 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.[40][41][42][43] One of the earliest of these is a formula[44][45] for the Template:Nowrap harmonic number attributed to Srinivasa Ramanujan where is related to in a series that considers the powers of (an earlier, less-generalizable proof[46][47] by Ernesto Cesàro gives the first two terms of the series, with an error term):
From Stirling's approximation[40][48] follows a similar series:
The series of inverse triangular numbers also features in the study of the Basel problemTemplate:Sfn[49] 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,[50] 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
Template:Mvar equals the value of a number of definite integrals:
where Template:Math 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 stands for the Debye function value of Template:Math, which is Template:Math.
Definite integrals in which Template:Mvar appears include:[1][9]
We also have Catalan's 1875 integralTemplate:R
One can express Template:Mvar using a special case of Hadjicostas's formula as a double integralTemplate:R with equivalent series:
An interesting comparison by SondowTemplate:R is the double integral and alternating series
It shows that Template:Math may be thought of as an "alternating Euler constant".
The two constants are also related by the pair of seriesTemplate:R
where Template:Math and Template:Math are the number of 1s and 0s, respectively, in the base 2 expansion of Template:Mvar.
Series expansions
In general,
for any Template:Math. However, the rate of convergence of this expansion depends significantly on Template:Mvar. In particular, Template:Math exhibits much more rapid convergence than the conventional expansion Template:Math.Template:RTemplate:Sfn 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 Template:Mvar:
The series for Template:Mvar is equivalent to a series Nielsen found in 1897:Template:RTemplate:Sfn
In 1910, Vacca found the closely related seriesTemplate:R
where Template:Math is the logarithm to base 2 and Template:Math is the floor function.
This can be generalized to:[51]
where:
In 1926 Vacca found a second series:
From the Malmsten–Kummer expansion for the logarithm of the gamma function[9] we get:
Ramanujan, in his lost notebook gave a series that approaches Template:MvarTemplate:R:
An important expansion for Euler's constant is due to Fontana and Mascheroni
where Template:Math are Gregory coefficients.Template:R This series is the special case Template:Math of the expansions
convergent for Template:Math
A similar series with the Cauchy numbers of the second kind Template:Math isTemplate:R
Blagouchine (2018) found an interesting generalisation of the Fontana–Mascheroni series
where Template:Math are the Bernoulli polynomials of the second kind, which are defined by the generating function
For any rational Template:Mvar this series contains rational terms only. For example, at Template:Math, it becomesTemplate:R
Other series with the same polynomials include these examples:
and
where Template:Math is the gamma function.Template:R
A series related to the Akiyama–Tanigawa algorithm is
where Template:Math are the Gregory coefficients of the second order.Template:R
As a series of prime numbers:
Asymptotic expansions
Template:Mvar equals the following asymptotic formulas (where Template:Math is the Template:Mvarth 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.Template:R He showed that (Theorem A.1):
Exponential
The constant Template:Math is important in number theory. Its numerical value is:Template:R
Template:Block indent Template:Math equals the following limit, where Template:Math is the Template:Mvarth prime number:
This restates the third of Mertens' theorems.Template:R
We further have the following product involving the three constants Template:Math, Template:Math and Template:Math:[25]
Other infinite products relating to Template:Math include:
These products result from the [[Barnes G-function|Barnes Template:Mvar-function]].
In addition,
where the Template:Mvarth factor is the Template:Mathth root of
This infinite product, first discovered by Ser in 1926, was rediscovered by Sondow using hypergeometric functions.Template:R
It also holds thatTemplate:R
Published digits
| Date | Decimal digits | Author | Sources |
|---|---|---|---|
| 1734 | 5 | Leonhard Euler | Template:Sfn |
| 1735 | 15 | Leonhard Euler | Template:Sfn |
| 1781 | 16 | Leonhard Euler | Template:Sfn |
| 1790 | 32 | Lorenzo Mascheroni, with 20–22 and 31–32 wrong | Template:Sfn |
| 1809 | 22 | Johann G. von Soldner | Template:Sfn |
| 1811 | 22 | Carl Friedrich Gauss | Template:Sfn |
| 1812 | 40 | Friedrich Bernhard Gottfried Nicolai | Template:Sfn |
| 1861 | 41 | Ludwig Oettinger | [52] |
| 1867 | 49 | William Shanks | [53] |
| 1871 | 100 | James W.L. Glaisher | Template:Sfn |
| 1877 | 263 | J. C. Adams | Template:Sfn |
| 1952 | 328 | John William Wrench Jr. | Template:Sfn |
| 1961 | Template:Val | Helmut Fischer and Karl Zeller | [54] |
| 1962 | Template:Val | Donald Knuth | Template:R |
| 1963 | Template:Val | Dura W. Sweeney | [55] |
| 1973 | Template:Val | William A. Beyer and Michael S. Waterman | [56] |
| 1977 | Template:Val | Richard P. Brent | [35] |
| 1980 | Template:Val | Richard P. Brent & Edwin M. McMillan | [57] |
| 1993 | Template:Val | Jonathan Borwein | [58] |
| 1997 | Template:Val | Thomas Papanikolaou | [58] |
| 1998 | Template:Val | Xavier Gourdon | [58] |
| 1999 | Template:Val | Patrick Demichel and Xavier Gourdon | [58] |
| March 13, 2009 | Template:Val | Alexander J. Yee & Raymond Chan | Template:R |
| December 22, 2013 | Template:Val | Alexander J. Yee | Template:R |
| March 15, 2016 | Template:Val | Peter Trueb | Template:R |
| May 18, 2016 | Template:Val | Ron Watkins | Template:R |
| August 23, 2017 | Template:Val | Ron Watkins | Template:R |
| May 26, 2020 | Template:Val | Seungmin Kim & Ian Cutress | Template:R |
| May 13, 2023 | Template:Val | Jordan Ranous & Kevin O'Brien | Template:R |
| September 7, 2023 | Template:Val | Andrew Sun | Template:R |
Generalizations
Stieltjes constants

Euler's generalized constants are given by
for Template:Math, with Template:Mvar as the special case Template:Math.Template:Sfn Extending for Template:Math gives:
with again the limit:
This can be further generalized to
for some arbitrary decreasing function Template:Mvar. Setting
gives rise to the Stieltjes constants , that occur in the Laurent series expansion of the Riemann zeta function:
with
| n | approximate value of γn | OEIS |
| 0 | +0.5772156649015 | Template:OEIS link |
| 1 | −0.0728158454836 | Template:OEIS link |
| 2 | −0.0096903631928 | Template:OEIS link |
| 3 | +0.0020538344203 | Template:OEIS link |
| 4 | +0.0023253700654 | Template:OEIS link |
| 100 | −4.2534015717080 × 1017 | |
| 1000 | −1.5709538442047 × 10486 |
Euler-Lehmer constants
Euler–Lehmer constants are given by summation of inverses of numbers in a common modulo class:Template:R
The basic properties are
and if the greatest common divisor Template:Math 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:[59]
where is the smallest radius of a disk in the complex plane containing at least Gaussian integers.
The following bounds have been established: .[60]
See also
References
Footnotes
Further reading
- Template:Cite journal Derives Template:Math as sums over Riemann zeta functions.
- Template:Cite book
- Template:Cite journal
- Template:Cite journal
- Template:Cite web
- Template:Cite web
- Julian Havil (2003): GAMMA: Exploring Euler's Constant, Princeton University Press, ISBN 978-0-69114133-6.
- Template:Cite journal
- Template:Cite journal
- Template:Cite book
- Template:Cite journal
- Template:Cite journal
- Template:Cite book
- Template:Cite journal with an Appendix by Sergey Zlobin
External links
- Template:Springer
- Template: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).
Template:Leonhard Euler Template:Authority control
- ↑ 1.0 1.1 1.2 1.3 Template:Cite web
- ↑ Template:Cite book
- ↑ Template:Cite web
- ↑ Template:Cite journal
- ↑ Template:Cite web
- ↑ Template:Cite web
- ↑ Template:Cite web
- ↑ 8.0 8.1 Template:Cite book
- ↑ 9.0 9.1 9.2 Template:Cite journal
- ↑ Template:Cite book
- ↑ Template:Cite web
- ↑ 12.0 12.1 Template:Cite web
- ↑ Template:Cite web
- ↑ Template:Cite web
- ↑ Template:Cite web
- ↑ Template:Cite web
- ↑ Template:Cite web
- ↑ Template:Cite web
- ↑ Template:Cite web
- ↑ Template:Cite web
- ↑ Template:Cite journal
- ↑ Template:Cite book
- ↑ 23.0 23.1 Template:Cite web
- ↑ Template:Cite journal
- ↑ 25.0 25.1 Template:Cite web
- ↑ Template:Cite web
- ↑ Template:Cite journal
- ↑ 28.0 28.1 Template:Cite book
- ↑ Template:Cite web
- ↑ Template:Cite web
- ↑ Template:Cite web
- ↑ Template:Cite web
- ↑ Template:Cite journal
- ↑ Template:Cite web
- ↑ 35.0 35.1 Template:Cite journal
- ↑ Template:Cite web
- ↑ Template:Citation
- ↑ Template:Cite web
- ↑ Template:Cite arXiv See formula 11 on page 3. Note the typographical error in the numerator of Wolf's sum over zeros, which should be 2 rather than 1.
- ↑ 40.0 40.1 Template:Cite journal See formulas 1 and 10.
- ↑ Template:Cite journal
- ↑ Template:Cite journal
- ↑ Template:Cite journal
- ↑ Template:Cite arXiv See formula 1.8 on page 3.
- ↑ Template:Cite journal
- ↑ Template:Cite journal
- ↑ Template:Cite book See exercise 18.
- ↑ Template:Cite book See Examples 12.21 and 12.50 for exercises on the derivation of the integral form of the series .
- ↑ Template:Cite journal
- ↑ Template:Cite book
- ↑ Template:Citation
- ↑ Template:Cite journal
- ↑ Template:Cite journal
- ↑ Template:Cite web
- ↑ Template:Cite journal
- ↑ Template:Cite journal
- ↑ Template:Cite journal
- ↑ 58.0 58.1 58.2 58.3 Template:Cite web
- ↑ Template:Cite web
- ↑ Template:Cite web