image
Physics Forums Logo
image
image
* Register * Upgrade Blogs Library Staff Rules Mark Forums Read
image
image   image
image

Go Back   Physics Forums > Mathematics > Number Theory


Reply

image unknown primes less than largest known prime? Share It Thread Tools Search this Thread image
Old Apr27-09, 03:56 PM                  #1
SW VandeCarr

SW VandeCarr is Offline:
Posts: 588
unknown primes less than largest known prime?

The largest known primes for some time have all been Mersenne primes. Can it be shown either that there may exist or cannot exist unknown primes less than the largest known prime?
  Reply With Quote
Old Apr27-09, 04:14 PM       Last edited by mgb_phys; Apr27-09 at 07:17 PM..            #2
mgb_phys

Physics Guru 2008

mgb_phys is Offline:
Posts: 7,290
Recognitions:
Homework Helper Homework Helper
Science Advisor Science Advisor
Re: unknown primes less than largest known prime?

I'm not sure you can even prove that there aren't other Mersenne primes between the those found.
  Reply With Quote
Old Apr27-09, 06:11 PM                  #3
CRGreathouse

CRGreathouse is Offline:
Posts: 2,939
Recognitions:
Homework Helper Homework Helper
Science Advisor Science Advisor
Re: unknown primes less than largest known prime?

If you're talking only about other Mersenne primes, mgb_phys answered it: we have no idea. But to answer your literal question:
Originally Posted by SW VandeCarr View Post
The largest known primes for some time have all been Mersenne primes. Can it be shown either that there may exist or cannot exist unknown primes less than the largest known prime?
There are more than 1012978181 primes* beneath the largest known Mersenne prime. If storing each prime takes 1 bit, there has not been enough storage media produced on Earth through all history (hard drives, DVDs, clay tablets) to hold all these primes.

So yes, there are unknown primes beneath the largest known prime.

* In particukar, there are between 1.05901756822452 × 1012978181 and 1.05901756822453 × 1012978181 primes in that range, thanks to Pierre Dusart's tight bounds on pi(x).
  Reply With Quote
Old Apr27-09, 07:18 PM                  #4
mgb_phys

Physics Guru 2008

mgb_phys is Offline:
Posts: 7,290
Recognitions:
Homework Helper Homework Helper
Science Advisor Science Advisor
Re: unknown primes less than largest known prime?

Originally Posted by CRGreathouse View Post
There are more than 1012978181 primes
That you can even calculate such a number is truly amazing!
  Reply With Quote
Old Apr28-09, 12:39 AM                  #5
SW VandeCarr

SW VandeCarr is Offline:
Posts: 588
Re: unknown primes less than largest known prime?

Originally Posted by CRGreathouse View Post
If you're talking only about other Mersenne primes, mgb_phys answered it: we have no idea. But to answer your literal question:


There are more than 1012978181 primes* beneath the largest known Mersenne prime. If storing each prime takes 1 bit, there has not been enough storage media produced on Earth through all history (hard drives, DVDs, clay tablets) to hold all these primes.

So yes, there are unknown primes beneath the largest known prime.

* In particukar, there are between 1.05901756822452 × 1012978181 and 1.05901756822453 × 1012978181 primes in that range, thanks to Pierre Dusart's tight bounds on pi(x).
Thanks GR Greathouse.

If I wanted to enumerate the primes over some tractable interval less than the largest known prime , would it be any easier given that at least one prime greater than the upper bound of the interval is known?
  Reply With Quote
Old Apr28-09, 01:04 AM                  #6
CRGreathouse

CRGreathouse is Offline:
Posts: 2,939
Recognitions:
Homework Helper Homework Helper
Science Advisor Science Advisor
Re: unknown primes less than largest known prime?

Originally Posted by SW VandeCarr View Post
If I wanted to enumerate the primes over some tractable interval less than the largest known prime , would it be any easier given that at least one prime greater than the upper bound of the interval is known?
No, it would be just as hard. There's no good way to use that information.
  Reply With Quote
Old Apr28-09, 08:49 PM       Last edited by SW VandeCarr; Apr28-09 at 08:56 PM.. Reason: added word "all"            #7
SW VandeCarr

SW VandeCarr is Offline:
Posts: 588
Re: unknown primes less than largest known prime?

Originally Posted by CRGreathouse View Post
No, it would be just as hard. There's no good way to use that information.
I appreciate your patience with me. Just one more (two part) related question:

If I wanted to construct an unbroken sequence of all primes up to some prime p', would this limit be determined only by the limits of computability (brute force and/or algorithmic)? Is there any information regarding about what this limit might be?

Thanks in advance.
  Reply With Quote
Old Apr28-09, 09:18 PM                  #8
CRGreathouse

CRGreathouse is Offline:
Posts: 2,939
Recognitions:
Homework Helper Homework Helper
Science Advisor Science Advisor
Re: unknown primes less than largest known prime?

Originally Posted by SW VandeCarr View Post
I appreciate your patience with me. Just one more (two part) related question:
I don't mind answering your questions.

Originally Posted by SW VandeCarr View Post
If I wanted to construct an unbroken sequence of all primes up to some prime p', would this limit be determined only by the limits of computability (brute force and/or algorithmic)? Is there any information regarding about what this limit might be?
I don't understand what you're asking. But practically, if you want to make a huge list of primes, the issue you'll run into is storage: the memory needed for an efficient search (say, at least 20 * sqrt(n)/log(n) bytes to search up to n), and the hard drive (or whatever) space to keep the primes you find (say, 16 * n / log(n) bytes to store the primes up to n, or an eighth that amount for just the differences). So if you wanted a list of primes up to 10^20, you'd need several million terabytes of hard drive space (tens of millions unless you just store the differences).
  Reply With Quote
Old Apr28-09, 10:39 PM                  #9
CRGreathouse

CRGreathouse is Offline:
Posts: 2,939
Recognitions:
Homework Helper Homework Helper
Science Advisor Science Advisor
Re: unknown primes less than largest known prime?

Originally Posted by SW VandeCarr View Post
1)I'm trying to confirm that all primes up the largest known prime (or any arbitrarily large prime (p')) are in principle computable (Turing definition).
They are.

Originally Posted by SW VandeCarr View Post
2) Practically there is always a lot of interest in new largest prime, but none (as far as I can tell) as to the longest unbroken sequence of primes from 2 to p' . It seems such lists this would have utility for codes, "random" sequences and simply examining the statistical properties of such sequences. For example, do we know the first 10^6 or 10^7 primes?
There are algorithms that, given enough memory, can compute primes up to n faster than iterating through 1, 2, ..., n. So storage becomes the limiting concern there. You could fill a 250 GB hard drive with primes, but what then? It's often faster to generate them and use them on the fly anyway -- don't bother with the (slow) hard drive.
  Reply With Quote
Old Apr28-09, 10:50 PM                  #10
SW VandeCarr

SW VandeCarr is Offline:
Posts: 588
Re: unknown primes less than largest known prime?

Originally Posted by CRGreathouse View Post
They are.



There are algorithms that, given enough memory, can compute primes up to n faster than iterating through 1, 2, ..., n. So storage becomes the limiting concern there. You could fill a 250 GB hard drive with primes, but what then? It's often faster to generate them and use them on the fly anyway -- don't bother with the (slow) hard drive.
Thanks for your answers CRGreathouse. That's what I'll do.
  Reply With Quote
Old Apr28-09, 10:52 PM                  #11
CRGreathouse

CRGreathouse is Offline:
Posts: 2,939
Recognitions:
Homework Helper Homework Helper
Science Advisor Science Advisor
Re: unknown primes less than largest known prime?

Originally Posted by SW VandeCarr View Post
Thanks for your answers CRGreathouse. That's what I'll do.
May I ask what your application is?
  Reply With Quote
Old Apr29-09, 12:14 PM                  #12
SW VandeCarr

SW VandeCarr is Offline:
Posts: 588
Re: unknown primes less than largest known prime?

Originally Posted by CRGreathouse View Post
May I ask what your application is?
I'm interested in the statistical distribution of primes as it relates to some interesting research in self-organizing processes. There's a number of papers on the net regarding this. I'm a retired epidemiologist.
  Reply With Quote
Old Apr30-09, 08:21 PM       Last edited by ramsey2879; Apr30-09 at 08:28 PM.. Reason: power e.g. ability to list more and in less time            #13
ramsey2879

ramsey2879 is Offline:
Posts: 546
Blog Entries: 2
Re: unknown primes less than largest known prime?

Originally Posted by CRGreathouse View Post
They are.



There are algorithms that, given enough memory, can compute primes up to n faster than iterating through 1, 2, ..., n. So storage becomes the limiting concern there. You could fill a 250 GB hard drive with primes, but what then? It's often faster to generate them and use them on the fly anyway -- don't bother with the (slow) hard drive.
Just out of curiosity and possibly to help the originator of this thread, can someone point to a source for such a list generating algorithm. I know of prime lists of the first n primes, n = 10,000 or lower are the typical lists of primes that I have seen, but as to the quickest or most powerful list generator, I have no idea of where to look.
  Reply With Quote
Old May1-09, 12:17 AM                  #14
CRGreathouse

CRGreathouse is Offline:
Posts: 2,939
Recognitions:
Homework Helper Homework Helper
Science Advisor Science Advisor
Re: unknown primes less than largest known prime?

Originally Posted by ramsey2879 View Post
Just out of curiosity and possibly to help the originator of this thread, can someone point to a source for such a list generating algorithm. I know of prime lists of the first n primes, n = 10,000 or lower are the typical lists of primes that I have seen, but as to the quickest or most powerful list generator, I have no idea of where to look.
The Sieve of Atkin is the asymptotically fastest method I know. Bernstein has an excellent implementation on his site.
  Reply With Quote
Old May2-09, 06:19 PM                  #15
Count Iblis

Count Iblis is Offline:
Posts: 1,547
Recognitions:
Homework Helper Homework Helper
Re: unknown primes less than largest known prime?

Isn't it easier to use the formula by Riemann that gives an exact formula for pi(x) as a series involving the zeroes of the Riemann zeta function?
  Reply With Quote
Old May2-09, 06:23 PM                  #16
CRGreathouse

CRGreathouse is Offline:
Posts: 2,939
Recognitions:
Homework Helper Homework Helper
Science Advisor Science Advisor
Re: unknown primes less than largest known prime?

Originally Posted by Count Iblis View Post
Isn't it easier to use the formula by Riemann that gives an exact formula for pi(x) as a series involving the zeroes of the Riemann zeta function?
Not if you want an exact answer.
  Reply With Quote
image image
Reply
Thread Tools


Similar Threads for: unknown primes less than largest known prime?
Thread Thread Starter Forum Replies Last Post
NEED HELP WITH HOMEWORK No largest prime number msminnie Precalculus Mathematics 6 Oct2-07 10:04 PM
A formula of prime numbers for interval (q; (q+1)^2), where q is prime number. Victor Sorokine Number Theory 0 Jul21-05 03:37 PM

Powered by vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd. © 2009 Physics Forums
Sciam | physorgPhysorg.com Science News Partner
image
image   image