Fibonacci Sequence Calculator

Generate Fibonacci numbers and explore the golden ratio

Sequence Summary

Terms Generated

20

Last Term F(19)

4181

Golden Ratio φ

1.61803399

Sequence Values

Sequence Table

Index (n)F(n)F(n)/F(n-1)
F(0)0-
F(1)1-
F(2)11
F(3)22
F(4)31.5
F(5)51.66666667
F(6)81.6
F(7)131.625
F(8)211.61538462
F(9)341.61904762
F(10)551.61764706
F(11)891.61818182
F(12)1441.61797753
F(13)2331.61805556
F(14)3771.61802575
F(15)6101.61803714
F(16)9871.61803279
F(17)1,5971.61803445
F(18)2,5841.61803381
F(19)4,1811.61803406

Understanding the Fibonacci Sequence

What Is the Fibonacci Sequence?

The Fibonacci sequence starts with 0, 1 and each subsequent term is the sum of the two preceding ones: F(n) = F(n-1) + F(n-2). The sequence begins 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144...

The Golden Ratio

The ratio F(n)/F(n-1) converges to the golden ratio φ ≈ 1.6180339887... as n grows. This irrational number appears throughout nature, art, and architecture. The convergence is remarkably fast — by F(15), the ratio is accurate to 4 decimal places.

Binet's Formula

F(n) = (φⁿ − ψⁿ)/√5 where φ = (1+√5)/2 and ψ = (1−√5)/2. This closed-form formula computes any Fibonacci number directly without iteration.

Fibonacci in Nature

The sequence appears in spiral shells, sunflower seed patterns, pinecone scales, branching trees, flower petals (3, 5, 8, 13, 21), and the breeding patterns of rabbits (as Fibonacci originally described).

Applications

Financial markets (Fibonacci retracement), computer science (Fibonacci heap data structure), algorithms (dynamic programming), art and architecture (golden ratio proportions), and biology (phyllotaxis patterns).

Practical Example

First 10 Fibonacci numbers: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34. Ratio F(10)/F(9) = 34/21 = 1.6190... already close to φ ≈ 1.6180.

By F(20) = 6765, the ratio F(20)/F(19) = 6765/4181 ≈ 1.618034, matching φ to 6 decimal places.

Perguntas Frequentes

Who discovered the Fibonacci sequence?

Leonardo of Pisa (Fibonacci) introduced it to Western mathematics in 1202 in his book Liber Abaci. Indian mathematicians had described it centuries earlier, around 200 BCE.

What is the golden ratio?

φ = (1 + √5)/2 ≈ 1.618034. The ratio of consecutive Fibonacci numbers converges to φ. It appears in pentagons, logarithmic spirals, and is considered aesthetically pleasing.

How fast do Fibonacci numbers grow?

They grow exponentially: F(n) ≈ φⁿ/√5. F(50) = 12,586,269,025. The number of digits in F(n) grows linearly, adding about 0.209 digits per step.

What is the relationship to Lucas numbers?

Lucas numbers follow the same recurrence but start with 2, 1 instead of 0, 1: 2, 1, 3, 4, 7, 11, 18... They satisfy L(n) = F(n-1) + F(n+1).

Why do Fibonacci numbers appear in nature?

Growth patterns that optimize packing efficiency naturally produce Fibonacci numbers. Spiral arrangements of leaves and seeds that minimize overlap follow Fibonacci patterns due to the golden angle (137.5°).

Disclaimer: This calculator generates exact Fibonacci numbers up to JavaScript's integer limit.

References

  1. Wikipedia. "Fibonacci sequence." en.wikipedia.org
  2. Khan Academy. "Fibonacci sequence." khanacademy.org

Comentários