OFFSET
0,7
EXAMPLE
For the partition (10,6,3,2) there are 4 choices: {2,2,2,3}, {2,2,3,3}, {2,2,3,5}, {2,3,3,5} so a(21) >= 4.
For the partitions of 6 we have the following choices:
(6): {{2},{3}}
(51): {}
(42): {{2,2}}
(411): {}
(33): {{3,3}}
(321): {}
(3111): {}
(222): {{2,2,2}}
(2211): {}
(21111): {}
(111111): {}
So a(6) = 2.
MATHEMATICA
Table[Max[Length[Union[Sort /@ Tuples[If[#==1, {}, First/@FactorInteger[#]]& /@ #]]]&/@IntegerPartitions[n]], {n, 0, 30}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Mar 05 2024
EXTENSIONS
Terms a(31) onward from Max Alekseyev, Sep 17 2024
STATUS
approved