OFFSET
0,3
EXAMPLE
The a(1) = 1 through a(8) = 15 integer partitions:
(1) (2) (3) (4) (5) (6) (7) (8)
(11) (21) (22) (41) (33) (61) (44)
(111) (31) (221) (42) (331) (71)
(211) (311) (51) (421) (422)
(1111) (2111) (222) (511) (611)
(11111) (411) (2221) (2222)
(2211) (4111) (3311)
(3111) (22111) (4211)
(21111) (31111) (5111)
(111111) (211111) (22211)
(1111111) (41111)
(221111)
(311111)
(2111111)
(11111111)
MATHEMATICA
radbase[n_]:=n^(1/GCD@@FactorInteger[n][[All, 2]]);
powsqfQ[n_]:=SameQ@@Last/@FactorInteger[n];
Table[Length[Select[IntegerPartitions[n], And[And@@powsqfQ/@#, SameQ@@radbase/@DeleteCases[#, 1]]&]], {n, 30}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Dec 30 2018
STATUS
approved