|
|
A101436
|
|
Number of exponents in prime factorization of n which are primes.
|
|
8
|
|
|
0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 1, 2, 0, 0, 0, 1, 0
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,36
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
Asymptotic mean: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k) = Sum_{p prime} (P(p)-P(p+1)) = 0.39847584805803104040..., where P(s) is the prime zeta function. - Amiram Eldar, Sep 29 2023
|
|
EXAMPLE
|
36 = 2^2 *3^2. Since 2 is a prime and occurs twice as an exponent in the prime factorization of 36, a(36) = 2.
|
|
MATHEMATICA
|
f[n_] := Length[ Select[ Flatten[ Table[ #[[2]], {1}] & /@ FactorInteger[n]], PrimeQ[ # ] &]]; Table[ f[n], {n, 105}] (* Robert G. Wilson v, Jan 25 2005 *)
Table[Count[Transpose[FactorInteger[n]][[2]], _?PrimeQ], {n, 120}] (* Harvey P. Dale, Mar 21 2016 *)
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|