![]() |
|
|
#1 |
|
Sep 2003
5×11×47 Posts |
According to Wagstaff's conjecture, as described at http://www.utm.edu/research/primes/n...tMersenne.html, there is a higher probability of 2P-1 being prime if P=1 mod 4 than if P=3 mod 4.
(And of course there is 100% probability if P is prime and P=2 mod 4 ).The probability of 2P-1 being prime is conjectured to be (egamma log aP )/(P log 2), where a=2 if P=3 mod 4 and a=6 if P=1 mod 4, and gamma is Euler's constant 0.57721566490153286... If we look at the known Mersenne primes, there are 23 exponents P with P=1 mod 4 and 15 exponents P with P=3 mod 4 (and obviously 1 with P=2 mod 4). See http://opteron.mersenneforum.org/png/P_mod_4.png. Interestingly enough all five of GIMPS's discoveries (not including the new M40) were P=1 mod 4 exponents. Can we calculate the expected number of primes of each type based on Wagstaff's formula and see if it matches? This is equivalent to flipping N different unbalanced coins, where each coin Ni has a different probability Pi of landing on heads. What is the expected number of heads, and what is the probability of M heads, where 0 <= M <= N ? We have the limiting case of M << N and Pi << 1. The complication is that each Pi is different, otherwise it would be a simple calculation... |
|
|
|
|
|
#2 |
|
Sep 2003
258510 Posts |
Naturally as P -> infinity, the ratio
log 6P / log 2P = (log 6 + log P) / (log 2 + log P) -> 1. So eventually the number of P=1 mod 4 and P=3 mod 4 prime exponents should even out. At the current leading edge of P = 21.5M, the ratio of probabilities is already down to 1.0625. |
|
|
|
|
|
#3 |
|
Nov 2003
3·5·11 Posts |
The number of expected Mersenne primes below a certain exponent predicted Wagstaff's conjecture by can be found using the not so elegant solution of writing a program to add up all the probabilities for each prime up to and including 13466917. I get the results, in about 15 seconds:
Expected primes with p 1 mod 4 = 23.35, actual 23 Expected primes with p 3 mod 4 = 22.21, actual 15 Total expected primes 45.56, actual 38. I had the program output relevant data at every Mersenne prime exponent, but that would make a long post. If anyone wants it, I will gladly post it. Clearly Wagstaff's conjecture is close with p=1mod4, but not very good with p=3mod4. Regards, Nick |
|
|
|
|
|
#4 |
|
Sep 2003
5×11×47 Posts |
I haven't verified your calculation, but if it's true I wonder if the low number of "P=3 mod 4" Mersenne primes constitutes a statistical anomaly at odds with Wagstaff's conjecture.
Then again the plot of http://opteron.mersenneforum.org/png/P_mod_4.png seems to show numerous consecutive streaks where P=1 mod 4 or P=3 mod 4 dominate. So maybe we're due for a long streak of "P=3 mod 4" Mersenne primes yet to be discovered. |
|
|
|
|
|
#5 |
|
Nov 2003
3×5×11 Posts |
First, a verification would be appreciated. Second, it is worth noting there is no guarantee there are not undiscovered Mersenne primes with p=1mod4 with exponents below 13466917 (Although I find it hard to believe there are 7). Also, at the bottom of the prime page you gave a link to, there is a link for a loose justification of Wagstaff's conjecture. http://www.utm.edu/research/primes/m...heuristic.html Included is a method to evaluate the sum, but it looks like it will only work for very large N. However, I think an adaptation of the idea might help us.
|
|
|
|
|
|
#6 | ||
|
∂2ω=0
Sep 2002
República de California
103·113 Posts |
I, too, have been puzzling over the apparent mismatch between
the statistical frequency of p == 1 and 3 mod 4 M-primes predicted by Wagstaff's theorem and those actually seen for the 39 known odd- exponent Mersennes, and traded some e-mails with Chris Caldwell and Carl Pomerance about this back when the process of verifying the "false alarm" M#40 was taking place this past June. Neither of them was able to think of any obvious problem with Wagstaff's prediction which might explain the discrepancy. Here's the original e-mail I sent to them, with the false M#40 x'ed out to preserve the anonymity of the person whose machine reported the number as being prime: Quote:
Quote:
Now the one thing that has changed with the latest discovery is that M#40 actually has p == 3 mod 4, which breaks a string of 5 consecutive 1 mod 4s, and thus a "mere" 14 of the 20 largest-known Mersennes have p == 1 mod 4. That still seems improbable enough to perhaps indicate something interesting with regard to the apparent discrepancy with Wagstaff's prediction. I'm sending a copy of this to sAM Wagstaff, to solicit his input - if he finds no simple way to explain the apparent discrepancy I'll probably put togther a short note about this for submission to the number theory mailing list, perhaps in conjunction with a link to the official press release announcing the discovery of M#40. Best regards, -Ernst Last fiddled with by ewmayer on 2003-12-02 at 16:27 |
||
|
|
|
|
|
#7 | |
|
Nov 2003
3×5×11 Posts |
Quote:
|
|
|
|
|
|
|
#8 |
|
Sep 2003
1010000110012 Posts |
I looked at the data files to see if there was any difference between exponents with P=1 mod 4 and with P=3 mod 4.
As you know, there is a certain error rate for Lucas-Lehmer testing of exponents, due to faulty hardware, overclocking, bad memory, cosmic rays or whatnot. Errors are discovered through double and triple checking, which is often done years after the original result for any given exponent. It seems that results for exponents with P=1 mod 4 have about 1.025 - 1.03 times greater chance of having an error than exponents with P=3 mod 4. I don't know if this is statistically significant. Taking only results for George Woltman's programs with program code W[A-Z][0-9] we get error rates of: 7019/(7019+235902) = 0.028894 for P=1 mod 4 6514/(6514+225060) = 0.028129 for P=3 mod 4 The ratio 0.028894/0.028129 = 1.027 Just fishing for any possible difference in the way Prime95 handles the two congruence classes of exponents... Last fiddled with by GP2 on 2003-12-03 at 21:05 |
|
|
|
|
|
#9 | |
|
∂2ω=0
Sep 2002
República de California
103×113 Posts |
Just got this reply from Carl Pomerance:
Quote:
means extraordinary. I think this is another case of the human tendency to try to spot patterns even where none exist. At this point, if anything were anomalous in the mod-4 statistics, it would seem to be the excess of p == 3 mod 4's at smaller exponents, the opposite of what one would expect based on the asymptotics. But perhaps this is simply a scenario in which the asymptotic behavior doesn't really take hold until p is very large. (And even then it only does so in a long-term average sense, and the few dozen "coin flips" we have made to date aren't enough to discern it.) Looking again at the p mod 4's for the 39 known odd-exponent Mersennes, I see the first 10 are evenly split between 1 and 3, then 4 of the next 5 are == 3, 10 of the next 11 are == 1 (including a run of seven consecutive 1 mod 4's, from p = 9689 to 44497), 5 of the next 7 are == 3, then 5 consecutive 1s, then the latest prime with p == 3 mod 4. Fairly typical behavior for a random distribution, actually, and the "excess" of 3 mod 4s at small p (e.g. 9 of the first 15, whereas we'd expect more 1s than 3s) magically vanishes if we consider (say) the first 25. Again, the eye is drawn to the clumps. In any event, #40 (in terms of discovery order - for all we know it may prove to be #41 in terms of size) was a nice early Christmas gift. |
|
|
|
|
|
|
#10 | |
|
Aug 2003
Upstate NY, USA
2·163 Posts |
Quote:
|
|
|
|
|
|
|
#11 | |
|
Nov 2003
3·5·11 Posts |
Quote:
|
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mersenne Primes p which are in a set of twin primes is finite? | carpetpool | Miscellaneous Math | 3 | 2017-08-10 13:47 |
| Distribution of Mersenne primes before and after couples of primes found | emily | Math | 34 | 2017-07-16 18:44 |
| Gaussian-Mersenne & Eisenstein-Mersenne primes | siegert81 | Math | 2 | 2011-09-19 17:36 |
| A conjecture about Mersenne primes and non-primes | Unregistered | Information & Answers | 0 | 2011-01-31 15:41 |
| Mersenne Wiki: Improving the mersenne primes web site by FOSS methods | optim | PrimeNet | 13 | 2004-07-09 13:51 |