OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
FORMULA
a(n) = n! - 4*floor(e*n!) + 4, n>0. - Gary Detlefs, Jun 19 2010
MATHEMATICA
RecurrenceTable[{a[0]==1, a[n]==n(a[n-1]-4)}, a, {n, 20}] (* Harvey P. Dale, Apr 18 2014 *)
FoldList[#1*#2 - 4 #2 &, 1, Range[50]] (* G. C. Greubel, May 23 2016 *)
CROSSREFS
KEYWORD
easy,sign
AUTHOR
Philippe Deléham, Oct 18 2009
STATUS
approved