OFFSET
0,3
COMMENTS
Numerator of the decimal fraction of gamma=0.5772... truncated to a given number of decimal places.
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..995
EXAMPLE
a(3) = 577 is the numerator of 0.577 = 577/1000.
a(4) = 1443 is the numerator of 0.5772 = 5772/10000 = 1443/2500.
MATHEMATICA
Numerator[Table[Floor[EulerGamma*10^n]/10^n, {n, 0, 50}]] (* G. C. Greubel, Aug 27 2018 *)
PROG
(PARI) a(n, c=Euler)=numerator(c\.1^n/10^n) \\ M. F. Hasler, Sep 21 2011
(Magma) R:=RealField(100); [Numerator(Floor(EulerGamma(R)*10^n)/10^n): n in [0..50]]; // G. C. Greubel, Aug 27 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
M. F. Hasler, following a suggestion by Eric Angelini, Sep 21 2011
STATUS
approved