OFFSET
0,3
COMMENTS
a(n) is the number of ways to partition [n] into blocks of size at most 4, order the blocks, and order the elements within each block.
EXAMPLE
a(5) = 1800 since the number of ways to partition [5] into blocks of size at most 4, order the blocks, and order the elements within each block are the following:
1) 1234,5: 10 such ordered blocks; 240 ways;
2) 123,4,5: 60 such ordered blocks; 360 ways;
3) 123,45: 20 such ordered blocks; 240 ways;
4) 12,34,5: 90 such ordered blocks; 360 ways;
5) 12,3,4,5: 240 such ordered blocks; 480 ways;
6) 1,2,3,4,5: 120 such ordered blocks; 120 ways.
MATHEMATICA
Table[n! SeriesCoefficient[1/(1-x-x^2-x^3-x^4), {x, 0, n}], {n, 0, 19}] (* Stefano Spezia, Aug 31 2023 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Enrique Navarrete, Aug 31 2023
STATUS
approved