OFFSET
0,10
EXAMPLE
The a(n) partitions for n = 4, 9, 12, 13, 16, 17, 18:
(4) (9) (8,4) (9,4) (16) (9,8) (12,6)
(8,1) (9,3) (6,4,3) (9,4,3) (16,1) (16,2)
(6,3,2,1) (8,4,1) (12,3,1) (8,6,3) (9,8,1)
(9,3,1) (9,4,2,1) (9,6,2) (8,6,3,1)
(6,4,3,2,1) (10,5,2) (9,4,3,2)
(12,3,2) (9,6,2,1)
(9,4,3,1) (10,5,2,1)
(12,3,2,1)
MATHEMATICA
powQ[n_]:=Min@@Last/@FactorInteger[n]>1;
Table[Length[Select[IntegerPartitions[n], UnsameQ@@#&&powQ[Times@@#]&]], {n, 0, 30}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Dec 05 2019
STATUS
approved