Not really a sieve of eratosthenes