Count the spirals in a sunflower head. The clockwise ones. The counterclockwise ones. You'll almost always find 34 and 55. Or 55 and 89 in a larger flower. Sometimes 21 and 34.
These are Fibonacci numbers — each one the sum of the two before it (1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89...). Every sunflower on Earth lands on adjacent pairs from this sequence. As do pinecones, pineapples, artichokes, and the spiral leaves of succulents. It's not a coincidence or an approximation. It's a mathematical consequence so reliable that botanists use it to check their counts.
The reason took centuries to figure out. And it starts with a much humbler question: how should a plant grow its seeds?
Act I — A Seed's Problem
Seeds are produced one at a time, from the centre of the flower head, and each new seed pushes the older ones outward as it grows. The plant has one decision to make — and it makes this decision the same way every single time: after placing a seed, how far around the centre do I rotate before placing the next one?
Repeat that single angle hundreds of times, and you get the entire pattern. The angle is everything. Let's play with it.
Every "nice" angle — one that's a fraction of a full turn — creates spokes. At 90°, after 4 seeds you've rotated exactly once around and the 5th seed lands right on top of the 1st. The pattern repeats every 4 seeds, every 8, every 12. Four spokes, forever.
This is the core problem with rational angles: any angle equal to 360° × p/q for whole numbers p and q will repeat every q seeds, creating exactly q radial spokes. Spokes mean gaps. Gaps mean wasted space — seeds that could exist, but don't.
Act II — The Irrational Escape
The solution is to use an irrational angle — one that can never be expressed as a fraction of a full turn. If the angle is irrational, you'll never land in exactly the same spot twice, and the pattern will never degenerate into spokes.
Try 222.5° in the demo, for instance. Or 100°. They look pretty good! Certainly better than 90°. But there's a catch.
Most irrational numbers are, in practice, approximated very well by fractions. The number √2, for instance, is irrational — but 99/70 ≈ 1.41428... gets remarkably close. If your angle were 360° × (1/√2), and you grew enough seeds, the pattern would start showing near-spokes at 70-seed intervals. Not perfect spokes, but close enough to leave near-gaps.
So we don't just need any irrational angle. We need the angle that resists fractional approximation as fiercely as possible. We need the number that is, in a precise mathematical sense, the most irrational number there is.
Act III — The Most Irrational Number
Measuring how "irrational" a number is turns out to be a real mathematical idea. Every real number can be written as a continued fraction — a nested chain of integers:
φ = 1 + 1/(1 + 1/(1 + 1/(1 + ...)))The integers in this chain tell you how quickly good rational approximations arrive. A large integer at some level means "a surprisingly good fraction fits here — this number is almost rational right now." A 1 means "no great fraction here, keep going."
The golden ratio φ = (1+√5)/2 has the continued fraction [1; 1, 1, 1, 1, ...] — all ones, forever. No integer is ever large, so no fraction ever gets a lucky approximation. Every denominator is roughly equally bad at representing φ. This is exactly what the Hurwitz theorem (1891) makes precise: the golden ratio is the hardest real number to approximate with fractions. The most irrational number.
Below is a direct view of this. For each denominator q up to 80, I've found the closest fraction p/q to each number, and measured how good that approximation is. A tall bar means "no great fraction here — the number is eluding us." A short bar means "got lucky — a good fraction fits at this denominator."
Bar height = how badly any fraction with that denominator approximates the number. Taller is better (harder to approximate). For φ, the highlighted bars are Fibonacci denominators — and they are the only moments where fractions get relatively close.
The optimal planting angle, then, is 360° divided by φ²:
360° ÷ φ² ≈ 137.508°This is the golden angle. When you use it, each new seed lands in the largest available gap between existing seeds — every seed, every time, forever. No other angle achieves this. It's the mathematically optimal solution to the packing problem, and it's what plants have been using for hundreds of millions of years.
The plant "discovers" this angle not through calculation, but through a chemical gradient called auxin, which controls where new cells grow. The gradient naturally minimises overlap — and the angle that minimises overlap across all time turns out to be 137.508°. Evolution found the math. It just didn't write it down.
Act IV — Why Fibonacci?
We've explained the angle. But we still haven't explained the spirals. Why does a field of 137.508°-spaced seeds produce exactly Fibonacci-number spiral arms?
Here's the key: the rational fractions that approximate φ best are the ratios of consecutive Fibonacci numbers. 3/5, 5/8, 8/13, 13/21, 21/34, 34/55, 55/89... These are the only times fractions come anywhere near φ — and they're still not very close.
When your eye traces spiral patterns through a cloud of points, it follows "nearest neighbours" — seeds that are close together, stepping from one to the next. In the golden-angle arrangement, the nearest neighbours are separated by Fibonacci numbers of steps. Because those are the denominators where fractions get closest to φ — where the pattern almost, but not quite, repeats.
The spirals we see in sunflowers aren't something the plant decided to make. They're a visual artifact of the golden angle, the way our visual system connects nearby dots, and the structure of rational approximations to the most irrational number.
Try it yourself:
Epilogue — Nature's Theorem
There's something quietly wonderful about this chain of reasoning. Evolution didn't discover Fibonacci numbers. It didn't even discover the golden ratio. It discovered "pack seeds efficiently," and the mathematics of efficient packing pointed to the golden angle, and the golden angle — being tied to the most irrational number — produced nearest-neighbour structures that count in Fibonacci numbers.
The Fibonacci pattern isn't a design decision. It's a theorem. The sunflower proves it, live, in every field, every summer.
And it's a theorem with a strange character: it's born entirely from failure. From the failure of every fraction to approximate φ. From the failure of every spoke-pattern to pack tightly. The most beautiful structure in plant biology emerges because certain numbers are exceptionally bad at certain things.
Sometimes the best design is the one that's worst at being anything else.
Vogel's mathematical model of phyllotaxis was published in 1979.
Hurwitz's theorem on rational approximation dates to 1891.
The connection between φ and optimal packing was formalised by Douady & Couder in 1996.
Leonardo da Vinci documented plant spiral patterns in the early 1500s — and still didn't know why.