T TestsWorld
Lesson 10 of 11 Cube numbers and patterns ⏱ 4 min

Taxicab numbers and cube patterns

🤔
Think first
Why did Ramanujan say taxi number 1729 was not dull at all?
🎯 In this lesson you'll learn
  • ✓Know the Hardy–Ramanujan number
  • ✓See cubes in odd numbers and in differences

A famous story. G. H. Hardy visited Srinivasa Ramanujan in hospital and said his taxi number, 1729, seemed rather dull. Ramanujan replied at once that it is very interesting: it is the smallest number that is a sum of two cubes in two different ways:

📌

1729 = 1³ + 12³ = 9³ + 10³

1729 is called the Hardy–Ramanujan number, and numbers like it are taxicab numbers. The next two are 4104 and 13832. Try it: find their two ways.

Cubes from odd numbers: group the odd numbers 1, 2, 3, … at a time:

📌

1 = 1³ 3 + 5 = 8 = 2³ 7 + 9 + 11 = 27 = 3³ 13 + 15 + 17 + 19 = 64 = 4³ 21 + 23 + 25 + 27 + 29 = 125 = 5³

So the 10 odd numbers from 91 to 109 add to 10³ = 1000, no adding needed.

Successive differences: for squares, the differences of differences are all 2 after two levels. For cubes (1, 8, 27, 64, 125, 216) they become all 6 after three levels (see the picture).

cubes182764125216level 1719376191level 212182430level 36661729 = 1³ + 12³ = 9³ + 10³

Tap the diagram to enlarge it

Taking differences of the cubes three times gives a row of 6s.
✨
Did you know?
4104 = 2³ + 16³ = 9³ + 15³ and 13832 = 2³ + 24³ = 18³ + 20³ are the next two taxicab numbers.
📌 Remember these
  1. 1729 = 1³ + 12³ = 9³ + 10³
  2. Row n of odd numbers adds to n³
  3. Cube differences settle at level 3
✅ Quick check
← →