@MISC{Runciman97lazywheel, author = {Colin Runciman}, title = {Lazy Wheel Sieves and Spirals of Primes}, year = {1997}}
This article describes functional variants of the wheel sieve that enumerate all primes as a lazy list. 2 A standard solution