Definition and formulas
- Recurrence: F(0) = 0, F(1) = 1, F(n) = F(n − 1) + F(n − 2) for n ≥ 2
- Binet's formula: F(n) = (φⁿ − ψⁿ) ÷ √5, with φ = (1 + √5)/2 ≈ 1.618034 and ψ = (1 − √5)/2 ≈ −0.618034
- Rounding shortcut: F(n) is the nearest integer to φⁿ ÷ √5 for n ≥ 0
- Ratio: F(n + 1) ÷ F(n) approaches the golden ratio φ as n grows
- Sum: F(0) + F(1) + … + F(n) = F(n + 2) − 1
- Test: a positive integer x is a Fibonacci number exactly when 5x² + 4 or 5x² − 4 is a perfect square
Fibonacci numbers F(0) to F(50)
Some books start the sequence at F(1) = 1, F(2) = 1. The values are the same; only the index shifts.
| n | F(n) | F(n) ÷ F(n − 1) |
|---|---|---|
| 0 | 0 | — |
| 1 | 1 | — |
| 2 | 1 | 1.000000000 |
| 3 | 2 | 2.000000000 |
| 4 | 3 | 1.500000000 |
| 5 | 5 | 1.666666667 |
| 6 | 8 | 1.600000000 |
| 7 | 13 | 1.625000000 |
| 8 | 21 | 1.615384615 |
| 9 | 34 | 1.619047619 |
| 10 | 55 | 1.617647059 |
| 11 | 89 | 1.618181818 |
| 12 | 144 | 1.617977528 |
| 13 | 233 | 1.618055556 |
| 14 | 377 | 1.618025751 |
| 15 | 610 | 1.618037135 |
| 16 | 987 | 1.618032787 |
| 17 | 1,597 | 1.618034448 |
| 18 | 2,584 | 1.618033813 |
| 19 | 4,181 | 1.618034056 |
| 20 | 6,765 | 1.618033963 |
| 21 | 10,946 | 1.618033999 |
| 22 | 17,711 | 1.618033985 |
| 23 | 28,657 | 1.618033990 |
| 24 | 46,368 | 1.618033988 |
| 25 | 75,025 | 1.618033989 |
| 26 | 121,393 | 1.618033989 |
| 27 | 196,418 | 1.618033989 |
| 28 | 317,811 | 1.618033989 |
| 29 | 514,229 | 1.618033989 |
| 30 | 832,040 | 1.618033989 |
| 31 | 1,346,269 | 1.618033989 |
| 32 | 2,178,309 | 1.618033989 |
| 33 | 3,524,578 | 1.618033989 |
| 34 | 5,702,887 | 1.618033989 |
| 35 | 9,227,465 | 1.618033989 |
| 36 | 14,930,352 | 1.618033989 |
| 37 | 24,157,817 | 1.618033989 |
| 38 | 39,088,169 | 1.618033989 |
| 39 | 63,245,986 | 1.618033989 |
| 40 | 102,334,155 | 1.618033989 |
| 41 | 165,580,141 | 1.618033989 |
| 42 | 267,914,296 | 1.618033989 |
| 43 | 433,494,437 | 1.618033989 |
| 44 | 701,408,733 | 1.618033989 |
| 45 | 1,134,903,170 | 1.618033989 |
| 46 | 1,836,311,903 | 1.618033989 |
| 47 | 2,971,215,073 | 1.618033989 |
| 48 | 4,807,526,976 | 1.618033989 |
| 49 | 7,778,742,049 | 1.618033989 |
| 50 | 12,586,269,025 | 1.618033989 |