# 克拉梅尔猜想

**克拉梅尔猜想**（Cramér's conjecture）是数论中一个尚未证明的命题，它断言：在很大的数 \(n\) 附近，相邻两个素数之间的间隔不超过某个常数乘以 \((\log n)^2\)；用第 \(n\) 个素数 \(p_n\) 的通常记号来说，它预测 \(p_{n+1} - p_n = O((\log p_n)^2)\)。瑞典概率论与统计学家哈拉尔德·克拉梅尔（Harald Cramér）1936 年通过分析素数的一个随机模型得出这一预测；该猜想至今仍未解决，目前最好的已证上界要弱得多，为 \(O(p_n^{0.525})\)。<sup>[1](https://www.impan.pl/en/publishing-house/journals-and-series/acta-arithmetica/all/en/publishing-house/journals-and-series/acta-arithmetica/all/2/1/93277/on-the-order-of-magnitude-of-the-difference-between-consecutive-prime-numbers)</sup><sup> • </sup><sup>[2](https://link.springer.com/article/10.1007/s00222-023-01199-0)</sup><sup> • </sup><sup>[3](https://londmathsoc.onlinelibrary.wiley.com/doi/10.1112/plms/83.3.532)</sup>

| 关键事实 | 说明 |
|---|---|
| 命题 | 最大间隔 \(G(x) := \max_{p_n \le x}(p_{n+1} - p_n)\) 满足 \(G(x) = O((\log x)^2)\)；文献中有时把 \(G(x) = O(\log^2 x)\) 与 \(G(x) \sim \log^2 x\) 两种形式都冠以该名<sup>[2](https://link.springer.com/article/10.1007/s00222-023-01199-0)</sup> |
| 出处 | 哈拉尔德·克拉梅尔，《论相邻素数之差的数量级》，《算术学报》（Acta Arithmetica）第 2 卷（1936 年），第 23–46 页<sup>[1](https://www.impan.pl/en/publishing-house/journals-and-series/acta-arithmetica/all/en/publishing-house/journals-and-series/acta-arithmetica/all/2/1/93277/on-the-order-of-magnitude-of-the-difference-between-consecutive-prime-numbers)</sup> |
| 基础模型 | 每个整数 \(n \ge 3\) 都以概率 \(1/\log n\) 被独立地判定为“素数”，与素数定理给出的密度相符<sup>[2](https://link.springer.com/article/10.1007/s00222-023-01199-0)</sup> |
| 最好的无条件上界 | \(G(x) \ll x^{0.525}\)，由 R. C. 贝克（R. C. Baker）、G. 哈曼（G. Harman）与 J. 平茨（J. Pintz）于 2001 年证明<sup>[3](https://londmathsoc.onlinelibrary.wiley.com/doi/10.1112/plms/83.3.532)</sup> |
| 条件性上界 | 在假定黎曼猜想的前提下，克拉梅尔证明了 \(G(x) \ll \sqrt{x} \log x\)<sup>[4](https://warwick.ac.uk/fac/sci/maths/people/staff/visser/large_gaps_between_primes.pdf)</sup> |
| 更精细的预测 | 格兰维尔修正后的模型预测 \(G(X) \ge (2e^{-\gamma} - o(1))\log^2 X\)，其中 \(2e^{-\gamma} = 1.1229\ldots\)，比克拉梅尔常数高出约 12%<sup>[5](https://terrytao.wordpress.com/2015/01/04/254a-supplement-4-probabilistic-models-and-heuristics-for-the-primes-optional/)</sup> |
| 数值检验 | 素数间隔表已算到 \(10^{18}\) 以上；其中发现的最大间隔为 1132，出现在素数 1693182318746371 之后<sup>[2](https://link.springer.com/article/10.1007/s00222-023-01199-0)</sup> |

## 克拉梅尔的随机模型

在 1936 年发表于《算术学报》的论文中，克拉梅尔引入了素数的一个概率模型：每个自然数 \(n \ge 3\) 都以概率 \(1/\log n\) 被纳入一个随机集合 \(\mathcal{C}\)，且各数的选取相互独立。<sup>[2](https://link.springer.com/article/10.1007/s00222-023-01199-0)</sup>之所以取概率 \(1/\log n\)，是因为素数定理指出 \(n\) 附近素数的密度约为 \(1/\log n\)；这样模型便再现了素数的平均行为，只是把素数的实际位置换成了掷硬币。

在这个模型里，克拉梅尔证明了：到 \(x\) 为止，\(\mathcal{C}\) 中相邻元素之间的最大间隔几乎必然渐近于 \(\log^2 x\)。他还评论道：“显然，我们可以把这看作一个提示：对于普通素数 \(p_n\) 这一特定序列，某种类似的关系或许也成立。”该模型还预测了间隔的精细结构：高斯–克拉梅尔模型提示，间隔超过平均值 \(\lambda\) 倍（即 \(p_{n+1} - p_n > \lambda \log p_n\)）的 \(n\) 所占比例约为 \(e^{-\lambda}\)。<sup>[2](https://link.springer.com/article/10.1007/s00222-023-01199-0)</sup><sup> • </sup><sup>[6](https://dms.umontreal.ca/~andrew/PDF/PrinceComp.pdf)</sup>

该模型的极值行为已被详细研究。计算数论领域的独立研究者阿列克谢·库尔巴托夫（Alexei Kourbatov）证明，冈贝尔极值分布 \(\exp(-\exp(-x))\) 是克拉梅尔随机素数之间最大间隔的极限分布；这一结果由一个关于离散随机事件之间间隔的一般定理推出，其中事件发生的概率缓慢地趋于零。该结果还可推广到模型中素数星座之间的间隔。<sup>[7](https://arxiv.org/abs/1401.6959)</sup>

## 猜想的精细化

若干作者对基本命题作了加强。尚克斯（Shanks）在分析了一个与克拉梅尔模型极为相似的随机模型之后，提出了比克拉梅尔更强的界；卡德韦尔（Cadwell）则提出，\(G(x)\) 可以用 \((\log x)(\log x - \log_2 x)\) 很好地近似，其中 \(\log_2 x\) 是迭代对数 \(\log\log x\)。卡德韦尔的精细化得到间隔数值计算的有力支持。<sup>[2](https://link.springer.com/article/10.1007/s00222-023-01199-0)</sup>

**格兰维尔的修正。** 蒙特利尔大学数论学家安德鲁·格兰维尔（Andrew Granville）修改了随机模型，以修补克拉梅尔模型的一个缺陷，修正后的模型改变了所预测的常数。在格兰维尔的模型中，当 \(X \to \infty\) 时，最大间隔满足 \(G(X) \ge (2e^{-\gamma} - o(1))\log^2 X\)，其中 \(\gamma\) 是欧拉常数，\(2e^{-\gamma} = 1.1229\ldots\)。其机理在于：间隔不应从任意起点量起，而应从被小素数的大乘积 \(Q\) 整除的起点 \(a\) 量起；这样的起点在随后的区间里留下的候选数，比随机起点大约多出一个因子 \(\xi\)，从而抬高了期望的最大间隔。常数 \(2e^{-\gamma}\) 能否进一步改进仍无定论，但弱形式 \(G(X) \asymp \log^2 X\) 依然是标准的预期。<sup>[5](https://terrytao.wordpress.com/2015/01/04/254a-supplement-4-probabilistic-models-and-heuristics-for-the-primes-optional/)</sup><sup> • </sup><sup>[2](https://link.springer.com/article/10.1007/s00222-023-01199-0)</sup><sup> • </sup><sup>[5](https://terrytao.wordpress.com/2015/01/04/254a-supplement-4-probabilistic-models-and-heuristics-for-the-primes-optional/)</sup>

## 模型的弱点

克拉梅尔模型的失败之处已有充分记载，最引人注目的是关于素数 \(k\) 元组的部分。对任意有限集 \(\mathcal{H} \subset \mathbb{Z}\)，克拉梅尔模型预测：使 \(n + \mathcal{H}\) 全部落入随机集合的 \(n \le x\) 的个数，几乎必然渐近于一个正比于 \(x/(\log x)^{|\mathcal{H}|}\) 的量；而对真实素数，类似的断言一般并不成立：不存在整数 \(n\)，使 \(n+h\) 对所有 \(h \in \{0, 1, 2\}\) 都为素数，因为这样的三个数中总有一个能被 3 整除。<sup>[2](https://link.springer.com/article/10.1007/s00222-023-01199-0)</sup>

原因在于一种模型所缺乏的剩余类偏置。给定任一素数 \(p\)，凡不等于 \(p\) 的素数模 \(p\) 必同余于 \(1, \ldots, p-1\) 中的某个类；相比之下，克拉梅尔随机集合均匀地散布在模 \(p\) 的每一个剩余类中。<sup>[2](https://link.springer.com/article/10.1007/s00222-023-01199-0)</sup>格兰维尔的模型通过在做随机选取之前先剔除与 \(Q = \prod_{p \le A} p\) 有公因子的整数来修补这一点，从而抓住了正确的整体分布以及 \(p \le A\) 的素数所带来的剩余类偏置。<sup>[2](https://link.springer.com/article/10.1007/s00222-023-01199-0)</sup>由于较简单的模型存在这些错误，关于最大间隔的克拉梅尔猜想必须带着几分怀疑来看待。<sup>[6](https://dms.umontreal.ca/~andrew/PDF/PrinceComp.pdf)</sup>

短区间中也出现了偏差。密歇根大学数论学家休·L·蒙哥马利（Hugh L. Montgomery）与斯坦福大学的坎南·桑德拉拉詹（Kannan Soundararajan）给出了证据，与克拉梅尔模型的预测相反：在长度 \(H\) 满足 \(N^{\delta} \le H \le N^{1-\delta}\) 的区间中，素数的分布近似为正态分布，均值约为 \(H\)，方差约为 \(H \log N / H\)，比模型预测的方差要小。<sup>[8](https://arxiv.org/abs/math/0409258)</sup>

## 已经证明了什么

猜想本身仍未解决，启发式与证明之间的差距很大。\(G(x)\) 最强的无条件上界是 \(G(x) \ll x^{0.525}\)，由杨百翰大学的 R. C. 贝克、伦敦大学皇家霍洛威学院的 G. 哈曼和匈牙利科学院的 J. 平茨于 2001 年得到；他们证明了当 \(x\) 充分大时，区间 \([x, x + x^{0.525}]\) 中必含有一个素数。即便假定黎曼猜想，也只能得到 \(G(x) \ll \sqrt{x}\log x\)，这一上界由克拉梅尔本人证明；希思-布朗（Heath-Brown）在此基础上再假定关于蒙哥马利对相关函数的猜想结果，把它略微改进为 \(G(x) \ll \sqrt{x \log x}\)。<sup>[3](https://londmathsoc.onlinelibrary.wiley.com/doi/10.1112/plms/83.3.532)</sup><sup> • </sup><sup>[2](https://link.springer.com/article/10.1007/s00222-023-01199-0)</sup><sup> • </sup><sup>[4](https://warwick.ac.uk/fac/sci/maths/people/staff/visser/large_gaps_between_primes.pdf)</sup>

另一方面，\(G(x)\) 最强的无条件下界归功于凯文·福特（Kevin Ford）、本·格林（Ben Green）、谢尔盖·科尼亚金（Sergei Konyagin）、詹姆斯·梅纳德（James Maynard）与陶哲轩（Terence Tao）；他们证明了当 \(x\) 充分大时存在远大于平均值的间隔，其界用 \(x\) 的迭代对数表示。<sup>[2](https://link.springer.com/article/10.1007/s00222-023-01199-0)</sup>

计算补充了理论。素数间隔表已算到 \(10^{18}\) 乃至更远，该范围内最大的间隔为 1132，出现在素数 1693182318746371 之后；观测到的 \(G(x)\) 值都落在 \(\log^2 x\) 曲线之下，与更精细的预测相符。<sup>[2](https://link.springer.com/article/10.1007/s00222-023-01199-0)</sup>一些社区项目仍在不断扩充首次出现间隔与最大间隔的纪录表。<sup>[9](https://primegap-list-project.github.io/lists/)</sup>

## 更新的概率模型

2023 年，威廉·班克斯（William Banks）、凯文·福特与陶哲轩提出了一种不同类型的概率模型：他们的随机集合不是按给定概率纳入整数，而是由经过筛法筛选后幸存的整数构成——对某个特定上界以下的每个素数模，随机选取一个剩余类。对这一模型的严格分析给出了 \([1, x]\) 中最大素数间隔的启发式上下界，其表述用到了区间筛法问题的极值界；同样的方法还把关于任意集合的哈代–李特尔伍德猜想与该集合最大间隔的下界联系起来。<sup>[2](https://link.springer.com/article/10.1007/s00222-023-01199-0)</sup>这一工作路线把克拉梅尔模型和格兰维尔模型（它们按概率纳入整数来构成随机集合）视为一个发展中的启发式模型家族的前几代，这个家族要回答的是：最大的素数间隔究竟应该有多大。

## References

1. [Harald Cramér (1936). On the order of magnitude of the difference between consecutive prime numbers. Acta Arithmetica 2, 23–46.](https://www.impan.pl/en/publishing-house/journals-and-series/acta-arithmetica/all/en/publishing-house/journals-and-series/acta-arithmetica/all/2/1/93277/on-the-order-of-magnitude-of-the-difference-between-consecutive-prime-numbers)
2. [William Banks, Kevin Ford, and Terence Tao (2023). Large prime gaps and probabilistic models. Inventiones mathematicae 233, 1471–1518.](https://link.springer.com/article/10.1007/s00222-023-01199-0)
3. [R. C. Baker, G. Harman, and J. Pintz (2001). The Difference Between Consecutive Primes, II. Proceedings of the London Mathematical Society 83, 532–562.](https://londmathsoc.onlinelibrary.wiley.com/doi/10.1112/plms/83.3.532)
4. [Tim Trudgian and colleagues. Large gaps between primes (survey), University of Warwick.](https://warwick.ac.uk/fac/sci/maths/people/staff/visser/large_gaps_between_primes.pdf)
5. [Terence Tao (2015). 254A, Supplement 4: Probabilistic models and heuristics for the primes. What's new (blog).](https://terrytao.wordpress.com/2015/01/04/254a-supplement-4-probabilistic-models-and-heuristics-for-the-primes-optional/)
6. [Andrew Granville. Prime number patterns and the Cramér model (PDF), Université de Montréal.](https://dms.umontreal.ca/~andrew/PDF/PrinceComp.pdf)
7. [Alexei Kourbatov (2014). The distribution of maximal prime gaps in Cramer's probabilistic model of primes. arXiv:1401.6959.](https://arxiv.org/abs/1401.6959)
8. [Hugh L. Montgomery and K. Soundararajan (2004). Primes in short intervals. arXiv:math/0409258.](https://arxiv.org/abs/math/0409258)
9. [Prime gap list project: Tables of record prime gaps.](https://primegap-list-project.github.io/lists/)

---
*Initially written 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/cramers-conjecture

English original: https://www.edgepedia.org/cramers-conjecture
