A320351 Number of connected multiset partitions of integer partitions of n.
1, 1, 3, 5, 11, 18, 38, 66, 130, 237, 449, 823, 1538
Offset: 0
Examples
The a(1) = 1 through a(5) = 18 multiset partitions: {{1}} {{2}} {{3}} {{4}} {{5}} {{1,1}} {{1,2}} {{1,3}} {{1,4}} {{1},{1}} {{1,1,1}} {{2,2}} {{2,3}} {{1},{1,1}} {{1,1,2}} {{1,1,3}} {{1},{1},{1}} {{2},{2}} {{1,2,2}} {{1,1,1,1}} {{1,1,1,2}} {{1},{1,2}} {{1},{1,3}} {{1},{1,1,1}} {{2},{1,2}} {{1,1},{1,1}} {{1,1,1,1,1}} {{1},{1},{1,1}} {{1},{1,1,2}} {{1},{1},{1},{1}} {{1,1},{1,2}} {{1},{1,1,1,1}} {{1,1},{1,1,1}} {{1},{1},{1,2}} {{1},{1},{1,1,1}} {{1},{1,1},{1,1}} {{1},{1},{1},{1,1}} {{1},{1},{1},{1},{1}}
Crossrefs
Programs
-
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]]]]; csm[s_]:=With[{c=Select[Tuples[Range[Length[s]],2],And[OrderedQ[#],UnsameQ@@#,Length[Intersection@@s[[#]]]>0]&]},If[c=={},s,csm[Union[Append[Delete[s,List/@c[[1]]],Union@@s[[c[[1]]]]]]]]]; Table[Length[Select[Join@@mps/@IntegerPartitions[n],Length[csm[#]]==1&]],{n,8}]