OFFSET
1,4
COMMENTS
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..65537 (terms 1..1000 from Diana Mecum)
FORMULA
EXAMPLE
120 = 2^3 * 3^1 * 5^1. The exponents of the prime factorization are therefore 3,1,1. The distinct values which equal these exponents are 1 and 3. So a(120) = 1+3 = 4.
MATHEMATICA
Join[{0}, Table[Total[Union[Transpose[FactorInteger[n]][[2]]]], {n, 2, 110}]] (* Harvey P. Dale, Jun 23 2013 *)
PROG
(PARI) A136565(n) = vecsum(apply(primepi, factor(factorback(apply(e->prime(e), (factor(n)[, 2]))))[, 1])); \\ Antti Karttunen, Sep 06 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Jan 07 2008
EXTENSIONS
More terms from Diana L. Mecum, Jul 17 2008
STATUS
approved