Modular multiplication without trial division (1985)

by P L Montgomery