OFFSET
0,3
FORMULA
a(0) = 1; a(n) = Sum_{k=1..n} A367490(k) * binomial(n-1,k-1) * a(n-k).
PROG
(PARI) a_vector(n) = my(v=vector(n+1)); v[1]=1; for(i=1, n, v[i+1]=sum(j=1, i, j*sum(k=1, j-1, 3^k*(k-1)!*stirling(j-1, k, 2))*binomial(i-1, j-1)*v[i-j+1])); v;
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Nov 19 2023
STATUS
approved