![]() |
|
|
#45 | |
|
Sep 2009
2×1,039 Posts |
Quote:
I've also noticed that for gnfs polynomials the algebraic norm is dominated by c0. Would there be any value in trying to select a poly with smaller c0 (this assumes I'm calculating it correctly)? Chris |
|
|
|
|
|
|
#46 |
|
(loop (#_fork))
Feb 2006
Cambridge, England
144238 Posts |
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. Last fiddled with by fivemack on 2013-09-07 at 16:25 |
|
|
|
|
|
#47 |
|
Just call me Henry
"David"
Sep 2007
Cambridge (GMT/BST)
23·3·5·72 Posts |
From memory lasieve5f has code for working out the size of the norms. It should be possible to take that out and put it into 4e and 5e.
It would be a nice addition to the siever's output. |
|
|
|
|
|
#48 | |
|
Nov 2003
22×5×373 Posts |
Quote:
Over the entire lattice, the average norm for polynomial f is 1/area(R) \int \int_R log(| (-b)^d f(a/b)|) da db where R is the (rectangular) lattice area. If a ranges from [0,M] and b ranges from [-M,M] then one may take a 'typical' lattice point as [M/2, M/2]. Typically, the area of the lattice is upwards of 32 million. Of course, if applying special_q to f, the average norm should be divided by q. Last fiddled with by R.D. Silverman on 2013-09-07 at 22:17 Reason: typo |
|
|
|
|
|
|
#49 |
|
Nov 2003
1D2416 Posts |
Could someone with access to a CA system (I have none at the moment)
please compute the Aurefeullian coefficients for 13^13H - 4^13H? Here are the details . With H = 2K-1 we have (13^13H - 4^13H)/(13^H - 4^H) = A^2 - B^2 where A = (13^6H + k1 * 13^5H * 4^H + k2* 13^4H * 4^2H + .... + 4^6H) and B = (13*4)^K (13^5H + j1 * 13^4H * 4^H + j2 * 13^3H * 4^2H + ..... + 4^5H) Note that the coeffients will be symmetric (i.e. be the same when put in reverse order) Grinding through the equations by hand is highly tedious and error-prone. |
|
|
|
|
|
#50 |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
947710 Posts |
Well, for N^(13H)-1 and H = 2K+1,
Code:
#gp (19:47) gp > factor(13^13*N^26-1) %1 = [13*N^2 - 1 1] [4826809*N^12 - 4826809*N^11 + 2599051*N^10 - 1113879*N^9 + 428415*N^8 - 142805*N^7 + 41743*N^6 - 10985*N^5 + 2535*N^4 - 507*N^3 + 91*N^2 - 13*N + 1 1] [4826809*N^12 + 4826809*N^11 + 2599051*N^10 + 1113879*N^9 + 428415*N^8 + 142805*N^7 + 41743*N^6 + 10985*N^5 + 2535*N^4 + 507*N^3 + 91*N^2 + 13*N + 1 1] # Now, N=13*x+1/x (20:00) gp > lindep([(4826809*N^12 - 4826809*N^11 + 2599051*N^10 - 1113879*N^9 + 428415*N^8 - 142805*N^7 + 41743*N^6 -> %12 = [1, -1, 13, -13, -338, 676, 2197, -2197]~ So it would be [1, -13, 13, 338, -676, -2197, 2197] for L [1, 13, 13, -338, -676, 2197, 2197] for M with appropriate Y1/Y0 |
|
|
|
|
|
#51 | |
|
Nov 2003
22×5×373 Posts |
Quote:
where A and B are given by my original notation. I do not see how A and B map to the list of coefficients that you give for L and M. y1/y0 is (presumably) 13/4 [again, by my notation] and I assume y1/y0 = N from above. Please clarify. I am also unfamiliar with the Pari lindep fxn. Please elucidate. The call to lindep seems to have unbalanced parens. What is the -> notation? Also, in %12 there are 8 elements in each list. Yet the 2nd element got dropped in the map between %12 and your specification for L and M. Please explain. Also, As I noted in my post, the coefficients for A,B will be symmetric. Call me: confused. I do not understand the notation. |
|
|
|
|
|
|
#52 | |
|
Nov 2003
22·5·373 Posts |
Quote:
L is given as having the coefficients [1, -13, 13, 338, -676, -2197, 2197] These are presumably coefficients of the degree 6 polynomial for L. This presumably will be 13^6H, - 13*13^5H + 13*13^4H + 338 * 13^3H + ...+ 2197) for ( 13^13H-1 = (13^H-1) L * M) i.e. N = (13/1). Yet the first two terms ALWAYS sum to zero... Something seems wrong. |
|
|
|
|
|
|
#53 |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
36·13 Posts |
Yes, it was an incomplete quote. I don't have a real computer right now, so I used the Windows pari executable and then pasted everything I typed there. The Windows pari executable window has a rather miserable line editor and adds either "<--" at the left of the line (if you are editing on the far right), or "->" at the right of the line (if you are editing on the beginning). So it was sort of "fill in the blanks, if you know what I mean", which was a weak case.
Here's the complete session (no omissions), recreated on the remote computer and emailed back to myself (and this time I didn't forget that the 4^13) Here we go, for 13^(13H)-4^(13H) and H = 2K+1, there's a form like 13^13*N^26-4^13 and N=(13/4)^H. Pari has built in Aurifeullian calculator, the rest is just the transformation for the reciprocal sextic. Code:
~> gp
GP/PARI CALCULATOR Version 2.3.5 (released)
? factor(13^13*N^26-4^13)
%1 =
[13*N^2 - 4 1]
[4826809*N^12 - 9653618*N^11 + 10396204*N^10 - 8911032*N^9 + 6854640*N^8 - 4569760*N^7 + 2671552*N^6 - 1406080*N^5 + 648960*N^4 - 259584*N^3 + 93184*N^2 - 26624*N + 4096 1]
[4826809*N^12 + 9653618*N^11 + 10396204*N^10 + 8911032*N^9 + 6854640*N^8 + 4569760*N^7 + 2671552*N^6 + 1406080*N^5 + 648960*N^4 + 259584*N^3 + 93184*N^2 + 26624*N + 4096 1]
? x=13*N+4/N
%2 = (13*N^2 + 4)/N
? lindep([(4826809*N^12 - 9653618*N^11 + 10396204*N^10 - 8911032*N^9 + 6854640*N^8 - 4569760*N^7 + 2671552*N^6 - 1406080*N^5 + 648960*N^4 - 259584*N^3 + 93184*N^2 - 26624*N + 4096)/N^6,1,x,x^2,x^3,x^4,x^5,x^6])
*** lindep: incorrect type in gtofp.
#ok, didn't work this time. Will just walk step by step:
? (4826809*N^12 - 9653618*N^11 + 10396204*N^10 - 8911032*N^9 + 6854640*N^8 - 4569760*N^7 + 2671552*N^6 - 1406080*N^5 + 648960*N^4 - 259584*N^3 + 93184*N^2 - 26624*N + 4096)/N^6-(x^6)
%3 = (-9653618*N^10 + 1485172*N^9 - 8911032*N^8 - 4569760*N^6 - 140608*N^5 - 1406080*N^4 - 259584*N^2 + 13312*N - 26624)/N^5
? (4826809*N^12 - 9653618*N^11 + 10396204*N^10 - 8911032*N^9 + 6854640*N^8 - 4569760*N^7 + 2671552*N^6 - 1406080*N^5 + 648960*N^4 - 259584*N^3 + 93184*N^2 - 26624*N + 4096)/N^6-(x^6-26624/4^5*x^5)
%5 = (1485172*N^8 + 5940688*N^7 + 4569760*N^5 - 140608*N^4 + 1406080*N^3 + 173056*N + 13312)/N^4
? (4826809*N^12 - 9653618*N^11 + 10396204*N^10 - 8911032*N^9 + 6854640*N^8 - 4569760*N^7 + 2671552*N^6 - 1406080*N^5 + 648960*N^4 - 259584*N^3 + 93184*N^2 - 26624*N + 4096)/N^6-(x^6-26624/4^5*x^5-13312/4^4*x^4)
%6 = (2970344*N^8 + 5940688*N^7 + 1827904*N^6 + 4569760*N^5 + 703040*N^4 + 1406080*N^3 + 173056*N^2 + 173056*N + 26624)/N^4
? (4826809*N^12 - 9653618*N^11 + 10396204*N^10 - 8911032*N^9 + 6854640*N^8 - 4569760*N^7 + 2671552*N^6 - 1406080*N^5 + 648960*N^4 - 259584*N^3 + 93184*N^2 - 26624*N + 4096)/N^6-(x^6-26624/4^5*x^5+13312/4^4*x^4)
%7 = (5940688*N^6 - 1827904*N^5 + 4569760*N^4 - 984256*N^3 + 1406080*N^2 - 173056*N + 173056)/N^3
? (4826809*N^12 - 9653618*N^11 + 10396204*N^10 - 8911032*N^9 + 6854640*N^8 - 4569760*N^7 + 2671552*N^6 - 1406080*N^5 + 648960*N^4 - 259584*N^3 + 93184*N^2 - 26624*N + 4096)/N^6-(x^6-26624/4^5*x^5+13312/4^4*x^4+173056/4^3*x^3)
%8 = (-1827904*N^4 - 913952*N^3 - 984256*N^2 - 281216*N - 173056)/N^2
? (4826809*N^12 - 9653618*N^11 + 10396204*N^10 - 8911032*N^9 + 6854640*N^8 - 4569760*N^7 + 2671552*N^6 - 1406080*N^5 + 648960*N^4 - 259584*N^3 + 93184*N^2 - 26624*N + 4096)/N^6-(x^6-26624/4^5*x^5+13312/4^4*x^4+173056/4^3*x^3- 173056/4^2*x^2)
%9 = (-913952*N^2 + 140608*N - 281216)/N
? (4826809*N^12 - 9653618*N^11 + 10396204*N^10 - 8911032*N^9 + 6854640*N^8 - 4569760*N^7 + 2671552*N^6 - 1406080*N^5 + 648960*N^4 - 259584*N^3 + 93184*N^2 - 26624*N + 4096)/N^6-(x^6-26624/4^5*x^5+13312/4^4*x^4+173056/4^3*x^3- 173056/4^2*x^2-281216/4*x)
%10 = 140608
? (4826809*N^12 - 9653618*N^11 + 10396204*N^10 - 8911032*N^9 + 6854640*N^8 - 4569760*N^7 + 2671552*N^6 - 1406080*N^5 + 648960*N^4 - 259584*N^3 + 93184*N^2 - 26624*N + 4096)/N^6-(x^6-26624/4^5*x^5+13312/4^4*x^4+173056/4^3*x^3- 173056/4^2*x^2-281216/4*x+140608)
%11 = 0
? \q
Goodbye!
~> gp
GP/PARI CALCULATOR Version 2.3.5 (released)
? x^6-26624/4^5*x^5+13312/4^4*x^4+173056/4^3*x^3- 173056/4^2*x^2-281216/4*x+140608
%1 = x^6 - 26*x^5 + 52*x^4 + 2704*x^3 - 10816*x^2 - 70304*x + 140608
?
So, for L side, the polynomial would be x^6 - 26*x^5 + 52*x^4 + 2704*x^3 - 10816*x^2 - 70304*x + 140608 For M side, flip signs for all odd degrees. Now what is x? For factoring 13^221-4^221, N=(13/4)^8, and x = 13*N+4/N x = Y1/Y0 = 8650415936561207117/53459728531456
|
|
|
|
|
|
#54 |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
224058 Posts |
P.S. I think lindep doesn't want to work on polynomials but when we will give it a numeric value (any!), it will chew on it and will reply right away.
A new session, with a slight change: Code:
? N = 1001; x=13*N+4/N;
? lindep([(4826809*N^12 - 9653618*N^11 + 10396204*N^10 - 8911032*N^9 + 6854640*N^8 - 4569760*N^7 + 2671552*N^6 - 1406080*N^5 + 648960*N^4 - 259584*N^3 + 93184*N^2 - 26624*N + 4096)/N^6,1,x,x^2,x^3,x^4,x^5,x^6])
%4 = [-1, 140608, -70304, -10816, 2704, 52, -26, 1]~
? ?lindep
lindep(x,{flag=0}): integral linear dependencies between components of x. flag is optional, and can be 0: default, guess a suitable accuracy, or positive: accuracy to use for the computation, in decimal digits.
The first value of the return (-1) is just the weight for the input polynomial; the rest is the answer (in [1,x,x^2,x^3,x^4,x^5,x^6]) Last fiddled with by Batalov on 2013-09-08 at 04:31 |
|
|
|
|
|
#55 | |
|
Nov 2003
22·5·373 Posts |
Quote:
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. |
|
|
|
|
![]() |
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 |