OFFSET
0,3
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..250
FORMULA
a(n) = n! - 2*floor(e*n!)+2 , n>0. - Gary Detlefs, Jun 19 2010
MATHEMATICA
RecurrenceTable[{a[0]==1, a[n]==n*(a[n-1]-2)}, a[n], {n, 30}] (* Harvey P. Dale, Jul 19 2011 *)
FoldList[#1*#2 - 2 #2 &, 1, Range[25]] (* G. C. Greubel, Apr 08 2016 *)
CROSSREFS
KEYWORD
sign
AUTHOR
Philippe Deléham, Sep 26 2009
EXTENSIONS
Corrected by Harvey P. Dale, Jul 19 2011
STATUS
approved