OFFSET
0,1
COMMENTS
FORMULA
a(n) = ceiling(1 + n!*(3-e)) for n>0.
a(n) = n! - floor(e*n!) + 1, n>0. - Gary Detlefs, Jun 06 2010
EXAMPLE
a(5) = 5*(a(4)-1) = 5*(8-1) = 35.
MATHEMATICA
a=3; Table[a=a*n-n, {n, 1, 2*4!}] (* Vladimir Joseph Stephan Orlovsky, Apr 22 2010 *)
RecurrenceTable[{a[0]==3, a[n]==n(a[n-1]-1)}, a, {n, 20}] (* Harvey P. Dale, Jul 17 2018 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Henry Bottomley, Apr 10 2006
STATUS
approved