The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A125029 a(n) = number of exponents in the prime factorization of n that are noncomposite. 4
 0, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 2, 1, 2, 2, 0, 1, 2, 1, 2, 2, 2, 1, 2, 1, 2, 1, 2, 1, 3, 1, 1, 2, 2, 2, 2, 1, 2, 2, 2, 1, 3, 1, 2, 2, 2, 1, 1, 1, 2, 2, 2, 1, 2, 2, 2, 2, 2, 1, 3, 1, 2, 2, 0, 2, 3, 1, 2, 2, 3, 1, 2, 1, 2, 2, 2, 2, 3, 1, 1, 0, 2, 1, 3, 2, 2, 2, 2, 1, 3, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 1, 3, 1, 2, 3 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,6 LINKS Antti Karttunen, Table of n, a(n) for n = 1..10000 EXAMPLE a(720) = 2, since the prime factorization of 720 is 2^4 * 3^2 * 5^1 and two of the exponents in this factorization are noncomposites (the exponents 2 and 1). MATHEMATICA f[n_] := Length @ Select[Last /@ FactorInteger[n], # == 1 || PrimeQ[ # ] &]; Table[f[n], {n, 110}] (* Ray Chandler, Nov 19 2006 *) PROG (PARI) A125029(n) = vecsum(apply(e -> if((1==e)||isprime(e), 1, 0), factorint(n)[, 2])); \\ Antti Karttunen, Jul 07 2017 CROSSREFS Cf. A001221, A125030, A125070. Sequence in context: A330665 A103765 A307610 * A339839 A062893 A328512 Adjacent sequences:  A125026 A125027 A125028 * A125030 A125031 A125032 KEYWORD nonn AUTHOR Leroy Quet, Nov 16 2006 EXTENSIONS Extended by Ray Chandler, Nov 19 2006 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified May 7 16:00 EDT 2021. Contains 343652 sequences. (Running on oeis4.)