OFFSET
0,4
LINKS
FORMULA
a(n) = floor(n!*exp(1)) - n - 1 - n! for n>1. - Mark van Hoeij, Oct 30 2011
MATHEMATICA
a=1; Table[a=(a-n)*(n+1); Abs[a], {n, 0, 40}] (* Vladimir Joseph Stephan Orlovsky, Nov 20 2009 *)
Table[n!Sum[1/k!, {k, n-2}], {n, 0, 30}] (* Harvey P. Dale, Dec 26 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved