Kolton Ndoj

Fibonacci's closed form

A sequence made only of whole numbers is given exactly by powers of the irrational golden ratio.

Fn=φ n−ψ n5,φ=1+52, ψ=1−52F_n=\frac{\varphi^{\,n}-\psi^{\,n}}{\sqrt5},\quad\varphi=\tfrac{1+\sqrt5}{2},\ \psi=\tfrac{1-\sqrt5}{2}

What the symbols mean

FnF_n
1, 1, 2, 3, 5, 8, 13, ... each is the sum of the previous two
ψ\psi
about -0.618, so psi^n shrinks to nothing

Why it works — the picture

Try to find sequences that grow by a fixed factor r each step and also obey the Fibonacci rule: r squared = r + 1. The two solutions are phi and psi. Any mixture of them still obeys the rule, and the right mix to start at 0, 1 is (phi^n - psi^n)/sqrt5. Since psi is smaller than 1 in size, psi^n fades, so F_n is just phi^n/sqrt5 rounded to the nearest integer.

Graph for Fibonacci's closed form 0121500
One smooth curve through all the Fibonacci numbers (a natural real-valued version using cos(pi t) in place of the sign flips). At t = 1, 2, 3, 4, 5, 6 it passes through 1, 1, 2, 3, 5, 8. (drawn with the default slider values — move the sliders live)

Try it yourself

Where it’s used in real life

Efficient computation of huge Fibonacci numbers, and models of plant growth patterns.

The story behind it

Fibonacci wrote about his rabbit puzzle in 1202; the closed form is much later (Binet 1843, though known earlier).

Related

Play with it live →

Math · Number theory · Stretch