The Fibonacci sequence is the most famous example of a recursively defined sequence: each term is the sum of the two terms that precede it. From the simplest possible starting values — 1 and 1 — this rule produces a sequence whose growth rate, divisibility structure, and algebraic identities have been studied for centuries. Despite its purely recursive origin, the Fibonacci sequence has an explicit closed-form expression involving the golden ratio.
Definition
The Fibonacci sequence is defined by a two-term recurrence with two initial values:
F1=1,F2=1,Fn=Fn−1+Fn−2(n≥3)
The first terms are:
1,1,2,3,5,8,13,21,34,55,89,144,233,377,…
Each term after the second is the sum of its two immediate predecessors: 2=1+1, 3=1+2, 5=2+3, 8=3+5, and so on. Growth accelerates because each new term absorbs the size of both parents.
An alternative convention starts with F0=0: the sequence becomes 0,1,1,2,3,5,8,…. The same recurrence applies — only the indexing shifts. Both conventions appear in the literature, and the choice is a matter of context. This page uses F1=1.
The Fibonacci sequence is neither arithmetic (the differences 0,1,1,2,3,5,… are not constant) nor geometric (the ratios 1,2,1.5,1.6,1.6,… are not constant either, though they converge).
The Golden Ratio
The ratio of consecutive Fibonacci numbers FnFn+1 settles toward a fixed value as n grows:
The number ϕ satisfies the equation ϕ2=ϕ+1, or equivalently ϕ2−ϕ−1=0. This quadratic has a second rootψ=21−5≈−0.618, which also satisfies ψ2=ψ+1.
The two roots are related: ϕ+ψ=1 and ϕ⋅ψ=−1. Since ∣ψ∣<1, powers of ψ shrink toward zero, which is why the ratio FnFn+1 converges to ϕ and not to ψ.
Binet's Formula
Despite its recursive definition, the Fibonacci sequence has an explicit closed-form expression:
Fn=5ϕn−ψn
where ϕ=21+5 and ψ=21−5.
The derivation starts by assuming a solution of the form Fn=xn and substituting into the recurrence Fn=Fn−1+Fn−2. This gives xn=xn−1+xn−2, which simplifies to the characteristic equationx2=x+1. The two roots are ϕ and ψ. Since the recurrence is linear, any linear combination Fn=Aϕn+Bψn is also a solution, and the constants A and B are determined by the initial conditions F1=1, F2=1.
The formula involves irrational numbers — 5 appears explicitly, and both ϕ and ψ are irrational — yet it always produces an integer. The irrational parts of ϕn and ψn cancel exactly upon subtraction.
Since ∣ψ∣<1, the term ψn vanishes for large n, and Fn≈5ϕn. This means the Fibonacci sequence grows exponentially at rate ϕ — roughly 61.8% growth per step.
Identities and Properties
The Fibonacci sequence satisfies a network of algebraic identities. Several of the most fundamental are collected here.
Cassini's identity relates three consecutive Fibonacci numbers:
Fn−1Fn+1−Fn2=(−1)n
The product of the neighbors minus the square of the middle term alternates between +1 and −1. For n=6: F5⋅F7−F62=5⋅13−82=65−64=1.
Sum of the first $n$ Fibonacci numbers:
k=1∑nFk=Fn+2−1
The running total always lands one short of a Fibonacci number two positions ahead.
Sum of squares:
k=1∑nFk2=Fn⋅Fn+1
The sum of the first n squared Fibonacci numbers equals the product of Fn and Fn+1.
Divisibility:gcd(Fm,Fn)=Fgcd(m,n). The greatest common divisor of two Fibonacci numbers is itself a Fibonacci number, indexed by the GCD of the original indices. This connects the multiplicative structure of the Fibonacci sequence to the GCD of ordinary integers.
Zeckendorf's theorem: every positive integer can be represented as a sum of non-consecutive Fibonacci numbers, and this representation is unique. For example, 30=21+8+1=F8+F6+F1.
Lucas Numbers
The Lucas sequence uses the same recurrence as Fibonacci but starts from different initial values:
L1=1,L2=3,Ln=Ln−1+Ln−2(n≥3)
The first terms are 1,3,4,7,11,18,29,47,76,123,…. The growth rate is identical to Fibonacci — the ratio of consecutive Lucas numbers also converges to ϕ — but the specific values differ.
The two sequences are tightly linked. The relationship Ln=Fn−1+Fn+1 expresses each Lucas number as the sum of the Fibonacci neighbors flanking it. For n=5: L5=F4+F6=3+8=11.
The Binet analogue for Lucas numbers is:
Ln=ϕn+ψn
Where Fibonacci's formula subtracts powers of the two roots and divides by 5, Lucas's formula adds them directly. The complementary structure — one sequence from the difference, the other from the sum — is a consequence of both sequences satisfying the same characteristic equation.