![]() |
|
|
#12 | |
|
Sep 2002
Database er0rr
1110101100102 Posts |
Quote:
|
|
|
|
|
|
|
#13 |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
the pairings k and c, and b and c have to be coprime ( aka not share a divisor) for the form to have a chance at being prime. also all primes greater than 3 have to have remainder 1 or 5 when dividing by 6.
Last fiddled with by science_man_88 on 2016-03-08 at 12:25 |
|
|
|
|
|
#14 |
|
"NOT A TROLL"
Mar 2016
California
197 Posts |
|
|
|
|
|
|
#15 | |
|
Sep 2002
Database er0rr
1110101100102 Posts |
Quote:
If k (and c) are small the underlying library is faster.
Last fiddled with by paulunderwood on 2016-03-08 at 12:36 |
|
|
|
|
|
|
#16 | |
|
"NOT A TROLL"
Mar 2016
California
197 Posts |
Quote:
|
|
|
|
|
|
|
#17 |
|
Sep 2002
Database er0rr
EB216 Posts |
I am not sure about what you are asking. With 33.333...% of N-1 or N+1 one can use BLS; for 16.666...% of N^2-1 one can use the combined test; with 15% of the factors of N^2-1 one can prove with KP and with >12.5% of N^2-1 one can apply CHG. All can be done in a "reasonable" amount of time.
In prime searching all things are equal... for maximum speed choose k (and c) small, so that the library operates most quickly. Then run a sieve so that the elimination rate is equal to the average PRP test time of the range -- for varying n, this is about 80% of the range. Finally, run PFGW on what the sieve leaves. Last fiddled with by paulunderwood on 2016-03-08 at 12:52 |
|
|
|
|
|
#18 | |
|
"NOT A TROLL"
Mar 2016
California
197 Posts |
Quote:
|
|
|
|
|
|
|
#19 | |
|
Sep 2002
Database er0rr
72628 Posts |
Quote:
|
|
|
|
|
|
|
#20 |
|
"NOT A TROLL"
Mar 2016
California
197 Posts |
|
|
|
|
|
|
#21 |
|
Sep 2002
Database er0rr
2×32×11×19 Posts |
|
|
|
|
|
|
#22 |
|
"NOT A TROLL"
Mar 2016
California
197 Posts |
Ok, I'll do some of the work to fix the variable n. The k value I am trying to find. That shouldn't be too hard, right
![]() ![]()
Last fiddled with by PawnProver44 on 2016-03-08 at 13:05 |
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| The Fastest Path | a1call | Puzzles | 23 | 2016-03-23 17:46 |
| Fastest you've driven a car? | Oddball | Lounge | 43 | 2011-03-14 00:26 |
| Fastest Primality Tests | flouran | Miscellaneous Math | 174 | 2010-07-15 00:02 |
| Looking for a sieving program | jasong | Math | 17 | 2007-03-21 18:50 |
| The fastest way to a top-5000 prime? | lsoule | 15k Search | 13 | 2005-09-19 20:24 |