# Conway polynomial (finite fields)

In mathematics, the Conway polynomial Cp,n for the finite field Fpn is a particular irreducible polynomial of degree n over Fp that can be used to define a standard representation of Fpn as a splitting field of Cp,n. Conway polynomials were named after John H. Conway by Richard A. Parker, who was the first to define them and compute examples. Conway polynomials satisfy a certain compatibility condition that had been proposed by Conway between the representation of a field and the representations of its subfields. They are important in computer algebra where they provide portability among different mathematical databases and computer algebra systems. Since Conway polynomials are expensive to compute, they must be stored to be used in practice. Databases of Conway polynomials are available in the computer algebra systems GAP,[1] Macaulay2,[2] Magma,[3] SageMath,[4] and at the web site of Frank Lübeck.[5]

## Background

Elements of Fpn may be represented as sums of the form an−1βn−1 + ... + a1β + a0 where β is a root of an irreducible polynomial of degree n over Fp and the aj are elements of Fp. Addition of field elements in this representation is simply vector addition. While there is a unique finite field of order pn up to isomorphism, the representation of the field elements depends on the choice of the irreducible polynomial. The Conway polynomial is a way of standardizing this choice.

The non-zero elements of a finite field form a cyclic group under multiplication. A primitive element, α, of Fpn is an element that generates this group. Representing the non-zero field elements as powers of α allows multiplication in the field to be performed efficiently. The primitive polynomial for α is the monic polynomial of smallest possible degree with coefficients in Fp that has α as a root in Fpn (the minimal polynomial for α). It is necessarily irreducible. The Conway polynomial is chosen to be primitive, so that each of its roots generates the multiplicative group of the associated finite field.

The subfields of Fpn are fields Fpm with m dividing n. The cyclic group formed from the non-zero elements of Fpm is a subgroup of the cyclic group of Fpn. If α generates the latter, then the smallest power of α that generates the former is αr where r = (pn − 1)/(pm − 1). If fn is a primitive polynomial for Fpn with root α, and if fm is a primitive polynomial for Fpm, then by Conway's definition, fm and fn are compatible if αr is a root of fm. This necessitates that fm(x) divide fn(xr). This notion of compatibility is called norm-compatibility by some authors. The Conway polynomial for a finite field is chosen so as to be compatible with the Conway polynomials of each of its subfields. That it is possible to make the choice in this way was proved by Werner Nickel.[6]

## Definition

The Conway polynomial Cp,n is defined as the lexicographically minimal monic primitive polynomial of degree n over Fp that is compatible with Cp,m for all m dividing n. This is an inductive definition on n: the base case is Cp,1(x) = x − α where α is the lexicographically minimal primitive element of Fp. The notion of lexicographical ordering used is the following:

• The elements of Fp are ordered 0 < 1 < 2 < ... < p − 1.
• A polynomial of degree d in Fp[x] is written adxd − ad−1xd−1 + ... + (−1)da0 and then expressed as the word adad−1 ... a0. Two polynomials of degree d are ordered according to the lexicographical ordering of their corresponding words.

Since there does not appear to be any natural mathematical criterion that would single out one monic primitive polynomial satisfying the compatibility conditions over all the others, the imposition of lexicographical ordering in the definition of the Conway polynomial should be regarded as a convention.

## Computation

Algorithms for computing Conway polynomials that are more efficient than brute-force search have been developed by Heath and Loehr.[7] Lübeck indicates[5] that their algorithm is a rediscovery of the method of Parker.

## Notes

1. ^ "Chapter 59". GAP 4 Manual. The GAP Group. Retrieved 8 February 2011.
2. ^ Grayson, Daniel R.; Stillman, Michael E. "Macaulay2, a software system for research in algebraic geometry". Retrieved 9 February 2011.
3. ^ Bosma, W.; Steel, A. "Magma handbook: finite fields". Computational Algebra Group, School of Mathematics and Statistics, University of Sydney. Retrieved 8 February 2011.
4. ^ "Frank Luebeck's tables of Conway polynomials over finite fields". The Sage Development Team. Retrieved 18 March 2013.
5. ^ a b Lübeck, Frank. "Conway polynomials for finite fields". Retrieved 8 February 2011.
6. ^ Nickel, Werner (1988), Endliche Körper in dem gruppentheoretischen Programmsystem GAP, Diploma thesis, RWTH Aachen, retrieved 10 February 2011.
7. ^ Heath, Lenwood S.; Loehr, Nicholas A. (1998). "New algorithms for generating Conway polynomials over finite fields". Virginia Polytechnic Institute and State University. Technical Report ncstrl.vatech_cs//TR-98-14, Computer Science. Retrieved 8 February 2011.

## References

• Holt, Derek F.; Eick, Bettina; O'Brien, Eamonn A. (2005), Handbook of computational group theory, Discrete mathematics and its applications, 24, CRC Press, ISBN 978-1-58488-372-2