Ramanujan's taxicab number 1729
Need a hint?
List sums of two cubes and look for a repeat. The cubes up to 12³ are enough.
1729 = 1³ + 12³ = 9³ + 10³ is the smallest number that is the sum of two positive cubes in two ways.
How to work it out
The cubes are 1, 8, 27, 64, 125, 216, 343, 512, 729, 1000, 1331, 1728. Add pairs and look for the first value that appears twice.
The first repeat is
(1)Hardy told the story that he came to visit Ramanujan in a taxi numbered 1729, which he found dull, and Ramanujan answered that it is the smallest number expressible as a sum of two cubes in two different ways.
LaTeX source of the formulas on this page
\[ 1729=1^3+12^3=9^3+10^3 \] \[ 1+1728=1729,\qquad 729+1000=1729 \]
Questions
What is the answer to: Ramanujan's taxicab number 1729?
1729 = 1³ + 12³ = 9³ + 10³ is the smallest number that is the sum of two positive cubes in two ways.
What is the key idea?
A systematic search through sums of cubes finds the first coincidence.
Is there a hint?
List sums of two cubes and look for a repeat. The cubes up to 12³ are enough.