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.

296 Chapter 6 SUBEXPONENTIAL FACTORING ALGORITHMS<br />

being B-smooth, and vice versa. And some even consider using reports where<br />

both numbers in question have up to two large prime factors. One wonders<br />

whether it would not be simpler and more efficient in this case just to increase<br />

the size of the bound B.<br />

Nonmonic polynomials<br />

It is specified in Algorithm 6.2.5 that the polynomial f(x) chosen in Step<br />

[Setup] be done so in a particular way, a way that renders f monic. The<br />

discussion in the above sections assumed that the polynomial f(x) is indeed<br />

monic. In this case, where α is a root of f(x), the ring Z[α] is a subring of the<br />

ring of algebraic integers in Q(α). In fact, we have more freedom in the choice<br />

of f(x) than stated. It is necessary only that f(x) ∈ Z[x] be irreducible. It<br />

is not necessary that f be chosen in the particular way of Step [Setup], nor<br />

is it necessary that f be monic. <strong>Prime</strong>s that divide the leading coefficient of<br />

f(x) have a somewhat suspect treatment in our exponent vectors. But we are<br />

used to this kind of thing, since also primes that divide the discriminant of<br />

f(x) in the treatment of the monic case were suspect, and became part of<br />

the need for the quadratic characters in Step [The matrix] of Algorithm 6.2.5<br />

(discussed in Section 6.2.4). Suffice it to say that nonmonic polynomials do<br />

not introduce any significant new difficulties.<br />

But why should we bother with nonmonic polynomials? As we saw in<br />

Section 6.2.3, the key to a faster algorithm is reducing the size of the numbers<br />

that over which we sieve in the hope of finding smooth ones. The size of<br />

these numbers in NFS depends directly on the size of the number m and the<br />

coefficients of the polynomial f(x), for a given degree d. Choosing a monic<br />

polynomial we could arrange for m and these coefficients to be bounded by<br />

n 1/d . If we now allow nonmonic polynomials, we can choose m to be n 1/(d+1) .<br />

Writing n in base m, wehaven = cdm d + cd−1m d−1 + ···+ c0. This suggests<br />

that we use the polynomial f(x) =cdx d +cd−1x d−1 +···+c0. The coefficients<br />

ci are bounded by n 1/(d+1) , so both m and the coefficients are smaller by a<br />

factor of about n 1/(d2 +d) .<br />

For numbers at infinity, this savings in the coefficient size is not very<br />

significant: The heuristic complexity of NFS stands roughly as before. (The<br />

asymptotic speedup is about a factor of ln 1/6 n.) However, we are still not<br />

factoring numbers at infinity, and for the numbers we are factoring, the savings<br />

is important.<br />

Suppose f(x) = cdx d + cd−1x d−1 + ··· + c0 is irreducible in Z[x] and<br />

that α ∈ C is a root. Then cdα is an algebraic integer. It is a root of<br />

F (x) =xd + cd−1xd−1 + cdcd−2xd−2 + ···+ c d−1<br />

d c0, which can be easily seen,<br />

since F (cdx) =c d−1<br />

d f(x). We conclude that if S is a set of coprime integer<br />

pairs a, b, if<br />

<br />

(a,b)∈S<br />

(a − bα)

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

Saved successfully!

Ooh no, something went wrong!