by quickthrower2 · 3y ago · 0 comments
If there are finite, multiply them all and add one. This number is prime. QED
2 x 3 x … x 13 + 1 isn't prime but that's because that's just a subset of the primes, not all of them. And the argument relies on using all of them.
The actual proof is by contradiction, and goes something like this:
1) Let’s assume there’s a finite number of primes
2) Multiply them all and add one
3) Since we assumed 1), the result in 2) must have a divisor that’s one of those finite number of primes
4) But that’s not the case since we always get a remainder of one
3) and 4) is a contradiction, therefore 1 is false. At no point it follows that the number in 2) is a prime.
The misconception also often causes people to assume that any first N primes + 1 is a prime itself, which is not correct. Someone will use this to make an insecure cryptographic system eventually :) Just kidding, but you see my point how it’s not just a technical detail.