![]() |
![]() |
#45 |
"NOT A TROLL"
Mar 2016
California
197 Posts |
![]()
Phew. Thanks for saving me the stress about the time. I am only finding prps up to 200k digits to save even more hassel.
![]() |
![]() |
![]() |
![]() |
#46 |
Jun 2003
113518 Posts |
![]() |
![]() |
![]() |
![]() |
#47 |
Sep 2002
Database er0rr
3,527 Posts |
![]() |
![]() |
![]() |
![]() |
#48 | |
"Dana Jacobsen"
Feb 2011
Bangkok, TH
11100010102 Posts |
![]()
I'm confused where this 8k digit restriction is coming from. It works fine on 140k digit numbers.
Quote:
] |
|
![]() |
![]() |
![]() |
#49 |
"NOT A TROLL"
Mar 2016
California
19710 Posts |
![]()
200k digits for n/thoery at most?
EDIT: Is it the same for Dana's perl next_prime(x) and random_ndigit_prime(x) functions? Last fiddled with by PawnProver44 on 2016-05-17 at 15:04 |
![]() |
![]() |
![]() |
#50 | |
Sep 2002
Database er0rr
3,527 Posts |
![]() Quote:
I guess PawnProver44 can, in a single script file, sieve with one of your perl functions and call PFGW on surviving candidates. Is this right? Last fiddled with by paulunderwood on 2016-05-17 at 15:21 |
|
![]() |
![]() |
![]() |
#51 |
"Dana Jacobsen"
Feb 2011
Bangkok, TH
38A16 Posts |
![]()
I guess I should try some larger numbers just to say that it's been done.
Even at 10k digits, using PFGW is faster, but not overwhelmingly so. Once you get much larger, I think using PFGW for an initial test, followed by Paul's standalone F-U program would give a very good combination. Paul's program uses gwnum, same as PFGW, takes about 3x longer to run, but a much more stringent test so good to use to confirm PFGW's result. It's still a PRP, but passing two Fermat tests and a Lucas test is good. There has been a bit of confusion on the nextprime issue. PFGW has the (AFAIK) fastest available PRP test (albeit just a Fermat test). It also includes an expression evaluator that includes a nextprime command that happens to be very slow. I suspect it was intended for simple things like 'nextprime(50)#+59' where it works great, rather than for huge inputs. |
![]() |
![]() |
![]() |
#52 |
"NOT A TROLL"
Mar 2016
California
197 Posts |
![]()
So then I can use the text file link like you sugessted earlier, then use the sieve command not listed in the module description, then prp test remaining candidates, then after that preform Paul's BPSW test and verify to make sure it is a Fermat and Lucus PRP? Perfect!
Last fiddled with by PawnProver44 on 2016-05-17 at 15:22 |
![]() |
![]() |
![]() |
#53 |
"NOT A TROLL"
Mar 2016
California
19710 Posts |
![]()
Ok, I'll just record the time for a 391 digit prime using pfgw's nextprime(x) and then double each candidate 9 times to get to 200192 digits (close to my aim of 200k digits).
|
![]() |
![]() |
![]() |
#54 | ||
"Dana Jacobsen"
Feb 2011
Bangkok, TH
38A16 Posts |
![]() Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#55 | |
"Dana Jacobsen"
Feb 2011
Bangkok, TH
2·3·151 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
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 |
OEIS - 2^n-5 - LLT-like algorithm for finding PRPs | T.Rex | Miscellaneous Math | 13 | 2015-09-01 13:09 |
PRPs not prime | schickel | FactorDB | 1 | 2015-08-03 02:50 |
Proven PRPs? | Random Poster | FactorDB | 0 | 2012-07-24 10:53 |
PRPs that are composites | gd_barnes | Conjectures 'R Us | 57 | 2011-09-12 12:31 |