OFFSET
1,3
COMMENTS
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..5000
FORMULA
Partial sums of A038128.
MAPLE
with(numtheory):Digits:=500:s:=0:c:=evalf(gamma(0)):for n from 1 to 100 do:
s:=s+floor(n*c):printf(`%d, `, s):od:
MATHEMATICA
Table[Sum[Floor[k*EulerGamma], {k, 1, n}], {n, 50}] (* G. C. Greubel, Jun 02 2017 *)
PROG
(PARI) a(n) = sum(k=1, n, floor(k*Euler)); \\ Michel Marcus, Apr 02 2017
(Magma) R:=RealField(100); [(&+[Floor(k*EulerGamma(R)): k in [1..n]]): n in [1..50]]; // G. C. Greubel, Aug 27 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Lagneau, Mar 27 2011
EXTENSIONS
Name edited by Jon E. Schoenfield, Apr 02 2017
STATUS
approved