mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Miscellaneous Math

Reply
 
Thread Tools
Old 2018-12-17, 17:28   #67
Chara34122
 
Nov 2018
Russia

7 Posts
Default

About Wagstaff 3 mod 4 prevalence. If p= 1 mod 4 prime is Sophie Germain prime, than 2p+1 divides (2^p+1)/3 or not ? 59 divides (2^29+1)/3 for example. Is this correct as the case with 3 mod 4 SG prime for Mersenne number?


And of course congrats with the find!
Chara34122 is offline   Reply With Quote
Old 2018-12-17, 17:31   #68
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

5,419 Posts
Default

Quote:
Originally Posted by GP2 View Post
See the tables in my previous two posts.
Thank you for the very interesting series of posts. Sincerely.
kriesel is offline   Reply With Quote
Old 2018-12-17, 21:13   #69
GP2
 
GP2's Avatar
 
Sep 2003

5·11·47 Posts
Default

Sorry if I'm hijacking this thread and chasing mirages, but... rather than looking at all fully-factored Mersenne numbers, let's look specifically at Mersenne semiprimes.

They seem to behave the opposite way from Mersenne primes.

Below is the list of the 325 currently-known fully-factored or probably-fully-factored Mersenne numbers. Alongside each exponent is a count of factors.

By convention, we always omit the cofactor from our factor lists even when it is a prime or probable prime. So the exponents listed below with a "1" next to them represent semi-primes, which strictly speaking have two factors.

Code:
      1 11
      1 23
      2 29
      1 37
      1 41
      2 43
      2 47
      2 53
      1 59
      1 67
      2 71
      2 73
      2 79
      1 83
      1 97
      1 101
      1 103
      1 109
      4 113
      1 131
      1 137
      1 139
      1 149
      4 151
      3 157
      4 163
      1 167
      3 173
      2 179
      3 181
      4 191
      2 193
      1 197
      1 199
      2 211
      5 223
      1 227
      3 229
      3 233
      5 239
      1 241
      4 251
      2 257
      3 263
      1 269
      1 271
      2 277
      1 281
      2 283
      1 293
      4 307
      2 311
      3 313
      3 317
      2 331
      4 337
      1 347
      2 349
      2 353
      5 359
      4 367
      1 373
      1 379
      4 383
      2 389
      8 397
      3 401
      2 409
      4 419
      1 421
      7 431
      3 433
      3 439
      2 443
      4 449
      1 457
      3 461
      5 463
      2 467
      3 479
      1 487
      6 491
      2 499
      3 503
      3 509
      1 523
      4 541
      3 547
      4 557
      2 563
      4 569
      3 571
      2 577
      5 587
      3 593
      2 599
      3 601
      2 613
      3 617
      3 619
      2 631
      5 641
      2 643
      2 647
      5 653
      3 659
      4 661
      3 673
      4 677
      2 683
      4 691
      7 701
      2 709
      3 719
      1 727
      3 733
      3 739
      6 743
      2 751
      3 757
      4 761
      2 769
      5 773
      3 787
      6 797
      1 809
      3 811
      4 821
      3 823
      5 827
      2 829
      4 839
      4 853
      3 857
      3 859
      4 863
      5 877
      1 881
      3 883
      4 887
      3 907
      3 911
      2 919
      4 929
      4 937
      2 941
      5 947
      5 953
      4 967
      1 971
      5 977
      1 983
      4 991
      1 997
      7 1009
      3 1013
      4 1019
      4 1021
      3 1031
      4 1033
      2 1039
      3 1049
      3 1051
      1 1061
      1 1063
      3 1069
      7 1087
      5 1091
      4 1093
      6 1097
      2 1103
      3 1109
      2 1117
      2 1123
      3 1129
      5 1151
      3 1153
      3 1163
      2 1171
      4 1181
      5 1187
      2 1193
      5 1201
      3 1223
      5 1289
      2 1301
      2 1303
      3 1307
      4 1321
      2 1327
      6 1361
      5 1373
      3 1409
      1 1427
      2 1459
      3 1471
      1 1487
      2 1531
      3 1543
      5 1553
      2 1559
      1 1637
      1 1657
      4 1693
      5 1783
      2 1907
      3 1997
      4 2069
      6 2087
      5 2243
      4 2251
      2 2311
      3 2381
      2 2383
      5 2447
      3 2549
      6 2677
      5 2699
      5 2789
      3 2837
      4 2909
      1 2927
      2 3041
      1 3079
      1 3259
      1 3359
      2 3547
      2 3833
      2 4127
      4 4219
      1 4243
      1 4729
      5 4751
      2 4871
      3 5087
      3 5227
      5 5233
      1 5689
      1 6043
      3 6199
      3 6337
      2 6883
      4 7039
      1 7331
      3 7417
      2 7673
      1 7757
      3 8243
      2 8849
      2 9697
      3 9733
      6 9901
      4 10007
      1 10169
      3 10211
      4 10433
      2 11117
      2 11813
      3 12451
      2 12569
      1 14561
      2 14621
      1 17029
      2 17683
      4 19121
      3 20521
      4 20887
      3 22193
      4 25243
      3 25933
      1 26903
      1 28759
      1 28771
      2 29473
      2 32531
      4 32611
      4 35339
      2 41263
      3 41521
      3 41681
      2 51487
      3 53381
      4 57131
      1 58199
      1 63703
      2 82939
      3 84211
      2 86137
      1 86371
      2 87691
      1 106391
      1 130439
      1 136883
      1 151013
      2 157457
      1 173867
      2 174533
      2 175631
      1 221509
      3 270059
      1 271211
      1 271549
      1 406583
      1 432457
      3 440399
      2 488441
      3 576551
      1 611999
      2 675977
      1 684127
      2 696343
      5 750151
      3 822971
      1 1010623
      1 1168183
      1 1304983
      1 1629469
      4 1790743
      1 2327417
      1 3464473
      1 4187251
      2 4834891
      1 5240707
      3 7080247
      1 7313983
If we look at only the exponents p of the 83 semiprimes we get the following:

Code:
             all   p>1200  p>10k  p>100k
     p=1      34     15     10      7
     p=3      49     29     20     14
So for exponents of Mersenne semiprimes there seems to be a marked prevalence of p=3 vs. p=1, whereas for exponents of Mersenne primes it is the opposite.

At higher values of p, the prevalence seems to be 2-to-1.

However, perhaps what is being selected for is not the size of p, but the asymmetricity of the two factors that make up the semiprime. In the Cunningham range below 1200, everything is fully-factored, but for higher exponents, we are only capable of finding very asymmetric semiprimes with one very small factor and an enormous cofactor.

Last fiddled with by GP2 on 2018-12-17 at 21:18
GP2 is offline   Reply With Quote
Old 2018-12-17, 21:31   #70
GP2
 
GP2's Avatar
 
Sep 2003

5·11·47 Posts
Default

Quote:
Originally Posted by GP2 View Post
Sorry if I'm hijacking this thread and chasing mirages, but... rather than looking at all fully-factored Mersenne numbers, let's look specifically at Mersenne semiprimes.
Let's do the same thing for Wagstaff semiprimes.

Below is the list of the 252 currently known fully-factored or probably-fully-factored Wagstaff numbers.The exponents with a "1" next to them represent semiprimes (one factor, plus the cofactor).

Code:
      1 29
      1 37
      1 41
      1 47
      1 53
      2 59
      1 67
      1 71
      1 73
      4 83
      2 89
      3 97
      1 103
      1 107
      1 109
      3 113
      2 131
      3 137
      1 139
      3 149
      1 151
      3 157
      2 163
      4 173
      1 179
      2 181
      4 193
      2 197
      4 211
      1 223
      2 227
      1 229
      2 233
      2 239
      3 241
      1 251
      2 257
      3 263
      1 269
      3 271
      1 277
      2 281
      4 283
      4 293
      3 307
      1 311
      2 317
      4 331
      3 337
      1 349
      1 353
      3 359
      5 367
      2 373
      2 379
      2 383
      3 389
      4 397
      3 401
      2 409
      2 419
      2 421
      2 431
      1 433
      4 439
      4 443
      3 449
      1 457
      5 461
      3 463
      6 467
      4 479
      1 487
      2 491
      5 499
      1 503
      2 509
      3 521
      6 523
      7 541
      2 547
      2 557
      2 563
      4 569
      4 571
      3 577
      3 587
      3 593
      1 599
      1 601
      5 607
      1 613
      3 617
      1 619
      5 631
      6 641
      1 643
      4 647
      4 653
      3 659
      5 661
      2 673
      5 677
      2 683
      4 691
      3 709
      4 719
      3 727
      3 733
      1 739
      3 743
      3 751
      1 757
      5 761
      5 769
      3 773
      4 787
      4 797
      5 809
      3 811
      2 821
      3 823
      1 827
      4 829
      1 839
      4 853
      2 857
      4 859
      4 863
      5 877
      7 881
      3 883
      4 887
      2 907
      2 911
      4 919
      6 929
      5 937
      3 941
      7 947
      6 953
      2 967
      4 971
      4 977
      4 983
      5 991
      3 997
      4 1009
      3 1013
      3 1019
      7 1021
      1 1031
      3 1039
      5 1049
      3 1051
      1 1061
      2 1069
      2 1093
      7 1103
      1 1117
      2 1171
      5 1181
      3 1193
      1 1217
      2 1229
      3 1237
      4 1277
      5 1279
      1 1447
      1 1453
      1 1459
      4 1607
      3 1609
      4 1613
      2 1627
      3 1667
      3 1721
      3 1861
      4 1867
      1 1873
      2 1951
      5 1973
      2 1979
      1 1999
      4 2017
      2 2039
      2 2063
      1 2137
      6 2161
      3 2239
      3 2411
      2 2543
      5 2579
      2 2633
      2 2647
      3 2707
      3 3061
      2 3169
      1 3329
      1 3613
      2 3877
      2 3967
      2 4481
      7 4483
      1 4567
      1 4651
      1 5413
      2 6163
      1 6701
      2 6947
      3 7417
      6 8167
      1 8329
      1 8387
      3 8849
      4 9461
      2 9803
      1 10343
      3 10597
      2 11411
      2 11503
      1 12497
      1 12829
      1 14489
      1 15313
      4 16729
      2 19379
      1 20201
      2 21613
      2 29027
      2 29437
      1 31601
      1 32369
      3 32377
      2 35677
      3 35851
      1 41269
      1 80819
      1 83423
      2 85517
      1 91159
      1 161683
      1 257869
      2 318271
      1 343933
      1 364513
      1 610289
      1 685739
      2 730339
      2 758231
      1 823337
      2 1430131
If we look at only the exponents of the 72 semiprimes we get the following:

Code:
             all   p>1100  p>10k  p>100k
     p=1      40     23     13      5
     p=3      32     12      6      2
So for exponents of Wagstaff semiprimes there seems to be a marked preference of p=1 vs. p=3, whereas for exponents of Wagstaff primes it is the opposite.

At higher values of p, the prevalence seems to be 2-to-1.

Again, what is being selected at higher p might not be the size of p itself, but rather the asymmetricity of the two factors that make up the semiprime.

For Wagstaff numbers, the Cunningham range of everything being fully-factored ends a little sooner (we use 1100 as the cutoff) since they have been a little less thoroughly factored than the Mersenne numbers.

Last fiddled with by GP2 on 2018-12-17 at 21:47
GP2 is offline   Reply With Quote
Old 2018-12-18, 00:27   #71
GP2
 
GP2's Avatar
 
Sep 2003

5·11·47 Posts
Default

Here is the summary.

If we exclude the tiny exponents (p less than 1000), I would conjecture that:
  • Mersenne primes are twice as likely to have p=1 rather than p=3 (mod 4)
  • Mersenne semiprimes are twice as likely to have p=3 rather than p=1 (mod 4)
  • Wagstaff primes are twice as likely to have p=3 rather than p=1 (mod 4)
  • Wagstaff semiprimes are twice as likely to have p=1 rather than p=3 (mod 4)
  • Within p=1 (mod 4), Mersenne primes are twice as likely to have p=1 (mod 8) rather than p=5 (mod 8)
  • Within p=3 (mod 4), Mersenne semiprimes are twice as likely to have p=7 (mod 8) rather than p=3 (mod 8)
  • Within p=3 (mod 4), Wagstaff primes are twice as likely to have p=7 (mod 8) rather than p=3 (mod 8)
  • Within p=1 (mod 4), Wagstaff semiprimes might be twice as likely to have p=1 (mod 8) rather than p=5 (mod 8)

The search for Wagstaff primes and semiprimes has not been as extensive as the search for Mersenne primes and semiprimes.

Code:
Mersenne primes

             filter by
           p greater than:
           10^3 10^4 10^5
mod 4
     p=1    24   19   14
     p=3    12    9    8
mod 8
     p=1    16   13   10
     p=3     6    5    4
     p=5     8    6    4
     p=7     6    4    4
Code:
Mersenne semiprimes

             filter by
           p greater than:
           10^3 10^4 10^5
mod 4
     p=1    16   10    7
     p=3    30   20   14
mod 8
     p=1     8    5    3
     p=3    12    7    5
     p=5     8    5    4
     p=7    18   13    9
Code:
Wagstaff primes

             filter by
           p greater than:
           10^3 10^4 10^5
mod 4
     p=1     8    6    3
     p=3    15   13    8
mod 8
     p=1     6    5    3
     p=3     5    4    2
     p=5     2    1    0
     p=7    10    9    6
Code:
Wagstaff semiprimes

             filter by
           p greater than:
           10^3 10^4 10^5
mod 4
     p=1    24   13    5
     p=3    13    6    2
mod 8
     p=1    14    9    3
     p=3     6    3    2
     p=5    10    4    2
     p=7     7    3    0

Last fiddled with by GP2 on 2018-12-18 at 00:30
GP2 is offline   Reply With Quote
Old 2018-12-18, 14:36   #72
GP2
 
GP2's Avatar
 
Sep 2003

5×11×47 Posts
Default

Quote:
Originally Posted by GP2 View Post
Here is the summary.
The table above omitted M51, which has already been revealed to be 1 (mod 4) and 5 (mod 8).

So it should be updated to:

Code:
Mersenne primes

             filter by
           p greater than:
           10^3 10^4 10^5
mod 4
     p=1    25   20   15
     p=3    12    9    8
mod 8
     p=1    16   13   10
     p=3     6    5    4
     p=5     9    7    5
     p=7     6    4    4
GP2 is offline   Reply With Quote
Old 2018-12-18, 20:08   #73
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

7,537 Posts
Default

Quote:
Originally Posted by GP2 View Post
I would conjecture that:

Mersenne primes are twice as likely to have p=1 rather than p=3 (mod 4)
A bold conjecture that contradicts Wagstaff's predictions. You'll need great data to back up that claim. Such as data showing that known TF factors are eliminating 3 mod 4 candidates more often than predicted.
Prime95 is offline   Reply With Quote
Old 2018-12-18, 21:15   #74
GP2
 
GP2's Avatar
 
Sep 2003

258510 Posts
Default

Quote:
Originally Posted by Prime95 View Post
A bold conjecture that contradicts Wagstaff's predictions. You'll need great data to back up that claim. Such as data showing that known TF factors are eliminating 3 mod 4 candidates more often than predicted.
I claim only that the existing data is consistent with the conjecture. The statistics are admittedly a bit low.

The data is in the four tables in my last post: observed frequencies of p (mod 4) and p (mod 8) for known Mersenne primes and semiprimes and known Wagstaff primes and semiprimes.

I offer no hypotheses or explanations.


PS,
I already posted the data for average number of size-65-bits-or-less factors for Mersenne numbers with p=1 (mod 4) vs. p=3 (mod 4).

(The threshold of 65 bits or less was chosen because thanks to TJAOI we can be pretty sure that we know all factors of this size for all Mersenne numbers with prime exponents up to 1 billion.)

Mersenne numbers in class p=1 are slightly less likely to have factors than those in class p=3, but only slightly. This isn't enough to explain the observed highly asymmetric properties of the primes and semiprimes.

Last fiddled with by GP2 on 2018-12-18 at 21:16
GP2 is offline   Reply With Quote
Old 2018-12-18, 22:11   #75
ewmayer
2ω=0
 
ewmayer's Avatar
 
Sep 2002
República de California

19·613 Posts
Default

Quote:
Originally Posted by Prime95 View Post
A bold conjecture that contradicts Wagstaff's predictions. You'll need great data to back up that claim. Such as data showing that known TF factors are eliminating 3 mod 4 candidates more often than predicted.
I recall make a similar comment to Richard Crandall and Carl Pomerance fairly early in the days of GIMPS, after we'd found 5 straight M-primes (p = 1398269, 2976221, 3021377, 6972593, 13466917) with p == 1 (mod 4), and the excess of 1s was really going against Wagstaff's statistical prediction. That streak was followed by three straight 3s, but since then, 8 of 9 newly discovered M-primes have had p == 1 (mod 4). So of GIMPS' 17 primes, only 4 have had p == 3 (mod 4), a really striking disparity.

Last fiddled with by ewmayer on 2018-12-18 at 22:21
ewmayer is offline   Reply With Quote
Old 2018-12-19, 01:11   #76
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

5,419 Posts
Default

Quote:
Originally Posted by ewmayer View Post
I recall make a similar comment to Richard Crandall and Carl Pomerance fairly early in the days of GIMPS, after we'd found 5 straight M-primes (p = 1398269, 2976221, 3021377, 6972593, 13466917) with p == 1 (mod 4), and the excess of 1s was really going against Wagstaff's statistical prediction. That streak was followed by three straight 3s, but since then, 8 of 9 newly discovered M-primes have had p == 1 (mod 4). So of GIMPS' 17 primes, only 4 have had p == 3 (mod 4), a really striking disparity.
I hope it's either statistical fluctuation, or an actual pattern with mathematical justification TBD, not a consequence of similar effect undiscovered bugs lurking in the primality test codes. Some of the codes have ancestry in common. If there was an issue in common, present in a bit of "DNA in common", despite the best efforts of the authors and extreme care in using differing programs on differing hardware in multiple confirmations by multiple individuals, how could we know?

Last fiddled with by kriesel on 2018-12-19 at 01:17
kriesel is offline   Reply With Quote
Old 2018-12-19, 02:55   #77
Madpoo
Serpentine Vermin Jar
 
Madpoo's Avatar
 
Jul 2014

3,313 Posts
Default

Quote:
Originally Posted by Prime95 View Post
A bold conjecture that contradicts Wagstaff's predictions. You'll need great data to back up that claim. Such as data showing that known TF factors are eliminating 3 mod 4 candidates more often than predicted.
I ran a quick count of the distinct exponents with any known factors and whether that exponent is 1 or 3 mod 4:

Mod Count
1 14,559,812 (49.301%)
3 14,972,752 (50.699%)

I wouldn't say it's a runaway for the 3 mod 4 exponents being factored. In fact it seems like a pretty basic variation around 50/50 based on an incomplete set.

If I look at the same breakdown of all exponents (below 1 billion) then it looks like (I excluded known primes, including the latest one) - spoiler alert, it's what you would expect, and probably would have come out even closer if I hadn't excluded the known primes which we know skew more (currently) to the "1" side:
Mod Count
1 25,423,460 (49.999%)
3 25,424,023 (50.001%)

EDIT: I also ran it by looking only at factors of 65-bits or less, in case that matters - it does favor the "3" a little more, but not terribly. It is funny that beyond 65-bits, the 1 mod 4's are ahead (by 35,474 exponents out of > 2.14 million)
Mod Count
1 13,591,041 (49.184%)
3 14,042,237 (50.816%)

Last fiddled with by Madpoo on 2018-12-19 at 03:09
Madpoo is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
500€ Reward for a proof for the Wagstaff primality test conjecture Tony Reix Wagstaff PRP Search 7 2013-10-10 01:23
Torture and Benchmarking test of Prome95.Doubts in implementation paramveer Information & Answers 32 2012-01-15 06:05
Wagstaff Conjecture davieddy Miscellaneous Math 209 2011-01-23 23:50
Algorithmic breakthroughs davieddy PrimeNet 17 2010-07-21 00:07
Conspiracy theories jasong Soap Box 11 2010-07-05 12:23

All times are UTC. The time now is 01:13.


Mon Aug 2 01:13:23 UTC 2021 up 9 days, 19:42, 0 users, load averages: 0.94, 1.16, 1.14

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.