Generating primes using the Sieve of Eratosthenes plus a few optimizations

This blog post has moved to https://matthewvaneerde.wordpress.com/2011/11/11/generating-primes-using-the-sieve-of-eratosthenes-plus-a-few-optimizations/