login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A123391 a(n) = sum of exponents that are primes in the prime factorization of n. 0
0, 0, 0, 2, 0, 0, 0, 3, 2, 0, 0, 2, 0, 0, 0, 0, 0, 2, 0, 2, 0, 0, 0, 3, 2, 0, 3, 2, 0, 0, 0, 5, 0, 0, 0, 4, 0, 0, 0, 3, 0, 0, 0, 2, 2, 0, 0, 0, 2, 2, 0, 2, 0, 3, 0, 3, 0, 0, 0, 2, 0, 0, 2, 0, 0, 0, 0, 2, 0, 0, 0, 5, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 3, 0, 2, 0, 2, 0, 0, 0, 5, 0, 2, 2, 4, 0, 0, 0, 3, 0 (list; graph; refs; listen; history; internal format)
OFFSET

1,4

EXAMPLE

36 = 2^2*3^2. Both exponents in this prime factorization are primes. So a(36) = 2+2 = 4.

MATHEMATICA

f[n_] := Plus @@ Select[Last /@ FactorInteger[n], PrimeQ]; Table[f[n], {n, 120}] (*Chandler*)

PROG

(PARI) {m=105; for(n=1, m, v=factor(n)[, 2]; s=0; for(j=1, #v, if(isprime(v[j]), s=s+v[j])); print1(s, ", "))} - Klaus Brockhaus, Nov 14 2006

CROSSREFS

Cf. A101436.

Sequence in context: A113503 A082507 A132349 * A171871 A076260 A135416

Adjacent sequences:  A123388 A123389 A123390 * A123392 A123393 A123394

KEYWORD

nonn

AUTHOR

Leroy Quet, Nov 10 2006

EXTENSIONS

Extended by Ray Chandler (rayjchandler(AT)sbcglobal.net) and Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Nov 11 2006

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 00:09 EST 2012. Contains 205978 sequences.