# 佩尔数

佩尔数（Pell numbers）是整数序列 0, 1, 2, 5, 12, 29, 70, 169, 408, 985, ...，由递推关系 \( P_{n} = 2P_{n-1} + P_{n-2} \) 定义，初值为 \( P_0 = 0 \)、\( P_1 = 1 \)。它们是 \( \sqrt{2} \) 的连分数收敛项的分母，给出佩尔方程 \( b^2 - 2a^2 = \pm 1 \) 的解，也是依附于银比 \( 1 + \sqrt{2} \) 的斐波那契型序列。其名称源于莱昂哈德·欧拉（Leonhard Euler）的错误归属：他把底层的方程归到了英国数学家约翰·佩尔（John Pell，1611–1685）名下。<sup>[1](https://oeis.org/A000129)</sup><sup> • </sup><sup>[1](https://oeis.org/A000129)</sup><sup> • </sup><sup>[2](https://planetmath.org/silverratio)</sup><sup> • </sup><sup>[3](https://www.parabola.unsw.edu.au/sites/default/files/2024-02/vol59_no2_4.pdf)</sup>

| 关键事实 | 细节 |
|---|---|
| 递推关系 | \( P_n = 2P_{n-1} + P_{n-2} \)，\( P_0 = 0 \)，\( P_1 = 1 \)；前几项为 0, 1, 2, 5, 12, 29, 70, 169, 408, 985<sup>[1](https://oeis.org/A000129)</sup> |
| 比内公式 | \( P_n = \dfrac{(1+\sqrt{2})^n - (1-\sqrt{2})^n}{2\sqrt{2}} \)<sup>[4](https://www.cfm.brown.edu/people/dobrush/am33/Mathematica/ch5/recurrence.html)</sup> |
| √2 的近似 | 佩尔数是收敛项 1/1, 3/2, 7/5, 17/12, 41/29, ... 的分母，这些收敛项逼近 \( \sqrt{2} \)<sup>[1](https://oeis.org/A000129)</sup> |
| 佩尔方程 | \( P_{2n} \) 与伴随序列一起给出 \( b^2 - 2a^2 = +1 \) 的全部正整数解；\( P_{2n+1} \) 给出 \( b^2 - 2a^2 = -1 \) 的全部正整数解<sup>[1](https://oeis.org/A000129)</sup> |
| 增长性 | 受银比 \( \delta_S = 1 + \sqrt{2} \approx 2.4142135623730950488 \) 支配，且 \( \delta_S^n = P_n \delta_S + P_{n-1} \)<sup>[2](https://planetmath.org/silverratio)</sup> |
| 计数意义 | 用多米诺骨牌和两色方块铺砌 \( 1 \times n \) 棋盘的方案数<sup>[5](https://cs.uwaterloo.ca/journals/JIS/VOL12/Stenson/stenson8.pdf)</sup> |
| 伴随序列 | 佩尔–卢卡斯数 \( Q_n \)：同一递推关系，初值 \( Q_0 = Q_1 = 2 \)，得到 2, 2, 6, 14, 34, 82, 198, ...<sup>[6](https://mathworld.wolfram.com/Pell-LucasNumber.html)</sup> |

## 定义与基本性质

该序列由递推关系和初始值完全确定。等价地，它由有理生成函数 \( x/(1 - 2x - x^2) \) 生成，其系数级数逐项重现佩尔数。闭式解来自递推关系的特征方程，其根为 \( 1 + \sqrt{2} \) 和 \( 1 - \sqrt{2} \)：<sup>[4](https://www.cfm.brown.edu/people/dobrush/am33/Mathematica/ch5/recurrence.html)</sup>

\[ P_n = \frac{(1+\sqrt{2})^n - (1-\sqrt{2})^n}{2\sqrt{2}}. \]

由于 \( |1 - \sqrt{2}| \approx 0.414 \) 小于 1，第二项随 \( n \) 增大而消失，相邻两项之比趋近于银比 \( \delta_S = 1 + \sqrt{2} \)，即连分数 \( [2; 2, 2, 2, \ldots] \) 的所有部分商都等于 2 的那个数。<sup>[2](https://planetmath.org/silverratio)</sup>银比的幂可直接用该序列表示：对 \( n > 0 \)，有 \( \delta_S^n = P_n \delta_S + P_{n-1} \)。<sup>[2](https://planetmath.org/silverratio)</sup>这与黄金比 \( \varphi \) 对斐波那契数所起的作用相平行，因此佩尔数也被称为“银斐波那契数”。<sup>[1](https://oeis.org/A000129)</sup>

该序列是一个整除序列：若 \( n \) 整除 \( m \)，则 \( P_n \) 整除 \( P_m \)。<sup>[1](https://oeis.org/A000129)</sup>它还支持一种素性判别法，即佩尔素性检验：若 \( N \) 是奇素数，则 \( P_N - \mathrm{Kronecker}(2, N) \) 能被 \( N \) 整除。大多数合数无法通过此检验，因此它可作伪素性检验之用，而通过检验的奇合数被编目为佩尔伪素数。<sup>[1](https://oeis.org/A000129)</sup>

## 与 √2 及佩尔方程的联系

\( \sqrt{2} \) 的连分数收敛项为

\[ \frac{1}{1},\ \frac{3}{2},\ \frac{7}{5},\ \frac{17}{12},\ \frac{41}{29},\ \frac{99}{70},\ \ldots, \]

其分子构成伴随序列 A001333，分母即佩尔数。<sup>[1](https://oeis.org/A000129)</sup>每个收敛项 \( b/a \) 都满足 \( b^2 - 2a^2 = \pm 1 \)，符号交替出现。确切地说，\( P_{2n} \) 与相应的伴随项配对，给出 \( b^2 - 2a^2 = +1 \) 的全部正整数解；而 \( P_{2n+1} \) 给出 \( b^2 - 2a^2 = -1 \) 的全部正整数解。<sup>[1](https://oeis.org/A000129)</sup>由于此时 \( b/a \) 与 \( \sqrt{2} \) 的差距在 \( 1/a^2 \) 之内，相继的佩尔分母提供了越来越好的有理逼近，例如 \( 99/70 \approx 1.41428 \)。<sup>[1](https://oeis.org/A000129)</sup>

这使该序列处于佩尔方程 \( y^2 - n x^2 = 1 \) 的中心，这是一个只寻求整数解的丢番图方程。该方程最早由印度数学家婆罗摩笈多（Brahmagupta）深入研究，他于公元 628 年发表的合成法（samasa）能从已知解生成新解；完整的理论则由约瑟夫-路易·拉格朗日（Joseph-Louis Lagrange）建立，而非佩尔。<sup>[7](https://mathshistory.st-andrews.ac.uk/HistTopics/Pell/)</sup>最著名的例子是阿基米德牛群问题，其条件归结为参数 \( D = 410{,}286{,}423{,}278{,}424 \) 的佩尔方程；其解有 103,266 位数字，远远超出古代所能计算的范围。<sup>[8](https://isa-afp.org/entries/Archimedes_Cattle.html)</sup>

## 组合解释

佩尔数计数若干类对象。标准的铺砌模型如下：佩尔数 \( P_{n+1} \) 计数用 \( 1 \times 2 \) 多米诺骨牌和两种颜色的 \( 1 \times 1 \) 方块铺砌 \( 1 \times n \) 棋盘的方案数。阿瑟·T·本杰明（Arthur T. Benjamin）、肖恩·S·普洛特（Sean S. Plott）和詹姆斯·A·塞勒斯（James A. Sellers）——这几位为整数序列发展组合证明技术的数学家——正是用这一解释，为先前通过比内公式建立的佩尔数求和恒等式给出了双射的、基于铺砌的证明。<sup>[5](https://cs.uwaterloo.ca/journals/JIS/VOL12/Stenson/stenson8.pdf)</sup><sup> • </sup><sup>[9](https://scholarship.claremont.edu/hmc_fac_pub/103/)</sup>

其他被计数的结构包括：从 \( (0,0) \) 到直线 \( x = n-1 \) 的格路，使用上斜、下斜和水平双步；边标号图 \( C_2 \times P_{n-1} \) 的完美匹配，等价地即 \( 2 \times (n-1) \) 圆柱网格的多米诺铺砌；以及长度为 \( n-1 \)、避免出现奇数长度零串的三进制词。<sup>[1](https://oeis.org/A000129)</sup>\( k \) 阶广义佩尔数满足 \( P_n^{(k)} = 2P_{n-1}^{(k)} + \cdots + P_{n-k}^{(k)} \)，已通过格路和双色有序分拆给出了组合解释。<sup>[10](https://cs.uwaterloo.ca/journals/JIS/VOL23/Bravo/bravo4.html)</sup>

## 伴随的佩尔–卢卡斯数

伴随序列，即佩尔–卢卡斯数 \( Q_n \)，满足同一递推关系 \( Q_n = 2Q_{n-1} + Q_{n-2} \)，初值为 \( Q_0 = Q_1 = 2 \)，得到 2, 2, 6, 14, 34, 82, 198, 478, 1154, 2786, 6726, ...。其比内型公式是两个幂之和而非之差：<sup>[6](https://mathworld.wolfram.com/Pell-LucasNumber.html)</sup>

\[ Q_n = (1-\sqrt{2})^n + (1+\sqrt{2})^n. \]

每个佩尔–卢卡斯数都是偶数。折半序列 \( Q_n/2 \) 承载着素性方面的兴趣：要使 \( Q_n/2 \) 为素数，\( n \) 本身必须是素数或 2 的幂。该族中已证明的最大素数的指标为 9679，有 3705 位十进制数字；MathWorld 列出的最大已知可能素数指标为 278321，有 106,535 位十进制数字，由 R. Price 于 2018 年 12 月 7 日发现。伴随序列也出现在当前研究中：最近一项关于有限域上分圆矩阵的研究证明，某个行列式消失当且仅当伴随佩尔项 \( Q_p \equiv 2 \pmod{p^2} \)。<sup>[6](https://mathworld.wolfram.com/Pell-LucasNumber.html)</sup><sup> • </sup><sup>[6](https://mathworld.wolfram.com/Pell-LucasNumber.html)</sup><sup> • </sup><sup>[11](https://arxiv.org/abs/2501.01667)</sup>

## 名称与历史

早在该序列获得现代名称之前，这一递推关系就已为人所知。关系 \( a(n+1) = 2a(n) + a(n-1) \) 连同 \( a(1) = 1 \)、\( a(2) = 2 \) 曾被士麦那的忒翁（Theon of Smyrna）使用，而 A001333 和 A000129 两个序列合在一起，给出了他记述中的“对角线数”。<sup>[1](https://oeis.org/A000129)</sup>

这一名称纪念的是约翰·佩尔（John Pell，1611–1685），一位从事代数与数论研究的英国数学家，他于 1668 年出版了直到 100,000 的所有整数的因子表。<sup>[12](https://mathshistory.st-andrews.ac.uk//Biographies/Pell/)</sup>这一归属通常被认为是欧拉的错误：方程 \( nx^2 + 1 = y^2 \) 早在佩尔之前约一千年就由婆罗摩笈多研究过，据说欧拉误将布龙克尔（Brouncker）关于该方程的工作挂到了佩尔名下。<sup>[7](https://mathshistory.st-andrews.ac.uk/HistTopics/Pell/)</sup><sup> • </sup><sup>[3](https://www.parabola.unsw.edu.au/sites/default/files/2024-02/vol59_no2_4.pdf)</sup>一个使情况复杂的事实是，该方程确实出现在佩尔的学生约翰·拉恩（Johann Rahn）在其帮助下写成的书中，因此这一命名也许并非完全任意。<sup>[12](https://mathshistory.st-andrews.ac.uk//Biographies/Pell/)</sup>欧拉在 1750 年 8 月 10 日致哥德巴赫的信中将该方程归功于佩尔，此后这一名称便固定下来，既用于方程，也用于由其 \( n = 2 \) 情形导出的数。<sup>[13](https://cdn.ima.org.uk/wp/wp-content/uploads/2018/10/HN-Pells-Contribution-to-Mathematics-from-MT-Oct-18.pdf)</sup><sup> • </sup><sup>[3](https://www.parabola.unsw.edu.au/sites/default/files/2024-02/vol59_no2_4.pdf)</sup>

## References

1. [Pell numbers, A000129, OEIS](https://oeis.org/A000129)
2. [Silver ratio, PlanetMath](https://planetmath.org/silverratio)
3. [√2 families of Pythagorean triples, Parabola (UNSW), Vol. 59 No. 2](https://www.parabola.unsw.edu.au/sites/default/files/2024-02/vol59_no2_4.pdf)
4. [Mathematica Tutorial, Part 1.5: Recurrences, Brown University](https://www.cfm.brown.edu/people/dobrush/am33/Mathematica/ch5/recurrence.html)
5. [Tilings of (2 × n)-boards, Journal of Integer Sequences, Vol. 12 (Stenson)](https://cs.uwaterloo.ca/journals/JIS/VOL12/Stenson/stenson8.pdf)
6. [Pell-Lucas Number, Wolfram MathWorld](https://mathworld.wolfram.com/Pell-LucasNumber.html)
7. [Pell's equation, MacTutor History of Mathematics](https://mathshistory.st-andrews.ac.uk/HistTopics/Pell/)
8. [Archimedes' Cattle Problem, Archive of Formal Proofs](https://isa-afp.org/entries/Archimedes_Cattle.html)
9. [Tiling Proofs of Recent Sum Identities Involving Pell Numbers, Benjamin, Plott, and Sellers](https://scholarship.claremont.edu/hmc_fac_pub/103/)
10. [Combinatorial Interpretation of Generalized Pell Numbers, Journal of Integer Sequences, Vol. 23 (Bravo, Herrera, Ramírez)](https://cs.uwaterloo.ca/journals/JIS/VOL23/Bravo/bravo4.html)
11. [The Pell sequence and cyclotomic matrices involving squares over finite fields, arXiv:2501.01667](https://arxiv.org/abs/2501.01667)
12. [John Pell (1611–1685), MacTutor History of Mathematics](https://mathshistory.st-andrews.ac.uk//Biographies/Pell/)
13. [Historical Notes: Pell's Contribution to Mathematics, Mathematics Today (IMA)](https://cdn.ima.org.uk/wp/wp-content/uploads/2018/10/HN-Pells-Contribution-to-Mathematics-from-MT-Oct-18.pdf)

---
*Initially written Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 数与代数 › Number theory

Copyright 2026 Edgepedia

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

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

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