15

Here's the proof from the book I'm reading that proves there are infinitely many primes:

We want to show that it is not the case that there only finitely many primes. Suppose there are finitely many primes. We shall show that this assumption leads to a contradiction. Let $p_1, p_2,...,p_n$ be all the primes there are. Let $x = p_1...p_n$ be their product and let $y=x+1$. Then $y \in \mathbb{N}$ and $y \neq 1$, so there is a prime $q$ such that $q \mid y$. Now $q$ must be one of $p_1,...,p_n$ since these are all primes that there are. Hence $q \mid x$. Since $q \mid y$ and $q \mid x$, $q \mid (y-x)$. But $y-x=1$. Thus $q \mid 1$. But since $q$ is prime, $q \geq 2$. Hence $q$ does not divide 1. Thus we have reached a contradiction. Hence our assumption that there are only finitely many primes must be wrong. Therefore there must be infinitely many primes.

I have a couple of questions/comments regarding this proof. I will use a simple example to help illustrate my questions:

Suppose only 6 primes exist: $2, 3, 5, 7, 11, 13$

Let $x = p_1p_2p_3p_4p_5p_6=30,030$

Let $y = x + 1 = 30,030+1 = 30,031$

Questions/Comments:

  1. The proof states there is a prime $q$ such that $q \mid y$ and that $q$ must be either $p_1, p_2, p_3, p_4, p_5,$ or $p_6$. However, none of the 6 primes listed, $(2,3,5,7,11,13)$, divides $30,031$. In fact, the only divisors for $30,031$ are $1, 59, 509$ and $30,031$. Doesn't the proof then break down here since there is no prime $q$ that divides $y$?

  2. The prime factorization of $30,031$ is $59 \times 509$. These two numbers are factors of $30,031$ and are in fact primes themselves since they are only divisible by themselves or by 1. Have I shown that there exists $\gt 6$ primes? If so, what can I conclude now that I have shown this?

  3. I don't understand why the contradiction $q$ divides $1$ and $q$ does not divide $1$ lead us to the assumption that the finitely many primes must be wrong. I understand how we reached the contradiction. I don't understand why contradiction leads us to the conclusion shows that are assumption that there is only finitely many primes is wrong.


My apologies for the long post. Thanks for any and all help.

  • 2
    unique factorization requires a unique prime decomposition. If no $p$ exists, there must be a new prime... – Eleven-Eleven Oct 08 '16 at 23:50
  • 18
    The point of the argument is that there must be some prime not in the list that divides the number you produce. Your example confirms this! You found two such primes $59,509$ neither of which is on the list. Thus, your list can't have been complete. – lulu Oct 08 '16 at 23:51
  • 3
    The proof makes an assumption that there are finitely many primes, But it then goes on to show, given the conditions, this actually can't be the case. Therefore, the flaw is in your assumption, since all arguments in the proof are mathematically valid. – Eleven-Eleven Oct 08 '16 at 23:53
  • Thanks for the quick replies everybody. Could you expound a bit more about #3?. Why does this contradiction lead us to the fact that the assumption that there are finitely many primes must be wrong? – Kurt Mueller Oct 08 '16 at 23:53
  • 2
    As stated above, all of your mathematical arguments are correct when you started from your original assumption. Yet you are led to a point in the proof that is impossible. If the mathematical arguments are sound and correct, what is left for there to be wrong...? The original assumption must therefore be incorrect. – Eleven-Eleven Oct 08 '16 at 23:55
  • 1
  • In this case that there are at least 7 primes. But if you generalize this, that p1p2...pn+1 is never divisible by p1,...,pn then p1,.....pn can not be a list of all primes. No such list can exist. So there can not be a finite number of primes.
  • – fleablood Oct 09 '16 at 00:33
  • we assumed p1,.....pn are all the primes. We know p1....pn +1 has a prime factor q. Since p1,....,pn are all the primes there are, q = pi, one of those primes. So pi|p1....pn and pi|p1....pn. so pi| 1. Which is impossible. So one of are assumptions must be wrong. They only assumption we can not justify is that p1,...,.pn are all the primes there are. But if there are a finite number of primes we can list all the primes and those would be all the primes there are. So that can't happen. So there are an infinite number of primes.
  • – fleablood Oct 09 '16 at 00:44
  • I think the bit missing is that you're not redefining what it means to be prime when you assume a list of possible primes. You aren't changing "x is prime" to mean "x is in this list". So, you're proving that the list is inconsistant with the defined meaning of prime, because you can find new numbers that fit that mold. – Weaver Oct 09 '16 at 14:47
  • 1
    "The proof states there is a prime q such that q∣y ... However, none of the 6 primes listed divides 30,031. In fact, the only divisors for 30,031 are 1,59,509 and 30,031. Doesn't the proof then break down here since there is no prime q that divides y?" - but you just found a prime q that divides y. 59 and 509 are primes that divide y. It didn't say the primes had to be in the list. – user253751 Oct 10 '16 at 00:28
  • 1
    How can this not be a dupe? – Carl Witthoft Oct 10 '16 at 13:54