halved eratosthenes runtime; solved 37-38