# 贝尔数

贝尔数构成一个整数序列，计数的是一个集合的划分方式：将一个含 n 个带标签元素的集合拆分成若干非空、互不相交的块的方法数。第 n 个贝尔数记作 B(n) 或 B_n，B(n) 定义为集合 {1, 2, ..., n} 的划分数，按约定 B(0) = 1（空集恰好有一种划分，即空划分）<sup>[1](https://dlmf.nist.gov/26.7)</sup>。当 n = 0 到 9 时，该序列的开头是 1, 1, 2, 5, 15, 52, 203, 877, 4140, 21147<sup>[1](https://dlmf.nist.gov/26.7)</sup>。这些数是以埃里克·坦普尔·贝尔（Eric Temple Bell，1883–1960）命名的，他是一位与华盛顿大学数学系早期历史密切相关的数学家<sup>[2](https://math.washington.edu/eric-temple-bell)</sup>。

| 关键事实 | 详情 |
|---|---|
| 定义 | B(n) 计数 {1, 2, ..., n} 的划分数；B(0) = 1<sup>[1](https://dlmf.nist.gov/26.7)</sup> |
| 最初若干值 | 1, 1, 2, 5, 15, 52, 203, 877, 4140, 21147（n = 0 至 9）<sup>[1](https://dlmf.nist.gov/26.7)</sup> |
| 斯特林和 | B(n) = \( \sum_{k=0}^{n} S(n,k) \)，其中 S(n,k) 是第二类斯特林数<sup>[1](https://dlmf.nist.gov/26.7)</sup> |
| 递推关系 | \( B(n+1) = \sum_{k=0}^{n} \binom{n}{k} B(k) \)<sup>[1](https://dlmf.nist.gov/26.7)</sup> |
| 指数生成函数 | \( \sum_{n=0}^{\infty} B(n)\, x^n/n! = \exp(e^x - 1) \)<sup>[1](https://dlmf.nist.gov/26.7)</sup> |
| 多宾斯基公式 | \( B(n) = e^{-1} \sum_{k=1}^{\infty} k^n/k! \)<sup>[1](https://dlmf.nist.gov/26.7)</sup> |
| 同余式 | 图沙尔同余：对素数 p，\( B(p+k) \equiv B(k) + B(k+1) \pmod{p} \)<sup>[3](https://mathworld.wolfram.com/BellNumber.html)</sup> |

## 计数集合划分

一个集合的划分把它的元素分成若干块，每个元素恰好出现一次，块与块之间的顺序、块内元素之间的顺序都不作区分。当 n = 3 时，{1, 2, 3} 的五种划分是 {1}{2}{3}、{1,2}{3}、{1,3}{2}、{2,3}{1} 和 {1,2,3}，因此 B(3) = 5<sup>[1](https://dlmf.nist.gov/26.7)</sup>。

计数可以按块数自然地拆分。第二类斯特林数 S(n,k) 计数的是将一个 n 元集合恰好划分成 k 个非空块的方法数，对所有可能的块数求和便得到贝尔数<sup>[1](https://dlmf.nist.gov/26.7)</sup>：

\[ B(n) = \sum_{k=0}^{n} S(n,k). \]

同样的这些数也作为图沙尔多项式（又称指数多项式或贝尔多项式）的系数出现，\( T_n(x) = \sum_{k=0}^{n} S(n,k)\, x^k \)，在第 n 个贝尔多项式上取 x = 1 即得 B(n)<sup>[4](https://www.sciencedirect.com/science/article/abs/pii/S0096300313004098)</sup><sup> • </sup><sup>[3](https://mathworld.wolfram.com/BellNumber.html)</sup>。这些多项式在统计学和概率论中有一席之地<sup>[5](https://doi.org/10.1515/math-2016-0082)</sup>。

## 递推关系与生成函数

标准的递推关系由前面的值构造出 B(n+1)<sup>[1](https://dlmf.nist.gov/26.7)</sup>：

\[ B(n+1) = \sum_{k=0}^{n} \binom{n}{k} B(k). \]

用序列的语言来说，贝尔数是帕斯卡三角形的特征序列：反复施加二项式变换，得到的仍是同一个序列<sup>[6](https://oeis.org/A000110)</sup>。

指数生成函数形式简洁<sup>[1](https://dlmf.nist.gov/26.7)</sup>：

\[ \sum_{n=0}^{\infty} B(n)\,\frac{x^n}{n!} = \exp(e^x - 1). \]

一个显式的封闭形式是多宾斯基公式，\( B(n) = e^{-1} \sum_{k=1}^{\infty} k^n/k! \)；美国国家标准与技术研究院的《数字数学函数库》还记载了有限项的求值式 \( B(n) = 1 + \lfloor e^{-1} \sum_{k=1}^{2n} k^n/k! \rfloor \)<sup>[1](https://dlmf.nist.gov/26.7)</sup>。用概率的语言说，多宾斯基公式表明贝尔数就是均值为 1 的泊松随机变量的各阶矩<sup>[7](https://www.researchgate.net/publication/251473537_Set_partitions_and_moments_of_random_variables)</sup>。

## 增长速度

贝尔数的增长快于任何固定底数的指数函数：渐近地有<sup>[1](https://dlmf.nist.gov/26.7)</sup>

\[ B(n) = \frac{N^n e^{N-n-1}}{(1 + \ln N)^{1/2}} \left(1 + O\left(\frac{(\ln n)^{1/2}}{n^{1/2}}\right)\right), \]

其中 N 由 \( N \ln N = n \) 确定，等价地 \( N = e^{W_0(n)} \)，\( W_0 \) 是朗伯 W 函数的主分支<sup>[1](https://dlmf.nist.gov/26.7)</sup>。德布鲁因（de Bruijn，1961）发展了更高阶的近似，莫泽（Moser）与怀曼（Wyman）则在 1955 年用另一种方法给出了完整的渐近展开<sup>[1](https://dlmf.nist.gov/26.7)</sup><sup> • </sup><sup>[8](https://oeis.org/A000110/a000110_4.pdf)</sup>。尽管增长如此之快，用递推关系做精确计算对于相当小的 n 仍然可行，这正是这些数会作为计算界出现在现代统计工作中的原因<sup>[9](https://proceedings.neurips.cc/paper_files/paper/2023/file/243697ace81f57daef8737ff2c5cffd3-Paper-Conference.pdf)</sup>。

## 算术性质

图沙尔同余刻画了贝尔数在模素数 p 下的行为<sup>[3](https://mathworld.wolfram.com/BellNumber.html)</sup>：

\[ B(p+k) \equiv B(k) + B(k+1) \pmod{p}. \]

这种周期结构在近年工作中得到了推广：针对混合型贝尔数，人们证明了素数幂图沙尔同余以及模 \( p^2 \) 的更高阶精细形式，从而推广了该序列的经典算术性质<sup>[10](https://arxiv.org/abs/2608.30097)</sup>。

## 历史

已知最早的贝尔数计算并非出自欧洲。松永良弼（Yoshisuke Matsunaga，1694?–1744）在18世纪江户时代的日本计算了贝尔数，其材料是这些数的历史中迄今最早的；有马赖僮（Yoriyuki Arima，1714–1783）后来澄清并发展了这项工作<sup>[11](https://www.combinatorics.org/ojs/index.php/eljc/article/view/v29i2p2)</sup>。两人都出现在源氏香组合数学传统中，窦晓玲（Xiaoling Dou）、黄显贵（Hsien-Kuei Hwang）与李崇懿（Chong-Yi Li）2022 年的一项研究澄清了江户时代的这两套程序，并导出了相关序列的渐近分布结果<sup>[11](https://www.combinatorics.org/ojs/index.php/eljc/article/view/v29i2p2)</sup>。

这个名字是为了纪念埃里克·坦普尔·贝尔，他出生于苏格兰彼得黑德（Peterhead），在美国求学，1908 年在华盛顿大学取得硕士学位，1912 年在哥伦比亚大学取得博士学位，并于 1912 年加入华盛顿大学数学系任教<sup>[2](https://math.washington.edu/eric-temple-bell)</sup>。贝尔还以约翰·泰恩（John Taine）为笔名写作，并出版过数学普及著作，包括《数的魔力》（*The Magic of Numbers*，1934）<sup>[12](https://mathshistory.st-andrews.ac.uk/Biographies/Bell/)</sup>。

## 相关序列与推广

贝尔数是一族被计数结构的锚点。集合划分及相关对象已被广泛研究，其中包括由贝尔数计数的次超越函数类，并给出了它们与集合划分之间的双射<sup>[13](https://arxiv.org/abs/2101.07074)</sup>。各种精细形式则对块结构加以限制：(S, r)-贝尔数计数的是这样的划分——前 r 个元素各自位于不同的块中，且各块的基数属于集合 S<sup>[14](https://setpartitions.org/)</sup>；错排贝尔数计数的是 [n] 的划分，其中每个块都是错排的<sup>[15](https://arxiv.org/abs/2102.00139)</sup>。广义斯特林数与广义贝尔数同更高阶乃至负阶的图沙尔多项式相联系<sup>[16](https://cris.haifa.ac.il/en/publications/the-generalized-stirling-and-bell-numbers-revisited/)</sup>，而在数学物理的语境中还引入了 q-变形与 (p,q)-变形的类似物<sup>[17](https://www.sciencedirect.com/science/article/pii/S0019357721001051)</sup>。

一个相邻的序列说明了这类计数对约束条件何等敏感：计数满足 \( N_{i+1} \le 1 + \max_{j \le i} N_j \) 的正整数序列，得到的是贝尔数；而把条件收紧为 \( N_{i+1} \le 1 + N_i \)，得到的却是卡塔兰数<sup>[6](https://oeis.org/A000110)</sup>。

## References

1. [DLMF §26.7: Set Partitions: Bell Numbers, NIST Digital Library of Mathematical Functions](https://dlmf.nist.gov/26.7)
2. [Eric Temple Bell, Department of Mathematics, University of Washington](https://math.washington.edu/eric-temple-bell)
3. [Bell Number, Wolfram MathWorld](https://mathworld.wolfram.com/BellNumber.html)
4. [The generalized Touchard polynomials revisited, Applied Mathematics and Computation](https://www.sciencedirect.com/science/article/abs/pii/S0096300313004098)
5. [Differential equations for p, q-Touchard polynomials, Mathematics open journal](https://doi.org/10.1515/math-2016-0082)
6. [A000110: Bell or exponential numbers, OEIS](https://oeis.org/A000110)
7. [Set partitions and moments of random variables, ResearchGate](https://www.researchgate.net/publication/251473537_Set_partitions_and_moments_of_random_variables)
8. [Moser, Leo, and Wyman, Max. An asymptotic formula for the Bell numbers, Transactions of the Royal Society of Canada, 49 (1955), 49–53 (scanned copy via OEIS)](https://oeis.org/A000110/a000110_4.pdf)
9. [Kernel cumulant paper using Bell-number recursion as a computational bound, NeurIPS 2023](https://proceedings.neurips.cc/paper_files/paper/2023/file/243697ace81f57daef8737ff2c5cffd3-Paper-Conference.pdf)
10. [Prime and Touchard Congruences of Mixed-Type Bell Numbers, arXiv](https://arxiv.org/abs/2608.30097)
11. [Dou, Xiaoling; Hwang, Hsien-Kuei; Li, Chong-Yi (2022). Bell Numbers in Matsunaga's and Arima's Genjikō Combinatorics, Electronic Journal of Combinatorics 29(2), #P2.2](https://www.combinatorics.org/ojs/index.php/eljc/article/view/v29i2p2)
12. [Eric Temple Bell (1883–1960), MacTutor History of Mathematics](https://mathshistory.st-andrews.ac.uk/Biographies/Bell/)
13. [Set Partitions and Other Bell Number Enumerated Objects, arXiv](https://arxiv.org/abs/2101.07074)
14. [Set partitions: resources on counting set partitions, setpartitions.org](https://setpartitions.org/)
15. [The deranged Bell numbers, arXiv](https://arxiv.org/abs/2102.00139)
16. [The generalized Stirling and Bell numbers revisited, University of Haifa](https://cris.haifa.ac.il/en/publications/the-generalized-stirling-and-bell-numbers-revisited/)
17. [(p,q)-analogues of the generalized Touchard polynomials and Stirling numbers, ScienceDirect](https://www.sciencedirect.com/science/article/pii/S0019357721001051)

---
*Initially written Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 数与代数 › Arithmetic and number systems › Integer sequences and partitions › Integer sequences

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/bell-numbers

English original: https://www.edgepedia.org/bell-numbers
