Hardy had arrived in a taxi numbered 1729 and found the number dull; Ramanujan said it was one of the smallest that can be written as the sum of two positive cubes in two different ways. The workbench agrees in two keystrokes: 9³ + 10³ is 1729 and 1³ + 12³ is 1729. The number below it, 1728, is 12³ on its own, which is one way rather than two — 0 is not a positive cube, and that is the whole reason the famous number is 1729 and not 1728.
The number has a second identity that is easy to miss. 1729 = 7 × 13 × 19, and it is the third Carmichael number: composite, yet it satisfies the congruence aⁿ ≡ a (mod n) that primes obey, so it fools the simplest primality test there is. Asking for two cube-sums instead of one turns the problem into a search rather than a party piece — Ta(3) = 87,539,319 waited for a computer, and Ta(6) = 24,885,188,539,897,652, found in 2008, is still only the smallest example known, not a proved minimum.
Answer
1729
How to read it
9³ + 10³ on the workbench. Both links are exact integers: no rounding is involved in either direction.
Source
G. H. Hardy's 1918 visit to Ramanujan in hospital at Putney, told in Hardy's A Mathematician's Apology (1940); 1729 is Ta(2), the second taxicab number
Work it in the calculator
These links open the right calculator with this problem's numbers already typed in. The line above is what the screen should show — check it yourself.