Hardy’s remembered taxi ride
Hardy later recalled visiting Ramanujan during his illness and remarking that the taxi number, 1729, seemed dull. Ramanujan immediately recognised its special property: it is the smallest positive integer expressible as the sum of two positive cubes in two distinct unordered ways.
1 + 1728 = 729 + 1000
This is a recollected anecdote, not a surviving transcript of a conversation. Its mathematical assertion can be checked independently.
Read the sources: Trinity College Annual Record 2020 · Ramanujan essay ↗
Why “smallest” is a real claim
The two displayed equalities are easy to verify. Minimality requires ruling out every smaller positive number. If a³ + b³ ≤ 1729, with 1 ≤ a ≤ b, then b ≤ 12. Enumerating these finitely many unordered pairs shows that no lower total occurs twice.
Restricting to positive cubes matters. Allowing zero or negative integers changes the question. Exchanging a and b also does not count as a new representation.
A glimpse of his numerical imagination
The story endures because it makes his familiarity with numbers feel tangible. Yet it is only an introduction. His central achievements concern much larger structures: partitions, modular equations, infinite series and arithmetic functions.
Follow the partition guide to turn a similarly simple question about integers into a deeper mathematical investigation.