mersenneforum.org what does sigma mean in ECM?
 Register FAQ Search Today's Posts Mark Forums Read

 2019-02-26, 04:36 #1 bbb120     Feb 2019 China 59 Posts what does sigma mean in ECM? I recently take great interest in ECM factorization , https://members.loria.fr/PZimmermann...ds/ecmnet.html what sigma can be used for ?
 2019-02-26, 11:25 #2 DukeBG   Mar 2018 2018 Posts I'll keep it simple. When factoring with ECM, you run the algorithm on the numer using multiple different curves of the same "size", each of which can yield a factor (or not). It is known how many (different) curves you need at each factor size to get a certain probability to find a factor (of that size). The sigma parameter is a number, from which the parameters (like coefficients) of the curve are derived. Testing with the same number with the same sigma, b1 and b2 would yield absolutely the same result. Running 100 curves means randomly chosing 100 sigmas. You might also notice that sigmas start with "0:" or "1:" – those are different parametizations. Basically, also just different ways to get curves. Last fiddled with by DukeBG on 2019-02-26 at 11:26
 2019-02-27, 01:07 #3 bbb120     Feb 2019 China 59 Posts https://members.loria.fr/PZimmermann...s/ecm/go.magma I found it, but why do no use A and B instead of sigma (where y^2=x^3+A*x+B)? Is sigma much more useful than A and B?
 2019-03-08, 02:12 #4 bbb120     Feb 2019 China 59 Posts Code: FindGroupOrder := function (p, sigma) K := GF(p); v := K ! (4*sigma); u := K ! (sigma^2-5); x := u^3; b := 4*x*v; a := (v-u)^3*(3*u+v); A := a/b-2; x := x/v^3; b := x^3 + A*x^2 + x; E := EllipticCurve([0,b*A,0,b^2,0]); return FactoredOrder(E); end function; p:=40122362455616221971122353; sigma:=2334843726764251; FindGroupOrder(p,sigma); http://magma.maths.usyd.edu.au/calc/ magma calculator online output [ <2, 3>, <3, 1>, <5, 1>, <19, 1>, <71, 1>, <281, 1>, <331, 1>, <4271, 1>, <8887, 1>, <70206001, 1> ] Last fiddled with by bbb120 on 2019-03-08 at 02:14
 2019-03-08, 02:17 #5 bbb120     Feb 2019 China 59 Posts https://members.loria.fr/PZimmermann...op10-2018.html Code: FindGroupOrder := function (p, sigma) K := GF(p); v := K ! (4*sigma); u := K ! (sigma^2-5); x := u^3; b := 4*x*v; a := (v-u)^3*(3*u+v); A := a/b-2; x := x/v^3; b := x^3 + A*x^2 + x; E := EllipticCurve([0,b*A,0,b^2,0]); return FactoredOrder(E); end function; p:=444391024295554825813920762553875384889500352609895126972409492191251; sigma:=2807183577; FindGroupOrder(p,sigma); [ <2, 3>, <3, 2>, <5, 1>, <7, 1>, <3347, 1>, <4363, 1>, <295751, 1>, <6746549, 1>, <22098383, 1>, <136265083, 1>, <396868981, 1>, <809136473, 1>, <6258955966441, 1> ]
2020-10-15, 17:16   #6
storm5510
Random Account

Aug 2009

77F16 Posts

Quote:
 Originally Posted by DukeBG I'll keep it simple. When factoring with ECM, you run the algorithm on the number using multiple different curves of the same "size", each of which can yield a factor (or not). It is known how many (different) curves you need at each factor size to get a certain probability to find a factor (of that size). The sigma parameter is a number, from which the parameters (like coefficients) of the curve are derived. Testing with the same number with the same sigma, b1 and b2 would yield absolutely the same result. Running 100 curves means randomly choosing 100 sigmas. You might also notice that sigmas start with "0:" or "1:" – those are different parametizations. Basically, also just different ways to get curves.
I have wondered about the purpose of Sigma for a long time. I cannot say that I understand all of what is above. Only some of it. It appears that B1 and B2 dictate the size of the curve. In time, I can probably get the rest of it.

 2021-01-26, 13:44 #7 RedGolpe     Aug 2006 Monza, Italy 4916 Posts You want the cardinality of the group generated by your elliptic curve to have as many small factors as possible. The specific form of the curves generated by the sigma parameters ensure that such cardinality is divisible by 4 (if I remember correctly, for old versions) or 12 (new versions). Sigma starting with "0:" or "1:" denote the old and new version, respectively.
2021-01-26, 16:18   #8
storm5510
Random Account

Aug 2009

19×101 Posts

Quote:
 Originally Posted by DukeBG ...Running 100 curves means randomly chosing 100 sigmas...
I would take the above to mean the more sigma's applied to the same candidate, the higher the chances are of finding a factor. There still needs to be increasing values of B1 and B2 during the process, otherwise a high enough magnitude may not be reached to find a factor, depending on the candidate.

 Similar Threads Thread Thread Starter Forum Replies Last Post sean Factoring 2 2017-09-18 15:39 mart_r Aliquot Sequences 6 2013-07-23 20:50 lavalamp Software 2 2010-08-24 15:22

All times are UTC. The time now is 02:22.

Tue Apr 13 02:22:50 UTC 2021 up 4 days, 21:03, 1 user, load averages: 2.87, 2.64, 2.60