10.12.2012 Views

Prime Numbers

Prime Numbers

Prime Numbers

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

6.2 Number field sieve 295<br />

Then it should be that<br />

wf ′ <br />

2<br />

(α)<br />

(a,b)∈S<br />

wf ′ <br />

2<br />

(m)<br />

(a,b)∈S<br />

(a − bα) =γ 2 , for some γ ∈ Z[α],<br />

(a − bm) =v 2 , for some v ∈ Z.<br />

Then if φ(γ) =u, wehaveu 2 ≡ v 2 (mod n), as before.<br />

The advantage of free relations is that the more of them there are, the<br />

fewer relations need be uncovered in the time-consuming sieve stage. Also, the<br />

vectors v(p) are sparser than a typical exponent vector v(a, b), so including<br />

free relations allows the matrix stage to run faster.<br />

So, how many free relations do we expect to find? A free relation<br />

corresponds to a prime p that splits completely in the algebraic number field<br />

Q(α). Let g be the order of the splitting field of f(x); that is, the Galois<br />

closure of Q(α) in the complex numbers. It follows from the Chebotarev<br />

density theorem that the number of primes p up to a bound X that split<br />

completely in Q(α) is asymptotically 1<br />

g π(X), as X →∞. That is, on average,<br />

1 out of every g prime numbers corresponds to a free relation. Assuming that<br />

our factor base bound B is large enough so that the asymptotics are beginning<br />

to take over (this is yet another heuristic, but reasonable, assumption), we thus<br />

should expect about 1<br />

g π(B) free relations. Now, the order g of the splitting<br />

field could be as small as d, the degree of f(x), or as high as d!. Obviously,<br />

the smaller g is, the more free relations we should expect. Unfortunately, the<br />

generic case is g = d!. That is, for most irreducible polynomials f(x) inZ[x]<br />

of degree d, the order of the splitting field of f(x) isd!. So, for example, if<br />

1<br />

d = 5, we should expect only about 120π(B) free relations, if we choose our<br />

polynomial f(x) according to the scheme in Step [Setup] in Algorithm 6.2.5.<br />

Since our vectors have about 2π(B) coordinates, the free relations in this case<br />

would only reduce the sieving time by less than one-half of 1 per cent. But<br />

still, it is free, so to speak, and every little bit helps.<br />

Free relations can help considerably more in the case of special polynomials<br />

f(x) with small splitting fields. For example, in the factorization of the ninth<br />

Fermat number F9, the polynomial f(x) =x5 + 8 was used. The order of<br />

the splitting field here is 20, so free relations allowed the sieving time to be<br />

reduced by about 2.5%.<br />

Partial relations<br />

As in the quadratic sieve method, sieving in the number field sieve not<br />

only reveals those pairs a, b where both of the numbers N(a−bα) =F (a, b) =<br />

b d f(a/b) anda − bm are B-smooth, but also pairs a, b where one or both of<br />

these numbers are a B-smooth number times one somewhat larger prime. If<br />

we allow relations that have such large primes, at most one each for N(a−bα)<br />

and a − bm, we then have a data structure not unlike the quadratic sieve with<br />

the double large-prime variation; see Section 6.1.4. It has also been suggested<br />

that reports can be used with N(a − bα) having two large primes and a − bm

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!