mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Factoring

Reply
 
Thread Tools
Old 2013-09-08, 16:10   #56
chris2be8
 
chris2be8's Avatar
 
Sep 2009

81E16 Posts
Default

Quote:
Originally Posted by fivemack View Post
I think bsquared's calculation is forgetting the special-Q part of the sieving. a and b are much more like 2^13*sqrt(Q) than like 2^13, where Q is somewhere between 2^23 and 2^27 for the sort of sizes we're looking at; this explains why c0 appears to be dominating the norm so much.

For skewed polynomials it's more like a=2^13*sqrt(Q)*sqrt(skew) and b=2^13*sqrt(Q)/sqrt(skew) ; the large c0 is precisely because of the skew.
Thanks, that's the missing factor. Since factMsieve.pl sieves from alim/2 or rlim/2 upwards assuming Q will average alim or rlim should be enough to work out which side it's best to sieve on.

But I was originally planning to adjust alim and rlim (and lpba/r, mfba/r.and a/rlambda) according to the norms on each side. I'll have to think how to do it (possibly by assuming a default a/rlim, then adjusting according to the norms).

Chris
chris2be8 is offline   Reply With Quote
Old 2013-09-08, 17:41   #57
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

36·13 Posts
Default

Quote:
Originally Posted by R.D. Silverman View Post
Much obliged for your help.. As it happens, I did the whole thing by hand
(error prone! yech! not recommended!)

In the original format I suggested, the answer is:

13^13H - 4^4H = (13^H - 4^H) (A+B)(A-B)

with A = (13^6H + 7*13^5H*4^H + 15*13^4H*4^2H + 19*52^3H +
15*13^2H*4^4H + 7*13^H * 4^5H + 4^6H)

B = 2^H * 13^k * (1,3,5,5,2, 1)

I have simply given the coefficients for the homogeneous polynomial for
B.

Your help was appreciated.
Sure thing. It was fun to do a small homework.

Andrey Kulsha had the polynomials collected in one place, but I forgot at the time where the link was, and it was fun to recreate it from scratch Pari, though I thought that the most tedious part was to get to the degree-6 poly (for practical use in an NFS project). For that part, I definitely would not want to use paper and pencil.

Last fiddled with by Batalov on 2013-09-08 at 18:41 Reason: (merged two threads; added quote to establish continuity)
Batalov is offline   Reply With Quote
Old 2013-09-08, 18:38   #58
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

2A0016 Posts
Default

Quote:
Originally Posted by chris2be8 View Post
Thanks, that's the missing factor. Since factMsieve.pl sieves from alim/2 or rlim/2 upwards assuming Q will average alim or rlim should be enough to work out which side it's best to sieve on.

But I was originally planning to adjust alim and rlim (and lpba/r, mfba/r.and a/rlambda) according to the norms on each side. I'll have to think how to do it (possibly by assuming a default a/rlim, then adjusting according to the norms).

Chris
FWIW, I take the view that if it takes me longer to compute which side to do the sieving and then verifying it with trials than it wastes by just going with what factMsieve.pl decides, then I chicken out. Computation is cheap; thought is often better used elsewhere.

There are a number of scenarios where, in the words of the old adage, a week's computation saves an hour in the library. However, when dealing with relatively simple problems that have been solved and encapsulated in clever software it's often cost-effective to exploit the work of the authors of that software.

At the moment and specifically for the GCW project, the only experimentation I do is to choose between a sextic and quintic based on the Murphy-e value because that takes at most 5 minutes and the result varies between candidates. Taking several hours to evaluate which factorization will take 120 hours and which 125 hours is just not cost-effective IMAO.

YMMV,

Paul
xilman is online now   Reply With Quote
Old 2013-09-09, 16:48   #59
chris2be8
 
chris2be8's Avatar
 
Sep 2009

2×1,039 Posts
Default

I'm trying to make factMsieve.pl do a better job selecting parms for SNFS polys, they vary quite a lot in degree, coefficients etc. Choosing which side to sieve on will be a good start. Choosing parms for each side according to the norms on that side will come later. Ultimately it should sieve the first range and see how good a yield it gets, then automatically adjust parms if necessary.

But don't hold your breath waiting for it all.

Chris
chris2be8 is offline   Reply With Quote
Old 2013-09-09, 22:40   #60
fivemack
(loop (#_fork))
 
fivemack's Avatar
 
Feb 2006
Cambridge, England

72×131 Posts
Default

Doing a bit of sieving and using that to set alim is what my aliquot.py script has been doing for GNFS since I wrote it; I suppose I have fairly good estimates as to where to start, and for SNFS you have more of a risk of starting in a completely wrong place and needing to do two or three trials to converge to something sensible.
fivemack is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Polynomial selection Max0526 NFS@Home 9 2017-05-20 08:57
msieve 1.52 with GPU polynomial selection cgy606 Msieve 16 2016-10-06 14:16
2^877-1 polynomial selection fivemack Factoring 47 2009-06-16 00:24
Polynomial selection CRGreathouse Factoring 2 2009-05-25 07:55
Homogeneous Cunningham snfs poly selection? nuggetprime Factoring 22 2008-08-15 10:01

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


Fri Jul 16 20:22:52 UTC 2021 up 49 days, 18:10, 1 user, load averages: 2.51, 2.22, 2.17

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.