![]() |
![]() |
#1 |
Jun 2003
1,579 Posts |
![]()
I have been using the calcprimes.jar program I found on the forum to calculate the odds of finding primes. Overall I have found it very accurate. Are there any sequences that anyone knows of that beats the odds predicted by the program?
Do all the Riesel k<300 follow the odds predicted by the program? Looking at the statistics of the various drives the program looks accurate. |
![]() |
![]() |
![]() |
#2 |
Dec 2011
After milion nines:)
140510 Posts |
![]()
Hi!
I just search for that program and in "my range" show 1.79 expected primes. I should hope that will be 2 primes :)) Thanks for program, and if it is accurate as you say, that is good news for me :) Quick sieve test ( on known set of primes) REPORTED PREDICTED 2*10^n-1 28 23.84 3*10^n-1 19 20.45 5*10^n-1 25 24.74 6*10^n-1 31 27.63 8*10^n-1 23 23.42 9*10^n-1 20 18.05 so it looks pretty accurate to me :) Last fiddled with by pepi37 on 2014-09-27 at 14:38 Reason: add more info |
![]() |
![]() |
![]() |
#3 |
"Curtis"
Feb 2005
Riverside, CA
2×5×467 Posts |
![]()
Citrix-
A sequence that "beats the odds" is a matter of statistical distribution- there are surely a few that substantially beat the estimate so far, but we have no reason to think they will continue to do so. Like rolling dice, past performance is not connected to future results. If you are asking if any sequence exceeds the odds and we have a reason to think it will continue to do so, that 'reason' would be publication-worthy in most cases. So, no. Pepi- The theory that program uses is well-known, and any inaccuracies are due to the irregular nature of the distribution of primes rather than any error/inaccuracy in the program. |
![]() |
![]() |
![]() |
#4 |
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
932610 Posts |
![]()
I would expect those forms that have a partial algebraic factorization to need a correction coefficient (f < 1, not in the direction of 'beating the odds'). Consider 27*2^n-1.
|
![]() |
![]() |
![]() |
#5 | |
Jun 2003
1,579 Posts |
![]() Quote:
The likelihood increases in the case of mersenne numbers/GM/GQ as the size of the p increases by a factor of ln(p). It would remain constant for a Generalized fermat series depending on the exponent. The increased likelihood for generalized fermat numbers would be ln(2^x) (where 2^x is the exponent). Is there any way of confirming this empirically. I do not have access to the mersenne factor database/generalized fermat search database to test this. Can anyone disprove this or give a counterexample to this? |
|
![]() |
![]() |
![]() |
#6 |
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
426710 Posts |
![]()
If you've eliminated those candidates from the sieve file already, I'd expect that the program is still accurate.
|
![]() |
![]() |
![]() |
#7 | |
"Curtis"
Feb 2005
Riverside, CA
2×5×467 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#8 | |
Jun 2003
110001010112 Posts |
![]() Quote:
Odds of a regular number being prime= 1/ln(N) Odds of a mersenne being prime (where only prime exponents are used)= [1+ln(p)]/ln(2^p-1) For a 50M number this would be 18/50,000,000 ~ 1 in 3 million prime exponents or close to 1 prime in a 50 million n range --> which seems about right. I agree that there is not enough data to prove or disprove this. Odds for a GFN number being prime=[1+ln(2^x)]/ln(b^2^x) |
|
![]() |
![]() |
![]() |
#9 |
"Curtis"
Feb 2005
Riverside, CA
2×5×467 Posts |
![]()
I think your observation is an obfuscated rephrasing of the structure of the factors of mersenne numbers, while not altering the odds any mersenne trial factored to n bits is prime using the formula applied by calcprimes.
Since mersenne factors are bigger than 2p, you can apply the "odds of prime" as if trial factoring has been done to 2p, which would increase the probability produced by the formula. However, it doesn't mean mersennes are any easier to find per primality test; it merely alters the prefactoring effort/effectiveness. |
![]() |
![]() |
![]() |
#10 |
Dec 2011
After milion nines:)
5×281 Posts |
![]()
Does same size of sieve(in MB) ( same base, but different K) suggested same number of primes in same range?
Why I asking this: I made test sieves until 1000000 for K 8 sieve size is 1.906 MB, and for K 96 is 1.907 MB When using calcprimes. jar , I got predicted number of 27 primes for K=8 and only 21 primes for K=96 |
![]() |
![]() |
![]() |
#11 | |
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
17×251 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
GPU LLR program | jasong | GPU Computing | 19 | 2011-08-23 03:32 |
So you think you can program | rogue | Lounge | 5 | 2009-10-02 15:02 |
Program for GPU | tribal | Information & Answers | 5 | 2009-03-19 20:54 |
which program? | drakkar67 | Prime Sierpinski Project | 14 | 2005-11-29 06:25 |
program P-1 for K*2^n-1 | jocelynl | 15k Search | 19 | 2004-01-11 17:24 |