Story Details

  • Cab Numbers

    Posted: 2025-01-21 17:37:39

    Cab numbers, also known as Ramanujan-Hardy numbers, are positive integers that can be expressed as the sum of two positive cubes in two different ways. The smallest such number is 1729, which is 1³ + 12³ and also 9³ + 10³. The post explores these numbers, providing a formula for generating them and listing the first few examples. It delves into the mathematical underpinnings of these intriguing numbers, discussing their connection to elliptic curves and highlighting the contributions of Srinivasa Ramanujan in identifying their unique property. The author also explores a related concept: numbers expressible as the sum of two cubes in three different ways, offering formulas and examples for these less-common numerical curiosities.

    Summary of Comments ( 3 )
    https://news.ycombinator.com/item?id=42782929

    Hacker News users discuss the surprising mathematical properties of "cab numbers" (integers expressible as the sum of two positive cubes in two different ways), focusing on Ramanujan's famous encounter with the number 1729. Several commenters delve into the history and related mathematical concepts, including taxicab numbers of higher order and the significance of 1729 in number theory. Some explore the computational aspects of finding these numbers, referencing algorithms and code examples. Others share anecdotes about Ramanujan and discuss the inherent beauty and elegance of such mathematical discoveries. A few commenters also provide links to further reading on related topics like Fermat's Last Theorem and the sum of cubes problem.