OFFSET
1,4
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.
FORMULA
Totally additive with a(prime(n)) = A003963(n).
EXAMPLE
94 has prime indices {1,15} with prime indices {{},{2,3}} with products {1,6} with sum a(94) = 7.
MATHEMATICA
primeMS[n_]:=If[n==1, {}, Flatten[Cases[FactorInteger[n], {p_, k_}:>Table[PrimePi[p], {k}]]]];
Table[Plus@@Times@@@primeMS/@primeMS[n], {n, 100}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Mar 25 2019
STATUS
approved