Mathematicians still don't know the fastest way to multiply numbers(scientificamerican.com)
229 points by beardyw 7 days ago | 141 comments
tl;dr: The grade-school multiplication algorithm runs in O(n²), long believed to be optimal until 23-year-old Anatoly Karatsuba disproved this in 1960 with an O(n^1.585) algorithm that trades multiplications for cheaper additions—still used today in languages like Python for large integers. In 2019, Harvey and van der Hoeven achieved O(n log n), suspected to be the theoretical speed limit, though their algorithm is "galactic" (only faster for impractically huge numbers). Proving O(n log n) is truly optimal remains an open problem.
HN Discussion:
  • Practical experience implementing Karatsuba reveals real-world complexity in choosing thresholds
  • Suggests related algorithms and resources for deeper exploration of the topic
  • Curious questions about implementation details like lookup tables vs computation
  • Article feels incomplete or missing key content like how computers actually multiply
  • Interest in whether O(n log n) can be proven optimal or if faster exists