Fast Integer Multiplication Using Modular Arithmetic
Anindya De, Piyush P. Kurur, Chandan Saha et al. · SIAM Journal on Computing · 2008
We give an $N\cdot \log N\cdot 2^{O(\log^*N)}$ time algorithm to multiply two $N$-bit integers that uses modular arithmetic for intermediate computations instead of arithmetic over complex numbers as in Fürer's algorithm, which also has the same and so far the best known complexity. The previous best algorithm using modular arithmetic (by Schönhage and Strassen) has complexity $O(N \cdot \log N \cdot \log\log N)$. The advantage of using modular arithmetic as opposed to complex number arithmetic is that we can completely evade the task of bounding the truncation error due to finite approximations of complex numbers, which makes the analysis relatively simple. Our algorithm is based upon Fürer's algorithm, but uses fast Fourier transform over multivariate polynomials along with an estimate of the least prime in an arithmetic progression to achieve this improvement in the modular setting. It can also be viewed as a $p$-adic version of Fürer's algorithm.
Cited by 75 works. doi:10.1137/100811167 Open-access PDF
Authors
References
- An Introduction to the Theory of Numbers.
- Riemann's hypothesis and tests for primality
- Schnelle Multiplikation großer Zahlen
- Probabilistic algorithm for testing primality
- Character theory of finite groups
- Elementary Number Theory
- Multiplication of Multidigit Numbers on Automata
- PRIMES is in P
- Zero-Free Regions for Dirichlet L-Functions, and the Least Prime in an Arithmetic Progression
- A divisor problem