![]() |
|
|
#12 | ||
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
36·13 Posts |
Quote:
Quote:
You wrote that your intuition tells you that (x^7-1)/(x-1) = x^6+x^5+x^4+x^3+x^2+x+1 as the logical conclusion from learning that (x^5-1)/(x-1) = x^4+x^3+x^2+x+1. No need for intuition here! This is factually correct. (and I got punched in the face by C.O. for even typing that, just now) ...However, the full sentence is incorrect. "The logical conclusion is that for numbers of the form a^7-1, then the sextic An important take-home message in the context of SNFS, though, is that a reducible polynomial is never going to work; the correct implementation of NFS will not accept it. (e.g. x^5-1, or, say, x^4+4) The siever will not sieve. When we reshuffle the polynomial to be irreducible (e.g. x^6-C, by way of selecting other value for m), then the method will accept it -- but it will be slower than the divided-out polynomial even if in an awkward degree. Let alone degree 6 that has very wide range of useability for SNFS. If you can divide the algebraic part, you should, as long as a poly of reasonable degree (or even degree 8! rarely; search the forum for examples) will result. This is true for most reductions (3, 5, 7, 11, 13, 15, 21, Aurifeuillian, Aurifeuillian*3, etc). The interesting caveat is when a polynomial is reducible in more than one way, e.g. x^35-1 (by dividing away x^7-1 or x^5-1; but you cannot do both -- without getting an unusable poly, that is) -- that is where some testing needs to be done to compare which one going to be fastest. In different size ranges one will beat the other. Last fiddled with by Batalov on 2012-09-26 at 05:36 Reason: (forgot 3! how could I?!) |
||
|
|
|
|
|
#14 |
|
"Jonathan"
Jul 2010
In a tangled web...
3278 Posts |
For completeness, somebody should mention the mersennewiki page.
|
|
|
|
|
|
#15 | |||||
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
1C3516 Posts |
Quote:
Quote:
Quote:
(You can imagine that with as little or as much sarcasm as you like -- I do truly mean it, but I can't help but imagine it at least slightly sarcastically )Quote:
Quote:
Alex's post, and thus the article, start with the assumption that you already know the idea behind a polynomial -- I didn't. The first two sentences are the only attempts to provide that basis, and without an example (and due to my lack of experience with any sort of number theory/moduli) they didn't really help. When I went through RDS' paper, and its worked example(s), is when it started to click (and as you can see by my recent posting history, the clicking has taken a while ).
|
|||||
|
|
|
|
|
#16 |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
36×13 Posts |
How was the exam?
|
|
|
|
|
|
#17 |
|
Jan 2012
Toronto, Canada
2·43 Posts |
For something like 2^648+5 (snfs 196), would a degree 5 or a degree 6 polynomial be better? I've heard that the switch between degree 5 and degree 6 GNFS is somewhere up in 205-210 digits, but the trade-off here is between having smaller coefficients for the degree 6 polynomial versus having a degree 5 polynomial, which usually sieves faster for numbers of this size.
|
|
|
|
|
|
#18 |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
36·13 Posts |
The best answer will be given by small-scale trial sieving.
Several notes: - construct both polys - determine ballpark lims, and other params - from experience ...or by running factMsieve.pl on the poly, killing and taking hints from the .job files (note that in job files on e of the lims will be lowered by script; restore it to the other lim, add to the bottom of poly file) - sieve both candidates from the lim with -c 10000 on both sides - you may see that sextic will sieve better on one side, and quintic on the other - Compare the better of each pair - time permitting, sieve some more, e.g. in four or five 10000 regions - collate, analyze The same recipe can be used on several gnfs top polys (for sizeable jobs, when it matters) |
|
|
|
|
|
#19 | |
|
Jun 2003
5,051 Posts |
Quote:
If I were to guess, the first poly would be the best (with possibly a larger than normal skew). But, for a job this large, definitely follow Batalov's advice. |
|
|
|
|
|
|
#20 |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
3×29×83 Posts |
|
|
|
|
|
|
#21 | |
|
Bamboozled!
"πΊππ·π·π"
May 2003
Down not across
29×3×7 Posts |
Quote:
When the current batch is finished and the 210-220 batch is started I'll revisit the choices. |
|
|
|
|
|
|
#22 | |
|
Sep 2009
81E16 Posts |
Quote:
f(x)=x^6+x^5-5x^4-4x^3+6x^2+3x-1 Chris |
|
|
|
|
![]() |
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 |