login
A327532
Indicator function for numbers whose prime indices are relatively prime (A289509).
1
0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1
OFFSET
1
COMMENTS
First differs from A327515 at index 225.
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. After 2, the first connected number (A305078) with relatively prime prime indices is 195.
MATHEMATICA
Table[Boole[GCD@@PrimePi/@First/@FactorInteger[n]==1], {n, 100}]
PROG
(PARI) A327532(n) = { my(f=factor(n)); (1==gcd(apply(x->primepi(x), f[, 1]))); }; \\ Antti Karttunen, Jan 28 2025, after "isok" function in A289509 by Michel Marcus, Jul 19 2017
CROSSREFS
See link for additional cross-references.
Positions of 0's are A318978.
Positions of 1's are A289509.
Sequence in context: A131734 A134452 A327515 * A073445 A285589 A179081
KEYWORD
nonn
AUTHOR
Gus Wiseman, Sep 17 2019
EXTENSIONS
More terms from Antti Karttunen, Jan 28 2025
STATUS
approved