Corrected prime sieve, per M. O'Neill's paper
Works, now that the prime sieve has been corrected