OFFSET
0,3
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..449
FORMULA
E.g.f.: x * (1 + 3*x + x^2) * exp(x) / (1 - x).
a(0) = 0; a(n) = n * (n^2 + a(n-1)).
a(n) ~ 5*exp(1)*n!. - Vaclav Kotesovec, Jan 13 2024
MATHEMATICA
Table[n! Sum[k^3/k!, {k, 0, n}], {n, 0, 21}]
nmax = 21; CoefficientList[Series[x (1 + 3 x + x^2) Exp[x]/(1 - x), {x, 0, nmax}], x] Range[0, nmax]!
a[0] = 0; a[n_] := a[n] = n (n^2 + a[n - 1]); Table[a[n], {n, 0, 21}]
PROG
(PARI) a(n) = n! * sum(k=0, n, k^3/k!); \\ Michel Marcus, Aug 12 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Aug 10 2020
STATUS
approved