# 斐波那契数列

斐波那契数列由递推式 F(n) = F(n−1) + F(n−2) 定义，初始值为 F(0) = 0、F(1) = 1，是一列整数，开头为 0、1、1、2、3、5、8、13、21、34、55、89、144、233、377、610、987、1597、2584、4181、6765、10946、17711、28657、46368、75025、121393、196418、317811、514229、832040、1346269，并由此继续下去。<sup>[1](https://oeis.org/A000045)</sup>

| 关键事实 | 详情 |
|---|---|
| 定义 | F(n) = F(n−1) + F(n−2)，F(0) = 0，F(1) = 1；一个特征为 (1, 1) 的二阶齐次线性递推<sup>[1](https://oeis.org/A000045)</sup><sup> • </sup><sup>[2](https://oeis.org/wiki/Fibonacci_numbers)</sup> |
| 闭式 | 比内公式 F(n) = (1/√5)(φⁿ − (−φ)⁻ⁿ)；对 n ≥ 0，F(n) 是 φⁿ/√5 的最近整数<sup>[3](https://encyclopediaofmath.org/wiki/Fibonacci_numbers)</sup> |
| 增长 | F(n) 以 φⁿ/√5 的速度增长；F(1,000,000) 有 208,988 个十进制数字，F(n) 约为 0.209n 位<sup>[4](https://aicassindra.com/blogs/algorithms/fibonacci_fast.html)</sup> |
| 整除性 | gcd(F(m), F(n)) = F(gcd(m, n))；满足 p ≡ ±1 (mod 5) 的素数 p 整除 F(p−1)，满足 p ≡ ±2 (mod 5) 的素数 p 整除 F(p+1)<sup>[3](https://encyclopediaofmath.org/wiki/Fibonacci_numbers)</sup> |
| 纪录素数 | F(11964299)，一个 2,500,391 位的可能素数，由 Ryan Propper 于 2025 年 6 月发现；已知 57 个斐波那契（可能）素数<sup>[5](https://pzktupel.de/Primetables/TableFibonacci.php)</sup> |
| 未解问题 | 素数斐波那契数之集是否为有限集，仍未解决<sup>[3](https://encyclopediaofmath.org/wiki/Fibonacci_numbers)</sup> |
| 历史 | 在印度，由 Pingala 的传统所描述，并在斐波那契的《计算之书》（1202 年）之前由 Virahanka、Gopala 和 Hemachandra 明确表述；由 Édouard Lucas 在 1870 年代命名<sup>[6](https://www.sciencedirect.com/science/article/pii/0315086085900217)</sup><sup> • </sup><sup>[7](https://functions.wolfram.com/IntegerFunctions/Fibonacci/introductions/FibonacciLucasNumbers/ShowAll.html)</sup> |

## 定义与基本性质

该数列满足一个特征为 (1, 1) 的二阶齐次线性递推：F₀ = 0，F₁ = 1，且对 n ≥ 2 有 Fₙ = Fₙ₋₁ + Fₙ₋₂。<sup>[2](https://oeis.org/wiki/Fibonacci_numbers)</sup> 递推可通过 F₀ = 0 与 F₋ₙ = (−1)ⁿFₙ 向负指标延伸，递推式与比内公式仍然成立。<sup>[3](https://encyclopediaofmath.org/wiki/Fibonacci_numbers)</sup>

指标运算依赖于加法公式

\[ F_{m+n} = F_{m-1}F_n + F_m F_{n+1}, \]

由此可得 F₂ₙ = Fₙ(Fₙ₊₁ + Fₙ₋₁) 等推论。<sup>[3](https://encyclopediaofmath.org/wiki/Fibonacci_numbers)</sup> 每个正整数都可唯一地表示为互不相同且互不相邻的若干斐波那契数之和；这就是齐肯多夫定理，以 E. Zeckendorf（1901–1983）命名，其表示可用贪心法构造。<sup>[8](https://encyclopediaofmath.org/wiki/Zeckendorf%20Representation)</sup>

## 闭式与黄金比

比内公式用黄金比给出 F(n) 的精确值：

\[ F_n = \frac{1}{\sqrt{5}}\left(\varphi^n - (-\varphi)^{-n}\right), \qquad \varphi = \frac{1+\sqrt{5}}{2}. \]

等价地，Fₙ = (1/√5)(φⁿ − φ̄ⁿ)，其中 φ̄ = −1/φ。<sup>[2](https://oeis.org/wiki/Fibonacci_numbers)</sup> 对 n ≥ 0，该公式意味着 Fₙ 是 φⁿ/√5 的最近整数，因此对 φⁿ/√5 四舍五入即可精确重现该数列。<sup>[3](https://encyclopediaofmath.org/wiki/Fibonacci_numbers)</sup> 浮点求值是另一回事：在有效精度约为 53 个二进制位的 IEEE-754 双精度下，比内公式首次在 n = 71 时给出错误值，因此不得用于精确计算。<sup>[4](https://aicassindra.com/blogs/algorithms/fibonacci_fast.html)</sup>

相邻斐波那契数之比随 n 增大而趋于 φ，这最早由苏格兰数学家 Robert Simson 于 1753 年证明。<sup>[9](https://mathworld.wolfram.com/FibonacciNumber.html)</sup> 其机制在递推式本身即可看出：若 α = lim Fₙ₊₁/Fₙ 存在，将递推式除以 Fₙ 得 α = 1 + 1/α，这正是黄金比的定义恒等式。<sup>[10](https://www.math.hkust.edu.hk/~machas/fibonacci.pdf)</sup> Johannes Kepler 早已凭经验观察到这一收敛，他写道：“5 比 8 近乎就是 8 比 13，而 8 比 13 又近乎就是 13 比 21”。<sup>[2](https://oeis.org/wiki/Fibonacci_numbers)</sup>

## 数论性质

**整除性。** 最大公约数满足 gcd(F(m), F(n)) = F(gcd(m, n))，故当 m 整除 n 时 F(m) 整除 F(n)。<sup>[3](https://encyclopediaofmath.org/wiki/Fibonacci_numbers)</sup> 对素数 p，p 整除 F(m) 的一个充分条件是：当 p ≡ 1 或 4 (mod 5) 时 p − 1 整除 m，当 p ≡ 2 或 3 (mod 5) 时 p + 1 整除 m，或当 p = 5 时 5 整除 m；这实质上就是 Hardy 与 Wright 书中的定理 180。<sup>[1](https://oeis.org/A000045)</sup> 等价地，p ≡ ±1 (mod 5) 蕴含 p 整除 F(p−1)，p ≡ ±2 (mod 5) 蕴含 p 整除 F(p+1)。<sup>[3](https://encyclopediaofmath.org/wiki/Fibonacci_numbers)</sup> Lucas 还证明了，第 n 个斐波那契数 Fₙ 的本原素因子 q ≠ 5 必满足 q ≡ ±1 模 n。<sup>[11](https://arxiv.org/pdf/2608.05319)</sup>

有两个标准工具来组织这套算术。对素数 p，出现秩 z(p) 是使 p 整除 Fₖ 的最小正整数 k，它对每个素数 p 都有明确定义；皮萨诺周期 π(n) 是斐波那契数列模 n 的周期。<sup>[12](https://arxiv.org/abs/2604.17847)</sup> 这些周期小到可以利用：π(10) = 60，故 F(n) 的末位数字等于 F(n mod 60) 的末位数字，且模 m 的皮萨诺周期至多为 6m。<sup>[4](https://aicassindra.com/blogs/algorithms/fibonacci_fast.html)</sup>

**斐波那契素数。** 斐波那契素数就是本身为素数的斐波那契数；已知的指标包括 n = 3、4、5、7、11、13、17、23、29、43、47、83、131、137、359、431、433、449、509、569、571、2971、4723、5387、9311 及以后。<sup>[13](https://t5k.org/top20/page.php?id=39)</sup> 素数斐波那契数之集是否为有限集，尚未解决。<sup>[3](https://encyclopediaofmath.org/wiki/Fibonacci_numbers)</sup>

## 数字一览

由于 Fₙ ≈ φⁿ/√5，F(n) 的十进制位数约为 n·log₁₀(φ)，大致为 0.209n；F(1,000,000) 有 208,988 位。<sup>[4](https://aicassindra.com/blogs/algorithms/fibonacci_fast.html)</sup> 截至 2025 年 6 月，已知最大的斐波那契（可能）素数是 F(11964299)，一个 2,500,391 位的可能素数，由 Ryan Propper 发现；纪录表共列出 57 个已知的斐波那契（可能）素数。<sup>[5](https://pzktupel.de/Primetables/TableFibonacci.php)</sup>

**快速计算。** 朴素的迭代递推对第一百万项及以后变得昂贵，这促使人们采用倍增法。<sup>[14](https://web.williams.edu/Mathematics/sjmiller/public_html/math/papers/ComputingFibonacciRevised.pdf)</sup> 快速倍增法利用

\[ F_{2k} = F_k\,(2F_{k+1} - F_k), \qquad F_{2k+1} = F_k^2 + F_{k+1}^2, \]

从 (F(k), F(k+1)) 算出 (F(2k), F(2k+1))，只需 O(log n) 步，代价主要来自大整数乘法。<sup>[4](https://aicassindra.com/blogs/algorithms/fibonacci_fast.html)</sup>

## 与相关数列的比较

卢卡斯数 Lₙ 满足同一递推，但起始值为 L₀ = 2、L₁ = 1，给出 2、1、3、4、7、11、18、29 等。<sup>[15](https://www.parabola.unsw.edu.au/sites/default/files/2024-02/vol56_no1_1_0.pdf)</sup><sup> • </sup><sup>[3](https://encyclopediaofmath.org/wiki/Fibonacci_numbers)</sup> 对 n ≥ 1，两个数列由诸如 Lₙ = Fₙ + 2Fₙ₋₁ 和 Lₙ = Fₙ₊₁ + Fₙ₋₁ 的恒等式相联系；此外还有 F₂ₙ = LₙFₙ。它们的比内形式为 Lₙ = φⁿ + φ̄ⁿ 与 Fₙ = (φⁿ − φ̄ⁿ)/√5，其中 φ̄ = −1/φ。<sup>[15](https://www.parabola.unsw.edu.au/sites/default/files/2024-02/vol56_no1_1_0.pdf)</sup> 形式上，斐波那契数与卢卡斯数分别是参数 P = 1、Q = 1 的第一类和第二类卢卡斯序列。<sup>[3](https://encyclopediaofmath.org/wiki/Fibonacci_numbers)</sup> 2025 年一篇经同行评审的综述在二次线性递推关系的共同框架下，将斐波那契数与卢卡斯数与 Pell 及 Pell–Lucas 多项式、切比雪夫多项式统一起来，并排记录它们的比内形式、卡西尼恒等式和卡塔兰公式。<sup>[16](https://www.mdpi.com/2073-8994/17/5/714)</sup> 更一般地，任何对所有整数 n（包括负整数）满足 G(n+2) = G(n+1) + G(n) 的数列都由两个起始值确定，因此斐波那契数列与卢卡斯数列张成同一个二维族。<sup>[17](https://r-knott.surrey.ac.uk/fibonacci/FibPhiLucasFormulae.PDF)</sup>

## 在自然界中的出现及关于黄金比的说法

一个自然场景是叶序，即叶与小花的排列方式。交替斐波那契数之比是黄金比的渐近分数，被用来度量相邻叶之间转过的圈数比例：榆树和椴树为 1/2，山毛榉和榛树为 1/3，橡树和苹果为 2/5，杨树和玫瑰为 3/8，柳树和扁桃为 5/13。<sup>[9](https://mathworld.wolfram.com/FibonacciNumber.html)</sup> 在向日葵中，小花形成顺时针和逆时针缠绕的螺旋，这些副螺旋线的数目体现了斐波那契数。<sup>[10](https://www.math.hkust.edu.hk/~machas/fibonacci.pdf)</sup> 松果的螺旋数几乎总是两个斐波那契数之比。<sup>[18](https://mathshistory.st-andrews.ac.uk/Publications/fibonacci.pdf)</sup> 这有其机制基础：服从 Hofmeister 生长原理的叶序系统，其相邻副螺旋线数之比趋于黄金比 τ = (1 + √5)/2 ≈ 1.618。<sup>[19](https://royalsocietypublishing.org/rsos/article-pdf/doi/10.1098/rsos.160091/225492/rsos.160091.pdf)</sup>

定量记录很有力，但并非普遍成立。一项公民科学研究收集了 657 个向日葵花盘的数据；在其最可靠的子集中，评估了 768 个顺时针或逆时针副螺旋线数，其中 565 个是斐波那契数，另有 67 个具有某一预定类型的斐波那契结构。<sup>[19](https://royalsocietypublishing.org/rsos/article-pdf/doi/10.1098/rsos.160091/225492/rsos.160091.pdf)</sup> 同一项研究首次系统地报告了不具有斐波那契结构的向日葵花盘，并发现比斐波那契数少一的副螺旋线数出现得显著多于多一的。<sup>[19](https://royalsocietypublishing.org/rsos/article-pdf/doi/10.1098/rsos.160091/225492/rsos.160091.pdf)</sup> 植物学家 Cooke 建议，在植物学与斐波那契数列之间建立关联时应持谨慎态度。<sup>[9](https://mathworld.wolfram.com/FibonacciNumber.html)</sup>

植物之外的大众说法则更站不住脚。数学家 Keith Devlin 指出，没有证据支持将黄金比与鹦鹉螺壳或古希腊美学相联系的说法，并且有充分理由假定两者都是错误的；他收回了自己早先关于鹦鹉螺的说法，指出螺壳按对数螺线生长，但其恒定角并非黄金比。<sup>[20](https://web.archive.org/web/20220225040027/www.maa.org/external_archive/devlin/devlin_05_07.html)</sup> 在他看来，经得起审视的是算术部分：相邻斐波那契项之比确实趋于黄金比，而关于植物生长的黄金比说法大体正确。<sup>[20](https://web.archive.org/web/20220225040027/www.maa.org/external_archive/devlin/devlin_05_07.html)</sup>

## 历史

该数列最早出现在古印度数学家 Pingala（公元前 450 年或 200 年）的著作中，通过一种与帕斯卡三角相关的“韵律之山”构造。<sup>[7](https://functions.wolfram.com/IntegerFunctions/Fibonacci/introductions/FibonacciLucasNumbers/ShowAll.html)</sup> 梵语诗歌学者研究了其背后的计数问题，即计算由长、短音节构成的 n 个摩拉的诗行数，时间也许早至公元前 200 年；约在 700 年，Virahanka 推导出递推恒等式 F(n) = F(n−1) + F(n−2)。<sup>[21](https://www.parabola.unsw.edu.au/sites/default/files/2024-02/vol56_no1_3_0.pdf)</sup> 经同行评审的历史研究将斐波那契数及其生成方法归功于 Virahanka（公元 600 至 800 年间）、Gopala（公元 1135 年之前）和 Hemachandra（约公元 1150 年），均早于斐波那契。<sup>[6](https://www.sciencedirect.com/science/article/pii/0315086085900217)</sup> Virahanka 在其普拉克里特语著作《Vṛttajātisamuccya》中，基于 Pingala 的《Chandaḥsūtra》，明确描述了该数列及其理由。<sup>[22](https://www.esamskriti.com/essays/pdf/The_Virahaka_Fibonacci_and_Related_Sequ.pdf)</sup>

在欧洲，比萨的列奥纳多，即斐波那契（约 1170–1250），于 1202 年在《计算之书》中通过理想化的兔子种群问题研究了该数列，其中每对新生的兔子从两个月大开始繁殖。<sup>[7](https://functions.wolfram.com/IntegerFunctions/Fibonacci/introductions/FibonacciLucasNumbers/ShowAll.html)</sup><sup> • </sup><sup>[9](https://mathworld.wolfram.com/FibonacciNumber.html)</sup> 他的兔子问题产生数列 1、1、2、3、5、8、13、21、34、55，斐波那契省略了第一项；前 14 个斐波那契数出现在他 1228 年的手稿中。<sup>[18](https://mathshistory.st-andrews.ac.uk/Publications/fibonacci.pdf)</sup><sup> • </sup><sup>[3](https://encyclopediaofmath.org/wiki/Fibonacci_numbers)</sup> 后来的欧洲研究者包括 Kepler（1608）、Girard（1634）、Simson（1753）、Léger（1837）、Lucas（1870、1876–1880）以及 Hardy 与 Wright（1938）。<sup>[7](https://functions.wolfram.com/IntegerFunctions/Fibonacci/introductions/FibonacciLucasNumbers/ShowAll.html)</sup> 正是 François Édouard Anatole Lucas 给斐波那契数起了这个名字，并研究了这个后来被称为卢卡斯数的姊妹数列。<sup>[7](https://functions.wolfram.com/IntegerFunctions/Fibonacci/introductions/FibonacciLucasNumbers/ShowAll.html)</sup>

## 应用与近期进展

有文献记载的应用横跨多个领域。斐波那契数与卢卡斯数出现在数论与素性检验中，出现在计算机科学的算法设计与分析中，出现在编码理论中，也出现在对自然界规则模式的识别中；而相关的 Pell 与 Pell–Lucas 多项式则服务于丢番图分析和连分数。<sup>[16](https://www.mdpi.com/2073-8994/17/5/714)</sup> 建立在斐波那契递推之上的卢卡斯序列长期用于素性检验：2026 年是 Lucas 1876 年证明 M127 = 2¹²⁷ − 1（一个 39 位数）为素数 150 周年。<sup>[11](https://arxiv.org/pdf/2608.05319)</sup> 齐肯多夫表示还给出一个简单的换算窍门：由于英里到公里的换算系数（≈1.609）接近黄金比（≈1.618），把以英里计的距离改写为互不相邻的斐波那契数之和，再将每个指标移一位，即可在不做乘法的情况下近似换算为公里。<sup>[8](https://encyclopediaofmath.org/wiki/Zeckendorf%20Representation)</sup>

近期工作仍沿经典路线推进。一篇 2026 年的 arXiv 预印本研究斐波那契数的素因子分布、斐波那契数列模整数的周期性，以及 Fₘ 与欧拉函数之间的相互作用。<sup>[12](https://arxiv.org/abs/2604.17847)</sup> 在计算方面，2025 年 6 月发现的 2,500,391 位纪录可能素数 F(11964299)，延续了一个因子分解传统，其源头可追溯到 1988 年《计算数学》一篇论文中公布的已知素因子表：n < 999 的 F(n) 与 n < 500 的 L(n)。<sup>[5](https://pzktupel.de/Primetables/TableFibonacci.php)</sup><sup> • </sup><sup>[23](https://www.ams.org//journals/mcom/1988-50-181/S0025-5718-1988-0917832-6/S0025-5718-1988-0917832-6.pdf)</sup>

## References

1. [A000045 – The On-Line Encyclopedia of Integer Sequences](https://oeis.org/A000045)
2. [Fibonacci numbers – OeisWiki](https://oeis.org/wiki/Fibonacci_numbers)
3. [Fibonacci numbers – Encyclopedia of Mathematics](https://encyclopediaofmath.org/wiki/Fibonacci_numbers)
4. [Fibonacci Computation, in depth: fast doubling, big-integer cost and modular answers](https://aicassindra.com/blogs/algorithms/fibonacci_fast.html)
5. [Fibonacci (probable) Primes – prime records table](https://pzktupel.de/Primetables/TableFibonacci.php)
6. [The so-called fibonacci numbers in ancient and medieval India – Historia Mathematica (1985)](https://www.sciencedirect.com/science/article/pii/0315086085900217)
7. [Introduction to the Fibonacci and Lucas numbers – Wolfram Functions](https://functions.wolfram.com/IntegerFunctions/Fibonacci/introductions/FibonacciLucasNumbers/ShowAll.html)
8. [Zeckendorf Representation – Encyclopedia of Mathematics](https://encyclopediaofmath.org/wiki/Zeckendorf%20Representation)
9. [Fibonacci Number – Wolfram MathWorld](https://mathworld.wolfram.com/FibonacciNumber.html)
10. [Fibonacci Numbers and the Golden Ratio – HKUST lecture notes](https://www.math.hkust.edu.hk/~machas/fibonacci.pdf)
11. [The sesquicentennial of the prime number 2^127 − 1 – arXiv (2026)](https://arxiv.org/pdf/2608.05319)
12. [Sophie Germain Primes and the Totient of Fibonacci Numbers – arXiv (2026)](https://arxiv.org/abs/2604.17847)
13. [PrimePage Primes: Fibonacci Number](https://t5k.org/top20/page.php?id=39)
14. [Computing Fibonacci numbers efficiently – Williams College lecture notes](https://web.williams.edu/Mathematics/sjmiller/public_html/math/papers/ComputingFibonacciRevised.pdf)
15. [A geometric approach to Fibonacci and Lucas sequences – Parabola, UNSW](https://www.parabola.unsw.edu.au/sites/default/files/2024-02/vol56_no1_1_0.pdf)
16. [Overview of Six Number/Polynomial Sequences Defined by Quadratic Recurrence Relations – Symmetry, MDPI (2025)](https://www.mdpi.com/2073-8994/17/5/714)
17. [Definitions and Notation – Fibonacci and Lucas Formulae, Ron Knott, University of Surrey](https://r-knott.surrey.ac.uk/fibonacci/FibPhiLucasFormulae.PDF)
18. [On the origin of the Fibonacci Sequence – MacTutor, St Andrews](https://mathshistory.st-andrews.ac.uk/Publications/fibonacci.pdf)
19. [Novel Fibonacci and non-Fibonacci structure in the sunflower – Royal Society Open Science](https://royalsocietypublishing.org/rsos/article-pdf/doi/10.1098/rsos.160091/225492/rsos.160091.pdf)
20. [Devlin's Angle: The Myth That Will Not Go Away – MAA (archived)](https://web.archive.org/web/20220225040027/www.maa.org/external_archive/devlin/devlin_05_07.html)
21. [Fibonacci numbers: A brief history and counting problems – Parabola, UNSW](https://www.parabola.unsw.edu.au/sites/default/files/2024-02/vol56_no1_3_0.pdf)
22. [The Virahāṅka-Fibonacci and Related Sequences](https://www.esamskriti.com/essays/pdf/The_Virahaka_Fibonacci_and_Related_Sequ.pdf)
23. [Factorizations of Fibonacci and Lucas numbers – Mathematics of Computation (1988)](https://www.ams.org//journals/mcom/1988-50-181/S0025-5718-1988-0917832-6/S0025-5718-1988-0917832-6.pdf)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 30, 2026; Oct 15, 2026 · Edited: Sep 30, 2026; Oct 15, 2026 · Last review: 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/fibonacci-sequence

English original: https://www.edgepedia.org/fibonacci-sequence
