Are prime numbers infinite?

22-16

[SOLVED] Are prime numbers infinite?

Are prime numbers infinite[?] [?] [?]

KLscilevothma

Yes, there are an infinite number of primes

KL Kam

KLscilevothma

Proof:
assume there exist only finite number of primes, say p1, ... ,pn

Consider Q=p1 ... pn + 1

is Q a prime number?
If yes, this means that there exist a prime other than p1 ... pn (absurd!)

is Q composite?
now Q is not divisible by pi , then Q must contains divisors other than p1 ... pn

The result follows.

PS Grammar mistake in my last post, it should be "there are infinite number of primes" HallsofIvy

Homework Helper
No, you first post "there are AN infinite number of primes" was grammatically correct. "There are infinitely many primes" would also be correct. "There are infinite number of primes" is not grammatically correct.

You are, of course, completely correct in calling attention to the fact that the original question "are prime numbers infinite" is ambiguous and rephrasing it.

(Oh, by the way, your proof that there are an infinite number of primes is certainly completely correct and goes back to Euclid himself.)

KLscilevothma

No, you first post "there are AN infinite number of primes" was grammatically correct. "There are infinitely many primes" would also be correct. "There are infinite number of primes" is not grammatically correct.

HallsofIvy, thx for giving me an English lesson under the topic "Are prime numbers infinite?" Ed Quanta

I will go on and give the reassuring answer of yes. And the amount of numbers in between prime numbers increases as the numbers increase, and the pattern of prime numbers appears to be completely random.

FrankM

Even more useless information about primes. Some encryption codes use the multiple of two primes. Since really big numbers are very time consuming to factor, even super computers (if there is such a thing anymore) needs days weeks months even years to factor the number into the original two primes. Read that in scientific american I think. I had a lot of fun for a few days trying to write code that would factor these numbers really fast (or even not so fast) but got absolutly nowhere.

thed

But the million dollar question is, are there an infinite number of prime pairs?

Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving