Loading...
Sub-quadratic integer multiplication using three recursive multiplications instead of four via clever algebraic rearrangement.
Split operands into high and low halves around midpoint digit length m.
Compute z2 = x1*y1, z0 = x0*y0, and mid via (x1+x0)(y1+y0)-z2-z0.
Assemble: z2 * B^(2m) + z1 * B^m + z0 with base-power shifts.
T(n) = 3T(n/2) + O(n)
Master Theorem => n^(log2 3) ~ n^1.585. Break-even vs classical occurs at moderate digit lengths depending on constants.