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.

4.5 The primality test of Agrawal, Kayal, and Saxena (AKS test) 211<br />

necessarily. However, the following result gives a criterion that ensures that<br />

fr,d remains irreducible when reduced modulo p.<br />

Lemma 4.5.5 (Kummer). If r is a prime, d is a positive divisor of r − 1,<br />

and p is a prime with the order of p (r−1)/d modulo r equal to d, then fr,d(x)<br />

remains irreducible when considered in Fp[x].<br />

A proof of this result using that ηr,d and its conjugates form an integral basis<br />

of the ring of integers in Q(ηr,d) may be found in [Adleman and Lenstra 1986].<br />

We present a different proof using Gauss sums.<br />

Proof. Consider the splitting field K of (xr − 1)(xd − 1) over Fp, which<br />

may be viewed as the homomorphic image of Z[ζr,ζd], where ζr = e2πi/r and<br />

ζd = e2πi/d .Letζbe the image of ζr in K and let ω be the image of ζd.<br />

Further, let η = <br />

j∈S ζj be the image of ηr,d. Assuming that the order of<br />

p (r−1)/d modulo r is d, we are to show that η has degree d over Fp (since we<br />

have fr,d(η) =0andfr,d has degree d, sothatifη has degree d, thenfr,d<br />

must be irreducible over Fp). We apply the Frobenius p-th-power map to η;<br />

if this is done i times, we have ηpi. We are to show that the least positive k<br />

with ηpk = η is k = d. Foreachkwe have<br />

η pk<br />

= <br />

ζ pk <br />

j<br />

= ζ j ,<br />

so that η pd<br />

j∈S<br />

j∈p k S<br />

= η, sincep d ∈ S. Thus, the least positive k with η pk<br />

= η is a<br />

divisor of d. Our goal is to show that k = d, so we may assume that d>1.<br />

Let χ be a Dirichlet character modulo r of order d; specifically, let<br />

χ(a d ) = 1 for any nonzero residue a modulo r and let χ(p) = ζd. (Since<br />

the order of p (r−1)/d modulo r is assumed to be d, we have completely defined<br />

χ.) We consider the Gauss sum<br />

r−1<br />

τ(χ) = χ(j)ζ j r.<br />

j=1<br />

Note that the proof of Lemma 4.4.1 gives that |τ(χ)| 2 = r, see Exercise 4.21,<br />

so that the image of τ(χ) inK is not zero. We reorganize the Gauss sum,<br />

getting that<br />

τ(χ) =<br />

d−1<br />

<br />

i=0 j∈piS <br />

χ(j)ζ j d−1<br />

r =<br />

i=0<br />

<br />

i<br />

χ(p)<br />

j∈p i S<br />

Thus, τ(χ) is a “twisted” sum over the complex roots of fr,d(x). We take this<br />

equation over to K, noting that <br />

j∈piS ζj = ηpi.Butηpi1 = ηpi2 whenever<br />

i1 ≡ i2 (mod k), so the image of τ(χ) inK is<br />

d−1<br />

<br />

i<br />

ω<br />

i=0<br />

j∈p i S<br />

ζ j d−1<br />

= ω i η pi<br />

=<br />

i=0<br />

k−1 <br />

m=0<br />

η pm<br />

d/k−1 <br />

l=0<br />

ω m+kl =<br />

k−1 <br />

m=0<br />

ζ j r.<br />

η pm<br />

ω m<br />

d/k−1 <br />

l=0<br />

ω kl .

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

Saved successfully!

Ooh no, something went wrong!