![]() |
![]() |
#1 |
Sep 2009
22·32 Posts |
![]()
Dear All,
Which one of the following tests have the minimum complexity to find extremely large primes? 1. Lucas lehmer Test for Mersenne Numbers 2. Testing generalized Fermat Numbers for primality 3. Trial factoring Fermat Numbers to find large Proth primes. Thanks |
![]() |
![]() |
![]() |
#2 |
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
11·389 Posts |
![]()
Mersenne numbers. There's a reason the largest known prime has been a Mersenne for decades, now.
|
![]() |
![]() |
![]() |
#3 | |
"Bob Silverman"
Nov 2003
North of Boston
22·1,889 Posts |
![]() Quote:
item 3 can not be defined unless one gives an upper bound on the trial factoring bit level. |
|
![]() |
![]() |
![]() |
#4 |
Jun 2003
22·3·5·7·13 Posts |
![]()
1 & 2 have similar "complexity". 3 is more "complex" (and gets worse as the k part of k*2^n+1 grows).
I'm using "complexity" to mean "runtime as a function of size" |
![]() |
![]() |
![]() |
#5 |
"Bob Silverman"
Nov 2003
North of Boston
22×1,889 Posts |
![]() |
![]() |
![]() |
![]() |
#6 | |
"Bob Silverman"
Nov 2003
North of Boston
22·1,889 Posts |
![]() Quote:
no fast LL-type tests for generalized Fermat numbers. There is only AKS or APR-Cl or ECPP. For Fermat numbers there is Pepin's test, which has the same complexity as LL. It takes O(log N) multiplications mod N where N is the number being tested. |
|
![]() |
![]() |
![]() |
#7 | |
Just call me Henry
"David"
Sep 2007
Liverpool (GMT/BST)
33·227 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#8 |
"Bob Silverman"
Nov 2003
North of Boston
22·1,889 Posts |
![]() |
![]() |
![]() |
![]() |
#9 |
Jun 2003
155416 Posts |
![]() |
![]() |
![]() |
![]() |
#10 |
Just call me Henry
"David"
Sep 2007
Liverpool (GMT/BST)
33·227 Posts |
![]() |
![]() |
![]() |
![]() |
#11 | |
Jun 2003
10101010101002 Posts |
![]() Quote:
PS:- Since the context is about finding primes, I had implicitly factored in trial factoring as well as PRP testing capabilities in my answer. PPS:- I consider GFN-WR search by PrimeGrid to be a legitimate contender for find a world record prime. |
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sublinear complexity of trial division? | yih117 | Math | 5 | 2018-02-02 02:49 |
Complexity of Chinese Remainder Theorem | carpetpool | Miscellaneous Math | 4 | 2017-02-09 19:26 |
What is the time complexity of base conversion? | Mr. P-1 | Computer Science & Computational Number Theory | 5 | 2013-04-02 15:47 |
Complexity of LLT | T.Rex | Math | 9 | 2007-05-29 21:15 |
complexity of Pepin's test | ixfd64 | Math | 14 | 2005-12-01 22:50 |