OFFSET
1,2
COMMENTS
LINKS
FORMULA
a(n) = n/A327656(n).
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) = 90/9 = 10.
MATHEMATICA
Table[n/Max[Select[Divisors[n], GCD@@PrimePi/@First/@FactorInteger[#]!=1&]], {n, 100}]
PROG
(PARI) A327405(n) = (n / vecmax(select(d -> (1==d)||(gcd(apply(primepi, factor(d)[, 1]~))>1), divisors(n)))); \\ Antti Karttunen, Dec 06 2021
CROSSREFS
KEYWORD
nonn,look
AUTHOR
Gus Wiseman, Sep 21 2019
STATUS
approved