alg. Long Multiplication. (grade school) algorithm

  • Complexity: Time .

alg. Karatsuba Multiplication. Recursive algorithm to compute

  • Idea: To get
    1. Let be digits of , and observe:
      1. Recurse Compute …(1)
      2. Recurse Compute …(2)
      3. To compute the middle term, instead of computing we do:
        1. Recursively compute …(3)
        2. (3) subtract (1) and (2) to get middle term
  • Complexity
    • Time:
    • Span: (by parallelzing all 3 recursive calls)

alg. Lattice Multiplication. Developed for longer integer hand-calculation.