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.

144 Chapter 3 RECOGNIZING PRIMES AND COMPOSITES<br />

R = Zn[x]/(x 2 − ax + b). To somewhat demystify this concept, we explicitly<br />

list a complete set of coset representatives:<br />

{i + jx : i, j are integers with 0 ≤ i, j ≤ n − 1}.<br />

We add coset representatives as vectors (mod n), and we multiply them via<br />

x 2 = ax − b. Thus,wehave<br />

where<br />

(i1 + j1x)+(i2 + j2x) =i3 + j3x<br />

(i1 + j1x)(i2 + j2x) =i4 + j4x,<br />

i3 = i1 + i2 (mod n), j3 = j1 + j2 (mod n),<br />

i4 = i1i2 − bj1j2 (mod n), j4 = i1j2 + i2j1 + aj1j2 (mod n).<br />

We now prove Theorem 3.6.3. Suppose p is an odd prime with <br />

∆<br />

p = −1.<br />

Then ∆ is not a square in Zp, so that the polynomial x 2 − ax + b, which<br />

has discriminant ∆, is irreducible over Zp. Thus,R = Zp[x]/(x 2 − ax + b) is<br />

isomorphic to the finite field F p 2 with p 2 elements. The subfield Zp (= Fp) is<br />

recognized as those coset representatives i + jx with j =0.<br />

In F p 2 the function σ that takes an element to its p-th power (known<br />

as the Frobenius automorphism) has the following pleasant properties, which<br />

are easily derived from the binomial theorem and Fermat’s little theorem (see<br />

(3.2)): σ(u + v) =σ(u)+σ(v), σ(uv) =σ(u)σ(v), and σ(u) =u if and only if<br />

u is in the subfield Zp.<br />

We have created the field F p 2 so as to provide roots for x 2 − ax + b, which<br />

were lacking in Zp. Which coset representatives i + jx are the roots? They<br />

are x itself, and a − x (= a +(p − 1)x). Since x and a − x are not in Zp and<br />

σ must permute the roots of f(x) =x 2 − ax + b, wehave<br />

in the case <br />

∆<br />

p = −1 :<br />

x p ≡ a − x (mod (f(x),p)),<br />

(a − x) p ≡ x (mod (f(x),p)).<br />

(3.10)<br />

Then xp+1 − (a − x) p+1 ≡ x(a − x) − (a − x)x ≡ 0(mod(f(x),p)), so that<br />

(3.8) implies Up+1 ≡ 0(modp).<br />

The proof of (3.9) in the case where p is a prime with <br />

∆<br />

p = 1 is easier.<br />

In this case we have that x 2 − ax + b has two roots in Zp, so that the ring<br />

R = Zp[x]/(x 2 −ax+b) is not a finite field. Rather, it is isomorphic to Zp×Zp,<br />

and every element to the p-th power is itself. Thus,<br />

in the case <br />

∆<br />

p =1 :<br />

x p ≡ x (mod (f(x),p)),<br />

(a − x) p ≡ a − x (mod (f(x),p)).<br />

(3.11)<br />

Note, too, that our assumption that gcd(p, b) = 1 implies that x and a − x are<br />

invertible in R, sincex(a − x) ≡ b (mod f(x)). Hence x p−1 =(a − x) p−1 =1<br />

in R. Thus, (3.8) implies Up−1 ≡ 0(modp). This concludes the proof of<br />

Theorem 3.6.3.

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

Saved successfully!

Ooh no, something went wrong!