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.

2.2 Polynomial arithmetic 93<br />

As indicated above, the characteristic of a field, if it is positive, must be<br />

a prime number. Fields of characteristic 2 play a special role in applications,<br />

mainly because of the simplicity of doing arithmetic in such fields.<br />

We collect some relevant classical results on finite fields as follows:<br />

Theorem 2.2.5 (Basic results on finite fields).<br />

(1) A finite field F has nonzero characteristic, which must be a prime.<br />

(2) For a, b in a finite field F of characteristic p, (a + b) p = a p + b p .<br />

(3) Every finite field has p k elements for some positive integer k, where p is<br />

the characteristic.<br />

(4) For given prime p and exponent k, there is exactly one field with p k<br />

elements (up to isomorphism), which field we denote by F p k.<br />

(5) F p k contains as subfields unique copies of F p j for each j|k, and no other<br />

subfields.<br />

(6) The multiplicative group F ∗<br />

p k of nonzero elements in F p k is cyclic; that<br />

is, there is a single element whose powers constitute the whole group.<br />

The multiplicative group F ∗<br />

p k is an important concept in studies of powers,<br />

roots, and cryptography.<br />

Definition 2.2.6. A primitive root of a field F p k is an element whose powers<br />

constitute all of F ∗<br />

p k. That is, the root is a generator of the cyclic group F ∗<br />

p k.<br />

For example, in the example above where we created a field with 49 elements,<br />

namely F 7 2, the element 3 + i is a primitive root.<br />

A cyclic group with n elements has ϕ(n) generators in total, where ϕ is<br />

the Euler totient function. Thus, a finite field F p k has ϕ(p k − 1) primitive<br />

roots.<br />

One way to detect primitive roots is to use the following result.<br />

Theorem 2.2.7 (Test for primitive root). An element g in F ∗<br />

p k is a primitive<br />

root if and only if<br />

g (pk −1)/q =1<br />

for every prime q dividing p k − 1.<br />

As long as p k − 1 can be factored, this test provides an efficient means of<br />

establishing a primitive root. A simple algorithm, then, for finding a primitive<br />

root is this: Choose random g ∈ F ∗<br />

p k, compute powers g (pk −1)/q mod p for<br />

successive prime factors q of p k −1, and if any one of these powers is 1, choose<br />

another g. Ifg survives the chain of powers, it is a primitive root by Theorem<br />

2.2.7.<br />

Much of this book is concerned with arithmetic in Fp, but at times we<br />

shall have occasion to consider higher prime-power fields. Though general<br />

F p k arithmetic can be complicated, it is intriguing that some algorithms can<br />

actually enjoy improved performance when we invoke such higher fields. As

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

Saved successfully!

Ooh no, something went wrong!