OFFSET
0,5
EXAMPLE
1,
1, 1,
1, 4, 2, 2,
1, 9, 9, 18, 3, 18, 6,
1, 16, 24, 72, 16, 144, 96, 4, 48, 36, 144, 24
MATHEMATICA
g[n_, list_] := Multinomial @@ Join[{n - Length[list]}, Table[Count[list, i], {i, 1, n}]]* Multinomial @@ Join[{n - Total[list]}, list]; Table[Map[g[nn, #] &,
Level[Table[IntegerPartitions[k], {k, 0, nn}], {2}]], {nn, 0, 5}] // Grid
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Geoffrey Critzer, Jan 16 2022
STATUS
approved