OFFSET
0,3
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..200
FORMULA
E.g.f.: (6*exp(x)*(x-1)+x+6)/(x-1)^2.
a(n) ~ n! * 7*n. - Vaclav Kotesovec, Sep 12 2013
MAPLE
a:= proc(n) option remember; `if`(n<3, [0, 1, 10][n+1],
((2*n^2-3*n-1)*a(n-1) -(n-1)*(n^2-2)*a(n-2)
+(n-2)*(n-1)^2*a(n-3) )/(n-2))
end:
seq(a(n), n=0..25);
MATHEMATICA
With[{nn=20}, CoefficientList[Series[(6 Exp[x](x-1)+x+6)/(x-1)^2, {x, 0, nn}], x] Range[ 0, nn]!] (* Harvey P. Dale, Aug 26 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Sep 10 2013
STATUS
approved