OFFSET
0,1
REFERENCES
Steven R. Finch, Mathematical Constants, Cambridge University Press, 2003, Section 1.5.3 Generalized Euler Constants, p. 32.
LINKS
Harold G. Diamond, A number theoretic series of I. Kasara, Pacific J. Math., Volume 111, Number 2 (1984), 283-285.
Steven R. Finch, Errata and Addenda to Mathematical Constants, p. 5.
Eric Weisstein's MathWorld, Euler-Mascheroni Constant
Wikipedia, Euler-Mascheroni constant
FORMULA
lim_{m -> infinity} ( Sum_{n=2..m} 1/(n*log(n)) - log(log(m)/log(2)) ).
EXAMPLE
0.4281657248712350751914588...
MATHEMATICA
digits = 99; m0 = 10^digits; dm = 10^digits; Clear[g]; g[m_] := g[m] = NSum[1/(n*Log[n]) - (2*n*Log[Log[m]/Log[2]])/(-2 + m + m^2), {n, 2, m}, WorkingPrecision -> 2 digits, NSumTerms -> 1000, Method -> {"EulerMaclaurin", Method -> {"NIntegrate", "MaxRecursion" -> 30}}]; g[m = m0]; g[m = m0 + dm]; While[Print["m = ", m // N // ScientificForm, " ", RealDigits[g[m], 10, digits]]; RealDigits[g[m], 10, digits + 2] != RealDigits[g[m - dm], 10, digits + 2], m = m + dm]; RealDigits[g[m], 10, digits] // First (* updated Apr 19 2016 *)
CROSSREFS
KEYWORD
nonn,cons
AUTHOR
Jean-François Alcover, Aug 07 2014
EXTENSIONS
Extended to 99 digits by Jean-François Alcover, Apr 19 2016
STATUS
approved