Implementations of the Sieve of Eratosthenes in various languages. It is a simple algorithm.