cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A073004 Decimal expansion of exp(gamma).

Original entry on oeis.org

1, 7, 8, 1, 0, 7, 2, 4, 1, 7, 9, 9, 0, 1, 9, 7, 9, 8, 5, 2, 3, 6, 5, 0, 4, 1, 0, 3, 1, 0, 7, 1, 7, 9, 5, 4, 9, 1, 6, 9, 6, 4, 5, 2, 1, 4, 3, 0, 3, 4, 3, 0, 2, 0, 5, 3, 5, 7, 6, 6, 5, 8, 7, 6, 5, 1, 2, 8, 4, 1, 0, 7, 6, 8, 1, 3, 5, 8, 8, 2, 9, 3, 7, 0, 7, 5, 7, 4, 2, 1, 6, 4, 8, 8, 4, 1, 8, 2, 8, 0, 3, 3, 4, 8, 2
Offset: 1

Views

Author

Robert G. Wilson v, Aug 03 2002

Keywords

Comments

See references and additional links in A094644.
The Riemann hypothesis holds if and only if the inequality sigma(n)/(n*log(log(n))) < exp(gamma) is valid for all n >= 5041, (G. Robin, 1984). - Peter Luschny, Oct 18 2020
From Peter Bala, Aug 24 2025: (Start)
By definition, gamma = lim_{n -> oo} s(n), where s(n) = Sum_{k = 1..n} 1/k - log(n). The convergence is slow. For example, s(50) = 0.5(87...) is only correct to 1 decimal digit. Let S(n) = Sum_{k = 0..n} (-1)^(n+k)*binomial(n, k)*binomial(n+k, k)*s(n+k). Elsner shows that S(n) converges to gamma much more rapidly. For example, S(50) = 0.57721566490153286060651209008(02...) gives gamma correct to 29 decimal digits.
Define E(n) = Sum_{k = 0..n} (-1)^(n+k)*binomial(n, k)*binomial(n+k, k)*exp(s(n+k)). Then it appears that E(n) converges rapidly to exp(gamma). For example, E(50) = 1.78107241799019798523650410310(43...) gives exp(gamma) correct to 29 decimal digits. Cf. A002389. (End)

Examples

			Exp(gamma) = 1.7810724179901979852365041031071795491696452143034302053...
		

References

  • Steven R. Finch, Mathematical Constants, Encyclopedia of Mathematics and its Applications, vol. 94, Cambridge University Press, 2003, Sections 1.5.1 and 2.27.2, pp. 31, 187.
  • Paulo Ribenboim, The Little Book of Bigger Primes, Springer-Verlag NY 2004. See pp. 166, 191, 208.

Crossrefs

Cf. A001620 (Euler-Mascheroni constant, gamma).
Cf. A001113, A002389, A067698, A080130, A091901, A094644 (continued fraction for exp(gamma)), A155969, A246499.

Programs

  • Magma
    R:=RealField(100); Exp(EulerGamma(R)); // G. C. Greubel, Aug 27 2018
  • Mathematica
    RealDigits[ E^(EulerGamma), 10, 110] [[1]]
  • PARI
    exp(Euler)
    

Formula

By Mertens theorem, equals lim_{m->infinity}(1/log(prime(m))*Product_{k=1..m} 1/(1-1/prime(k))). - Stanislav Sykora, Nov 14 2014
Equals limsup_{n->oo} sigma(n)/(n*log(log(n))) (Gronwall, 1913). - Amiram Eldar, Nov 07 2020
Equals limsup_{n->oo} (Sum_{d|n} log(d)/d)/(log(log(n)))^2 (Erdős and Zaremba, 1973). - Amiram Eldar, Mar 03 2021
Equals Product_{k>=1} (1-1/(k+1))*exp(1/k). - Amiram Eldar, Mar 20 2022
Equals lim_{n->oo} n * Product_{prime p<=n} p^(1/(1-p)). - Thomas Ordowski, Jan 30 2023
Equals Product_{k>=1} (k/sqrt(2))^((-1)^k/(k*log(2))). - Antonio Graciá Llorente, Oct 11 2024
Equals lim_{n->oo} (1/log(n))*Product_{prime p<=n} p/(p - 1) [Mertens] (see Finch at p. 31). - Stefano Spezia, Oct 27 2024