the product of all primes less than n, plus one, is prime. |
No, the product is prime
or it has a factor larger than n. This proves that there are infinitely many primes.
A gigabyte of memory may seem like a lot for a sieve. That's 8*2^30 =2^33 bits. And using that handy fact that 10^N ~ 2^(3N), that's about 10^11 bits. Gosh, with that much memory, you'd only need 10^989 machines to store a bit for each of number.
Let's see, an atom is about 10^-10m in diameter. If each atom represented one bit and they were packed together, you'd need a cube only (10^320)m on a side to store those bits, assuming that you could find the atoms.
And with a light year being about 10^16m, that cube would be about 10^304 light years across. With a universe that's less than 20 billion light years in size, that's around 10^294 universes wide.
So to recap, if you packed the entire universe with atoms and each atom represented a bit, you'd still need a a cube about 10^294 universes wide to represent the sieve.
My point is that a number with 1000 digits is a really Really REALLY big number.