![]() |
|
|
#100 |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
2·47·101 Posts |
Perhaps, so. I was concerned that there may be some giant_mod bug or a carry count bug similar to one a few years ago.
Anyway, found one ... at a(15) = 220221 (!!) |
|
|
|
|
|
#101 | |
|
Feb 2017
Nowhere
7×23×29 Posts |
Quote:
How many candidates for a(15) were sieved out? BTW, it's another "interesting anomaly" that a(4) = a(3)^2 and a(14) = a(13)^2. |
|
|
|
|
|
|
#102 |
|
Jun 2003
2×3×7×112 Posts |
Hmmm... Unfortunately, we can't really rule out s/w issues with regular double check. BTW, does LLR, P95 & PFGW produce comparable residues on these type of numbers?. Perhaps a Gerbicz Error Check implementation for non base-2 PRP could be made. It will be much slower (50%?) but atleast could be used to spot check.
|
|
|
|
|
|
#103 |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
2·47·101 Posts |
Here is my eval of what usually happens in all three tools.
This is a special form. In LLR there is an input ABC template ABC ($a*$b^$c$d)/$e; in P95, PRP=1,b,n,1,"2", and PFGW understands the ABC form as well as recognizes the special form at parse stage. All three tools have adapted over time to do the following on it:
I am tempted to modify the source for this special case e=2, because giant mod is not needed, just compare two values (1 or (b^n+1)/2+1 -these should look just fine in limbs of b how they are likely internally stored) -- (or multiply by 2 and compare to 2). ...Thus avoiding giants. Another test that I did in limited range: use -a1, -a2 in pfgw (or similar in other tools); this is not a little bit, but a lot slower, because the special arrangement of exactly 32K b-limbs is destroyed. Let's see what happens. I'll tinker with this on the weekends. |
|
|
|
|
|
#105 |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
2·47·101 Posts |
|
|
|
|
|
|
#106 |
|
Jun 2003
2·3·7·112 Posts |
|
|
|
|
|
|
#107 |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
2·47·101 Posts |
These are too small to sieve, -- PFGW's ~45-bit pre-factoring looks fine to me.
It would be a different story for m=17, but I am taking a break for now. |
|
|
|
|
|
#108 |
|
Feb 2017
Nowhere
7×23×29 Posts |
|
|
|
|
|
|
#110 | |
|
Sep 2002
Database er0rr
2·32·11·19 Posts |
Quote:
Code:
time ./pfgw64 -k -f0 -od -q"(11559^131072+1)/2" | ../../coding/gwnum/lucasPRP - 1 11559 131072 1
Lucas testing on x^2 - 4*x + 1 ...
Is Lucas PRP!
real 20m21.514s
user 48m14.480s
sys 3m17.668s
|
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Is there a prime of the form...... | PawnProver44 | Miscellaneous Math | 9 | 2016-03-19 22:11 |
| OEIS A071580: Smallest prime of the form k*a(n-1)*a(n-2)*...*a(1)+1 | arbooker | And now for something completely different | 14 | 2015-05-22 23:18 |
| Smallest prime with a digit sum of 911 | Stargate38 | Puzzles | 6 | 2014-09-29 14:18 |
| Smallest floor of k for cullen prime | Citrix | Prime Cullen Prime | 12 | 2007-04-26 19:52 |
| Smallest ten-million-digit prime | Heck | Factoring | 9 | 2004-10-28 11:34 |