OFFSET
1,2
LINKS
EXAMPLE
The a(36) = 5 ways to write 36 as a product of two numbers that are not perfect powers greater than 1 are 2*18, 3*12, 6*6, 12*3, 18*2.
MATHEMATICA
nn=1000;
sradQ[n_]:=GCD@@FactorInteger[n][[All, 2]]===1;
Table[Length@Select[Divisors[n], sradQ[n/#]&&sradQ[#]&], {n, nn}]
PROG
(PARI) a(n) = sumdiv(n, d, !ispower(d) && !ispower(n/d)); \\ Michel Marcus, May 17 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, May 15 2018
STATUS
approved