OFFSET
2,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.
EXAMPLE
The distinct prime indices of 12 are {1,2}, with average 3/2, so a(12) = 3.
The sequence of fractions begins: 1, 2, 1, 3, 3/2, 4, 1, 2, 2, 5, 3/2, 6, 5/2, 5/2, 1, 7, 3/2, 8, 2, 3, 3, 9, 3/2, 3, 7/2, 2, 5/2, 10, 2.
MATHEMATICA
Table[Numerator[Mean[PrimePi/@First/@FactorInteger[n]]], {n, 2, 100}]
CROSSREFS
KEYWORD
nonn,frac
AUTHOR
Gus Wiseman, Jul 14 2019
STATUS
approved