Author Topic: [Solved] Prove that there are an infinite number of primes  (Read 9037 times)

0 Members and 2 Guests are viewing this topic.

Offline Ender

  • Moderator
  • Hero Member
  • *****
  • Posts: 2390
    • View Profile
[Solved] Prove that there are an infinite number of primes
« on: October 22, 2006, 08:21:32 pm »
AND DO NOT LOOK IT UP AND THEN POST IT.  Or else you're lame, among other things.

Hint:
Try proving it by contradiction. Assume a finite number of primes, p1p2p3...pn.
Then consider the number Q := p1p2p3...pn + 1.

EDIT: I'm posting the answer next Sunday.

« Last Edit: November 22, 2006, 03:13:48 pm by Ender »

Offline Newby

  • x86
  • Hero Member
  • *****
  • Posts: 10877
  • Thrash!
    • View Profile
Re: Prove that there are an infinite number of primes
« Reply #1 on: October 22, 2006, 08:48:19 pm »
[size=0pt]Q = 2 + 1
Q = 3

Q = 3*2 + 1
Q = 7

Q = 5*3*2 + 1
Q = 30 + 1
Q = 31

Going off of your assumption, if you multiply all the primes together, you can factor them down to the primes. If you add one, you can't. You will have a remainder of one left over. It isn't prime, and it isn't divisible by any prime numbers. So it can't exist, according to our assumption. Thus, the assumption is false, and there are an infinite number of prime numbers.[/size]I didn't have to look it up. I've seen it proven before. I just figured out how the reasoning works, though, so I learned something! =P
- Newby
http://www.x86labs.org

Quote
[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

I'd bet that you're currently bloated like a water ballon on a hot summer's day.

That analogy doesn't even make sense.  Why would a water balloon be especially bloated on a hot summer's day? For your sake, I hope there wasn't too much logic testing on your LSAT. 

Offline Sidoh

  • Moderator
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Prove that there are an infinite number of primes
« Reply #2 on: October 22, 2006, 08:53:27 pm »
Since every natural number can be written as a factorization of prime numbers and is an infinite set, there has to be a continuing, increasing set of primes to allow for this.  If there were a finite number of primes that ended (for example) somewhere around , writing as factorization of prime numbers such that would be impossible.

Edit: Thinking about that a bit longer led me to realize that doesn't necessarily make sense, but since Newby already ruined the fun... :P
« Last Edit: October 22, 2006, 09:00:07 pm by Sidoh »

Offline Ender

  • Moderator
  • Hero Member
  • *****
  • Posts: 2390
    • View Profile
Re: Prove that there are an infinite number of primes
« Reply #3 on: October 22, 2006, 09:08:25 pm »
Yeah, that doesn't make sense.

Offline Sidoh

  • Moderator
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Prove that there are an infinite number of primes
« Reply #4 on: October 22, 2006, 09:10:39 pm »
Yeah, that doesn't make sense.

Well excuse me if I haven't seen the proof before. :P

Offline Ender

  • Moderator
  • Hero Member
  • *****
  • Posts: 2390
    • View Profile
Re: Prove that there are an infinite number of primes
« Reply #5 on: October 22, 2006, 09:45:24 pm »
Didn't mean that meanly, just wanted to state that the problem was still unsolved, but I probably did come across as mean =\.

This proof is doable, but it takes some epiphanies and some incorrect proofs to ponder before you get it. I thought I had it one day, then explained it to my grandpa the next day, and when explaining it to him I realized it was wrong. So then I thought about it again, and that's when I got the epiphany.

Note: The hint really helps, use it, you're expected to =p. After you've solved it with the hint, then you can do it another way without a hint.

Offline Sidoh

  • Moderator
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Prove that there are an infinite number of primes
« Reply #6 on: October 22, 2006, 09:47:59 pm »
Didn't mean that meanly, just wanted to state that the problem was still unsolved, but I probably did come across as mean =\.

This proof is doable, but it takes some epiphanies and some incorrect proofs to ponder before you get it. I thought I had it one day, then explained it to my grandpa the next day, and when explaining it to him I realized it was wrong. So then I thought about it again, and that's when I got the epiphany.

Note: The hint really helps, use it, you're expected to =p. After you've solved it with the hint, then you can do it another way without a hint.

Quote Newby's post.  I'm pretty sure he answered it.

Offline Ender

  • Moderator
  • Hero Member
  • *****
  • Posts: 2390
    • View Profile
Re: Prove that there are an infinite number of primes
« Reply #7 on: October 22, 2006, 10:07:32 pm »
No, he saw it proven before. Figuring out the reasoning is good, but the question is to derive the reasoning. Still unsolved! =P Anyways, for you literary sticklers: if you didn't prove it yourself, then don't post the proof.

Offline Newby

  • x86
  • Hero Member
  • *****
  • Posts: 10877
  • Thrash!
    • View Profile
Re: Prove that there are an infinite number of primes
« Reply #8 on: October 22, 2006, 10:37:25 pm »
Well, I had the general idea of what to do, and your post was that general idea. So I just knew it was possible, so I worked at it. :)

(By I had seen it proven before, I know there was a solution. I didn't understand the reasoning or many of the words at the time, and it was over a year ago so eh?)

All I knew was to prove the opposite (finite #) to be incorrect, and your formula.
« Last Edit: October 22, 2006, 10:42:23 pm by Newby »
- Newby
http://www.x86labs.org

Quote
[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

I'd bet that you're currently bloated like a water ballon on a hot summer's day.

That analogy doesn't even make sense.  Why would a water balloon be especially bloated on a hot summer's day? For your sake, I hope there wasn't too much logic testing on your LSAT. 

Offline Sidoh

  • Moderator
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Prove that there are an infinite number of primes
« Reply #9 on: October 22, 2006, 10:45:02 pm »
Well, I had the general idea of what to do, and your post was that general idea. So I just knew it was possible, so I worked at it. :)

(By I had seen it proven before, I know there was a solution. I didn't understand the reasoning or many of the words at the time, and it was over a year ago so eh?)

All I knew was to prove the opposite (finite #) to be incorrect, and your formula.

You'd still seen it before. :P

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: Prove that there are an infinite number of primes
« Reply #10 on: October 23, 2006, 08:27:40 am »
I proved this last year in number theory, but I don't even have time to finish reading the boards.  I'll edit later!!!

Offline Sidoh

  • Moderator
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Prove that there are an infinite number of primes
« Reply #11 on: October 23, 2006, 12:24:27 pm »
I proved this last year in number theory, but I don't even have time to finish reading the boards.  I'll edit later!!!

I think we all would have given a number theory class. :'(

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: Prove that there are an infinite number of primes
« Reply #12 on: October 23, 2006, 06:25:44 pm »
That doesn't make sense!

Anyway, we did it by contradiction:
1. There are a finite number of primes.
2. Multiply all the primes together, and add 1, call it n.
3. Since n is not divisible by any prime, and since all composite numbers are divisible by prime numbers, this number is not composite.
4. Since it is not composite, it must be prime.
5. n is not prime because if it was, multiplying all primes and adding 1 would yield a larger number than n.  Thus, n cannot exist.

We did another method with FLT (I think, it was definitely one of Fermat's, not sure if it was his LT), but I don't feel like trying to explain it.

Offline Sidoh

  • Moderator
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Prove that there are an infinite number of primes
« Reply #13 on: October 23, 2006, 06:31:17 pm »
That doesn't make sense!

The implication was: "given [the opportunity to take] a number theory class."

:P

Offline Ender

  • Moderator
  • Hero Member
  • *****
  • Posts: 2390
    • View Profile
Re: Prove that there are an infinite number of primes
« Reply #14 on: October 23, 2006, 07:32:21 pm »
3. Since [Q] is not divisible by any prime...

Sorry to get knitty-gritty on you, but proofs are like that. Step 3 is the crux of the proof. yet you didn't explain it! Prove that Q is not divisible by any prime. You also seem to have some superfluous steps in there. Written proofs are better too, but anyways, the flow of it is "Q is not divisible by any prime because... therefore Q is prime, and since Q > pn, there must be an infinite number of primes."

Oh, and hint: It takes more explanation than you would think.