Skip to main content

One doc tagged with "sieve of eratosthenes"

View all tags

Sieve of Eratosthenes

The Sieve of Eratosthenes is an efficient algorithm to find all prime numbers up to a given limit.