OFFSET
1,6
COMMENTS
LINKS
Max Alekseyev, Table of n, a(n) for n = 1..10000
EXAMPLE
For the factorizations of 60 we have the following choices (using prime indices {1,2,3} instead of prime factors {2,3,5}):
(2*2*3*5): {{1,1,2,3}}
(2*2*15): {{1,1,2},{1,1,3}}
(2*3*10): {{1,1,2},{1,2,3}}
(2*5*6): {{1,1,3},{1,2,3}}
(3*4*5): {{1,2,3}}
(2*30): {{1,1},{1,2},{1,3}}
(3*20): {{1,2},{2,3}}
(4*15): {{1,2},{1,3}}
(5*12): {{1,3},{2,3}}
(6*10): {{1,1},{1,2},{1,3},{2,3}}
(60): {{1},{2},{3}}
So a(60) = 4.
MATHEMATICA
facs[n_]:=If[n<=1, {{}}, Join@@Table[Map[Prepend[#, d]&, Select[facs[n/d], Min@@#>=d&]], {d, Rest[Divisors[n]]}]];
Table[Max[Length[Union[Sort/@Tuples[If[#==1, {}, First/@FactorInteger[#]]&/@#]]]&/@facs[n]], {n, 100}]
KEYWORD
nonn
AUTHOR
Gus Wiseman, Mar 07 2024
STATUS
approved