OFFSET
1,3
LINKS
FORMULA
EXAMPLE
a(72) = 5 because 72 = 2^3*3^2 = prime(1)^3*prime(2)^2 and 1^3 + 2^2 = 5.
MATHEMATICA
a[n_] := Plus @@ (PrimePi[#[[1]]]^#[[2]]& /@ FactorInteger[n]); a[1] = 0; Table[a[n], {n, 1, 88}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, May 05 2018
STATUS
approved