OFFSET
1,3
COMMENTS
LINKS
FORMULA
EXAMPLE
The divisors of 90 that are 1 or whose prime indices have a common divisor > 1 are {1, 3, 5, 9}, so a(90) = 4.
MATHEMATICA
Table[Length[Select[Divisors[n], GCD@@PrimePi/@First/@FactorInteger[#]!=1&]], {n, 100}]
PROG
(PARI) A327657(n) = sumdiv(n, d, (1==d)||(gcd(apply(x->primepi(x), factor(d)[, 1]))>1)); \\ Antti Karttunen, Dec 05 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Sep 21 2019
EXTENSIONS
Data section extended up to 105 terms by Antti Karttunen, Dec 05 2021
STATUS
approved