login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A357940
a(n) = Sum_{k=0..floor(n/3)} Stirling2(k,n - 3*k).
2
1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 1, 3, 1, 1, 7, 6, 2, 15, 25, 11, 32, 90, 66, 78, 302, 351, 267, 987, 1703, 1305, 3291, 7799, 7463, 11976, 34568, 43584, 51329, 151631, 249527, 266058, 675490, 1395375, 1586432, 3159982, 7675720, 10132557, 16108875, 41991096, 66170977, 91724556
OFFSET
0,12
FORMULA
G.f.: Sum_{k>=0} x^(4*k)/Product_{j=1..k} (1 - j * x^3).
PROG
(PARI) a(n) = sum(k=0, n\3, stirling(k, n-3*k, 2));
(PARI) my(N=50, x='x+O('x^N)); Vec(sum(k=0, N, x^(4*k)/prod(j=1, k, 1-j*x^3)))
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Oct 21 2022
STATUS
approved