OFFSET
1,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.
Includes all positive integers.
MATHEMATICA
prix[n_]:=If[n==1, {}, Flatten[Cases[FactorInteger[n], {p_, k_}:>Table[PrimePi[p], {k}]]]];
Table[Plus@@prix[n]+Times@@prix[n], {n, 30}]
CROSSREFS
KEYWORD
nonn,new
AUTHOR
Gus Wiseman, Jan 05 2025
STATUS
approved