OFFSET
0,7
COMMENTS
Shifts left 4 places under Stirling transform.
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..384
FORMULA
E.g.f. A(x) satisfies A(x) = 1 + x + x^2/2 + x^3/6 + Integral( Integral( Integral( Integral A(exp(x) - 1) dx) dx) dx) dx.
MAPLE
b:= proc(n, m) option remember; `if`(n=0,
a(m), m*b(n-1, m)+b(n-1, m+1))
end:
a:= n-> `if`(n<4, 1, b(n-4, 0)):
seq(a(n), n=0..27); # Alois P. Heinz, Aug 13 2021
MATHEMATICA
a[0] = a[1] = a[2] = a[3] = 1; a[n_] := a[n] = Sum[StirlingS2[n - 4, k] a[k], {k, 0, n - 4}]; Table[a[n], {n, 0, 27}]
nmax = 27; A[_] = 0; Do[A[x_] = 1 + x + x^2/2 + x^3/6 + Integrate[Integrate[Integrate[Integrate[A[Exp[x] - 1 + O[x]^(nmax + 1)], x], x], x], x] + O[x]^(nmax + 1) // Normal, nmax + 1]; CoefficientList[A[x], x] Range[0, nmax]!
PROG
(PARI) lista(nn) = {my(va = vector(nn, k, 1)); for (n=5, nn, va[n] = sum(k=0, n-4, stirling(n-5, k, 2)*va[k+1]); ); va; } \\ Michel Marcus, Jul 06 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Jul 05 2020
STATUS
approved