![]() |
|
|
#23 |
|
"Mihai Preda"
Apr 2015
137110 Posts |
|
|
|
|
|
|
#24 | |
|
"Mihai Preda"
Apr 2015
3·457 Posts |
Quote:
Doing the PRP for M(exp), we compute 3^(2^k) for all k < Exp. In the extreme we do the "trial P-1" multiplication at every iteration of the PRP-1 (that's why this is "theoretical" vs. "practical"). So we cover all the primes p < exp. If we start with Base=3^powerSmooth(B1), with the PRP-1 we also cover all the primes p<exp (at least individually), which is at least as strong as a P-1 test with bounds B1, and B2=Exp. Last fiddled with by preda on 2018-09-03 at 23:58 |
|
|
|
|
|
|
#25 |
|
"Forget I exist"
Jul 2009
Dumbassville
26·131 Posts |
http://www.mersenneforum.org/showthread.php?t=17126 if you need it.
|
|
|
|
|
|
#26 | |
|
"Mihai Preda"
Apr 2015
137110 Posts |
Quote:
Let d(i) (i=1..n) be the divisors of k. (The divisors d(i) can be composite) For a prime "p", we say that "k covers p" if p-1 is a divisor of k. i.e. there exists "i" such that p == d(i) + 1. The goal becomes to build a small set of Ks that together cover all the primes < Exp (when testing M(Exp)). Last fiddled with by preda on 2018-09-04 at 00:24 |
|
|
|
|
|
|
#27 | |
|
"Mihai Preda"
Apr 2015
25338 Posts |
Quote:
the set cover(k) = {p prime, such that p-1 | k} |
|
|
|
|
|
|
#28 | |
|
"Forget I exist"
Jul 2009
Dumbassville
26·131 Posts |
Quote:
|
|
|
|
|
|
|
#29 |
|
"Mihai Preda"
Apr 2015
3·457 Posts |
|
|
|
|
|
|
#30 |
|
"Forget I exist"
Jul 2009
Dumbassville
26·131 Posts |
|
|
|
|
|
|
#31 |
|
"Mihai Preda"
Apr 2015
3×457 Posts |
|
|
|
|
|
|
#32 |
|
"Forget I exist"
Jul 2009
Dumbassville
26·131 Posts |
roght but if you want to factor a mersennes using it those other types of factors only come up in composite exponents.
Last fiddled with by science_man_88 on 2018-09-04 at 09:43 |
|
|
|
|
|
#33 | |
|
"Mihai Preda"
Apr 2015
3×457 Posts |
Quote:
For which primes does this happen? (i.e. for which p prime, there exists k < p - 1 such that p | 2^k - 1) An example is p==7, where 7 | 2^3 - 1. Last fiddled with by preda on 2018-09-06 at 04:37 Reason: fix |
|
|
|
|