OFFSET
0,6
COMMENTS
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..10000
EXAMPLE
The a(9) = 5 integer partitions whose parts are not perfect powers are (72), (63), (522), (333), (3222).
MAPLE
q:= n-> is(1=igcd(map(i-> i[2], ifactors(n)[2])[])):
a:= proc(n) option remember; `if`(n=0, 1, add(a(n-j)*add(
`if`(q(d), d, 0), d=numtheory[divisors](j)), j=1..n)/n)
end:
seq(a(n), n=0..60); # Alois P. Heinz, Jun 07 2018
MATHEMATICA
nn=100;
wadQ[n_]:=n>1&&GCD@@FactorInteger[n][[All, 2]]==1;
ser=Product[1/(1-x^p), {p, Select[Range[nn], wadQ]}];
Table[SeriesCoefficient[ser, {x, 0, n}], {n, 0, nn}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Jun 07 2018
STATUS
approved