OFFSET
0,5
FORMULA
E.g.f.: exp((exp(x) - 1)^4).
G.f.: Sum_{k>=0} (4*k)! * x^(4*k)/(k! * Product_{j=1..4*k} (1 - j * x)).
a(0) = 1; a(n) = 24 * Sum_{k=1..n} binomial(n-1,k-1) * Stirling2(k,4) * a(n-k).
a(n) = Sum_{k=0..floor(n/4)} (4*k)! * Stirling2(n,4*k)/k!.
PROG
(PARI) my(N=30, x='x+O('x^N)); Vec(serlaplace(exp((exp(x)-1)^4)))
(PARI) my(N=30, x='x+O('x^N)); Vec(sum(k=0, N, (4*k)!*x^(4*k)/(k!*prod(j=1, 4*k, 1-j*x))))
(PARI) a_vector(n) = my(v=vector(n+1)); v[1]=1; for(i=1, n, v[i+1]=24*sum(j=1, i, binomial(i-1, j-1)*stirling(j, 4, 2)*v[i-j+1])); v;
(PARI) a(n) = sum(k=0, n\4, (4*k)!*stirling(n, 4*k, 2)/k!);
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, May 07 2022
STATUS
approved