login
A327405
Quotient of n over the maximum divisor of n that is 1 or whose prime indices have a common divisor > 1.
3
1, 2, 1, 4, 1, 2, 1, 8, 1, 2, 1, 4, 1, 2, 3, 16, 1, 2, 1, 4, 1, 2, 1, 8, 1, 2, 1, 4, 1, 6, 1, 32, 3, 2, 5, 4, 1, 2, 1, 8, 1, 2, 1, 4, 5, 2, 1, 16, 1, 2, 3, 4, 1, 2, 5, 8, 1, 2, 1, 12, 1, 2, 1, 64, 1, 6, 1, 4, 3, 10, 1, 8, 1, 2, 3, 4, 7, 2, 1, 16, 1, 2, 1, 4, 5
OFFSET
1,2
COMMENTS
A prime index of n is a number m such that prime(m) divides n. The multiset of prime indices of n is row n of A112798. Numbers whose prime indices have a common divisor > 1 are listed in A318978.
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
See link for additional cross-references.
Sequence in context: A055975 A006519 A356166 * A322362 A087258 A333763
KEYWORD
nonn,look
AUTHOR
Gus Wiseman, Sep 21 2019
STATUS
approved