primes = Prime @ Range[10^6];