OFFSET
0,3
LINKS
EXAMPLE
The a(1) = 1 through a(4) = 17 multiset partitions:
{{1}} {{1},{1}} {{1,1,1}} {{1},{1,1,1}}
{{1},{2}} {{1,1,2}} {{1},{1,1,2}}
{{1,2,3}} {{1},{1,2,2}}
{{1},{1},{1}} {{1},{1,2,3}}
{{1},{1},{2}} {{1},{2,3,4}}
{{1},{2},{3}} {{2},{1,1,1}}
{{2},{1,1,2}}
{{2},{1,1,3}}
{{2},{1,3,4}}
{{3},{1,1,2}}
{{3},{1,2,4}}
{{4},{1,2,3}}
{{1},{1},{1},{1}}
{{1},{1},{1},{2}}
{{1},{1},{2},{2}}
{{1},{1},{2},{3}}
{{1},{2},{3},{4}}
MATHEMATICA
sps[{}]:={{}}; sps[set:{i_, ___}]:=Join@@Function[s, Prepend[#, s]&/@sps[Complement[set, s]]]/@Cases[Subsets[set], {i, ___}];
mps[set_]:=Union[Sort[Sort/@(#/.x_Integer:>set[[x]])]&/@sps[Range[Length[set]]]];
strnorm[n_]:=Flatten[MapIndexed[Table[#2, {#1}]&, #]]&/@IntegerPartitions[n];
Table[Length[Select[Join@@mps/@strnorm[n], OddQ[Times@@Length/@#]&]], {n, 0, 5}]
CROSSREFS
A011782 counts multisets covering an initial interval.
KEYWORD
nonn,more
AUTHOR
Gus Wiseman, Sep 09 2022
STATUS
approved