The Famous '1729' Story Was Less Spontaneous Than Hardy Made It Sound
Ramanujan really did identify 1729 from a sickbed. He'd also already written its property down years earlier in a notebook.
G. H. Hardy told the story many times. He was visiting Srinivasa Ramanujan at a nursing home in Putney, London, in 1918 — Ramanujan had tuberculosis and the British weather had ground him down. Hardy made small talk: "I had ridden in taxi cab number 1729, and remarked that the number seemed to me rather a dull one." Ramanujan, sick in bed, replied immediately: "No, Hardy! No, Hardy! It is a very interesting number; it is the smallest number expressible as the sum of two cubes in two different ways."
The property: 1729 = 1³ + 12³ = 9³ + 10³. It's now called the Hardy-Ramanujan number, the first nontrivial taxicab number. The next is 87,539,319, found in 1957.
The twist that Hardy didn't include in his telling is that Ramanujan had been thinking about sums of two cubes for years. Notebooks recovered from Madras after his death — including the so-called "Lost Notebook" found by George Andrews in 1976 at Trinity College — contain entries on near-cube identities, theta functions, and elliptic curves that had this kind of structure baked in. Mathematicians at Emory in 2015 showed that some of those entries hint at the K3 surfaces modern algebraic geometers use to find more taxicab numbers.
What the anecdote captures truthfully is the speed of recognition. Hardy named a four-digit number; Ramanujan returned the property without thinking. What it omits is that the recognition wasn't a magic flash. It was the result of years of looking carefully at exactly that kind of number. The story is less about preternatural intuition than about what "obvious" looks like to someone who has done the work.
Make Recess yours.
Sign in to save the ones you loved, never see the same thing twice, and tell us what you want more of.