Calculate primes between a given number range using the Sieve of Eratosthenes algorithm.