Re: [PrimeNumbers] ECM
- Walter Nissen wrote:
> Andy Steward writes, in ECMSLIDE.UB:I agree. These days, I use B1=80*(Trial^(5/4)) and a random discriminant.
> 12010 if EC% <= 25 then L1 = 2000 else if EC% <= 115 then L1 = 11000
> else if EC% <= 415 then L1 = 50000 else if EC% <= 1115 then L1 =
> 250000 else if EC% <= 2915 then L1 = 1000000 else if EC% <= 7015
> then L1 = 3000000 else if EC% <= 17615 then L1 = 11000000 else L1
> = 43000000 endif
> 12300 L2 = L1*100
> But, automatic incrementation seems optimal. The increment should
> itself increment for each curve.
Anyone wanting to use that UB code should replace those two lines with:
Mostly(*), I use GMP-ECM. I have to create batches specifying B1 for
each trial as it's not a smooth increment.
(*) GMP-ECM is about three times faster than UB-ECM but requires a hard
disk and Windows(**). Four of my oldest PCs have diskette only.
(**) OK, I could set up a minimal Linux boot diskette but I haven't
got around to it yet.