OFFSET
1,1
LINKS
Clark Kimberling, Table of n, a(n) for n = 1..1000
MATHEMATICA
Table[Sum[Floor[1/FractionalPart[k/E]], {k, n}], {n, 100}] (* Clark Kimberling, Aug 17 2012 *)
PROG
(PARI) a(n) = sum(k=1, n, floor(1/frac(k/exp(1)))); \\ Michel Marcus, Jul 17 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved