![]() |
![]() |
#1 |
Dec 2011
After milion nines:)
3·11·43 Posts |
![]() Lucas-Lehmer Test (1930): Let n be an odd prime. The Mersenne number M(n) = 2n-1 is prime if and only if S(n-2) = 0 (mod M(n)) where S(0) = 4 and S(k+1) = S(k)2-2.(The proof of sufficiency is found on a separate page.) This test is exceptionally fast on a binary computer because it requires no division. As I ( and if I ) understand correctly in process of prime search there is sieving , PRP and proof of prime with some software (LLR, PFGW) All prime searchers do a deep sieve then immediately start llr testing. Why is PRP step skipped if it is as quoted "exceptionally fast "? In any case it is sure faster then LLR ( or it is not) I read that PFGW can do PRP test, but never sow that test was faster then LLR of same number. Thanks for explanation. Last fiddled with by pepi37 on 2013-04-08 at 23:49 |
![]() |
![]() |
![]() |
#2 | |
Jun 2003
24×307 Posts |
![]() Quote:
For numbers that are not of these forms, we'll do a PRP test followed by a more time consuming primality proving test. PFGW can do both of these. [I am glossing over the addition of more supported forms in LLR program, and specialized PRP testers/provers for some other projects] |
|
![]() |
![]() |
![]() |
#3 |
Dec 2011
After milion nines:)
101100010112 Posts |
![]()
So in present time PRP test for Proth or Riesel numbers are slower then testing those numbers with LLR?
|
![]() |
![]() |
![]() |
#4 |
Jun 2003
10011001100002 Posts |
![]()
Correct (although not by much). Directly proving primality is the way to go for them.
|
![]() |
![]() |
![]() |
#5 |
Dec 2011
After milion nines:)
58B16 Posts |
![]()
Thanks Axn
![]() |
![]() |
![]() |
![]() |
#6 |
Just call me Henry
"David"
Sep 2007
Cambridge (GMT/BST)
133418 Posts |
![]()
The amount of multiplications for each test is roughly the same although doing those multiplications(ffts) is less efficient for non-mersenne numbers as more generic methods must be used.
|
![]() |
![]() |
![]() |
#7 | |
"Carlos Pinho"
Oct 2011
Milton Keynes, UK
10011000101102 Posts |
![]() Quote:
Carlos |
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Anti-poverty drug testing vs "high" tax deduction testing | kladner | Soap Box | 3 | 2016-10-14 18:43 |
What am I testing? | GARYP166 | Information & Answers | 9 | 2009-02-18 22:41 |
k=243 testing ?? | gd_barnes | Riesel Prime Search | 20 | 2007-11-08 21:13 |
Testing | grobie | Marin's Mersenne-aries | 1 | 2006-05-15 12:26 |
Speed of P-1 testing vs. Trial Factoring testing | eepiccolo | Math | 6 | 2006-03-28 20:53 |