OFFSET
0,4
COMMENTS
We call a multiset or multiset partition normal iff it covers an initial interval of positive integers. The weight of a multiset partition is the sum of sizes of its blocks.
LINKS
Andrew Howroyd, Table of n, a(n) for n = 0..200
EXAMPLE
The a(1) = 1 through a(4) = 8 multiset partitions:
{{1}} {{1,2}} {{1,2,3}} {{1,2,3,4}}
{{1},{1,2}} {{1},{1,2,3}}
{{1},{2,3}} {{1},{2,3,4}}
{{2},{1,2}} {{2},{1,2,3}}
{{2},{1,3}} {{2},{1,3,4}}
{{3},{1,2}} {{3},{1,2,3}}
{{3},{1,2,4}}
{{4},{1,2,3}}
MATHEMATICA
allnorm[n_Integer]:=Function[s, Array[Count[s, y_/; y<=#]+1&, n]]/@Subsets[Range[n-1]+1];
sps[{}]:={{}}; sps[set:{i_, ___}]:=Join@@Function[s, Prepend[#, s]&/@sps[Complement[set, s]]]/@Cases[Subsets[set], {i, ___}];
mps[mset_]:=Union[Sort[Sort/@(#/.x_Integer:>mset[[x]])]&/@sps[Range[Length[mset]]]];
Table[Length[Join@@(Select[mps[#], UnsameQ@@Length/@#&&And@@UnsameQ@@@#&]&/@allnorm[n])], {n, 0, 5}]
PROG
(PARI) R(n, k)={Vec(prod(j=1, n, 1 + binomial(k, j)*x^j + O(x*x^n)))}
seq(n)={sum(k=0, n, R(n, k)*sum(r=k, n, binomial(r, k)*(-1)^(r-k)))} \\ Andrew Howroyd, Mar 31 2025
CROSSREFS
Without distinct lengths we have A116540 (normal set multipartitions).
For equal instead of distinct sizes we have A331638.
Twice-partitions of this type are counted by A358830.
For distinct sums instead of sizes we have A381718.
For equal instead of distinct sizes we have A382429.
KEYWORD
nonn
AUTHOR
Gus Wiseman, Mar 29 2025
EXTENSIONS
a(10) onwards from Andrew Howroyd, Mar 31 2025
STATUS
approved
