News for hackers. Stuff that matters.
Re:Mathematicians Discover the Perfect Way to Multiply by spuz on Friday April 12, 2019 @09:34AM (#19644622)
Re:Mathematicians Discover the Perfect Way to Multiply by hannob on Friday April 12, 2019 @09:31AM (#19644602)
The title is a bit misleading, though they do explain it in the text.

It seems they cannot show right now that this is the perfect way to multiply. It's faster than any previously existing way and they hope to be able to proove in the future that there is no faster way.

I found this interesting because coming from cryptography I know that it's very hard to have any lower bounds for algorithm speed. Which is why we can't have provably secure cryptography (yet?).

Re:Mathematicians Discover the Perfect Way to Multiply by rollthehard6 on Friday April 12, 2019 @09:34AM (#19644624)
Q - how do you multiply something like 25x63 example in your head? Personally, I'd break that down also, by doing -

5 x 63 = 315 x 5 = 1575

reminds me a little of the Feynman story about his duel with the abacus master. https://news.ycombinator.com/item?id=5849665

Re:Mathematicians Discover the Perfect Way to Multiply by docdeek on Friday April 12, 2019 @09:37AM (#19644653)
For that example I would be thinking 60 x 25 = 1500 (4 x 25=100, so that's the simple part for me) and then 3 x 25 = 75, and add the two products.
Re:Mathematicians Discover the Perfect Way to Multiply by soVeryTired on Friday April 12, 2019 @10:18AM (#19644992)
In general I find mental arithmetic like this easiest if you start from the most significant digits. So you just need to keep track of a running sum and which multiplications you still need to add.

Here's the calculation as I would do it in my head, more or less:

25 * 63 = (20 + 5) * (60 * 3)

= (20 * 60) + (5 * 60) + (3 * 20) + (5 * 3)

= 1200 + (5 * 60) + (3 * 20) + (5 * 3)

= 1500 + (3 * 20) + (5 * 3)

= 1560 + (5 * 3)

= 1575

Re:Mathematicians Discover the Perfect Way to Multiply by flashgordon on Friday April 12, 2019 @11:22AM (#19645588)
If division can be involved, why not:

= ((25 * 4) * 63) /4

= 100 * 63 /4

= 6300 / 4

= (6400 - 100) / 4

= 1600 - 25

= 1575

Re:Mathematicians Discover the Perfect Way to Multiply by pseudolus on Friday April 12, 2019 @09:03AM (#19644397)
Here's a link to the actual paper:

https://hal.archives-ouvertes.fr/hal-02070778/document (PDF)

Re:Mathematicians Discover the Perfect Way to Multiply by amichail on Friday April 12, 2019 @09:32AM (#19644609)
The second author is the creator of TeXmacs btw.
Re:Mathematicians Discover the Perfect Way to Multiply by lower on Friday April 12, 2019 @09:33AM (#19644616)
Re:Mathematicians Discover the Perfect Way to Multiply by rawwar on Friday April 12, 2019 @09:56AM (#19644800)
Aren't algorithms for multiplying integers in O(n log n) using DFT known for a long time (eg. Cooley-Tukey)?
Re:Mathematicians Discover the Perfect Way to Multiply by eesmith on Friday April 12, 2019 @02:17PM (#19647506)
According to the article, Schönhage and Strassen introduced the use of fast Fourier transform to integer multiplication in 1971, giving n × log n × log(log n). "The technique has been the basis for every fast multiplication algorithm since."

"Over the past decade, mathematicians have found successively faster multiplication algorithms, each of which has inched closer to n × log n, without quite reaching it. Then last month, Harvey and van der Hoeven got there."

Re:Mathematicians Discover the Perfect Way to Multiply by JustSomeNobody on Friday April 12, 2019 @09:37AM (#19644646)
25 X 63

25 X 6 X 10 = 1500

25 X 3 = 75

1500 + 75

1575

This is easier for me to do in my head than juggle as many steps as the "perfect way"