What Is the Fibonacci Sequence and Where Does It Appear?

It starts as a trivial rule for counting rabbits. It ends up describing sunflower seeds, pinecones, and the exact spiral on a nautilus shell. Here's why.

By Petrus Sheya

July 19, 2026 · 6 min read

What do rabbits, sunflowers, and the shell of a nautilus have in common?

Nothing, on the surface. One's an animal, one's a plant, one's a mollusk. But count the spirals in a sunflower's seed head, or the chambers in that shell, and the same short list of numbers keeps showing up: 1, 1, 2, 3, 5, 8, 13, 21...

That's the Fibonacci sequence. And the reason it's everywhere isn't mystical. It comes from one of the simplest rules you can write down: to get the next number, add the two before it.


A rabbit problem from 800 years ago

Here's the puzzle that started it all, dreamed up by an Italian mathematician named Fibonacci in the year 1202. Start with one pair of baby rabbits. Rabbits take a month to grow up, and every month after that, each adult pair produces one new pair. No rabbits ever die. How many pairs do you have after a year?

Month 1: still just the babies, 1 pair. Month 2: they've grown up, still 1 pair (no babies yet). Month 3: they've had their first pair of babies, so now it's 2 pairs. Month 4: the original pair has more babies, but last month's babies aren't grown up yet, so it's 3 pairs.

Notice the pattern forming? Each month's total is last month's total, plus the number of pairs that were already adults two months ago (since those are the ones having babies now). In other words:

F(n)=F(n1)+F(n2)F(n) = F(n-1) + F(n-2)

That's it. That's the entire rule. Watch it build the sequence, term by term.

Each new bar is just the last two bars, stacked together. Press play and watch the rule build the whole sequence by itself.

1F(1)1F(2)2F(3)

F(3) = F(2) + F(1) = 1 + 1 = 2

TermF(3)
Value2

Step through it slowly, or hit play. Notice that every bar is just the sum of the two bars right before it, nothing more exotic than addition. And yet this simple rule of "remember the last two steps" is enough to generate a sequence that never repeats and grows faster and faster forever.


Why does the growth rate settle down?

Here's something strange. Divide any Fibonacci number by the one before it: 1/1=11/1 = 1, 2/1=22/1 = 2, 3/2=1.53/2 = 1.5, 5/31.675/3 \approx 1.67, 8/5=1.68/5 = 1.6...

The ratio jumps around at first. But keep going, and it stops jumping. It homes in on one exact number and stays there.

Why would that happen? Think about it this way: if the ratio F(n)/F(n1)F(n)/F(n-1) ever stopped changing at all, call that steady value rr, then adding one more term wouldn't budge it either. But adding one more term means F(n+1)=F(n)+F(n1)F(n+1) = F(n) + F(n-1), so the ratio F(n+1)/F(n)F(n+1)/F(n) equals 1+F(n1)/F(n)1 + F(n-1)/F(n), which is 1+1/r1 + 1/r. For the ratio to truly be steady, we'd need:

r=1+1rr = 1 + \frac{1}{r}

Multiply both sides by rr and rearrange, and you get r2r1=0r^2 - r - 1 = 0. Solve that with the quadratic formula and one answer pops out positive:

φ=1+521.618034...\varphi = \frac{1 + \sqrt{5}}{2} \approx 1.618034...

That's the golden ratio. Drag the sequence forward and watch the actual ratio chase it down.

Slide n forward. The ratio jitters at first, then settles onto one exact number and stops moving.

φ = 1.618...nratio
F(6) / F(5)1.600000
Distance from φ1.80e-2

Notice how fast it locks on. By around n=15n = 15, the ratio agrees with φ\varphi to five or six decimal places, even though φ\varphi itself involves an irrational square root and the Fibonacci numbers are just plain old integers. A sequence built entirely from addition ends up encoding a number that addition alone could never produce exactly.


Turning the numbers into a shape

Numbers are one thing, but the Fibonacci sequence has a geometric twin, and it's the reason you've probably seen this "spiral" shape before even if you didn't know its name.

Here's the idea. Draw a 1×11 \times 1 square. Next to it, draw another 1×11 \times 1 square. Together they form a 2×12 \times 1 rectangle, so the next square that fits flush against that rectangle has to be 2×22 \times 2. Now you've got a 3×23 \times 2 rectangle, so the next square is 3×33 \times 3. Then 5×55 \times 5. Then 8×88 \times 8.

...notice what's happening? The side length of each new square is a Fibonacci number, forced by nothing but the requirement that it fit flush against what came before.

Each square's side is a Fibonacci number. Stack them edge to edge and a spiral falls out for free, no extra rule required.

8
Newest side8
Side ratio1.600

Slide the count up and watch the squares spiral outward, each one exactly big enough to complete the rectangle. Now trace a quarter-circle through each square, corner to corner, and you get a continuous curve, the same spiral shape etched into a nautilus shell or a hurricane's eye seen from space. The spiral isn't decoration bolted onto the numbers. It's the numbers, drawn.


So why do plants actually use this?

Squares and rabbits are cute, but here's the part that should really surprise you: plants use this same golden ratio to solve a real engineering problem, packing as many seeds or leaves as possible into a small space, with no gaps and no wasted overlap.

Here's the setup. A sunflower adds new seeds from the center outward, one at a time, each one rotated by some fixed angle from the last. Pick the wrong angle, say a nice round number like 90° or 120°, and the seeds line up into straight spokes with big gaps between them, wasted space. But pick exactly the right angle, and the seeds pack in with almost no gaps at all.

That angle turns out to be built directly from φ\varphi:

θgolden=360°×(2φ)137.5°\theta_{\text{golden}} = 360° \times \left(2 - \varphi\right) \approx 137.5°

Drag the dial, or the slider. Only one angle, out of all 360 degrees, packs seeds with no gaps and no spokes.

Angle used137.508°
Off from golden angle+0.000°

Drag the dial away from 137.5° and watch the spiral collapse into obvious arms with visible gaps between them. Snap it back, and the gaps vanish, seeds fill the space almost perfectly. The golden angle is the one rotation that never repeats a "nice" fraction of a full turn, so no two seeds ever end up lined up radially, wasting space between them. Every other angle you try is close enough to some simple fraction, like 1/31/3 or 2/52/5 of a turn, that seeds start stacking into visible rows.


The short version

The Fibonacci sequence comes from the simplest possible rule: add the last two numbers to get the next one. Run that rule forward and the ratio between consecutive terms is forced toward one exact value, the golden ratio φ1.618\varphi \approx 1.618. Draw squares with those side lengths and they tile into a spiral. Rotate by the angle that φ\varphi generates and you get the densest possible packing with no repeats.

None of this is a coincidence stitched together after the fact. It's one rule, addition applied to its own recent past, showing up in three completely different disguises: a number, a shape, and an angle.