- The digits of add up to a number where equals times the number you get when you reverse the digits of .
- Reverse the digits of and find the prime factors of the number you get. Then take the sum of the squares of these prime factors and halve it. Removing the digit 0 from the new number yields back .
SolutionThe answer is 1729. The number is known as the Hardy-Ramanujan number after Ramanujan and the mathematician and Godfrey Hardy. It has another interesting property: you can write it as a sum of cubes in two different ways:
Srinivasa Ramanujan, 1887-1920.Hardy told the following story: "I remember once going to see [Ramanujan] when he was ill at Putney. I had ridden in taxi cab number 1729 and remarked that the number seemed to me rather a dull one, and that I hoped it was not an unfavorable omen. 'No,' he replied, 'it is a very interesting number; it is the smallest number expressible as the sum of two cubes in two different ways.' "