mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Math

Reply
 
Thread Tools
Old 2016-09-13, 10:04   #1
wildrabbitt
 
Jul 2014

3×149 Posts
Default ECM

ECM

I know there's trial factoring, the P-1 method and the Lucas Lehmer test but

when is the ECM used by prime95?
wildrabbitt is offline   Reply With Quote
Old 2016-09-13, 12:08   #2
0PolarBearsHere
 
0PolarBearsHere's Avatar
 
Oct 2015

2×7×19 Posts
Default

ECM is used to find factors for "small" exponents we already know are composite.

The basic theory can be read at http://www.mersennewiki.org/index.php/ECM

Last fiddled with by 0PolarBearsHere on 2016-09-13 at 12:09
0PolarBearsHere is offline   Reply With Quote
Old 2016-09-13, 16:20   #3
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

2×1,579 Posts
Default

ECM is not used for GIMPS primary mission of finding Mersenne Primes since it is not worth it to run ECM on exponents in the DC range let alone exponents in the "bleeding" edge.

It is only used for trying to find factors of small Fermat numbers up to F29 and small Mersenne numbers.

Last fiddled with by ATH on 2016-09-13 at 16:21
ATH is online now   Reply With Quote
Old 2016-09-14, 00:38   #4
GP2
 
GP2's Avatar
 
Sep 2003

5×11×47 Posts
Default

Quote:
Originally Posted by ATH View Post
ECM is not used for GIMPS primary mission of finding Mersenne Primes since it is not worth it to run ECM on exponents in the DC range let alone exponents in the "bleeding" edge.
I have an older computer, four cores, no FMA3 just AVX, my only non-cloud machine, sitting in a non air-conditioned room. The fan was running loud on hot days, so I switched it from DC to 4 × ECM. I'm looking for additional factors of very small exponents that already have known factors, taking them to the full set of 640 curves for B1=250,000. It finds them often enough to keep me interested. The famous user TJAOI is also doing ECM testing in this range, but I'm doing depth-first and he does breadth-first searching, so there is little overlap in practice.

P−1 testing is also finding additional factors of small exponents that already have known factors. I started doing this only a few days ago, and I think I'm the only one, because PrimeNet doesn't give any credit for unsuccessful P−1 tests of exponents that already have known factors.

It's mildly amusing and there is always the outside chance of finding a new probably-fully-factored exponent.

The same could be done for exponents in the same range without known factors, except those have already been tested to much larger limits.

Quote:
Originally Posted by ATH View Post
It is only used for trying to find factors of small Fermat numbers up to F29 and small Mersenne numbers.
In this range only F20 and F24 have no known factors. I wonder if there is something similar to an LL test for Fermat numbers, something that lets you determine if they are composite without finding a factor.

I have a few cloud machines looking for factors of Fermat numbers but it's slow going. The fastest one currently is F13, but it still needs almost two hours per curve, and it's at a level where tens of thousands of curves are needed. F20 needs almost twenty-two hours per curve, and will allocate 10930 MB for stage two if you let it, although it can probably work well with considerably less memory. It also probably needs thousands of curves, with no guarantee of ever finding a factor.
GP2 is offline   Reply With Quote
Old 2016-09-14, 02:33   #5
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

25B916 Posts
Default

Quote:
Originally Posted by GP2 View Post
I wonder if there is something similar to an LL test for Fermat numbers, something that lets you determine if they are composite without finding a factor.
Yes, see here. It is/was widely used to find out that the Fermat numbers up to F32 (I think Ernst is/was working F33??) are composite.
LaurV is offline   Reply With Quote
Old 2016-09-14, 02:54   #6
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

2·1,579 Posts
Default

Quote:
Originally Posted by GP2 View Post
In this range only F20 and F24 have no known factors. I wonder if there is something similar to an LL test for Fermat numbers, something that lets you determine if they are composite without finding a factor.
Yes, it is called Pepin's Test, and F20 and F24 was already tested composite back in 1987 and 1999, and the next with status unknown F33 is still too large to run this test on. It would be approximately like running an LL test on M8,589,934,592.
ATH is online now   Reply With Quote
Old 2016-09-14, 04:44   #7
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

2×1,579 Posts
Default

Quote:
Originally Posted by LaurV View Post
Yes, see here. It is/was widely used to find out that the Fermat numbers up to F32 (I think Ernst is/was working F33??) are composite.
Ernst is working up to F29 currently: http://www.mersenneforum.org/showthread.php?t=18748

I don't think anyone have worked on F30+ yet, and I think F33 is still out of reach.
ATH is online now   Reply With Quote
Old 2016-09-14, 05:10   #8
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

226718 Posts
Default

Whoops, as you said boyar... for whatever reason I had my digits totally messed
LaurV is offline   Reply With Quote
Reply

Thread Tools


All times are UTC. The time now is 17:05.


Mon Aug 2 17:05:01 UTC 2021 up 10 days, 11:34, 0 users, load averages: 1.87, 2.19, 2.20

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.