Skip to main content

如何计算Fibonacci

learn.whatIsHeading

The Fibonacci sequence is a series where each number is the sum of the two preceding ones: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34... The ratio of consecutive Fibonacci numbers approaches the golden ratio φ ≈ 1.618.

分步指南

  1. 1F(0) = 0, F(1) = 1
  2. 2F(n) = F(n-1) + F(n-2)
  3. 3Closed form (Binet's formula): F(n) = (φⁿ − ψⁿ) / √5
  4. 4φ = (1+√5)/2 ≈ 1.6180339887 (golden ratio)

例题解析

输入
F(10)
结果
55
0,1,1,2,3,5,8,13,21,34,55
输入
F(20)
结果
6,765
输入
F(50)
结果
12,586,269,025
About 12.6 billion

准备好计算了吗?尝试免费的 Fibonacci 计算器

自己尝试一下 →

设置

隐私条款关于© 2026 PrimeCalcPro