when ramanujan heard that hardy had come in a taxi he asked him what the number of the taxi was. hardy said that it was just a boring number: 1729. ramanujan replied that 1729 was not a boring number at all: it was a very interesting one. he explained that it was the smallest number that could be expressed by the sum of two cubes in two different ways.