22A.O.L. Atkin and D.J. Bernstein, Prime sieves using binary quadratic forms, Math. Comp., 73:246 (2004) 1023–1030