![]() |
|
|
#12 | |
|
"Robert Gerbicz"
Oct 2005
Hungary
3·547 Posts |
Quote:
|
|
|
|
|
|
|
#13 | |
|
P90 years forever!
Aug 2002
Yeehaw, FL
205716 Posts |
Quote:
First, there was a bug that has been there forever. The routine gwsetaddin does not work with numbers of the form 1*b^n+c using zero-padded FFTs. I guess no one used this routine. I've fixed this bug (except in the x87 code path). Second, the new routines gwmuladd4 and gwmulsub4 introduced in version 30.4 had problems with zero-padded FFTs. This wasn't much of an issue until gwsquare_carefully and gwmul_carefully switched to using these new routines in version 30.5. This bug has been fixed. I'll put these fixes into a new version 30.10. |
|
|
|
|
|
|
#14 | |
|
Dec 2011
After 1.58M nines:)
1,699 Posts |
Quote:
https://mersenneforum.org/showpost.php?p=616316&postcount=757 |
|
|
|
|
|
|
#15 | |
|
"Jeppe"
Jan 2016
Denmark
191 Posts |
Quote:
Code:
1385084*391^3437-1 is not prime, although Fermat PSP! P = 3, Lucas RES64: CF91244F7FB614D5 Time : 1.384 sec. 1385270*391^2588-1 is not prime, although Fermat PSP! P = 6, Lucas RES64: 90668F73899D0060 Time : 793.228 ms. |
|
|
|
|
|
|
#16 |
|
Aug 2020
79*6581e-4;3*2539e-3
2×5×73 Posts |
Can bugs like these be detected by Gerbicz error checking? For the two provided numbers it obviously did not happen, but maybe the base is the problem or the size?
And it made me wonder, how probable is it that undetected bugs are present in LLR2 or prime95 causing primes to be overlooked? For good reason detected primes are double-checked by other software, but not so for composites. |
|
|
|
|
|
#17 | |
|
Sep 2011
Germany
5×7×103 Posts |
Quote:
|
|
|
|
|
|
|
#18 | |
|
May 2004
FRANCE
24×3×13 Posts |
Quote:
Jean |
|
|
|
|
|
|
#19 | |
|
Aug 2020
79*6581e-4;3*2539e-3
2·5·73 Posts |
Quote:
Or did I get you wrong? I noted it is the same with LLR2 1.1.1 - so it's generally not found prime by any LLR? edit: And yet another question, sorry. Does this mean it's possible to have missed some base-2 Proth primes? Or is it apparently only affecting specific types of numbers? Last fiddled with by bur on 2023-02-13 at 19:34 |
|
|
|
|
|
|
#20 | |
|
Sep 2011
Germany
5·7·103 Posts |
Quote:
|
|
|
|
|
|
|
#21 |
|
Aug 2020
79*6581e-4;3*2539e-3
2×5×73 Posts |
I checked and Gerbicz is used automatically for Proth numbers. Anyway, from the output it looks like it's not that Gerbicz detects the error, but simply because when Gerbicz is enabled, then LLR2 only performs a PRP test - unless the candidate is a Proth number - and that PRP test is successful either way (see non-Gerbicz output):
Code:
$ ./sllr2 -v && ./sllr2 -d -q"1385084*391^3437-1" -oGerbicz=1 LLR2 Program - Version 1.1.1, using Gwnum Library Version 30.4 Gerbicz check is requested, switching to PRP. Starting probable prime test of 1385084*391^3437-1 Using zero-padded FMA3 FFT length 4K, a = 3, L2 = 15*14 1385084*391^3437-1, bit: 1156 / 3437 [33.63%], 1050 checked. Time per bit: 0.23 1385084*391^3437-1, bit: 2311 / 3437 [67.23%], 2310 checked. Time per bit: 0.23 1385084*391^3437-1 is base 3-Fermat PRP! (8916 decimal digits) Time : 829.397 ms. (Factorized part = 99.93%) Candidate saved in file t1748697.in for further test with Primo. Another thing, I ran LLR2 1.1.1 on two different systems and got different results. i9-10920x Code:
$ ./sllr2 -v && ./sllr2 -d -q"1385084*391^3437-1" LLR2 Program - Version 1.1.1, using Gwnum Library Version 30.4 Base factorized as : 17*23 Base prime factor(s) taken : 23 Starting N+1 prime test of 1385084*391^3437-1 Using zero-padded AVX-512 FFT length 4608, a = 3 1385084*391^3437-1 may be prime. Starting Lucas sequence... Using zero-padded AVX-512 FFT length 4608, P = 3 1385084*391^3437-1 may be prime, trying to compute gcd's U((N+1)/23) is coprime to N! 1385084*391^3437-1 is prime! (8916 decimal digits, P = 3) Time : 1.030 sec. Code:
$ ./sllr2 -v && ./sllr2 -d -q"1385084*391^3437-1" LLR2 Program - Version 1.1.1, using Gwnum Library Version 30.4 Base factorized as : 17*23 Base prime factor(s) taken : 23 Starting N+1 prime test of 1385084*391^3437-1 Using zero-padded FMA3 FFT length 4K, a = 3 1385084*391^3437-1 may be prime. Starting Lucas sequence... Using zero-padded FMA3 FFT length 4K, P = 3 1385084*391^3437-1 is not prime, although Fermat PSP! P = 3, Lucas RES64: CF91244F7FB614D5 Time : 1.558 sec. Last fiddled with by bur on 2023-02-14 at 14:56 |
|
|
|
|
|
#22 |
|
Sep 2011
Germany
1110000101012 Posts |
You are using an older llr2 app, try the latest
https://github.com/patnashev/llr2/releases If you only running llr2 use Gerbicz check or take an older llr version with gwnum 29.x, the current gwnum has some bugs. |
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Difference in residue LLR4.0 vs LLR2 1.1.1 | diep | Software | 7 | 2021-10-22 22:46 |
| inconsistencies between results.txt and results.json.txt | ixfd64 | Software | 3 | 2021-07-17 08:32 |
| Statistical properties of categories of GIMPS results and interim results | kriesel | Probability & Probabilistic Number Theory | 1 | 2019-05-22 22:59 |
| Where have all the TF results gone?... | lycorn | PrimeNet | 22 | 2017-10-02 02:40 |
| 0x results... | Mike | PrimeNet | 11 | 2004-05-23 12:55 |