Seive of Eratosthenes
fiddles