Sieve of Eratosthenes
September 22, 2023
Sieve of Eratosthenes # I’m looking for ways to stress-test QLogo. A suggestion that came up in my Google search was the Sieve of Eratosthenes. The algorithm goes like this: erasthotenes(n): Create a list of all integers from 2 to n. Remove all multiples of primes up to the square root of n. The remaining list of numbers are the primes. I don’t consider myself an expert in the Logo language. ...