# 默滕斯函数

默滕斯函数是默比乌斯函数的求和函数，定义为 \( M(x) = \sum_{n \le x} \mu(n) \)，其中当 \( n \) 为无平方因子整数且其素因子个数为偶数时 \( \mu(n) \) 等于 1，当 \( n \) 为无平方因子整数且其素因子个数为奇数时等于 −1，其余情形等于 0。通俗地说，\( M(x) \) 统计的是不超过 \( x \) 的无平方因子整数中素因子个数为偶数的个数，减去素因子个数为奇数的个数。<sup>[1](https://mathworld.wolfram.com/MertensFunction.html)</sup><sup> • </sup><sup>[2](https://arxiv.org/abs/1610.08551)</sup>

| 关键事实 | 详情 |
|---|---|
| 定义 | \( M(x) = \sum_{n \le x} \mu(n) \)，即默比乌斯函数 \( \mu(n) \) 的部分和<sup>[1](https://mathworld.wolfram.com/MertensFunction.html)</sup> |
| 最初取值 | 1, 0, −1, −1, −2, −1, −2, −2, −2, −1, −2, −2, ...（OEIS A002321）<sup>[1](https://mathworld.wolfram.com/MertensFunction.html)</sup> |
| 默滕斯猜想 | 对所有 \( x > 1 \) 有 \( \|M(x)\| < \sqrt{x} \)；默滕斯（1897）对 \( x < 10000 \) 作了验证，该猜想于 1985 年被推翻<sup>[1](https://mathworld.wolfram.com/MertensFunction.html)</sup><sup> • </sup><sup>[3](https://ir.cwi.nl/pub/1823)</sup> |
| 反证 | A.M. 奥德利兹科与 H.J.J. 特·里勒，《纯粹与应用数学杂志》第 357 卷（1985），第 138–160 页；此前于 1983 年发布研究简报<sup>[3](https://ir.cwi.nl/pub/1823)</sup><sup> • </sup><sup>[4](https://ir.cwi.nl/pub/18259)</sup> |
| 振荡界 | \( \liminf M(x)/\sqrt{x} < -1.009 \)，\( \limsup M(x)/\sqrt{x} > 1.06 \)；赫斯特（2016）将其改进为 −1.837625 与 1.826054<sup>[2](https://arxiv.org/abs/1610.08551)</sup> |
| 计算记录 | \( M(10^{24}) = 7{,}189{,}337{,}839 \)，\( M(10^{25}) = -258{,}560{,}632{,}948 \)，分别用 7.0 天和 34.6 天算出<sup>[5](https://arxiv.org/abs/2607.07566)</sup> |
| 最快算法 | \( O(x^{2/3+\varepsilon}) \)（莱曼 1960；赫斯特），\( O(x^{3/5+\varepsilon}) \)（拉加里亚斯–奥德利兹科修正；赫尔夫戈特–汤普森）<sup>[1](https://mathworld.wolfram.com/MertensFunction.html)</sup><sup> • </sup><sup>[6](https://arxiv.org/abs/2101.08773)</sup> |

## 定义与基本性质

该函数以弗朗茨·默滕斯（Franz Mertens）命名，他于 1897 年引入此函数。其最初取值为 1, 0, −1, −1, −2, −1, −2, −2, −2, −1, −2, −2, ...<sup>[1](https://mathworld.wolfram.com/MertensFunction.html)</sup> 在十的幂处的取值序列 \( M(10^n) \)，当 \( n = 0, 1, 2, \ldots \) 时依次为 1, −1, 1, 2, −23, −48, 212, 1037, 1928, −222, ...<sup>[1](https://mathworld.wolfram.com/MertensFunction.html)</sup>

由定义可得出两种代数描述。\( M(n) \) 等于 \( n \times n \) 雷德黑弗矩阵的行列式，这是一个 0–1 矩阵，当 \( j \) 整除 \( i \) 或 \( j = 1 \) 时，第 \( (i, j) \) 项为 1。<sup>[1](https://mathworld.wolfram.com/MertensFunction.html)</sup> 该函数还满足恒等式 \( \sum_{n=1}^{x} M(x/n) = 1 \)（莱曼 1960）。<sup>[1](https://mathworld.wolfram.com/MertensFunction.html)</sup> 目前尚不知道 \( M(x) \) 的任何解析闭式公式，不过蒂奇马什于 1960 年证明：若黎曼猜想成立且黎曼 zeta 函数没有多重零点，则 \( M(x) \) 有一个显式公式，它是对 \( \zeta(s) \) 的非平凡零点 \( \rho \) 求和，形式为 \( \sum_\rho x^\rho/(\rho\zeta'(\rho)) \) 再加上初等修正项。<sup>[1](https://mathworld.wolfram.com/MertensFunction.html)</sup>

## 默滕斯猜想及其反证

默滕斯于 1897 年验证了当 \( x < 10000 \) 时 \( |M(x)| \le \sqrt{x} \)，并猜想该不等式对所有 \( x \) 成立。<sup>[1](https://mathworld.wolfram.com/MertensFunction.html)</sup> 命题 \( |M(x)| < x^{1/2} \) 后来被称为默滕斯猜想。由于它蕴含黎曼猜想，一旦获证，数论中一个核心未解问题便将尘埃落定。<sup>[7](https://oeis.org/wiki/Mertens_function)</sup>

该猜想被数学与计算机科学中心的安德鲁·奥德利兹科（Andrew Odlyzko）和赫尔曼·特·里勒（Herman te Riele）推翻。研究简报于 1983 年 11 月发表在 CWI 通讯上，完整论文于 1985 年刊于《纯粹与应用数学杂志》第 357 卷，第 138–160 页。<sup>[3](https://ir.cwi.nl/pub/1823)</sup><sup> • </sup><sup>[4](https://ir.cwi.nl/pub/18259)</sup> 他们的方法并非直接搜寻反例，而是将黎曼 zeta 函数的 2000 个零点算到 100 位小数——这一计算在 Cyber 750 上耗时 40 小时，在 Cray-1 上又耗时 10 小时——再利用这些零点给出 \( M(x)/\sqrt{x} \) 上极限大于 1 的界。<sup>[8](https://cds.cern.ch/record/319306/files/AT00000326.pdf)</sup> 证明表明存在某个 \( N \) 使 \( M(N) > 1.06\sqrt{N} \)，但任何这样的 \( N \) 都超过 \( 10^{30} \)，因此直接搜寻反例根本无从谈起。<sup>[8](https://cds.cern.ch/record/319306/files/AT00000326.pdf)</sup> 1985 年的论文确立了 \( \liminf M(x)/\sqrt{x} < -1.009 \) 与 \( \limsup M(x)/\sqrt{x} > 1.06 \)。<sup>[2](https://arxiv.org/abs/1610.08551)</sup>

## 与黎曼猜想的关系

\( M(x) \) 之所以引人关注，在于它与黎曼 zeta 函数的零点、进而与素数分布的联系；默滕斯本人引入该函数的动机正是这一关系。黎曼猜想等价于 \( M(n) \) 的一个增长条件，该条件比已被推翻的猜想更弱；并且，只要对每个 \( \varepsilon > 0 \)，\( M(x) \) 都以 \( x^{1/2+\varepsilon} \) 的速度增长，黎曼猜想便成立。<sup>[7](https://oeis.org/wiki/Mertens_function)</sup><sup> • </sup><sup>[9](https://arxiv.org/abs/2101.10336)</sup>

如今人们普遍相信 \( x^{-1/2}M(x) \) 会朝正负两个方向任意增大，但这尚未被无条件证明。英厄姆（Ingham）于 1942 年证明：假设黎曼猜想成立，且 \( \zeta(s) \) 非平凡零点的虚部在有理数上线性无关，则该论断为真。<sup>[10](https://www.cambridge.org/core/journals/mathematical-proceedings-of-the-cambridge-philosophical-society/article/on-a-mertenstype-conjecture-for-number-fields/B01C7628DF4D57CAE8410901FD6A9321)</sup> 2022 年，李以坦·辛普森·李（Ethan Simpson Lee）与尼古拉·梁（Nicol Leong）证明了形如 \( x(\log x)\exp(-\eta\sqrt{\log x}) \) 的无条件显式上界，并在利特尔伍德与科罗博夫–维诺格拉多夫无零点区域中给出了变体。<sup>[11](https://arxiv.org/abs/2208.06141)</sup>

## 计算

莱曼于 1960 年给出一个以 \( O(x^{2/3+\varepsilon}) \) 次运算计算 \( M(x) \) 的算法；而拉加里亚斯–奥德利兹科（1987）关于素数计数函数的算法经修改后，可在 \( O(x^{3/5+\varepsilon}) \) 次运算内算出 \( M(x) \)。<sup>[1](https://mathworld.wolfram.com/MertensFunction.html)</sup> 2021 年，哥廷根格奥尔格-奥古斯特大学数学研究所的哈拉尔德·A. 赫尔夫戈特（Harald A. Helfgott）与乌得勒支大学的洛拉·汤普森（Lola Thompson）提出了一个初等算法，运行时间为 \( O_\varepsilon(x^{3/5}(\log x)^{3/5+\varepsilon}) \)，空间为 \( O(x^{3/10}(\log x)^{13/10}) \)，这是自 1985 年以来初等算法在 \( x \) 的指数上的首次改进。<sup>[6](https://arxiv.org/abs/2101.08773)</sup>

系统性制表工作随硬件进步而推进。赫斯特算出了所有 \( x \le 10^{16} \) 的 \( M(x) \)，记录了全部极值与全部零点，并对直到 \( 2^{73} \) 的所有二的幂应用了 \( O(x^{2/3+\varepsilon}) \) 算法。<sup>[2](https://arxiv.org/abs/1610.08551)</sup> 目前的记录是 \( M(10^{24}) = 7{,}189{,}337{,}839 \)，用时 7.0 天；以及 \( M(10^{25}) = -258{,}560{,}632{,}948 \)，用时 34.6 天，计算时在孤立值算法之外辅以分段默比乌斯筛；一个独立的分段筛用约 7.4 天算出了直到 \( 10^{16} \) 的全部默滕斯值，而 2018 年同一范围耗时 7.5 个月。<sup>[5](https://arxiv.org/abs/2607.07566)</sup>

## References

1. [Mertens Function, Wolfram MathWorld](https://mathworld.wolfram.com/MertensFunction.html)
2. [Greg Hurst (2016). Computations of the Mertens Function and Improved Bounds on the Mertens Conjecture. arXiv:1610.08551.](https://arxiv.org/abs/1610.08551)
3. [Disproof of the Mertens conjecture, A.M. Odlyzko and H.J.J. te Riele, CWI repository](https://ir.cwi.nl/pub/1823)
4. [Mertens' conjecture disproved: research announcement, H.J.J. te Riele, CWI Newsletter, 1983](https://ir.cwi.nl/pub/18259)
5. [Greg Hurst (2026). Practical Computations of the Mertens Function: M(10^24) and M(10^25). arXiv:2607.07566.](https://arxiv.org/abs/2607.07566)
6. [Harald A. Helfgott, Lola Thompson (2021). Summing μ(n): a faster elementary algorithm. arXiv:2101.08773.](https://arxiv.org/abs/2101.08773)
7. [Mertens function, OeisWiki](https://oeis.org/wiki/Mertens_function)
8. [Disproof of the Mertens Conjecture, CERN document AT00000326](https://cds.cern.ch/record/319306/files/AT00000326.pdf)
9. [Randomness of Möbius coefficients and brownian motion: growth of the Mertens function and the Riemann Hypothesis, arXiv:2101.10336](https://arxiv.org/abs/2101.10336)
10. [On a Mertens-type conjecture for number fields, Math. Proc. Camb. Phil. Soc.](https://www.cambridge.org/core/journals/mathematical-proceedings-of-the-cambridge-philosophical-society/article/on-a-mertenstype-conjecture-for-number-fields/B01C7628DF4D57CAE8410901FD6A9321)
11. [Ethan Simpson Lee, Nicol Leong (2022). New explicit bounds for Mertens function and the reciprocal of the Riemann zeta-function. arXiv:2208.06141.](https://arxiv.org/abs/2208.06141)

---
*Initially written Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 数与代数 › Number theory › Analytic number theory › Zeta and L-functions › Explicit formulas and prime counting

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/mertens-function

English original: https://www.edgepedia.org/mertens-function
