Modular Multiplication Without Trial Division

Peter L. Montgomery

1985 · Computer Science · Mathematics of Computation

Let $N > 1$. We present a method for multiplying two integers (called N-residues) modulo N while avoiding division by N. N-residues are represented in a nonstandard way, so this method is useful only if several computations are done modulo one N. The addition and subtraction algorithms are unchanged.

Open Full Paper ↗