![]() |
|
|
#419 | ||
|
May 2010
Prime hunting commission.
24·3·5·7 Posts |
Quote:
Maybe this clears everything up. Quote:
Now, to wait for sm88 to explain the unspecified sequences. Last fiddled with by 3.14159 on 2010-08-04 at 15:35 |
||
|
|
|
|
|
#420 |
|
Jun 2003
117378 Posts |
Some sample numbers:
Code:
Base|Exponent|Prob.|#tests |K Range |Cand Left|Sieve |#tests |
| |Boost|(before)|(3*#tests)|(p=10^12)|efficiency|(after)|
----+--------+-----+--------+----------+---------+----------+-------|
2 | 250000| 2| 86643 | 259929 | 10563 | 24.61 | 3520 |
6 | 96713| 3| 57762 | 173286 | 10563 | 16.40 | 3522 |
30 | 50948| 3.75| 46209 | 138627 | 10563 | 13.12 | 3522 |
210 | 32407|4.375| 39607 | 118821 | 10563 | 11.25 | 3520 |
|
|
|
|
|
|
#421 | |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
Quote:
85 Mod 23 = 16 the start c 16*4+1 = 65-23 = 42 then -23 = 19 19*4+1 = 77-23 = 54-23 again = 31 - 23 again = 8 8*4+1 = 33-23=10 10*4+1 = 41 - 23=18 18*4+1=73 - 23 = 50 -23=27-23 =4 4*4+1 = 17 17*4+1 = 69 -23 = 46-23=23-23=0 Last fiddled with by science_man_88 on 2010-08-04 at 15:46 |
|
|
|
|
|
|
#422 |
|
May 2010
Prime hunting commission.
110100100002 Posts |
@Axn: The data explains it all. Inefficient sieving is why I stick to factor-deficient or prime bases.
Last fiddled with by 3.14159 on 2010-08-04 at 15:46 |
|
|
|
|
|
#423 | |
|
Jun 2003
5,087 Posts |
Quote:
See the columns K-Range, Cands Left, # tests (before) and # tests (after). Those are the key thing. If the sieve efficiency is less for a factor rich base, it compensates it (exactly) by allowing a smaller starting k-range. The net effect is that you _test_ the same number of candidates after sieving. The expected number of tests (~3520) for finding a prime is the same for everything, _after_ sieving. |
|
|
|
|
|
|
#424 |
|
Aug 2006
135338 Posts |
Right. axn, thanks for explaining; you do it better than I can.
|
|
|
|
|
|
#425 | ||
|
May 2010
Prime hunting commission.
24×3×5×7 Posts |
Quote:
Quote:
Last fiddled with by 3.14159 on 2010-08-04 at 16:34 |
||
|
|
|
|
|
#426 |
|
Aug 2006
10111010110112 Posts |
I think, conversationally speaking, I'm allowed to self-deprecate. It's difficult for me to understand others (so I asked, e.g., you to explain sm88's posts), and similarly hard for me to be understood (so axn's explanation worked when mine didn't).
|
|
|
|
|
|
#427 |
|
May 2010
Prime hunting commission.
24·3·5·7 Posts |
Also: About the Prime Pages' database: Can one register to have a prime listed in the misc. primes in their database (Primes that are special-form, but do not make it to the top 5k.)
Here's an example: 3 * 2213321 + 1 is present, but it does not register for the top 5k, but is stored there because it is a prime Proth number. |
|
|
|
|
|
#428 |
|
Jun 2003
117378 Posts |
|
|
|
|
|
|
#429 | |
|
May 2010
Prime hunting commission.
110100100002 Posts |
Quote:
If you would have kept the k-range constant, it would further prove the inefficiency of using a factor-rich base. Last fiddled with by 3.14159 on 2010-08-04 at 17:21 |
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Wheel Factorization | a1call | Factoring | 11 | 2017-06-19 14:04 |
| Efficient Test | paulunderwood | Computer Science & Computational Number Theory | 5 | 2017-06-09 14:02 |
| LL tests more credit-efficient than P-1? | ixfd64 | Software | 3 | 2011-02-20 16:24 |
| A Wheel | storm5510 | Puzzles | 7 | 2010-06-25 10:29 |
| Most efficient way to LL | hj47 | Software | 11 | 2009-01-29 00:45 |