![]() |
|
|
#34 |
|
Nov 2010
52 Posts |
Jean is currently away until 26th April, so he will probably not reply until then. I'll drop him an email so he's aware though.
Cheers - Iain |
|
|
|
|
|
#35 |
|
"Mark"
Apr 2003
Between here and the
11·577 Posts |
Here are the results on my Mac (non-AVX):
Code:
./pfgw32 -V -q"55459*2^159718+1"
PFGW Version 3.7.9.32BIT.20141125.Mac_Dev [GWNUM 28.6]
Special modular reduction using all-complex Pentium4 type-0 FFT length 12K, Pass1=48, Pass2=256 on 55459*2^159718+1
Detected in MAXERR>0.45 (round off check) in prp_using_gwnum
Iteration: 29697/159733 ERROR: ROUND OFF 0.5>0.45
PFGW will automatically rerun the test with -a1
Special modular reduction using all-complex type-1 FFT length 16K, Pass1=64, Pass2=256 on 55459*2^159718+1
55459*2^159718+1 is composite: RES64: [B74B8609EBA5C47A] (43.1098s+0.0003s)
./pfgw64 -V -q"55459*2^159718+1"
PFGW Version 3.7.9.64BIT.20141125.Mac_Dev [GWNUM 28.6]
Special modular reduction using all-complex Pentium4 type-0 FFT length 12K, Pass1=48, Pass2=256 on 55459*2^159718+1
55459*2^159718+1 is composite: RES64: [B74B8609EBA5C47A] (30.5987s+0.0003s)
|
|
|
|
|
|
#36 |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
36·13 Posts |
I found a truly unusual bug/feature in LLR. It is of a "gotcha" nature (i.e. you will never expect it).
Don't take it too hard; it is a bit whimsical but gave me a reason to scratch the top of my head. I am pretty sure that it will be very easy to fix. Try this input for the program Code:
ABC ($a*$b^$c$d)/$e 1 30720 10771 -1 30719 1 30720 10789 -1 30719 Surprisingly, LLR starts very slowly and goes on for hours. Why is that? That's because it is testing not these numbers; it tests (30720^118481-1)/30719 and (30720^118679-1)/30719 ! (that is - much larger numbers). My hunch is that somehow it tries to reduce the base while raising the power (harmonize the number?). It happens not just to this value of b but to any b divisible by 256, it seems (?). PFGW happily takes the same input and processes it correctly. I prefer using LLR on similar PRPs, because LLR cleverly runs a special FFT (based on the numerator) and applies gcd with N after the last iteration; PFGW acts upon N and uses Generic modular reduction which is ~2 times slower. I've been using LLR for decimal repunits and near-repunits for quite some time now, but of course because the base was always 10, I've never encountered this bug before. Note that the bug only shows up for ($a*$b^$c$d)/$e form. For $a*$b^$c$d header on the same file (even though these are definitely composites), the correct FFT size is chosen and the tests are fast. |
|
|
|
|
|
#37 | |
|
Jun 2003
31·163 Posts |
Quote:
Code:
if ((b_2up > b_else) && (!((format == ABCC) || (format == ABCK)))) {
|
|
|
|
|
|
|
#38 | |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
36×13 Posts |
Here is an interesting composite strong-Fermat PSP; might be good for tests of different implementations:
Quote:
Actually, with PFGW, it is a PRP in many bases, as well as by N+1/N-1 tests. Looks like another bug. __________________ *For example, all (19683^p-1)/19682 are strong-Fermat PSP, but it is hardly surprising because 19683 is simply a power of 3, and these are classic false hitters.) Last fiddled with by Batalov on 2015-04-24 at 02:34 |
|
|
|
|
|
|
#39 |
|
Sep 2002
Database er0rr
3,739 Posts |
|
|
|
|
|
|
#40 |
|
Jun 2003
31×163 Posts |
Large composite PRPs are much rarer than primes. As I have said in the other thread, a PRP test which is later overruled by a primality test, we should suspect the primality test as faulty.
FWIW, the current factorization of N-1 in factordb stands at 6.8% (if a PRP482 and PRP1632 are proven), with an additional 0.3% easily accessible if a C159 (SNFS166) is factored. Still way short of a proof, but I guess a more thorough PRP test can be done using this. |
|
|
|
|
|
#41 | |||
|
Einyen
Dec 2003
Denmark
35×13 Posts |
Even with ErrorCheck=1:
Quote:
Quote:
Quote:
Last fiddled with by ATH on 2015-04-24 at 17:27 |
|||
|
|
|
|
|
#42 | |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
36×13 Posts |
Quote:
In this particular size range (53-54K decimal digits), I've mined ~170 GRU PRPs with the intent to find 1-2 provable ones, and three more failed the second test and one passed second test and failed third (LLR runs three tests: sPRP Fermat, Lucas PRP and Frobenius PRP). Here are the artifacts (I can release them because I've run the ECM campaign on their cylotomic N-1 cofactors, and will not pursue them likely; but someone might get luckier than me): Code:
(40216^11719-1)/40215 is strong-Fermat PSP, but composite!! (P = 5, Q = 2), Lucas RES64: BEC0BFB78ED4A644 Time : 86.767 sec. (48591^11329-1)/48590 is strong-Fermat and Lucas PSP (P = 7, Q = 4), but composite!!. Frobenius RES64: 40E9023023389690 Time : 110.794 sec. (50322^11317-1)/50321 is strong-Fermat PSP, but composite!! (P = 5, Q = 2), Lucas RES64: F21F95D6F87D6D1B Time : 81.442 sec. (57042^11491-1)/57041 is strong-Fermat PSP, but composite!! (P = 5, Q = 2), Lucas RES64: 4CC3D7F332318CCE Time : 98.488 sec. (57352^11491-1)/57351 is strong-Fermat PSP, but composite!! (P = 5, Q = 2), Lucas RES64: 35EED4E3D5D92268 Time : 89.354 sec. |
|
|
|
|
|
|
#43 |
|
Sep 2002
Database er0rr
3,739 Posts |
FWIW: All 5 pass my Ruby fu_prp test
|
|
|
|
|
|
#44 |
|
Einyen
Dec 2003
Denmark
35×13 Posts |
For some reason (48591^11329-1)/48590 fails 2-PRP in Prime 95:
(with PRPBase=2 in Prime.txt and worktodo.txt: PRP=1,48591,11329,-1,"48590") Code:
(48591^11329-1)/48590 is strong-Fermat, BPSW and Frobenius PRP! (P = 1, Q = 3, D = -11) Time : 173.881 sec. UID: athath/xps, 48591^11329-1/48590 is not prime. RES64: A0748118119C4B49. We4: 58825882,00000000 UID: athath/xps, 48591^11329-1/48590 is a probable prime! We4: 58825882,00000000 UID: athath/xps, 48591^11329-1/48590 is a probable prime (5-PRP)! We4: 58825882,00000000 UID: athath/xps, 48591^11329-1/48590 is a probable prime (7-PRP)! We4: 58825882,00000000 UID: athath/xps, 48591^11329-1/48590 is a probable prime (11-PRP)! We4: 58825882,00000000 UID: athath/xps, 48591^11329-1/48590 is a probable prime (13-PRP)! We4: 58825882,00000000 UID: athath/xps, 48591^11329-1/48590 is a probable prime (17-PRP)! We4: 58825882,00000000 UID: athath/xps, 48591^11329-1/48590 is a probable prime (19-PRP)! We4: 58825882,00000000 (50322^11317-1)/50321 is strong-Fermat, BPSW and Frobenius PRP! (P = 1, Q = 3, D = -11) Time : 175.995 sec. UID: athath/xps, 50322^11317-1/50321 is a probable prime (2-PRP)! We4: 586A586A,00000000 UID: athath/xps, 50322^11317-1/50321 is a probable prime! We4: 586A586A,00000000 UID: athath/xps, 50322^11317-1/50321 is a probable prime (5-PRP)! We4: 586A586A,00000000 UID: athath/xps, 50322^11317-1/50321 is a probable prime (7-PRP)! We4: 586A586A,00000000 UID: athath/xps, 50322^11317-1/50321 is a probable prime (11-PRP)! We4: 586A586A,00000000 UID: athath/xps, 50322^11317-1/50321 is a probable prime (13-PRP)! We4: 586A586A,00000000 UID: athath/xps, 50322^11317-1/50321 is a probable prime (17-PRP)! We4: 586A586A,00000000 UID: athath/xps, 50322^11317-1/50321 is a probable prime (19-PRP)! We4: 586A586A,00000000 (57042^11491-1)/57041 is strong-Fermat, BPSW and Frobenius PRP! (P = 1, Q = 4, D = -15) Time : 167.904 sec. UID: athath/xps, 57042^11491-1/57041 is a probable prime (2-PRP)! We4: 59C659C6,00000000 UID: athath/xps, 57042^11491-1/57041 is a probable prime! We4: 59C659C6,00000000 UID: athath/xps, 57042^11491-1/57041 is a probable prime (5-PRP)! We4: 59C659C6,00000000 UID: athath/xps, 57042^11491-1/57041 is a probable prime (7-PRP)! We4: 59C659C6,00000000 UID: athath/xps, 57042^11491-1/57041 is a probable prime (11-PRP)! We4: 59C659C6,00000000 UID: athath/xps, 57042^11491-1/57041 is a probable prime (13-PRP)! We4: 59C659C6,00000000 UID: athath/xps, 57042^11491-1/57041 is a probable prime (17-PRP)! We4: 59C659C6,00000000 UID: athath/xps, 57042^11491-1/57041 is a probable prime (19-PRP)! We4: 59C659C6,00000000 (57352^11491-1)/57351 is strong-Fermat, BPSW and Frobenius PRP! (P = 1, Q = 4, D = -15) Time : 165.694 sec. UID: athath/xps, 57352^11491-1/57351 is a probable prime (2-PRP)! We4: 59C659C6,00000000 UID: athath/xps, 57352^11491-1/57351 is a probable prime! We4: 59C659C6,00000000 UID: athath/xps, 57352^11491-1/57351 is a probable prime (5-PRP)! We4: 59C659C6,00000000 UID: athath/xps, 57352^11491-1/57351 is a probable prime (7-PRP)! We4: 59C659C6,00000000 UID: athath/xps, 57352^11491-1/57351 is a probable prime (11-PRP)! We4: 59C659C6,00000000 UID: athath/xps, 57352^11491-1/57351 is a probable prime (13-PRP)! We4: 59C659C6,00000000 UID: athath/xps, 57352^11491-1/57351 is a probable prime (17-PRP)! We4: 59C659C6,00000000 UID: athath/xps, 57352^11491-1/57351 is a probable prime (19-PRP)! We4: 59C659C6,00000000 Last fiddled with by ATH on 2015-04-24 at 22:42 |
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| LLR Version 3.8.19 released | Jean Penné | Software | 11 | 2017-02-23 08:52 |
| LLR Version 3.8.18 released [deprecated] | Jean Penné | Software | 43 | 2017-02-20 12:05 |
| LLR Version 3.8.17 released [deprecated] | Jean Penné | Software | 18 | 2017-02-01 12:49 |
| Prime95 version 28.5 (deprecated, use 28.7) | Prime95 | Software | 162 | 2015-04-05 16:19 |
| LLR beta Version 3.8.13 (deprecated) | Jean Penné | Software | 111 | 2015-01-26 21:41 |