Prime numbers: a computational perspective - Crandall, Richard (Springer, 2005)