A318577 Number of complete multimin tree-factorizations of n.
0, 1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 4, 1, 1, 1, 11, 1, 3, 1, 4, 1, 1, 1, 19, 1, 1, 3, 4, 1, 4, 1, 45, 1, 1, 1, 17, 1, 1, 1, 19, 1, 4, 1, 4, 4, 1, 1, 96, 1, 3, 1, 4, 1, 11, 1, 19, 1, 1, 1, 26, 1, 1, 4, 197, 1, 4, 1, 4, 1, 4, 1, 104, 1, 1, 3, 4, 1, 4, 1, 96, 11, 1, 1, 26, 1, 1, 1, 19, 1, 19, 1, 4, 1, 1, 1, 501, 1, 3, 4, 17
Offset: 1
Keywords
Examples
The a(12) = 4 trees are (2*2*3), (2*(2*3)), ((2*3)*2), ((2*2)*3).
Crossrefs
Programs
-
Mathematica
facs[n_]:=If[n<=1,{{}},Join@@Table[(Prepend[#1,d]&)/@Select[facs[n/d],Min@@#1>=d&],{d,Rest[Divisors[n]]}]]; mmftrees[n_]:=Prepend[Join@@(Tuples[mmftrees/@#]&/@Select[Join@@Permutations/@Select[facs[n],Length[#]>1&],OrderedQ[FactorInteger[#][[1,1]]&/@#]&]),n]; Table[Length[Select[mmftrees[n],FreeQ[#,_Integer?(!PrimeQ[#]&)]&]],{n,100}]
Comments