![]() |
![]() |
#1 |
Aug 2020
2×3×19 Posts |
![]()
We know that TF and P-1 make use of this information. If ECM doesn't use it at all, it would be very hard for me to imagine that there does not exist a better algorithm for finding Mersenne factors of the ECM range (25~70 digits).
|
![]() |
![]() |
![]() |
#2 | |
Bamboozled!
"πΊππ·π·π"
May 2003
Down not across
244148 Posts |
![]() Quote:
"Better" depends greatly on the size of p. Trivial example: if p has 70 digits ... |
|
![]() |
![]() |
![]() |
#3 | |
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest
37×131 Posts |
![]() Quote:
Is ECM practical on large exponents? Back at prime95 v19, the advent of support of exponents up to 79.3M, whatsnew.txt included the following: Code:
ECM can now run on large exponents. Once again, the slow GCD routine and high memory requirements might make this impractical for large exponents. |
|
![]() |
![]() |
![]() |
#4 | |
Bamboozled!
"πΊππ·π·π"
May 2003
Down not across
22·37·71 Posts |
![]() Quote:
I answered your question as asked. To answer your latest question, I believe that GMP can handle gigabit integers. I do not know whether GMP-ECM can do so but would not be too surprised to learn that it can. Machine resources required would be non-trivial by most people's standards. Last fiddled with by xilman on 2020-09-28 at 15:44 |
|
![]() |
![]() |
![]() |
#5 | |
"Ben"
Feb 2007
1101001000012 Posts |
![]() Quote:
Last fiddled with by bsquared on 2020-09-28 at 17:10 Reason: tpyo |
|
![]() |
![]() |
![]() |
#6 |
Random Account
Aug 2009
U.S.A.
22×449 Posts |
![]()
It would be nice to be able to run ECM's on a GPU, entirely. Short of that, GMP-ECM does not appear to multi-thread. As far as I can tell, it only uses one CPU core, even if the utilization is spread across many cores. In my case, around 25% of capacity on each of four cores.
Someone here wrote a long time ago, "Running ECM's is like throwing darts at a dart board 25 yards away. You are lucky if you even hit the board." GMP-ECM uses "Sigma." Prime95 simply shows an "s." It is either a 15 or 16 digit decimal number. A seed value for a large random number generator. There has to be a better way... |
![]() |
![]() |
![]() |
#7 |
"Curtis"
Feb 2005
Riverside, CA
4,621 Posts |
![]() |
![]() |
![]() |
![]() |
#8 | ||
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest
37×131 Posts |
![]() Quote:
Quote:
Based on notes from old attempts to use GMP-ECM for P-1 factoring of Mersenne primes, run times were prohibitively long for exponents of current or future interest, due to run time scaling p^2.03. Also it was what is now a 10 year old cpu. I used a build from http://gilchrist.ca/jeff/factoring/ which might not be current. My notes following are from mid 2018. See also attached pdf. 3E6 seconds for p~107 is about a month; extrapolation indicates many years at p~1G. Code:
gmp-ecm P-1 run time scaling Parrot i3 cpu 2^p-1 factored with B1~= p/6 to p/10 p run time 1999 15 msec Thu 07/19/2018 18:12:02.10 to Thu 07/19/2018 18:12:02.29 0.19 sec 9973 157 msec 4MB Thu 07/19/2018 18:19:47.68 to Thu 07/19/2018 18:19:49.01, 1.33 sec 99991 11654+9937+4852+421+18205 = 45069msec 187MB Thu 07/19/2018 18:23:17.28 to Thu 07/19/2018 18:28:38.00 = 5:10.72 (310.72 sec) 310.72 = c 99991^2.3658 c= 310.72/(99991^2.3658) = 4.6058e-10 t=~ c p^2.3658 ram=~ k p^1.67; k=~ 8.35e-7 check: 499979 39 minutes est. step 1 417428ms F 59686ms h 6552ms g_i 16927ms tmulgen 26613ms F(g-i) 3885ms step 2 114052ms subtotal to here 645143ms timestamps say Thu 07/19/2018 23:43:26.06 to Fri 07/20/2018 2:30:11.11 = 2:46:45.05 (10,005.05 sec) 889MB extrapolated: 500K 13998 sec 2747 MB I may give it a try with more ram and a newer cpu someday. |
||
![]() |
![]() |
![]() |
#9 |
Random Account
Aug 2009
U.S.A.
22·449 Posts |
![]() |
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Factors of numbers of special form | CRGreathouse | Abstract Algebra & Algebraic Number Theory | 7 | 2019-06-07 06:48 |
Special Form of Mersenne and Fermat Number Factors | michael | Math | 31 | 2015-09-04 05:57 |
Factors with special form | RedGolpe | Factoring | 5 | 2011-11-03 18:38 |
A strange new (?) fact about Mersenne factors | ChriS | Math | 14 | 2006-04-12 17:36 |
Factors of the Form 7 mod 8 | JuanTutors | Data | 3 | 2004-03-29 02:31 |