List of Fibonacci Numbers
Generate exact arbitrary-precision Fibonacci lists up to index 1,000, extract custom slices, verify membership via Gessel’s square test, decompose integers with Zeckendorf’s theorem, and inspect the Golden Spiral tiling.
Generate Fibonacci Sequence
Exact BigIntUses Gessel's exact square test (5n^2 +/- 4) and greedy non-consecutive Fibonacci representation.
Golden Spiral & Fibonacci Squares
Quarter-circle arcs inscribed inside consecutive Fibonacci tile squares (1, 1, 2, 3, 5, 8, 13, 21)
Indexed Fibonacci Sequence Table
| Index n | Fibonacci Number F(n) | Ratio F(n)/F(n-1) | Properties |
|---|
Fibonacci Numbers Definition and Master Recurrence
The Fibonacci sequence is an integer progression beginning with F₀ = 0 and F₁ = 1 in which every subsequent term equals the sum of the two preceding terms (Fₙ = Fₙ₋₁ + Fₙ₋₂). Its initial terms are 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, and consecutive ratios converge rapidly to the Golden Ratio φ ≈ 1.61803399.
Fibonacci Recurrence Definition and Indexed Reference List
Named after Leonardo of Pisa (known posthumously as Fibonacci), who introduced the rabbit-population puzzle in his 1202 treatise Liber Abaci (though Indian prosody mathematicians Virahanka, Gopala, and Hemachandra had studied the exact counts centuries earlier in Sanskrit poetic meters), the Fibonacci numbers form the archetype of second-order linear homogeneous recurrence relations with constant coefficients:
Because each number combines two earlier entries, values accelerate exponentially by roughly every index step: , , , and . For quick step-by-step recurrence exploration alongside other algebraic series tools, visit our Fibonacci sequence generator and compare additive versus constant-difference progressions in our arithmetic sequence calculator and geometric sequence calculator.
| Index | Fibonacci Value | Index | Fibonacci Value |
|---|---|---|---|
| F(0) | 0 | F(13) | 233 |
| F(1) | 1 | F(14) | 377 |
| F(2) | 1 | F(15) | 610 |
| F(3) | 2 | F(16) | 987 |
| F(4) | 3 | F(17) | 1,597 |
| F(5) | 5 | F(18) | 2,584 |
| F(6) | 8 | F(19) | 4,181 |
| F(7) | 13 | F(20) | 6,765 |
| F(8) | 21 | F(25) | 75,025 |
| F(9) | 34 | F(30) | 832,040 |
| F(10) | 55 | F(40) | 102,334,155 |
| F(11) | 89 | F(50) | 12,586,269,025 |
| F(12) | 144 | F(60) | 1,548,008,755,920 |
Binet’s Formula, Matrix Form, and Golden Ratio Convergence
Solving the characteristic polynomial of the linear recurrence produces two conjugate irrational roots: the Golden Ratio and . Combining the initial seeds yields Binet’s closed-form formula:
Equivalently, in linear algebra, powers of the Fibonacci Q-matrix generate consecutive pairs directly, enabling fast exponentiation by squaring in multiplications (connectable to matrix multiplication and eigenvalue decomposition):
Notice that taking the determinant of both sides gives , immediately proving Cassini’s famous identity!
Partial Sums, Cassini’s Identity, and Divisibility Laws
Cumulative Sum Formula
Summing the first terms evaluates cleanly via telescoping: . Thus summing through equals .
Sum of Squares Identity
Each new Fibonacci square attaches cleanly to the growing golden rectangle, giving , visible right in our Golden Spiral tiling plot.
Strong Divisibility Property
The greatest common divisor preserves indices identically: . In particular, divides whenever divides .
Pisano Period Modular Cycles
Reducing Fibonacci numbers modulo any integer yields a purely periodic cycle called the Pisano period : modulo 2 has period 3 (even terms at every 3rd step), and last decimal digits () repeat every 60 numbers.
Zeckendorf Representation and Gessel’s Membership Criterion
Two classic number-theoretic tools elevate a plain Fibonacci table into a practical analyzer. First, Gessel’s Theorem converts membership testing into exact integer square detection without generating the whole sequence up to : is a Fibonacci number if and only if or is a perfect square. Second, Zeckendorf’s Theorem proves that repeatedly subtracting the largest Fibonacci number not exceeding the remainder expresses any positive integer uniquely using non-adjacent Fibonacci terms. Try entering any integer inside the Fibonacci Membership & Zeckendorf tab above to inspect both instantly.
Phyllotaxis, Algorithm Analysis, and Golden Spiral Geometry
In botany, consecutive Fibonacci integers frequently count clockwise and counterclockwise parastichy spirals on pinecones, sunflower heads, and pineapple scales because successive angular turns of the golden angle minimize seed overlap. In computer science, Fibonacci numbers bound worst-case steps of Euclid’s greatest common divisor algorithm (Lamé’s Theorem), balance Fibonacci heaps in graph shortest-path priority queues, and drive Fibonacci search intervals over sorted arrays without division operations.
Worked Computational Examples and BigInt Limits
Example 1: Computing F₁₅ by Partial Sums vs. Recurrence
Given , , advancing two steps yields and . Using the sum identity, the sum of through equals .
Example 2: Zeckendorf Decomposition of 1,000
Subtracting the largest Fibonacci term repeatedly gives , leaving . Because , no consecutive terms appear.
Common Mistakes When Computing Large Fibonacci Lists
- Floating-point precision overflow past F₇₈: Standard 64-bit numbers lose exact unit digits past . Always inspect exact integer arithmetic (
BigInt) when computing lists toward or . - 0-based vs. 1-based off-by-one indexing: Confirm whether a textbook asks for the 10th term starting at () or indexed at .
- Naive exponential recursion: Implementing
fib(n) = fib(n-1) + fib(n-2)without memoization takes calls—over 1.3 billion calls just to compute —whereas iterative dynamic programming runs in linear steps.
Arbitrary-Precision BigInt Architecture and Canvas Tiling
Every sequence, partial sum, membership square test, and Zeckendorf decomposition runs in linear time inside your browser using native JavaScript BigInt integer types—delivering exact digits even for (a 209-digit integer). The interactive Golden Spiral plot uses high-DPI HTML5 <canvas> geometry with dynamic resize adaptation across all screen sizes, pairing an arbitrary-precision algorithmic engine with crisp vector-like visual feedback.
Lead Developer & Founder of Basic Math Tools. Specializes in browser-native computational algorithms and applied mathematics.
Mathematics & curriculum specialists. Audited against standard algebraic and arithmetic principles.