A finite field is a field with finitely many elements. Its characteristic is the least positive integer for which ; such an integer exists because the additive group is finite. If with , then although neither factor is zero, impossible in a field. Hence is prime, and the multiples of form its prime field . The whole field is a finite-dimensional vector space over this subfield, say of dimension , so its cardinality is . Thus and its characteristic is .
For existence, let be a splitting field over of . Since , it has exactly distinct roots. Its root set contains and is closed under addition and multiplication, because iterated Frobenius endomorphism gives
It is also closed under additive inverses, and for , . Thus is a field with exactly elements. Since it contains every root, it is the entire splitting field. This proves existence.
For uniqueness, let be any field with elements. Its nonzero multiplicative group has order , so Lagrange's theorem gives for every , including zero. Hence is a splitting field of the same polynomial. Here is the embedding argument giving uniqueness, rather than merely invoking it by name. Extend the identity on from one root at a time. If an embedding is already defined on and a new root has minimal polynomial of an algebraic element over , the transported polynomial divides and therefore has a root in . Evaluation at induces an embedding , extending the existing embedding to . Repeating for the finitely many roots embeds the constructed field in . They have the same finite cardinality, so this embedding is an isomorphism. Thus the field of order is unique up to isomorphism.
We prove cyclicity of the multiplicative group, also establishing the more general finite multiplicative subgroup of a field is cyclic result. Let be a finite subgroup of a field's multiplicative group, and let be the least common multiple of all element orders. For every prime dividing , choose an element whose order has the maximal -power ; raising it to the factor of its order coprime to gives an element of order . Since the group is abelian, the product of these elements has order : for commuting elements of coprime orders, an equation forces into the intersection of their cyclic subgroups, which is trivial, so both orders divide . Every member of is a root of . The Lagrange root bound over a field gives , while the element just constructed has order and gives . Thus equality holds and that element generates . In particular
For the field with nine elements, use . The polynomial has no root in , since its squares are , so the quotient is a field. In the basis , a vector represents , and
with coefficients reduced modulo three. Put . Then , , and , proving that is a primitive element of a finite field of order eight. Its complete power/vector table is
For completeness, the full addition and multiplication tables in these labels are displayed below. The subscripts are element labels; they are not the scalar residues of .
A nonzero element satisfies exactly when , so is even. Thus, with ,
Let be a finite subgroup of . It is abelian since multiplication in the field commutes. The structure theorem therefore writes as a product of cyclic groups with invariant factors , omitting trivial factors. Every element satisfies , so consists of roots of . The root bound from part (ii) gives
while the decomposition gives . Equality forces every factor except the last to be trivial. Hence is cyclic. The trivial subgroup is cyclic as well. This is the finite multiplicative subgroup of a field is cyclic theorem, proved here using the preceding two parts.
The infinite case is false. In , the group of all roots of unity is infinite, but every element has finite order. If it were cyclic, its generator would have finite order and the whole group would be finite, a contradiction.
The Lagrange root bound over a field says that a nonzero polynomial of degree over a field has at most roots. In particular, a polynomial modular congruence of degree modulo a prime number has at most incongruent solutions unless all its coefficients vanish modulo that prime.
Suppose that is good and that the positive integer divisor divides . The roots of form a finite multiplicative subgroup of . By the fact that every finite multiplicative subgroup of a field is cyclic, is a cyclic group of order . The solutions in of are
so there are at least of them. The Lagrange root bound over a field gives at most roots in all of , hence exactly . Thus every divisor of a good number is good.
Now put . By the Chinese remainder theorem for unit groups, a base is a Fermat-pseudoprime base precisely when its two components satisfy
The power roots in a finite field and
show that each component has ten choices. Therefore there are
Fermat-pseudoprime bases.
To impose the strong pseudoprime condition, write with odd. Since , we have . In each cyclic group of ten Fermat components, raising to the th power sends five elements to and five elements to . A pair of components passes the strong test exactly when their signs agree: the pair satisfies the first alternative, and satisfies the second at . Components of opposite sign become after squaring and can never jointly equal . Hence the number of strong-pseudoprime bases is
Write . The unit group is a finite abelian group of group order , since multiplication in a field satisfies commutativity. The structure theorem for finitely generated abelian groups, applied to this finite group, gives invariant factors of a finitely generated module
after omitting trivial factors. If there are no factors, the unit group is trivial and hence a cyclic group.
Otherwise put . Every element satisfies , because the order of a group element in each coordinate divides . Hence all distinct nonzero elements of are roots of a polynomial . The root bound for a polynomial over a field gives
For completeness, that bound follows by induction from the factor theorem: if a nonzero polynomial vanishes at , write ; every other root of a polynomial is a root of , because a field has no zero divisors. Each new distinct root therefore uses one unit of polynomial degree.
On the other hand, the group order in the decomposition is
Equality is forced, so . As every retained factor is greater than , there can be only one. Consequently
The same proof establishes the more general result finite multiplicative subgroup of a field is cyclic. The square-free integer result in part (c)(i) alone would not suffice, since need not be a square-free integer; the root bound for a polynomial rules out multiple invariant factors of a finitely generated module even then.
These roots are taken in an algebraic closure, not merely in . If the characteristic of a field is and with , then ; hence there are distinct roots. They form a cyclic group by the finite multiplicative subgroup of a field is cyclic theorem. In particular they have order when .