|
Search: id:A001221
|
|
|
| A001221 |
|
Number of distinct primes dividing n (also called omega(n)). (Formerly M0056 N0019)
|
|
+0 457
|
|
| 0, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 2, 1, 2, 2, 1, 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, 2, 1, 2, 2, 2, 1, 2, 2, 2, 2, 2, 1, 3, 1, 2, 2, 1, 2, 3, 1, 2, 2, 3, 1, 2, 1, 2, 2, 2, 2, 3, 1, 2, 1, 2, 1, 3, 2, 2, 2, 2, 1, 3, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 1, 3, 1, 2, 3, 2, 1, 2, 1, 3, 2
(list; graph; listen)
|
|
|
OFFSET
|
1,6
|
|
|
COMMENT
|
Comments from Peter C. Heinig (algorithms(AT)gmx.de), Mar 08 2008: (Start) This is also the number of maximal ideals of the ring (Z/nZ,+,*). Since every finite integral domain must be a field, every prime ideal of Z/nZ is a maximal ideal and since in general each maximal ideal is prime, there are just as many prime ideals as maximal ones in Z/nZ, so the sequence gives the number of prime ideals of Z/nZ as well.
The reason why this number is given by the sequence is that the ideals of Z/nZ are precisely the subgroups of (Z/nZ,+). Hence for an ideal to be maximal it has form a maximal subgroup of (Z/nZ,+) and this is equivalent to having prime index in (Z/nZ) and this is equivalent to being generated by a single prime divisor of n.
Finally, all the groups arising in this way have different orders, hence are different, so the number of maximal ideals equals the number of distinct primes dividing n. (End)
Equals double inverse Mobius transform of A143519, where A051731 = the inverse Mobius transform. [From Gary W. Adamson (qntmpkt(AT)yahoo.com), Aug 22 2008]
a(n) = number of prime divisors of n. a(n) = number of prime-power divisors of n. If n = Product (p_i^e_i), the prime-power divisors of n are p_1^e_1, p_2^e_2, ..., p_k^e_k, where k = number of distinct primes dividing n. [From Jaroslav Krizek (jaroslav.krizek(AT)atlas.cz), May 04 2009]
sum_{k=0;inf} 1 / (10 ^ A000040(k) - 1) (see A073668) [From Eric Desbiaux (moongerms(AT)wanadoo.fr), Jun 24 2009]
|
|
REFERENCES
|
M. Abramowitz and I. A. Stegun, eds., Handbook of Mathematical Functions, National Bureau of Standards Applied Math. Series 55, 1964 (and various reprintings), p. 844.
M. Kac, Statistical Independence in Probability, Analysis and Number Theory, Carus Monograph 12, Math. Assoc. Amer., 1959, see p. 64.
J. Peters, A. Lodge and E. J. Ternouth, E. Gifford, Factor Table (n<100000) (British Association Mathematical Tables Vol.V), Burlington House/Cambridge University Press London 1935.
N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
|
|
LINKS
|
Daniel Forgues, Table of n, a(n) for n=1..100000
M. Abramowitz and I. A. Stegun, eds., Handbook of Mathematical Functions, National Bureau of Standards, Applied Math. Series 55, Tenth Printing, 1972 [alternative scanned copy].
H. Bottomley, prime factors calculator
J. Brennen, Prime Factoring Applet
J. Britton, Prime Factorization Machine
A. Dendane, Prime Factors Calculator
J. Flament, Decomposition d'un nombre en facteurs premiers
A. Hodges, Java Applet for Factorisation
S. O. S. Math, Prime factorization of the first 1000 integers
K. Matthews, Factorization and calculating phi(n),omega(n),d(n),sigma(n) and mu(n)
J. Moyer, "Prime Factors of Integers" server for numbers up to 10^36
Primefan, The First 2500 Integers,Factored
Primefan, Factorer
S. Ramanujan, The normal number of prime factors of a number, Quart. J. Math. 48 (1917), 76-92.
F. Richman, Factoring into Primes
Eric Weisstein's World of Mathematics, Link to a section of The World of Mathematics.
Eric Weisstein's World of Mathematics, Link to a section of The World of Mathematics.
Eric Weisstein's World of Mathematics, Link to a section of The World of Mathematics.
Eric Weisstein's World of Mathematics, Prime zeta function primezeta(s).
Wikipedia, Table of prime factors
D. Williams, Factoring
G. Xiao, WIMS server, Factoris
|
|
FORMULA
|
G.f.: sum(k>=1, x^prime(k)/(1-x^prime(k))) - Benoit Cloitre (benoit7848c(AT)orange.fr), Apr 21 2003
G.f.: sum(i=1, oo, isprime(i)/(1-x^i)) = sum(i=1, oo, isprime(i)*x^i/(1-x^i)), where isprime(n) returns 1 is n is prime, 0 otherwise. - Jon Perry (perry(AT)globalnet.co.uk), Jul 03 2004
Dirichlet generating function: zeta(s)*primezeta(s). - Franklin T. Adams-Watters, Sep 11 2005.
Additive with a(p^e) = 1.
a(1) = 0, a(p) = 1, a(pq) = 2, a(pq...z) = k, a(p^k) = 1, for p = primes (A000040), pq = product of two distinct primes (A006881), pq...z = product of k (k > 2) distinct primes p, q, ..., z (A120944), p^k = prime powers (A000961(n) for n > 1), k = natural numbers (A000027). [From Jaroslav Krizek (jaroslav.krizek(AT)atlas.cz), May 04 2009]
|
|
MAPLE
|
A001221 := proc(n) local t1, i; if n = 1 then RETURN(0) else t1 := 0; for i to n do if n mod ithprime(i) = 0 then t1 := t1 + 1 end if end do end if; t1 end proc;
with(numtheory): seq(nops(factorset(n)), n=1..120); (Deutsch)
|
|
MATHEMATICA
|
Array[ Length[ FactorInteger[ # ] ]&, 100 ]
|
|
PROGRAM
|
(MuPAD) func(nops(numlib::primedivisors(n)), n):
(PARI) a(n)=omega(n)
(MuPad) numlib::omega(n)$ n=1..110 - Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), May 13 2008
|
|
CROSSREFS
|
Cf. A001222 (primes counted with multiplicity), A046660. Partial sums give A013939.
a(n) = A091221(A091202(n)).
Cf. A087624, A143519, A144494.
A156542. [From Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Feb 10 2009]
|
|
KEYWORD
|
nonn,easy,nice,core,new
|
|
AUTHOR
|
N. J. A. Sloane (njas(AT)research.att.com).
|
|
EXTENSIONS
|
G.f. corrected by Franklin T. Adams-Watters (FrankTAW(AT)Netscape.net), Sep 01 2009
Replaced two geocities.com URL's - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Oct 30 2009
|
|
|
Search completed in 0.005 seconds
|