Prime numbers: a computational perspective - Crandall, Richard E., 1947-; Pomerance, Carl. (Springer, 2001)