![]() |
|
|
#45 |
|
A Sunny Moo
Aug 2007
USA (GMT-5)
3×2,083 Posts |
It does--I've tried it before.
|
|
|
|
|
|
#46 |
|
Jun 2009
2AC16 Posts |
Some more:
Code:
855419506*3^3-1 = 23,096,326,661 = 87,743*263,227 prime at n=10 862434914*3^4-1 = 69,857,228,033 = 152,597*457,789 prime at n=12 870070870*3^7-1 = 1,902,844,992,689 = 563,153*3,378,913 prime at n=15 |
|
|
|
|
|
#47 | |
|
May 2007
Kansas; USA
101×103 Posts |
Quote:
Please explain why you continue to indicate that there is a problem with GMP or gwnum. Why are these false PRPs? They look like good PRPs to me as found by PFGW. They just happen to be composite with large factors found. It isn't like PFGW completely missed a small factor. The script and PFGW appear to be acting like they should be. Upon a primality test, they find them to be composite and continue to test the k's until they find a prime. Peter, I would suggest using -f30 for base 3. I've tested it with -f100 and -f30 and found -f30 to be faster for scripting to n=25K. Although you'll get more composite PRPs, that's not a problem. The pl_prime file will be the same. Gary Last fiddled with by gd_barnes on 2011-02-15 at 18:24 |
|
|
|
|
|
|
#48 | |
|
"Mark"
Apr 2003
Between here and the
24·397 Posts |
Quote:
My point is that I need to verify that the results of the test are valid and not caused by an underlying software issue. At this time, I do not believe that there is software issue in either GMP or gwnum. As I stated above, I think that it is a good idea to use a different base than the default (which happens to be 3) when PRP testing base 3 numbers. The number of PRPs that turn out to be composite should be reduced. |
|
|
|
|
|
|
#49 |
|
Jun 2009
22·32·19 Posts |
Next time I will. BTW did you get the mails for R3 k=850M to 875M and k= 875M to 900M? They were about the size you said was the limit of your mailbox.
|
|
|
|
|
|
#50 | |
|
Just call me Henry
"David"
Sep 2007
Cambridge (GMT/BST)
5,881 Posts |
Quote:
Would a SPRP test be hard to implement in pfgw? Would it be noticeably slower than the current PRP test? |
|
|
|
|
|
|
#51 |
|
Jun 2003
22×33×47 Posts |
No. SPRP test is exactly the same as PRP test, except it would be a few iterations lesser (1 iteration less in case of composite, 1 or more iterations less in case of a PRP).
|
|
|
|
|
|
#52 |
|
May 2007
Kansas; USA
28A316 Posts |
|
|
|
|
|
|
#53 | |
|
May 2007
Kansas; USA
101·103 Posts |
Quote:
As long as -b5 would not slow down testing of base 3, that seems like a reasonable idea. But...keep in mind that we're only finding perhaps 3 to 10 PRPs for every 10 million to 25 million k's that are tested on base 3, an amazingly small percentage. So if there's even a small slowdown by using -b5, I would recommend against it. Gary |
|
|
|
|
|
|
#54 | |
|
A Sunny Moo
Aug 2007
USA (GMT-5)
3·2,083 Posts |
Quote:
) and found that it didn't make any difference in the test times. The residues will of course be different (though they're comparable with others of the same base) but that's not really a big deal for new bases since we're not saving residues for those n-levels anyway.
|
|
|
|
|
|
|
#55 |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
948810 Posts |
44766250*3^7+1 = 97903788751 is a composite base 3 PRP (also base 5 PRP and base 15 PRP).
97903788751 = 221251 * 442501 = p(2p-1). (Found as 1933902*15^4+1. 1933902*15^7+1 is prime.) Last fiddled with by Batalov on 2011-09-12 at 00:08 |
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Near- and quasi-repunit PRPs | Batalov | And now for something completely different | 10 | 2019-09-12 13:31 |
| Very (large) PRPs? | PawnProver44 | Information & Answers | 95 | 2016-05-20 18:24 |
| OEIS - (2^n-5)/3 - n odd - LLT-like algorithm for finding PRPs | T.Rex | Miscellaneous Math | 10 | 2015-09-01 18:07 |
| PRPs not prime | schickel | FactorDB | 1 | 2015-08-03 02:50 |
| Proven PRPs? | Random Poster | FactorDB | 0 | 2012-07-24 10:53 |