Open main menu
The area of the blue region converges to the Euler–Mascheroni constant.

The Euler–Mascheroni constant (also called Euler's constant) is a mathematical constant recurring in analysis and number theory, usually denoted by the lowercase Greek letter gamma (γ).

It is defined as the limiting difference between the harmonic series and the natural logarithm:

Here, represents the floor function.

The numerical value of the Euler–Mascheroni constant, to 50 decimal places, is:

0.57721566490153286060651209008240243104215933593992...(sequence A001620 in the OEIS)
Binary 0.1001001111000100011001111110001101111101...
Decimal 0.5772156649015328606065120900824024310421...
Hexadecimal 0.93C467E37DB0C7A4D1BE3F810152CB56A1CECC3A...
Continued fraction [0; 1, 1, 2, 1, 2, 1, 4, 3, 13, 5, 1, 1, 8, 1, 2, 4, 1, 1, ...][1]
(It is not known whether this continued fraction is finite, infinite periodic or infinite non-periodic.
Shown in linear notation)



The constant first appeared in a 1734 paper by the Swiss mathematician Leonhard Euler, titled De Progressionibus harmonicis observationes (Eneström Index 43). Euler used the notations C and O for the constant. In 1790, Italian mathematician Lorenzo Mascheroni used the notations A and a for the constant. 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.[2] For example, the German mathematician Carl Anton Bretschneider used the notation γ in 1835[3] and Augustus De Morgan used it in a textbook published in parts from 1836 to 1842.[4]


The Euler–Mascheroni constant appears, among other places, in the following ('*' means that this entry contains an explicit equation):


The number γ has not been proved algebraic or transcendental. In fact, it is not even known whether γ is irrational. Continued fraction analysis reveals that if γ is rational, its denominator must be greater than 10242080.[6] The ubiquity of γ revealed by the large number of equations below makes the irrationality of γ a major open question in mathematics. Also see (Sondow 2003a).

Relation to gamma functionEdit

γ 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 (Krämer 2005):


A limit related to the beta function (expressed in terms of gamma functions) is


Relation to the zeta functionEdit

γ can also be expressed as an infinite sum whose terms involve the Riemann zeta function evaluated at positive integers:


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 the Euler–Mascheroni constant are the antisymmetric limit (Sondow, 1998):


and de la Vallée-Poussin's formula


where   are ceiling brackets.

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:



γ equals the value of a number of definite integrals:


where Hx is the fractional harmonic number.

Definite integrals in which γ appears include:


One can express γ using a special case of Hadjicostas's formula as a double integral (Sondow 2003a) and (Sondow 2005) with equivalent series:


An interesting comparison by (Sondow 2005) is the double integral and alternating series


It shows that ln 4/π may be thought of as an "alternating Euler constant".

The two constants are also related by the pair of series (Sondow 2005a)


where N1(n) and N0(n) are the number of 1s and 0s, respectively, in the base 2 expansion of n.

We have also Catalan's 1875 integral (see Sondow and Zudilin)[clarification needed]


Series expansionsEdit

In general,


for any  . However, the rate of convergence of this expansion depends significantly on  . In particular,   exhibits much more rapid convergence than the conventional expansion  .[7][8] This is because




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:[9]


In 1910, Vacca found the closely related series[10]


where log2 is the logarithm to base 2 and ⌊ ⌋ is the floor function.

In 1926 he found a second series:


From the MalmstenKummer expansion for the logarithm of the gamma function[11] we get:


An important expansion for Euler's constant is due to Fontana and Mascheroni


where Gn are Gregory coefficients.[12] This series is the special case   of the expansions


convergent for  

A similar series with the Cauchy numbers of the second kind Cn is[13]


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


see OEIS OEISA302120 and OEISA302121. Other series with the same polynomials include these examples:




where Γ(a) is the gamma function.[14]

A series related to the Akiyama-Tanigawa algorithm is


where Gn(2) are the Gregory coefficients of the second order.[14]

Series of prime numbers:


Asymptotic expansionsEdit

γ equals the following asymptotic formulas (where Hn is the nth harmonic number):


The third formula is also called the Ramanujan expansion.


The constant eγ is important in number theory. Some authors denote this quantity simply as γ′. eγ equals the following limit, where pn is the nth prime number:


This restates the third of Mertens' theorems.[15] The numerical value of eγ is:

1.78107241799019798523650410310717954916964521430343... OEISA073004.

Other infinite products relating to eγ include:


These products result from the Barnes G-function.

We also have


where the nth factor is the (n + 1)th root of


This infinite product, first discovered by Ser in 1926, was rediscovered by Sondow (2003) using hypergeometric functions.

Continued fractionEdit

The continued fraction expansion of γ is of the form [0; 1, 1, 2, 1, 2, 1, 4, 3, 13, 5, 1, 1, 8, 1, 2, 4, 1, 1, 40, ...] OEISA002852, which has no apparent pattern. The continued fraction is known to have at least 470,000 terms,[6] and it has infinitely many terms if and only if γ is irrational.


abm(x) = γx

Euler's generalized constants are given by


for 0 < α < 1, with γ as the special case α = 1.[16] This can be further generalized to


for some arbitrary decreasing function f. For example,


gives rise to the Stieltjes constants, and




where again the limit



A two-dimensional limit generalization is the Masser–Gramain constant.

Euler–Lehmer constants are given by summation of inverses of numbers in a common modulo class:[17][18]


The basic properties are


and if gcd(a,q) = d then


Published digitsEdit

Euler initially calculated the constant's value to 6 decimal places. In 1781, he calculated it to 16 decimal places. 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.

Published Decimal Expansions of γ
Date Decimal digits Author
1734 5 Leonhard Euler
1735 15 Leonhard Euler
1781 16 Leonhard Euler
1790 32 Lorenzo Mascheroni, with 20-22 and 31-32 wrong
1809 22 Johann G. von Soldner
1811 22 Carl Friedrich Gauss
1812 40 Friedrich Bernhard Gottfried Nicolai
1857 34 Christian Fredrik Lindman
1861 41 Ludwig Oettinger
1867 49 William Shanks
1871 99 James W.L. Glaisher
1871 101 William Shanks
1877 262 J. C. Adams
1952 328 John William Wrench Jr.
1961 1050 Helmut Fischer and Karl Zeller
1962 1271 Donald Knuth
1962 3566 Dura W. Sweeney
1973 4879 William A. Beyer and Michael S. Waterman
1977 20700 Richard P. Brent
1980 30100 Richard P. Brent & Edwin M. McMillan
1993 172000 Jonathan Borwein
1999 108000000 Patrick Demichel and Xavier Gourdon
2009 29844489545 Alexander J. Yee & Raymond Chan[19][20]
2013 119377958182 Alexander J. Yee[19][20]
2016 160000000000 Peter Trueb[20]
2016 250000000000 Ron Watkins[20]
2017 477511832674 Ron Watkins[20]


  1. ^ OEISA002852
  2. ^ Lagarias, Jeffrey C. (October 2013). "Euler's constant: Euler's work and modern developments" (PDF). Bulletin of the American Mathematical Society. 50 (4): 556. arXiv:1303.1856. Bibcode:1994BAMaS..30..205W. doi:10.1090/s0273-0979-2013-01423-x.
  3. ^ Carl Anton Bretschneider: Theoriae logarithmi integralis lineamenta nova (13 October 1835), Journal für die reine und angewandte Mathematik 17, 1837, pp. 257–285 (in Latin; "γ = c = 0,577215 664901 532860 618112 090082 3.." on [Euler–Mascheroni constant p. 260])
  4. ^ Augustus De Morgan: The differential and integral calculus, Baldwin and Craddock, London 1836–1842 ("γ" on p. 578)
  5. ^ Caves, Carlton M.; Fuchs, Christopher A. (1996). "Quantum information: How much information in a state vector?". The Dilemma of Einstein, Podolsky and Rosen – 60 Years Later. Israel Physical Society. arXiv:quant-ph/9601025. ISBN 9780750303941. OCLC 36922834.
  6. ^ a b Havil (2003) p. 97.
  7. ^ DeTemple, Duane W. (May 1993). "A Quicker Convergence to Euler's Constant". The American Mathematical Monthly. 100 (5): 468–470. doi:10.2307/2324300. ISSN 0002-9890. JSTOR 2324300.
  8. ^ Havil (2003), pp. 75-78
  9. ^ Krämer (2005), Blagouchine (2016).
  10. ^ Vacca (1910), Glaisher (1910), Hardy (1912), Vacca (1925), Kluyver (1927), Krämer (2005), Blagouchine (2016).
  11. ^ Blagouchine (2014).
  12. ^ Krämer (2005), Blagouchine (2016), Blagouchine (2018).
  13. ^ Blagouchine (2016), Alabdulmohsin (2018), pp. 147-148.
  14. ^ a b Blagouchine (2018).
  15. ^ (14)
  16. ^ Havil (2003), pp. 117–118
  17. ^ Ram Murty, M.; Saradha, N. (2010). "Euler–Lehmer constants and a conjecture of Erdos". JNT. 130 (12): 2671–2681. doi:10.1016/j.jnt.2010.07.004.
  18. ^ Lehmer, D. H. (1975). "Euler constants for arithmetical progressions" (PDF). Acta Arith. 27 (1): 125–142. doi:10.4064/aa-27-1-125-142.
  19. ^ a b "Nagisa - Large Computations".
  20. ^ a b c d e "Records Set by y-cruncher". August 24, 2017. Retrieved April 30, 2018.


External linksEdit