![]() |
![]() |
#1 |
Mar 2008
3716 Posts |
![]()
Hi guys,
For GNFS polynomial selection, at which number sizes would it be better to drop back to a degree 4, or go up to a degree 6 polynomial? |
![]() |
![]() |
![]() |
#2 |
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
242F16 Posts |
![]()
The answer (general guidelines) is in the def-par.txt file -- see the numbers 4 and 5. E.g. here - http://ggnfs.svn.sourceforge.net/vie...in/def-par.txt
Fifth degree polynomials are good in a wide interval from SNFS complexity 120 to 200-210. Around SNFS complexity 120-130 - transition from 4 to 5, under 96 digits use MPQS. Around 200 - transition from 5 to 6 (it depends; either may be good). Over 250 digits - transition from 6 to 7 (maybe). For GNFS, there's degrees 4 and 5. (as a rule of thumb 4 under 98 digits; but then again - you may use MPQS there). |
![]() |
![]() |
![]() |
#3 |
Mar 2008
5×11 Posts |
![]()
I was more interested in the GNFS side of it... So degree 4 is more in the MPQS range. I assume degree 6 is outside the current normal GNFS range?
|
![]() |
![]() |
![]() |
#4 | |
Bamboozled!
"πΊππ·π·π"
May 2003
Down not across
244218 Posts |
![]() Quote:
Degree 5 appears to be sufficient up to 200 digits / 650 bits. It was what was used for RSA200 for example. Paul |
|
![]() |
![]() |
![]() |
#5 |
(loop (#_fork))
Feb 2006
Cambridge, England
6,379 Posts |
![]()
Is it certain that this is 'appears to be sufficient' or just 'has extremely well-optimised code written for polynomial generation'? A quick search for 'RSA768 polynomial' gives a paper containing degree-5 one at even that size, which is well into the sextics-are-better range for SNFS.
|
![]() |
![]() |
![]() |
#6 |
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
59×157 Posts |
![]()
We may really need a pol61 version soon. But it's hard.
I wonder if a naive pol61 could be hacked together with a vanishing fourth or third (probably not fifth) term? (so that optimization wouldn't go nowhere because of too big a search space; trying to leave the search space the same by a vanishing fixed term...) |
![]() |
![]() |
![]() |
#7 | |
Tribal Bullet
Oct 2004
2×3×19×31 Posts |
![]() Quote:
The current code picks the X^5 coefficient, builds a class of polynomials where the X^4 coefficient is quaranteed to be small, searches for polynomials within that class for a polynomial where the X^3 coefficient is small, and then tries to tweak the skew and translate the coefficients so that the X^2 coefficient is small. For a 6th-degree poly, add 1 to all those exponents and look for small X^2 and X^3 coefficients after tweaking. The trouble is in all the hardwired-to-degree-5 code that we have to work with. Last fiddled with by jasonp on 2008-09-26 at 22:21 |
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Choice of SNFS polynomial degree | lavalamp | Factoring | 15 | 2018-02-11 14:46 |
Polynomial Discriminant is n^k for an n-1 degree polynomial | carpetpool | Miscellaneous Math | 14 | 2017-02-18 19:46 |
GNFS polynomial selection | Unregistered | Information & Answers | 3 | 2011-04-16 14:24 |
6^383+1 by GNFS (polynomial search; now complete) | fivemack | Factoring | 20 | 2007-12-26 10:36 |
GNFS polynomial search tools | JHansen | Factoring | 0 | 2004-11-07 12:15 |