Primes

Prime sieve in a range, Miller–Rabin primality test, and find the next prime after n (BigInt).