A318563 Number of combinatory separations of strongly normal multisets of weight n.
1, 4, 10, 33, 85, 272, 730, 2197, 6133
Offset: 1
Examples
The a(3) = 10 combinatory separations: 111<={111} 111<={1,11} 111<={1,1,1} 112<={112} 112<={1,11} 112<={1,12} 112<={1,1,1} 123<={123} 123<={1,12} 123<={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]]]]; strnorm[n_]:=Flatten[MapIndexed[Table[#2,{#1}]&,#]]&/@IntegerPartitions[n]; normize[m_]:=m/.Rule@@@Table[{Union[m][[i]],i},{i,Length[Union[m]]}]; Table[Length[Union@@Table[{m,Sort[normize/@#]}&/@mps[m],{m,strnorm[n]}]],{n,7}]
Comments