OFFSET
0,1
FORMULA
E.g.f.: -(4 - 5*x)/(1 - x)^2.
a(n) = n*a(n-1) + n!, with n>0, a(0)=-4.
a(n) = 2*A034865(n) for n>3.
From Amiram Eldar, Jan 14 2021: (Start)
MATHEMATICA
Table[(n - 4) n!, {n, 0, 30}] (* or *)
RecurrenceTable[{a[0] == -4, a[n] == n a[n - 1] + n!}, a, {n, 0, 30}]
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Bruno Berselli, Feb 22 2017
STATUS
approved