# 素数定理

素数定理是指这样一个命题：素数计数函数 π(x)——即不超过 x 的素数个数——在 \( x \to \infty \) 时满足 \( \pi(x) \sim x/\ln x \)，也就是说两者的比值趋于 1。<sup>[1](https://dlmf.nist.gov/27.2)</sup> 高斯约在 1792 年、勒让德在 1798 年分别提出这一猜想；1896 年，雅克·阿达马（Jacques Hadamard）与夏尔·德拉瓦莱普桑（Charles de la Vallée Poussin）各自独立地借助黎曼 zeta 函数首次证明了它。<sup>[2](https://www.hadamard.fr/actualites/theoreme-nombres-premiers-hadamard-vallee-poussin)</sup><sup> • </sup><sup>[3](https://mathshistory.st-andrews.ac.uk/Biographies/Vallee_Poussin/)</sup>

| 关键事实 | 细节 |
|---|---|
| 命题 | \( \pi(x) \sim x/\ln x \)；等价地，第 n 个素数满足 \( p_n \sim n\ln n \)<sup>[1](https://dlmf.nist.gov/27.2)</sup> |
| 猜想 | 高斯约 1792 年由素数表得出；勒让德 1798 年提出，并带有一个修正常数<sup>[2](https://www.hadamard.fr/actualites/theoreme-nombres-premiers-hadamard-vallee-poussin)</sup> |
| 首次证明 | 1896 年，由阿达马与德拉瓦莱普桑各自独立完成，经由 zeta 函数<sup>[2](https://www.hadamard.fr/actualites/theoreme-nombres-premiers-hadamard-vallee-poussin)</sup> |
| 切比雪夫界（1851） | π(x) 被夹在 x/ln x 的 0.92129 倍与 1.10556 倍之间<sup>[2](https://www.hadamard.fr/actualites/theoreme-nombres-premiers-hadamard-vallee-poussin)</sup> |
| 经典误差项 | 由德拉瓦莱普桑无零点区域得 \( \pi(x) = \operatorname{Li}(x) + O(x\exp(-c\sqrt{\ln x})) \)<sup>[4](https://terrytao.wordpress.com/2021/02/12/246b-notes-4-the-riemann-zeta-function-and-the-prime-number-theorem/)</sup><sup> • </sup><sup>[5](https://www.homepages.ucl.ac.uk/~ucahpet/IANTnotes2018.pdf)</sup> |
| 已知最佳误差 | \( |\psi(x)-x|/x \ll \exp(-\omega(x))(\log x)^9/(\log\log x)^3 \)，其中 \( \omega(x) \) 的阶为 \( (\log x)^{3/5}/(\log\log x)^{1/5} \)<sup>[6](https://arxiv.org/abs/2411.13791)</sup> |
| 初等证明 | 塞尔伯格，《数学年刊》50 (1949), 305–313；埃尔德什，《美国国家科学院院刊》35 (1949), 374–384<sup>[7](https://www.cambridge.org/core/journals/proceedings-of-the-edinburgh-mathematical-society/article/on-the-elementary-proof-of-the-prime-number-theorem/D525D90A57B24473D7753D084AD0D799)</sup> |

## 命题与等价形式

该定理通常写作 \( \pi(x) \sim x/\ln x \)，其中 \( \pi(x) = \sum_{p \le x} 1 \)。DLMF 记载了两种等价表述：按递增次序排列的第 n 个素数满足 \( p_n \sim n\ln n \)；并且该定理等价于 \( \lim_{x\to\infty} \theta(x)/x = 1 \) 或 \( \lim_{x\to\infty} \psi(x)/x = 1 \)，其中 θ 与 ψ 是切比雪夫素数计数函数，它们以对数给每个素数或素数幂加权。<sup>[1](https://dlmf.nist.gov/27.2)</sup><sup> • </sup><sup>[11](https://mathworld.wolfram.com/PrimeNumberTheorem.html)</sup>

第二种在数值上更精确的版本用对数积分 \( \operatorname{Li}(x) = \int_2^x \frac{dt}{\ln t} \) 取代 \( x/\ln x \)。狄利克雷在 1830 年代以这种形式表述了这一猜想；由于分部积分给出 \( \operatorname{Li}(x) \sim x/\ln x \)，两种表述是等价的，但解析证明实际上给出的是 \( \pi(x) = \operatorname{Li}(x) + O(x\exp(-c\sqrt{\log x})) \)。<sup>[5](https://www.homepages.ucl.ac.uk/~ucahpet/IANTnotes2018.pdf)</sup> 例如在 \( x = 1000 \) 处，\( x/\ln x \approx 144.76 \)，而真实个数为 168；\( \operatorname{Li}(1000) \approx 176.56 \)，可见对数积分是两种近似中更接近的一个。<sup>[12](https://androma.org/page/Prime%20Counting%20Function)</sup>

## 证明之前的历史

**高斯与勒让德。** 高斯记述说，他年轻时曾亲自编制各区间内素数个数的表，并研究了约翰·兰伯特（Johann Lambert，1728–1777）编纂的素数表，由此断定：在其涨落背后，素数的密度平均而言与对数成反比。<sup>[8](https://old.maa.org/node/1732760)</sup> 勒让德在其 1808 年出版的第二版著作中声称，π(x) 可由一个含有 \( \log x - 1.08366 \) 的商式很好地近似，这个常数显然是他为了更好拟合数据而引入的；无论他还是高斯，都没有解释自然对数是如何进入他们的公式的。<sup>[9](https://calteches.library.caltech.edu/3832/)</sup> 一道简单的微积分习题即可表明，高斯的对数积分 Li(x) 渐近于 x/log x；因此这两个猜想与现代形式的定理是一回事。<sup>[9](https://calteches.library.caltech.edu/3832/)</sup>

**切比雪夫与黎曼。** 1851 年，切比雪夫把 π(x) 界定在 x/ln x 的 0.92129 倍与 1.10556 倍之间，这是关于素数密度的第一个实质性结果，但距定理本身仍有半个世纪之遥。<sup>[2](https://www.hadamard.fr/actualites/theoreme-nombres-premiers-hadamard-vallee-poussin)</sup><sup> • </sup><sup>[13](https://docs.numerisect.com/mathematics/distribution/)</sup> 黎曼 1859 年的论文把素数的分布与 zeta 函数的零点联系起来，提供了 1896 年那些证明所依凭的框架。<sup>[14](https://arxiv.org/abs/1003.0098)</sup>

## 1896 年的证明与 zeta 函数

阿达马与德拉瓦莱普桑于 1896 年独立证明了该定理，用的是黎曼的思想。<sup>[2](https://www.hadamard.fr/actualites/theoreme-nombres-premiers-hadamard-vallee-poussin)</sup><sup> • </sup><sup>[15](https://uclouvain.be/fr/instituts-recherche/irmp/charles-de-la-vallee-poussin)</sup> 这一复分析证明的关键在于黎曼 zeta 函数 \( \zeta(s) \)，其对数导数满足 \( \frac{\zeta'(s)}{\zeta(s)} = -\sum_{n=1}^{\infty} \Lambda(n)n^{-s} \)，通过冯·曼戈尔特函数 Λ 把该函数与素数联系起来。<sup>[4](https://terrytao.wordpress.com/2021/02/12/246b-notes-4-the-riemann-zeta-function-and-the-prime-number-theorem/)</sup><sup> • </sup><sup>[16](https://people.maths.ox.ac.uk/greenbj/papers/primenumbers.pdf)</sup> 决定性的一步是证明 \( \zeta(s) \) 在直线 \( \operatorname{Re}(s) = 1 \) 上没有零点；德拉瓦莱普桑后来表明，这可由初等三角恒等式 \( \cos 2\theta = 2\cos^2\theta - 1 \) 推出，这一观察把他的原始证明缩短了 24 页。<sup>[9](https://calteches.library.caltech.edu/3832/)</sup>

## 无零点区域与误差项

定理中误差的大小，取决于直线 \( \operatorname{Re}(s) = 1 \) 周围的无零点区域向临界带内延伸多远。德拉瓦莱普桑的经典无零点区域——对足够小的绝对常数 c，有 \( \sigma \ge 1 - \frac{c}{\ln(1+|t|)} \)——把定性的 \( o(x) \) 误差改进为 \( O(x\exp(-c\sqrt{\ln x})) \)，而 π(x) 的相应表述则用对数积分。<sup>[4](https://terrytao.wordpress.com/2021/02/12/246b-notes-4-the-riemann-zeta-function-and-the-prime-number-theorem/)</sup> 维诺格拉多夫–科罗博夫区域——当 \( \sigma \ge 1 - \nu(t) \)、\( \nu(t) = A_0(\log t)^{-2/3}(\log\log t)^{-1/3} \) 时 \( \zeta(\sigma+it) \neq 0 \)——给出误差 \( \psi(x) - x \ll x\exp(-(1-\varepsilon)\omega(x)) \)，其中 \( \omega(x) \) 的阶为 \( (\log x)^{3/5}(\log\log x)^{-1/5} \)；新南威尔士大学堪培拉分校的丹尼尔·R·约翰斯顿（Daniel R. Johnston）2024 年的一项分析把这样的区域与零点密度估计结合起来，得到 \( \frac{|\psi(x)-x|}{x} \ll \exp(-\omega(x))\frac{(\log x)^9}{(\log\log x)^3} \)，该区域中已知的最佳常数为 \( c = 53.989 \)。<sup>[6](https://arxiv.org/abs/2411.13791)</sup><sup> • </sup><sup>[17](https://arxiv.org/abs/2508.02041)</sup> 对于较小的 \( |t| \)，已发表的最精确无零点区域归功于莫辛霍夫、特鲁吉安与杨：当 \( |t| \ge 2 \) 时，\( \sigma > 1 - \frac{15.558691}{\log|t|} \) 内无零点。<sup>[18](https://doi.org/10.1016/j.jmaa.2024.128124)</sup>

黎曼猜想把所有非平凡零点都放在直线 \( \operatorname{Re}(s) = 1/2 \) 上；人们相信它，而它实际上等价于命题 \( \pi(x) = \operatorname{li}(x) + O(\sqrt{x}) \)。<sup>[10](https://people.cs.uchicago.edu/~laci/reu03/notes11/node3.html)</sup>

## 初等证明

1948 年和 1949 年，该定理以第二种方式被证明，不用复分析。J. G. 范德科普夫根据保罗·埃尔德什 1948 年在阿姆斯特丹的讲演整理出一份文稿，这是阿特勒·塞尔伯格与埃尔德什所作初等证明的第一个印刷文本；随后塞尔伯格在《数学年刊》50 (1949) 第 305–313 页发表了《素数定理的一个初等证明》，埃尔德什则在《美国国家科学院院刊》35 (1949) 第 374–384 页发表了他的方法。<sup>[19](https://emis.muni.cz/classics/Erdos/cit/03818106.htm)</sup><sup> • </sup><sup>[7](https://www.cambridge.org/core/journals/proceedings-of-the-edinburgh-mathematical-society/article/on-the-elementary-proof-of-the-prime-number-theorem/D525D90A57B24473D7753D084AD0D799)</sup> 这里的“初等”是指不使用高等分析的方法，尤其是不假定 \( t \neq 0 \) 时 \( \zeta(1+it) \neq 0 \) 这一在某种意义上等价于素数定理的结果。<sup>[19](https://emis.muni.cz/classics/Erdos/cit/03818106.htm)</sup> 几乎所有初等证明的关键成分都是塞尔伯格 1948 年的素数引理；后来的工作已把该引理中的误差项直接与定理本身的误差项联系起来。<sup>[20](https://libres.uncg.edu/ir/listing.aspx?id=17407)</sup> 赖特 1951 年对塞尔伯格证明的修改——通过迭代来平滑塞尔伯格不等式中的加权——被麻省理工学院的诺曼·莱文森描述为也许是最简单的初等证明；莱文森表明，先对塞尔伯格不等式积分，可使证明所需的巧思更少，也无需再用反证法。<sup>[7](https://www.cambridge.org/core/journals/proceedings-of-the-edinburgh-mathematical-society/article/on-the-elementary-proof-of-the-prime-number-theorem/D525D90A57B24473D7753D084AD0D799)</sup>

## 对数积分为何拟合得更好

π(x) 与 Li(x) 之间的吻合远好于 π(x) 与 x/log x 之间的吻合；戈德斯通指出，这一事实曾是一百年间密集而基本无果的研究对象。一种解释把 Li(x) 导出为对各区间 \( s_k = \{p_k^2, \ldots, p_{k+1}^2-1\} \) 上求和的一种连续近似，每个区间都被前 k 个素数完全筛过：估计式 \( x/\log x \) 忽略了每一步筛法 k 都完成了对其区间的筛选，而 Li(x) 则把这一点计入。<sup>[21](https://arxiv.org/abs/1311.1093)</sup> 黎曼本人用 \( \pi(n) \sim \operatorname{Li}(n) - \tfrac{1}{2}\operatorname{Li}(n^{1/2}) \) 来估计素数计数函数，在 \( n < 10^7 \) 时这比单用 Li(n) 更好；而他更完整的黎曼函数 \( R(x) = \sum_{n=1}^{\infty} \frac{\mu(n)}{n}\operatorname{Li}(x^{1/n}) \) 在 \( n < 10^9 \) 时，其近似误差约为用 Li(x) 近似时的十分之一。<sup>[11](https://mathworld.wolfram.com/PrimeNumberTheorem.html)</sup>

## References

1. [DLMF §27.2, Functions of Number Theory, NIST](https://dlmf.nist.gov/27.2)
2. [Le théorème des nombres premiers : Hadamard et 1896, hadamard.fr](https://www.hadamard.fr/actualites/theoreme-nombres-premiers-hadamard-vallee-poussin)
3. [Charles de la Vallée Poussin (1866–1962), MacTutor History of Mathematics](https://mathshistory.st-andrews.ac.uk/Biographies/Vallee_Poussin/)
4. [Terry Tao, 246B Notes 4: The Riemann zeta function and the prime number theorem (2021)](https://terrytao.wordpress.com/2021/02/12/246b-notes-4-the-riemann-zeta-function-and-the-prime-number-theorem/)
5. [Analytic Number Theory notes, University College London (2018)](https://www.homepages.ucl.ac.uk/~ucahpet/IANTnotes2018.pdf)
6. [Daniel R. Johnston, Zero-density estimates and the optimality of the error term in the prime number theorem, arXiv:2411.13791 (2024)](https://arxiv.org/abs/2411.13791)
7. [N. Levinson, On the Elementary Proof of the Prime Number Theorem, Proc. Edinburgh Math. Soc. 15 (1966), 141–146](https://www.cambridge.org/core/journals/proceedings-of-the-edinburgh-mathematical-society/article/on-the-elementary-proof-of-the-prime-number-theorem/D525D90A57B24473D7753D084AD0D799)
8. [Dominic Klyve, The Origin of the Prime Number Theorem, MAA Convergence (2019)](https://old.maa.org/node/1732760)
9. [A Centennial History of the Prime Number Theorem, Caltech Engineering & Science (1996)](https://calteches.library.caltech.edu/3832/)
10. [Primality testing notes, University of Chicago](https://people.cs.uchicago.edu/~laci/reu03/notes11/node3.html)
11. [Prime Number Theorem, Wolfram MathWorld](https://mathworld.wolfram.com/PrimeNumberTheorem.html)
12. [Prime Counting Function, Androma](https://androma.org/page/Prime%20Counting%20Function)
13. [The distribution of primes, Numerisect](https://docs.numerisect.com/mathematics/distribution/)
14. [Analytic implications from the remainder term of the prime number theorem, arXiv:1003.0098](https://arxiv.org/abs/1003.0098)
15. [Charles de la Vallée Poussin, Université catholique de Louvain](https://uclouvain.be/fr/instituts-recherche/irmp/charles-de-la-vallee-poussin)
16. [Ben Green, notes on the zero-free region and the prime number theorem](https://people.maths.ox.ac.uk/greenbj/papers/primenumbers.pdf)
17. [C. Bellotti, A new zero-density estimate for ζ(s) and the error term in the Prime Number Theorem, arXiv:2508.02041 (2025)](https://arxiv.org/abs/2508.02041)
18. [Explicit bounds on ζ(s) in the critical strip and a zero-free region, Journal of Mathematical Analysis and Applications (2024)](https://doi.org/10.1016/j.jmaa.2024.128124)
19. [Zentralblatt entry 038.18106, Publications of Paul Erdős, EMS](https://emis.muni.cz/classics/Erdos/cit/03818106.htm)
20. [On the Prime Number Lemma of Selberg, NC DOCKS](https://libres.uncg.edu/ir/listing.aspx?id=17407)
21. [The origin of the logarithmic integral in the prime number theorem, arXiv:1311.1093](https://arxiv.org/abs/1311.1093)

---
*Initially written Sep 17, 2026 · Reviewed: Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 数与代数 › Number theory › Analytic number theory › Primes and factorization

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/prime-number-theorem

English original: https://www.edgepedia.org/prime-number-theorem
