Crandall, R Prime numbers: A computational perspective - 2nd. Edition. - New York Springer 2005 - xv, 597p. ISBN: 978-0-387-25282-7