Episode
Posted 7 may 2026

The Equation That Was 80 Years Ahead

In 1913, a twenty-five-year-old shipping clerk in Madras mailed a Cambridge professor 120 theorems on the distribution of primes and the partition function, none of them proved.

Posted 7 may 2026
Watch on YouTube

The shape of a thought that is given to you

A Madras shipping clerk mailed 120 theorems to Cambridge in January 1913, none of them proved. He was twenty-five. The theorems covered the distribution of primes and the partition function, on loose paper, in a clerk's careful hand. G. H. Hardy opened the envelope. Hardy later wrote that several of the formulas were so strange he could not have invented them, and that they "must be true, because, if they were not true, no one would have had the imagination to invent them." The clerk's name was Srinivasa Ramanujan. Ramanujan said the goddess Namagiri placed the equations on his tongue while he slept, written by a divine hand on a red screen of flowing blood.

Hold the picture before reading further. Ramanujan did not work the equations out on paper first. He found them already standing there, written across the inside of his sleep.

Most readers have brushed against a paler version of this gift. A solution arrives in the shower. A name surfaces during the moment of giving up. A line of poetry walks in fully dressed. Call the cognitive shape of revelation the same: not the ladder of derivation but the delivered result. We tend to file these moments under luck, or under the unconscious, or under "the brain consolidating in sleep." Ramanujan stands at the limit case, a swimmer who lived inside the gift the way a fish lives inside water. He did not climb toward his theorems. They presented themselves on the page already true.

Two questions hold this essay together. What does it feel like to receive a mathematical result instead of thinking one through? And how can 1919 equations describe a black hole no physicist had yet imagined?

After: The shape of a thought that is given to you image for the equation that was 80 years ahead

The household where trance was ordinary

Ramanujan was born in 1887 into a small Tamil Brahmin household in Erode. The family soon settled in nearby Kumbakonam. Inside, the rooms stayed dark by midday, lit only at the edges. A brass lamp stood on a low altar beside kumkum in a brass dish, sandal paste, jasmine, and the small bronze deities of the household shrine. His mother, Komalatammal, sang devotional verses each morning before the family ate. She read horoscopes for the neighbours. Sometimes she entered light trance states, and the family treated those states the way another household might treat a strong opinion: as part of her, a voice to listen to.

His grandmother had received instructions in dreams as a girl, and the family had followed those instructions. The household deity was Namagiri Thayar, the goddess of the temple at Namakkal, a few hours' walk through dry country. Komalatammal had been told before her son was born that the goddess would speak through the child. The boy grew up knowing this fact about the room before he knew it as a fact about the world.

Trance broke no rule of the house. Trance was one of the rules.

Ramanujan started receiving his own dream-instructions inside a household already shaped to receive them.

After: The household where trance was ordinary image for the equation that was 80 years ahead

What 4,417 formulas without proofs teach a boy

Around fifteen he found, or was lent, a book that fit his cognition the way a brass key fits a brass lock. It was George Shoobridge Carr's A Synopsis of Elementary Results in Pure and Applied Mathematics, published in two volumes between 1880 and 1886. Carr's Synopsis was no textbook in the modern sense. Inside ran a compressed list of roughly 4,417 results, each one numbered, each one stated, almost none of them proved. Carr had coached students for the Cambridge Mathematical Tripos and built the book as a prompt-deck of facts to memorise.

For a different boy this would have been useless. For Ramanujan it became a grammar. He read the formulas the way another reader might read aphorisms, holding each one up to the lamp, working backward from the stated truth toward whatever path of proof would justify it. The path he had to invent himself. The result was already certified. A mind formed on Carr trusts the answer before the derivation, and meets theorems as found objects on a shelf.

Here is the cognitive seed of the later trouble at Cambridge. Carr's book never showed its work, and the boy who learned from it never learned to require that work either. He recognised mathematical truth the way some people recognise music: as a pattern that either fits or does not, prior to any account of why.

The book itself was small. Two slim volumes, dense print, sloping hand-set equations on yellowed paper. You could slip it into a coat pocket. Ramanujan carried it everywhere.

After: What 4,417 formulas without proofs teach a boy image for the equation that was 80 years ahead

Two men on a Trinity staircase

In January 1913 a letter reached G.H. Hardy at Trinity College, Cambridge. Inside were nine pages of mathematics in a careful round hand. The cover note apologised for any presumption. The writer, a clerk in the Port Trust office at Madras earning twenty pounds a year, set down a small sample of his results and asked whether they were of any interest.

Hardy was thirty-five. He was the leading pure mathematician of his generation, and a militant atheist who had crossed God off his Christmas list with the same fastidiousness he applied to a faulty proof. He looked at his own talent calmly. On a private scale he once rated himself twenty-five out of a hundred. He gave Littlewood thirty. He gave Hilbert eighty. Ramanujan, when the time came, he gave a hundred.

Hardy showed the letter to John Edensor Littlewood after dinner. They sat with it until midnight. Some results they recognised; others were unfamiliar; a few were so strange that, if true, they belonged to a mathematics nobody had yet built. Hardy wrote later that the formulas had to be true, "because, if they were not true, no one would have had the imagination to invent them." That sentence is itself a small confession from a man who did not concede ground easily.

Ramanujan arrived at Trinity in April 1914. The collision began at once. Hardy wanted proofs. Ramanujan wanted to keep going. Asked where his results came from, he said, in Hardy's account, "I don't know; it just happens; it's like a revelation; it just comes floating in." Asked, in another conversation, what an equation was, he said an equation had no meaning for him unless it expressed a thought of God.

Littlewood, watching him work, set down the truest sentence either Englishman would write about him: a mixture of evidence and intuition, he looked no further, a touch of real mystery.

Two epistemologies were sharing a staircase. One climbed. The other received.

After: Two men on a Trinity staircase image for the equation that was 80 years ahead

What a mock theta function actually is

To follow the rest of the story, the reader needs a working picture of what Ramanujan was actually finding. Hold three small images.

The first image is partitions. How many ways can you split the number 4 into smaller positive whole numbers? You can leave it as 4. You can write 3+1, 2+2, 2+1+1, or 1+1+1+1. That gives five. The number of partitions of 5 is seven; of 100, more than 190 million. Ramanujan's early triumph was a set of formulas that predicted these counts with terrifying accuracy, far past the point where one could simply count.

The second image is a modular form. Picture a function that, when you spin or stretch its input by certain whole-number rules, returns a clean transformed version of itself. It is symmetric in a deep sense, the way a snowflake repeats under rotation, but in an abstract space rather than on a page. Modular forms behave so well under these symmetries that mathematicians use them as scaffolding for whole regions of number theory.

The third image is the mock theta function. In a letter written from his deathbed in 1920, Ramanujan listed seventeen new functions. They looked like modular forms; they almost behaved like modular forms; but they fell just short. Each carried a small, persistent error term that nobody could clean up. He gave no derivation. He named the goddess Namagiri.

For eighty years, mathematicians treated these objects the way astronomers treat a smudge on a plate: real, suggestive, unaccounted for. The error was not noise. It had structure. The functions were not modular but they remembered what modularity felt like, the way a returning traveller remembers the climate of the country they have left.

After: What a mock theta function actually is image for the equation that was 80 years ahead

Why a black hole needed an equation written in 1919

Here the timeline bends. In the 1990s and 2000s, string theorists trying to count the microstates inside a black hole, the hidden states whose number gives the hole its entropy, found that they needed a function that behaved like a modular form but was not one. The symmetries of black-hole physics, viewed from the inside, were broken in a specific, structured way. They needed an object that was almost-modular with a calculable shadow. They needed, in other words, what Ramanujan had written down on loose paper while dying.

In 2002 Sander Zwegers, a graduate student in Utrecht, supplied the missing completion in his doctoral thesis, showing how each mock theta function could be paired with a "shadow" to recover full modular behaviour. Building on this, Kathrin Bringmann and Ken Ono developed the framework of mock modular forms. In 2012 Ono, with Atish Dabholkar and Sameer Murthy, applied the framework to black-hole entropy in string theory. The functions Ramanujan had scrawled in 1919 fitted the physics of a horizon nobody had imagined in 1919.

Ono, after the proof was finished, was unguarded. "We proved that Ramanujan was right. We found the formula explaining one of the visions that he believed came from his goddess. No one was talking about black holes back in the 1920s."

The eighty-year gap is the part that does not soften with explanation. A young man in a Madras sickroom, dying of what was probably hepatic amoebiasis his English doctors did not recognise, wrote down the right mathematics for an object the physics of his century could not have suggested. According to his wife Janaki he kept doing sums until four days before he died, when the pain became too great. The functions sat unread in a tin trunk and then in the Wren Library at Trinity. George Andrews opened the trunk in 1976. Ono closed the loop in 2012.

After: Why a black hole needed an equation written in 1919 image for the equation that was 80 years ahead

Svayambhu

Hardy spent the rest of his life looking for a word. He had outlived his friend by twenty-seven years; he had written the obituary, the lectures, the small affectionate book. He kept reaching, in his careful prose, for an adjective that would not patronise the gift. Genius was not enough. Original was not enough. Self-taught was an insult to the household at Kumbakonam and to the goddess at Namakkal. In the end the word he chose came not from his own language but from the language of the family he had pulled across the sea. Svayambhu. Self-born. The Sanskrit term used in temple inscriptions for a deity not carved by human hands, whose stone has risen out of the ground.

It is a strange word for an atheist to land on. It admits the thing without conceding the metaphysics. The mathematics arrived, in the man, the way a self-formed lingam rises from the earth: not made, not derived, simply there. Hardy never said the goddess was real. He said the work behaved as if it had no human author.

A century on, the red screen is still hanging in the air above a thin reed mat in Kumbakonam. The hand the boy cannot see is still moving across it. The boy is still copying. And somewhere in the loose paper, a function waits to describe a horizon nobody has yet imagined.

After: Svayambhu image for the equation that was 80 years ahead