OFFSET
0,3
FORMULA
a(0) = 1; a(n) = Sum_{k=1..n} binomial(n-1,k-1) * A000124(k-1) * a(n-k).
MATHEMATICA
nmax = 22; CoefficientList[Series[Exp[Exp[x] (1 + x^2/2) - 1], {x, 0, nmax}], x] Range[0, nmax]!
a[0] = 1; a[n_] := a[n] = Sum[Binomial[n - 1, k - 1] (k (k - 1)/2 + 1) a[n - k], {k, 1, n}]; Table[a[n], {n, 0, 22}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, May 07 2024
STATUS
approved