Professional Documents
Culture Documents
Dr. Arunachalam V
Associate Professor, SENSE
Introduction
• Another way to perform modular division when the modulus has a special
form is Hensel’s division.
• For a modulus = , given two integers A,B, we compute Q and R such that
= + .
• Therefore we have / = .
• While Montgomery’s modular multiplication only computes the remainder R
of Hensel’s division, modular division computes the quotient Q, thus Hensel’s
division plays a central role in modular arithmetic modulo .
Reference
1. Chapter 2.5 of Richard P Brent and Paul Zimmerman, “Modern
Computer Arithmetic”, Cambridge University Press 2010.
Next Class
MODULAR EXPONENTIATION