Archive · 23 Aug 2026

Why the Number 1729 Became the Hardy-Ramanujan Number

Why the Number 1729 Became the Hardy-Ramanujan Number

The number 1729 looks ordinary, but it has a special mathematical feature.

It can be made by adding two cubes in two different ways.

Those ways are 1³ + 12³ and 9³ + 10³.

No smaller positive number has this same property.

That is why mathematicians call it a taxicab number.

The number became famous through a story involving Ramanujan and Hardy.

Hardy saw 1729 as a taxi’s registration number, while Ramanujan immediately noticed its unusual pattern.

The story shows how quickly Ramanujan could recognize mathematical connections.

The number also has other properties, including being a Carmichael number and equaling 7 × 13 × 19.

Sources