Hasty Briefsbeta

Bilingual

Show HN: Museum of Numbers

3 days ago
  • 1729 is the smallest number expressible as the sum of two cubes in two different ways, famously noted by Hardy and Ramanujan.
  • 2,147,483,647 equals 2^31 − 1, the largest value that fits in a standard signed 32-bit computer integer.
  • In 1772, nearly blind Leonhard Euler proved that 2,147,483,647 is prime; it remained the largest known prime for almost a century.
  • Adding 1 to 2,147,483,647 in a 32-bit system causes overflow, flipping it to −2,147,483,648, like an odometer rolling over.
  • YouTube's original view counter nearly overflowed when 'Gangnam Style' approached 2,147,483,647 views, prompting a joke about upgrading to 64-bit.
  • Real-world failures include a Boeing 787 generator counter overflowing after 248 days of continuous power and Comair's 2004 scheduling collapse.
  • Many video games cap currency, coins, or points at 2,147,483,647; going past it can turn a large positive value into a huge negative one.
  • Systems that count seconds from 1970 will reach 2,147,483,647 on 19 January 2038, a known issue engineers have been fixing.
  • Computers are finite counters: every number lives in a fixed-size box, and even 64-bit systems have an upper limit.