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 297<br />

is a square in Q(α), and if S has an even number of pairs, then<br />

F ′ 2<br />

(cdα)<br />

<br />

(acd − bcdα)<br />

(a,b)∈S<br />

is a square in Z[cdα], say γ 2 . Finding the integral coefficients (modulo n)<br />

of γ with respect to the basis 1,cdα,...,(cdα) d−1 then allows us as before<br />

to get two congruent squares modulo n, and so gives us a chance to factor<br />

n. (Note that if F (x, y) =y d f(x/y) is the homogenized form of f(x), then<br />

F (cdx, cd) =cdF (cdx), and so Fx(cdα, cd) =cdF ′ (cdα). We thus may use<br />

Fx(cdα, cd) inplaceofF ′ (cdα) in the above, if we wish.) So, using a nonmonic<br />

polynomial poses no great complications. To ensure that the cardinality of the<br />

set S is even, we can enlarge all of our exponent vectors by one additional<br />

coordinate, which is always set to be 1.<br />

The above argument assumes that the coefficient cd is coprime to n.<br />

However, it is a simple matter to check that cd and n are coprime. And, since<br />

cd is smaller than n in all the cases that would be considered, a nontrivial<br />

gcd would lead to a nontrivial splitting of n. For further details on how to<br />

use nonmonic polynomials, and also how to use homogeneous polynomials,<br />

[Buhler et al. 1993, Section 12].<br />

There have been some exciting developments in polynomial selection,<br />

developments that were very important in the record 155-digit factorization<br />

of the famous RSA challenge number in late 1999. It turns out that a<br />

good polynomial makes so much difference that it is worthwhile to spend<br />

a considerable amount of resources searching through polynomial choices. For<br />

details on the latest strategies see [Murphy 1998, 1999].<br />

Polynomial pairs<br />

The description of NFS given in the sections above actually involves two<br />

polynomials, though we have emphasized only the single polynomial f(x) for<br />

whichwehaveanintegerm with f(m) ≡ 0(modn). It is more precisely<br />

the homogenized form of f that we considered, namely F (x, y) =y d f(x/y),<br />

where d isthedegreeoff(x). The second polynomial is the rather trivial<br />

g(x) = x − m. Its homogenized form is G(x, y) = yg(x/y) = x − my.<br />

The numbers that we sieve looking for smooth values are the values of<br />

F (x, y)G(x, y) in a box near the origin.<br />

However, it is not necessary for the degree of g(x) to be 1. Suppose we have<br />

two distinct, irreducible (not necessarily monic) polynomials f(x),g(x) ∈ Z[x],<br />

andanintegerm with f(m) ≡ g(m) ≡ 0(modn). Let α be a root of f(x) in<br />

C and let β be a root of g(x) inC. Assuming that the leading coefficient c of<br />

f(x) andC of g(x) arecoprimeton, we have homomorphisms φ : Z[cα] → Zn<br />

and ψ : Z[Cβ] → Zn, whereφ(cα) ≡ cm (mod n) andψ(Cβ) ≡ Cm (mod n).<br />

Suppose, too, that we have a set S consisting of an even number of coprime<br />

integer pairs a, b and elements γ ∈ Z[α] andβ ∈ Z[β] with<br />

<br />

2<br />

Fx(cα, c)<br />

(a,b)∈S<br />

(ac − bcα) =γ 2 <br />

2<br />

, Gx(Cβ,C)<br />

(a,b)∈S<br />

(aC − bCβ) =δ 2 .

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

Saved successfully!

Ooh no, something went wrong!