MediumHow an Infinite Stack of Roots Connects All Square Numbers | by Nipun Jayasuriya | Oct, 2026 | Medium
Sitemap
Nipun Jayasuriya

Nipun Jayasuriya

📐 Mathematics Researcher | B.Sc. Hons (First Class). Writing about Differential Geometry, Algebra, and the path to a Math PhD 🇪🇺🇺🇸

How an Infinite Stack of Roots Connects All Square Numbers

2 min readOct 20, 2026

--

Square Numbers Connecting

There is a quiet joy in sitting down with a blank sheet of paper and playing around with basic arithmetic. No complex proofs, no heavy software just ordinary addition, square roots, and simple multiplications that reveal something unexpected.

I have always loved that side of mathematics. It is easy to view math as rigid or purely technical, but when you strip it down to simple operations, patterns start to emerge almost like music.

A while ago, I was revisiting one of Srinivasa Ramanujan’s famous identities, and it struck me again just how deeply connected numbers are. The heart of why this particular puzzle fascinates me is simple: it ties together the sequence of square numbers through nothing more than elementary operations.

The Hidden Chain Inside the Number 3

Take the number 3. Most people just see an integer on a number line. But you can start pulling it apart with basic arithmetic:

3 = √(9)

Nine can be rewritten as 1 + 8, and 8 factors into 2 × 4:

= √(1 + 8)

= √(1 + 2(4))

= √(1 + 2√(16))

Now look at that 16. It is another perfect square, and it can be split into 1 + 15, where 15 = 3 × 5:

= √(1 + 2√(1 + 15))

= √(1 + 2√(1 + 3(5)))

= √(1 + 2√(1 + 3√(25)))

Notice the pattern?

Get Nipun Jayasuriya’s stories in your inbox

Join Medium for free to get updates from this writer.

Every time you step deeper into the root, the next square number steps up to take its place: 9, 16, 25, 36, 49…

If you keep peeling back the layers forever, you reach Ramanujan’s famous nested radical:

3 = √(1 + 2√(1 + 3√(1 + 4√(1 + 5√(…))))

Press enter or click to view image in full size

Why I Keep Coming Back to This

What draws me to expressions like this is how democratic they are. You do not need an advanced degree to follow the steps. Anyone who knows how to add, multiply, and take a square root can see the domino effect happening before their eyes.

Yet underneath that simplicity lies a bridge connecting the entire family of square numbers in a flawless, infinitely nested chain. It takes an ordinary digit and reveals an infinite structure quietly humming beneath it.

Sometimes, the best part of math isn’t solving a massive problem. it is just pausing to appreciate the elegance hidden in the numbers we take for granted every day.

--

--

Nipun Jayasuriya
Nipun Jayasuriya

Written by Nipun Jayasuriya

📐 Mathematics Researcher | B.Sc. Hons (First Class). Writing about Differential Geometry, Algebra, and the path to a Math PhD 🇪🇺🇺🇸