Math 2.0

Number theory Analytic number theory Theorem

Erdős–Kac theorem

Builds on Number of distinct prime factorsNormal distributionNatural logarithmCentral limit theorem

Statement

For an integer n≥1n \ge 1, let ω(n)\omega(n) be the number of distinct prime factors of nn, and let log⁡\log be the natural logarithm. For all real numbers a<ba < b, lim⁡x→∞1x #{3≤n≤x:a≤ω(n)−log⁡log⁡nlog⁡log⁡n≤b}=12π∫abe−t2/2 dt.\lim_{x \to \infty} \frac{1}{x}\, \#\set{3 \le n \le x : a \le \frac{\omega(n) - \log\log n}{\sqrt{\log\log n}} \le b} = \frac{1}{\sqrt{2\pi}} \int_{a}^{b} e^{-t^2/2}\, dt.

Remarks

In words, ω(n)\omega(n) has an approximately normal distribution with mean and variance log⁡log⁡n\log\log n. A heuristic proof: ω(n)=∑p≤n𝟏p∣n\omega(n) = \sum_{p \le n} \mathbf{1}_{p \mid n}, and for a random nn the events p∣np \mid n have probability 1/p1/p and are nearly independent, so the central limit theorem applies with variance ∑p≤x1/p≈log⁡log⁡x\sum_{p \le x} 1/p \approx \log\log x. A rigorous proof restricts to small primes, shows near independence with a sieve, and compares moments with those of the normal law. The earlier theorem of Hardy and Ramanujan says that ω(n)\omega(n) has normal order log⁡log⁡n\log\log n: for every ε>0\varepsilon > 0, almost all nn satisfy ∣ω(n)−log⁡log⁡n∣<εlog⁡log⁡n\abs{\omega(n) - \log\log n} < \varepsilon \log\log n. Since log⁡log⁡n\log\log n grows very slowly, the limit is reached slowly; for nn near 10910^{9}, log⁡log⁡n≈3\log\log n \approx 3.

Going deeper

For a student

The Erdős–Kac theorem is the founding result of probabilistic number theory. It treats the indicators of divisibility by different primes as almost independent random variables, and turns this into a central limit theorem for the additive function ω\omega. The same holds for Ω(n)\Omega(n), the number of prime factors counted with multiplicity, and more generally for many additive functions. It sharpens the Hardy–Ramanujan normal order result, which gives only the center and not the shape of the distribution.

Reading path

To understand this page from the ground up, read these 71 pages in order. The foundations come first.

  1. Complex numbers object
  2. Construction of the reals from Cauchy sequences concept
  3. Element definition
  4. Integers object
  5. Natural logarithm concept
  6. Normal distribution concept
  7. Number of distinct prime factors concept
  8. Ordered field definition
  9. Proposition concept
  10. Random experiment concept
  11. Rational numbers object
  12. Real numbers object
  13. Euler's formula statement
  14. Set definition
  15. Ring of integers statement
  16. Disjunction definition
  17. Implication definition
  18. Predicate definition
  19. Ordered pair definition
  20. Union definition
  21. Existential quantifier definition
  22. Sample space definition
  23. Universal quantifier definition
  24. The rationals form a field statement
  25. Cartesian product definition
  26. Subset definition
  27. Uniqueness quantifier definition
  28. The rationals form an ordered field statement
  29. Binary relation definition
  30. Power set definition
  31. Universal set definition
  32. Order on the reals definition
  33. Function definition
  34. Complement definition
  35. Interval definition
  36. Injective function definition
  37. Indicator function definition
  38. Preimage of a set definition
  39. Sigma-algebra definition
  40. Countable set definition
  41. Event definition
  42. Borel sigma-algebra definition
  43. Probability axioms concept
  44. Probability measure definition
  45. Probability distribution definition
  46. Dirac measure definition
  47. Probability space definition
  48. Conditional probability definition
  49. Random variable definition
  50. Cumulative distribution function definition
  51. Discrete random variable definition
  52. Law of a random variable definition
  53. Independence of two events definition
  54. Random variable with a density definition
  55. Convergence in distribution definition
  56. Probability mass function definition
  57. Expected value definition
  58. Identically distributed random variables definition
  59. Mutual independence of events definition
  60. Probability density function definition
  61. Law of the unconscious statistician statement
  62. Independent sigma-algebras definition
  63. Density of the normal distribution definition
  64. Characteristic function definition
  65. Independence of random variables definition
  66. Normal distribution definition
  67. The characteristic function determines the distribution statement
  68. Independent and identically distributed random variables definition
  69. Lévy's continuity theorem statement
  70. Central limit theorem statement
  71. Erdős–Kac theorem statement

Further reading

  1. Web https://en.wikipedia.org/wiki/Erdős–Kac_theorem
About this page
TagBY5WRND0J1
URIm2://BY5WRND0J1
Kindstatement, theorem
WritingW0 stub
MSC11N60, 11K65
StatusThis copy of the site has no build data. Run m2 status BY5WRND0J1.
AboutNumber of distinct prime factors
UsesNumber of distinct prime factors, Normal distribution, Natural logarithm, Central limit theorem
Same as
Changed2 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.