12

Recently I came across this proof for fact that primes are infinite.

It's a proof by contradiction. The proof assumes that primes are finite and there is a prime M which is larger than any prime out there. Then you basically take the product of all primes up to and including M and you add one to it, which the source where I read this proof claims is a prime obviously larger than M hence a contradiction to our assumption that primes are finite.

So why is it that product of first N primes + 1 another prime?

2 Answers2

22

It is not necessarily another prime, but it is most definitely divisible by another prime.

For example, take $2\cdot3\cdot5\cdot7\cdot11\cdot13+1=30031$, which is not prime but divisible by $59$.

It cannot be divisible by any one of those first $N$ primes, so it has to be divisible by some other prime (or possibly, a prime by itself, which also qualifies under the same definition).

barak manos
  • 43,109
7

Suppose there are only $n$ primes, $p_1,...,p_n$ and let $M=p_1...p_n+1$. If $M$ is composite, then there exists some prime $p_i$ which divides $M$. That is, there exists some $k$ such that $M=p_ik$. Note also that $p_i$ divides $M-1$. Therefore, there is some $\ell$ such that $M-1=p_i\ell$. Hence, we can write $M=p_i\ell+1=p_ik$. Alternately, $p_i(k-\ell)=1$. But this implies that $p_i$ divides $1$ and this is impossible. Therefore, the original assumption, that there are only $n$ primes, $p_1,...,p_n$, must be false.

user140776
  • 1,780