OFFSET
1,3
LINKS
FORMULA
EXAMPLE
a(60) = a(2^2 * 3 * 5) = a(prime(1)^2 * prime(2) * prime(3)) = 2 + 3 = 5.
MATHEMATICA
nmax = 90; CoefficientList[Series[Sum[k x^Prime[k]/(1 - x^Prime[k]), {k, 2, nmax}], {x, 0, nmax}], x] // Rest
PROG
(PARI) a(n) = vecsum(apply(primepi, (factor(n >> valuation(n, 2))[, 1]))); \\ Michel Marcus, Nov 10 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Nov 09 2020
STATUS
approved