OFFSET
1,3
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.
Also the number of divisors of the greatest common divisor of the prime indices of n.
EXAMPLE
The prime indices of 703 are {8,12}, with divisors {{1,2,4,8},{1,2,3,4,6,12}}, with {1,2,4} in common, so a(703) = 3.
MATHEMATICA
Table[If[n==1, 0, Length[Divisors[GCD@@PrimePi/@First/@FactorInteger[n]]]], {n, 100}]
CROSSREFS
For initial interval instead of divisors we have A055396.
Positions of 2 are A387119.
A000005 counts divisors.
A003963 multiplies together the prime indices of n.
A120383 lists numbers divisible by all of their prime indices.
A289508 gives greatest common divisor of prime indices.
KEYWORD
nonn
AUTHOR
Gus Wiseman, Aug 19 2025
STATUS
approved
