Prime numbers: A Computational Perspective, 2nd Ed (2005)

by Richard Crandall, Carl Pomerance