OFFSET
0,7
FORMULA
a(n) = n! * Sum_{k=0..floor(n/6)} (3*k)! * Stirling2(n-3*k,3*k)/(36^k * (n-3*k)!).
PROG
(PARI) my(N=30, x='x+O('x^N)); Vec(serlaplace(1/(1-(x*(exp(x)-1))^3/36)))
(PARI) a(n) = n!*sum(k=0, n\6, (3*k)!*stirling(n-3*k, 3*k, 2)/(36^k*(n-3*k)!));
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, May 09 2022
STATUS
approved