Oddbean new post about | logout
 Discover the Ancient Algorithm for Finding Prime Numbers!

The Sieve of Eratosthenes is a centuries-old method for identifying prime numbers. This algorithm, named after ancient Greek mathematician Eratosthenes, has been used for finding all primes smaller than n. In this post, we'll delve into how it works and explore a C code implementation.

Source: https://dev.to/reda_rayyad/sieve-of-eratosthenes-441a