Problem 3 via Erastosthenes sieve