A318562 Number of combinatory separations of strongly normal multisets of weight n with strongly normal parts.
1, 4, 10, 32, 80, 239, 605, 1670, 4251
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]]}]; strnormQ[m_]:=OrderedQ[Length/@Split[m],GreaterEqual]; Table[Length[Select[Union@@Table[{m,Sort[normize/@#]}&/@mps[m],{m,strnorm[n]}],And@@strnormQ/@#[[2]]&]],{n,6}]
Comments