5 ms·
I've expanded out the Karatsuba method to prove it to myself that it works for any (10a+b)(10c+d). I can highly recommend.
by btdmaster 5y ago
I've expanded out the Karatsuba method to prove it to myself that it works for any (10a+b)(10c+d). I can highly recommend.
- dhosek 5y agoYou're not alone. (10a+b)(10c+d) = 100ac+10(ad+bc)+bd = 100ac+10(ac+ad+bc+bd-ac-bd)+bd = 100ac+10[(a+b)(c+d)-ac-bd]+bd. Quite pleasing, aesthetically.