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.
EXAMPLE
The prime indices of 198 are {1,2,2,5}, so a(198) = 2+2 = 4.
MATHEMATICA
Table[Total[Cases[FactorInteger[n], {p_?(EvenQ@*PrimePi), k_}:>PrimePi[p]*k]], {n, 100}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Oct 22 2023
STATUS
approved