OFFSET
1,2
COMMENTS
FORMULA
a(n) = n + A056239(n).
EXAMPLE
72 has prime indices {1,1,1,2,2}, so a(72) = 72 + 7 = 79.
MATHEMATICA
prix[n_]:=If[n==1, {}, Flatten[Cases[FactorInteger[n], {p_, k_}:>Table[PrimePi[p], {k}]]]];
Table[n+Total[prix[n]], {n, 100}]
CROSSREFS
For factors instead of indices we have A075254.
For minus instead of plus we have A178503.
Triangles:
- A027746 = prime factors
- A112798 = prime indices
Statistics:
Combinations:
A001222 counts prime factors with multiplicity.
KEYWORD
nonn
AUTHOR
Gus Wiseman, Jan 25 2025
STATUS
approved