A327399 Number of factorizations of n that are constant or whose distinct factors are pairwise coprime.
1, 1, 1, 2, 1, 2, 1, 2, 2, 2, 1, 3, 1, 2, 2, 3, 1, 3, 1, 3, 2, 2, 1, 3, 2, 2, 2, 3, 1, 5, 1, 2, 2, 2, 2, 6, 1, 2, 2, 3, 1, 5, 1, 3, 3, 2, 1, 4, 2, 3, 2, 3, 1, 3, 2, 3, 2, 2, 1, 7, 1, 2, 3, 4, 2, 5, 1, 3, 2, 5, 1, 5, 1, 2, 3, 3, 2, 5, 1, 4, 3, 2, 1, 7, 2, 2, 2
Offset: 1
Examples
The a(90) = 7 factorizations together with the corresponding multiset partitions of {1,2,2,3}: (2*3*3*5) {{1},{2},{2},{3}} (2*5*9) {{1},{3},{2,2}} (2*45) {{1},{2,2,3}} (3*3*10) {{2},{2},{1,3}} (5*18) {{3},{1,2,2}} (9*10) {{2,2},{1,3}} (90) {{1,2,2,3}}
Links
Crossrefs
Programs
-
Mathematica
facs[n_]:=If[n<=1,{{}},Join@@Table[Map[Prepend[#,d]&,Select[facs[n/d],Min@@#>=d&]],{d,Rest[Divisors[n]]}]]; Table[Length[Select[facs[n],Length[Union[#]]==1||CoprimeQ@@Union[#]&]],{n,100}]
Comments