The Most Irrational Number in the Universe
You know what is interesting? Nature. Nature is the ultimate optimizer. It quite literally has a 300-million-year R&D budget, a global testing ground, an unforgiving QA department called "Natural Selection". If a design is inefficient, it goes extinct. If it works, then it gets copied everywhere.
Take a look at a sunflower, a pinecone, the scales of a pineapple. You see the exact same spiral pattern repeating over and over and over again. If you think too much you might ask: What problem is this solving?
These plants are actually trying to solve a very specific mathematical challenge: The Packing Problem.
Let's say you're a sunflower. Your biological imperative is to pack as many seeds as possible into the smallest possible space. You have one algorithm:
- Grow a seed at the center.
- Push the seeds out.
- Turn by an angle.
- Repeat.
Your success actually depends entirely on step 3. So, how much should you turn?
Well let's try.
The Flower Builder
Adjust the turn fraction to see how nature packs seeds into flowers.
Notice what happens when you put in 0.5 (that's )? You don't get a flower at all, you get a weird stick thing. Try 0.25 () and you get some cross. If these sunflowers existed in nature they would probably die off pretty quickly.
Do you notice a pattern? Whenever we choose a simple fraction like or , the seeds align perfectly into straight lines, leaving these giant gaps in between. That's wasted space. The seeds clump into a few spokes and the rest of the flower head is empty.
So for us to build the most perfect flower, we need to get rid of these gaps. We need to find a number that refuses to settle into the same repeating pattern, a number which scatters so thoroughly that the seeds never align. We need an irrational number, we need the most irrational number.
Approximating the Unreachable
Ok wait, how can one number be more irrational than another? We've all heard of the celebrities of the irrational world: , , . But aren't numbers just rational or irrational?
Let's think of "irrationality" as a distance. We can think of it representing how hard it is for a fraction to get close to you. Some numbers, like , play hard to get, but eventually give in. Other numbers are a bit more stubborn.
We need a way to measure this stubbornness.
Any number in the universe can be rewritten as a nested fraction:
The algorithm is actually pretty simple:
- Write down the integer part ().
- Take the decimal remainder.
- Calculate the reciprocal ().
- Repeat.
Let's try it with (3.14159…).
Integer part is 3. Remainder is 0.14159…
Remainder is 0.0625…
And so on…
So, the "DNA" of looks like this: .
These numbers (7, 15, 292) are the denominators. A rule for approximation: big denominators are bad for privacy.
If a number in this sequence is big (like 292), it means the fraction at that step is a pretty good approximation. This is why is actually pretty easy to approximate. The famous school approximation is shockingly accurate because the next number in the sequence (15) is relatively large.
But what if we wanted to design a number that is impossible to approximate? What if we wanted to prevent the fraction from ever "landing" close to the target?
We would want to avoid big jumps. We would want the denominators to be as small as possible.
Continued Fraction Visualizer
The red line is fixed. Each dot is a fraction — closer to center means closer to the target. Log scale so every step stays visible.
log scale · scale locks after first step · dots approach center as precision improves
Try selecting in the tool above. Watch how quickly the dot snaps to the target. It jumps, corrects, and boom — it's almost there.
Now, try selecting (The Golden Ratio).
It is just:
It is a sequence entirely made up of ones because 1 is the smallest possible positive integer. The Golden Ratio is composed entirely of the worst possible convergence steps. It represents the slowest possible convergence of any number.
This is why the sunflower chose it.
If the sunflower used , the seeds would eventually align into a pattern (specifically, a pattern with 7 or 113 spokes). However, since it uses , the "most irrational" number, the seeds never quite line up. They are constantly pushed into the gaps, spiraling out forever, perfectly packing the head without wasting a distinct "spoke" of space.
Hurwitz & Lagrange
In 1891, a mathematician named Adolf Hurwitz asked "Is there a universal limit to how well fractions can approximate numbers?"
To understand what he was getting at, we need to see what a fair approximation is.
If you want to approximate , you could just use which is a great approximation, but it's also cheating. The denominator is massive so of course, you can get a small error if you use giant numbers.
We need to judge error relative to the size of the denominator we used.
Hurwitz discovered that for any real irrational number (let's call it ), there are infinitely many coprime integers and (forming ) that satisfy the inequality:
The Left Side: represents the distance between the irrational number () and our rational guess (). We want this distance to be as small as possible.
The Right Side: is the Worst-Case. The at the bottom means that as you use larger denominators, your guaranteed error shrinks quadratically.
Why is the constant exactly ?
Hurwitz's Theorem applies to ALL irrational numbers. So, this can really only be as strong as its weakest link.
Let's say a delivery company guarantees that they can deliver to any house in the city under minutes." To determine , they have to look at the single hardest to reach house.
Here, the Golden Ratio () is that house.
Therefore, creates an absolute bottleneck. Because it exists, the universal constant for all numbers is permanently capped at .
The Lagrange Spectrum
This leads to a thought experiment: What if we change the rules to exclude ?
By excluding the family from our theorem, Hurwitz's guaranteed limit upgrades. The constant gets replaced by . The formal inequality becomes:
By deliberately ignoring , fractions suddenly became mathematically guaranteed to be better at approximating the remaining numbers.
But why did it stop at ? Because once is excluded, a new number is revealed: (The Silver Ratio).
Look at : . Because its continued fraction is made entirely of 2s, it is the second worst number to approximate. It now sets the new worst-case scenario.
What if we restrict our theorem again, this time excluding both the family AND the family? The constant jumps to (roughly 2.97), changing the equation to:
This staircase of "worst numbers" forms something called the Lagrange Spectrum.
Before this was discovered, we might have assumed that irrationality was a smooth, gradual spectrum. Instead, the number line is fundamentally quantized.
The Wall at 3 and Markov
As you keep narrowing the rules the constant gets larger:
But it doesn't grow forever. It inches closer and closer to 3, but it never quite reaches it while remaining in discrete steps.
These numbers are actually generated by a specific sequence of integers called Markov Numbers ().
In 1879, a Russian mathematician named Andrey Markov was playing around with a seemingly unrelated algebra problem. He was looking for integer solutions to this specific equation:
Let's try to solve it.
If , we get , which simplifies to . It works!
If , we get , which simplifies to . It works!
If , we get , which simplifies to . It works!
Any individual number that makes this equation true, , and so on, is a Markov number.
Markov proved that every discrete level of the Lagrange Spectrum is calculated using this formula based on those numbers:
First Markov number (): (The Golden Ratio level)
Second Markov number (): (The Silver Ratio level)
Third Markov number (): (The Bronze level)
Look closely at that formula: . As we find larger and larger solutions to the Markov equation (), gets infinitely large. As gets infinitely large, the fraction shrinks to exactly zero.
We are left with . Which is 3.
Below 3, the spectrum is discrete. However, as you hit 3 the families of irrational numbers crowd together so densely they overlap. It turns into a mess of overlapping limits which eventually becomes this block where every decimal value is occupied (the structure of this overlap was studied by mathematician Gregory Freiman).
KAM Theory
Let's look at two planets orbiting a star.
On its own, a single gravitational pull is harmless. But what happens when these pulls start piling up?
Let's imagine the inner planet takes exactly 1 year to orbit the star, and the outer planet takes exactly 2 years. Their ratio of orbital periods is 1:2. This is a rational number which is extremely dangerous in astrophysics. The inner faster planet will overtake the slow outer planet at the exact same spot every single time. The gravitational tug will happen over and over again at the same coordinate (I think you can see where I'm getting at).
This is called Orbital Resonance. If you keep adding energy to the same spot, eventually that energy builds up so much that the orbit destabilizes and the planet is violently flung out of the solar system.
Orbital Resonance Simulator
When the inner planet overtakes the outer planet, their gravities tug on each other. Watch what happens when tugs keep hitting the same spot.
The Universal Solution to Chaos
If a solar system wants to survive for billions of years, it needs to avoid resonance.
Just like the sunflower, the solar system needs an Irrational Number.
In 1954, mathematician Andrey Kolmogorov (and later, Vladimir Arnold and Jürgen Moser) formulated what is now known as KAM Theory. They were trying to figure out if the solar system is stable, or if the planets will eventually go completely chaotic and crash.
KAM theory proved that an orbital system can survive the chaotic tugging of its planets only if the ratio of their frequencies is "sufficiently irrational." If the ratio gets too close to a simple fraction, the system descends into chaos.
And according to KAM theory, the orbits which are the most robust are the ones governed by the numbers at the very bottom of the Lagrange Spectrum.
You can actually see this everywhere you look in the sky. When gravity locks into simple fractions, it carves out empty voids. This is why there are these massive gaps in the Asteroid Belt (Kirkwood gaps). Any asteroid which is unlucky enough to have a 3:1 or 2:1 orbital ratio with Jupiter was violently flung out of its orbit millions of years ago. It's also why there's an empty stripe in Saturn's rings (cleared by a 2:1 resonance with its moon, Mimas).
If you look at our own solar system, the ratio of Earth's orbital year to Venus's is roughly 8:13. These are Fibonacci numbers so their ratio sits incredibly close to the Golden Ratio.
Whether it is a plant trying to pack seeds efficiently in space, or a solar system trying to pack planetary orbits safely in time, the solution is identical. When the universe wants to avoid a pattern, it reaches for .