Generating series for irreducible polynomials over finite fields
Arnaud Bodin

TL;DR
This paper develops generating series and formulas to count irreducible polynomials over finite fields in multiple variables, providing exact and asymptotic results for various cases including multi-degree and indecomposability.
Contribution
It introduces new generating series and formulas for counting irreducible polynomials over finite fields in multiple variables, extending previous work.
Findings
Derived explicit formulas for counting irreducible polynomials
Provided asymptotic approximations for large degrees
Analyzed cases of multi-degree and indecomposable polynomials
Abstract
We count the number of irreducible polynomials in several variables of a given degree over a finite field. The results are expressed in terms of a generating series, an exact formula and an asymptotic approximation. We also consider the case of the multi-degree and the case of indecomposable polynomials.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsCoding theory and cryptography · Polynomial and algebraic computation · Cryptography and Residue Arithmetic
Generating series for irreducible polynomials over finite fields
Arnaud Bodin
Laboratoire Paul Painlevé, Mathématiques, Université Lille 1, 59655 Villeneuve d’Ascq Cedex, France
Abstract.
We count the number of irreducible polynomials in several variables of a given degree over a finite field. The results are expressed in terms of a generating series, an exact formula and an asymptotic approximation. We also consider the case of the multi-degree and the case of indecomposable polynomials.
Key words and phrases:
Irreducible and indecomposable polynomials, Inversion formula.
2000 Mathematics Subject Classification:
12E05, 11T06
1. Introduction
A well-known formula that goes back to Gauss estimate the number of monic irreducible polynomials among all the monic polynomials of degree in :
[TABLE]
A proof of this fact from the combinatorial point of view has been formalized by Ph. Flajolet, X. Gourdon and D. Panario in [6]. They apply this formalism to count irreducible polynomials in one variable over with the help of generating series. These generating series are convergent. The goal of this paper is to count irreducible polynomials in several variables. While the formalism is the same, the series are now formal power series. At a first glance it seems a major obstruction, but despite that the series are non-convergent lots of manipulations are possible: computation of the terms of a generating series, approximation of this term, Möbius inversion formula,… For comments and examples in this vein we refer to the book of Ph. Flajolet and R. Sedgewick [7] (and especially Examples I.19, I.20, II.15, Note II.28 and Appendix A).
We start by extending the introduction and recall in Section 2 the formalism introduced in [6], we consider in Section 3 the case of irreducible polynomials in several variables of a given degree. Then in Section 4 the irreducible polynomials are counted with respect to the multi-degree (or vector-degree). Finally in Section 5 we deal with indecomposable polynomials. In each case we give an exact formula, a generating series, an asymptotic development at first order and end by an example. References to earlier works are given for each cases after the main statements.
Acknowledgments. I am pleased to thank Philippe Flajolet: this article starts after one of his question during a visit at inria Rocquencourt, he also explained me how non-convergent series can be nicely handled.
2. Formalism
Let us recall the formalism of [6]. Let be a family of primitive combinatorial objects and , then formally represents arbitrary sequences composed of . The product formally represents all multisets (sets with possible repetitions) composed of elements of .
In our situation will be the set of all monic irreducible polynomials and the set of all monic polynomials. The relation expresses that each monic polynomial admits a unique decomposition into monic irreducible polynomials.
In order to count polynomials over we make the following substitution , where is a new formal variable and is the degree of the polynomial . We get the generating series:
[TABLE]
that count the total number of monic polynomials and monic irreducible polynomials. The decomposition of polynomials into irreducible factors gives the relation:
[TABLE]
By taking the logarithm we get:
[TABLE]
For one variable polynomials we know that the number of monic polynomials is so that . Hence
[TABLE]
by applying Möbius inversion formula to the (convergent) series we get
[TABLE]
If we prefer, we can only consider the coefficients of the terms in Equation (1) to find
[TABLE]
by applying the classical Möbius inversion formula ( is Möbius function). From this last expression, we deduce that , that implies the first statement of the introduction.
3. Irreducible polynomials: degree
Let
[TABLE]
Then is the number of irreducible, monic, polynomials of degree (exactly) in . The corresponding generating series is
[TABLE]
Let be the number irreducible monic polynomials of degree in , we define the corresponding generating series:
[TABLE]
Theorem 1**.**
- (1)
, 2. (2)
, 3. (3)
.
In item (3), and are fixed while the error term is for values of that tend to infinity. The history for item (3) starts with L. Carlitz [3] who proved that almost all polynomials in several variables are irreducible. His work has been extended to the case of the bi-degree in [4] (as considered in Section 4) and by S. Cohen [5] for more variables. Here we get that most of polynomials are irreducible and an estimation of the error term. A similar formula has been obtained in [1]: as grows to infinity. A formula with explicit constants is given in [8] for polynomials in two variables , with . An asymptotic formula of higher order is proved in [11]: , where are constants and the order is arbitrary large.
Our proof of (3) appears to be simple compare with these references. Finally, in the forthcoming [10], the formula is also obtained and applied to get an approximation: , where and are fixed, while grows to infinity.
The end of this section is devoted to the proof of Theorem 1.
Proof.
Generating series. We follow the formalism of the introduction:
[TABLE]
Hence:
[TABLE]
By Möbius inversion formula applied to the series (see comments after the proof) we get:
[TABLE]
Another point of view is to make computations term by term: we take the coefficients of in Equation (2) and get
[TABLE]
Then we apply the usual Möbius inversion formula to and find
[TABLE]
Asymptotic behaviour. We start with the computation of an approximation of .
[TABLE]
And for powers we have:
[TABLE]
Then we compute the asymptotic behaviour of .
[TABLE]
Now we get:
[TABLE]
∎
Example
For example, in two variables (), we can compute the exact expression of . We compute the first coefficients of the expansion of into powers of (by derivation an expansion of can be obtained from the inverse of ). The exact value of is then computed from formula (2) of Theorem 1:
[TABLE]
which has a total of monomials! When we specialize the approximation of Theorem 1 to we find that is about with an error term of magnitude . Finally if we set in the exact expression, we get
[TABLE]
a number with digits.
Inversion formula
We shall now sketch the proof of inversion formula for formal power series. Suppose that with and
[TABLE]
then
[TABLE]
where is the ordinary Möbius function. The proof is in fact the same as the classic one:
[TABLE]
In this expression the coefficient of involves only a finite number of terms and is so that the former sum becomes:
[TABLE]
Further readings for comments on computations with formal power series can be found in [7, Appendix A]. For convergent series, see [13, p. 98] and for a general version of inversion theorem, see [14].
4. Irreducible polynomials: multi-degree
Let be the number of irreducible, monic, polynomials of multi-degree in . By [5] or [11] we have
[TABLE]
The corresponding generating series is
[TABLE]
or for short
[TABLE]
Let be the number of irreducible monic polynomials of degree in , we define the corresponding generating series:
[TABLE]
Theorem 2**.**
- (1)
, 2. (2)
, 3. (3)
* if .*
For (3) X.-D. Hou and G. Mullen in [11] have already obtained a similar formula. The scheme of the proof is the same as in the previous section.
Proof.
Generating series. The proof is an application of the formalism of the introduction, (used in a similar way as in Section 3, see also [4] “heuristic proof” of (2.1)).
[TABLE]
Hence:
[TABLE]
where . Now take the coefficient of in Equation (4), we get
[TABLE]
By Möbius formula applied to we get
[TABLE]
We can also directly apply Möbius inversion formula to :
[TABLE]
Asymptotic behaviour. We suppose . We have:
[TABLE]
Intuitively these formulas express that most of reducible polynomials are of type , where , being a constant.
∎
Example
For example, we get , while . The approximation of Theorem 2 specialized to gives that is about with an error term of magnitude . Finally if we fix , we get and .
5. Indecomposable polynomials
Definition and known facts
A polynomial in is decomposable if there exist with and such that
[TABLE]
Otherwise is said to be indecomposable. For example is decomposable (with and ). Notice that if is irreducible in for some value then is indecomposable.
Indecomposable polynomials have a special interest in regards of Stein’s theorem and provide families of irreducible polynomials (see [15], [12], [2]):
Theorem** (Stein’s theorem).**
If is indecomposable then for all but finitely many values (the algebraic closure of ), is irreducible in . Moreover the number of values such that is reducible is strictly less than .
Let be the number of indecomposable polynomials of degree (exactly) in , . Let be the number of polynomials of degree (not necessarily monic) in :
[TABLE]
We define the following Dirichlet series:
[TABLE]
We also define a kind of Möbius function :
[TABLE]
where the sum is over all the iterated divisors of ( not being fixed). We define . For a fixed , we define to be the first two divisors of .
Theorem 3**.**
- (1)
, 2. (2)
, 3. (3)
If is the product of at least three prime numbers:
[TABLE]
The item (3) has already been obtained in [2] and [9], where some explicit constants are computed. For example in two variables, and when is the product of at least three prime numbers, Theorem 5.1 of [2] yields the same first order estimate of : .
Proof.
Generating series and inversion formula. The decomposition of a decomposable polynomial is unique once it has been normalized, see [2, Section 5]:
Lemma 4**.**
Let be a decomposition with , indecomposable, monic and its constant term equals zero. Then such a decomposition is unique.
By induction it implies the following lemma (see [2]):
Lemma 5**.**
[TABLE]
From Lemma 5 we get:
[TABLE]
From the point of view of Dirichlet series it yields:
[TABLE]
Then by induction we also deduce from Lemma 5 that
[TABLE]
Asymptotic behaviour. From this formula we deduce:
[TABLE]
∎
Example
For example, in two variables, we have and we compute by formula (2) of Theorem 3. We get . While the approximation given in Theorem 3 is that is about with an error term of magnitude .
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] A. Bodin, Number of irreducible polynomials in several variables over finite fields , American Math. Monthly 115 (2008), 653–660.
- 2[2] A. Bodin, P. Dèbes, S. Najib, Indecomposable polynomials and their spectrum , Acta Arith. 139 (2009), 79–100.
- 3[3] L. Carlitz, The distribution of irreducible polynomials in several indeterminates , Illinois J. Math. 7 (1963), 371–375.
- 4[4] L. Carlitz, The distribution of irreducible polynomials in several indeterminates. II , Canad. J. Math. 17 (1965), 261–266.
- 5[5] S. Cohen, The distribution of irreducible polynomials in several indeterminates over a finite field , Proc. Edinburgh Math. Soc. 16 (1968/1969) 1–17.
- 6[6] Ph. Flajolet, X. Gourdon, D. Panario, The complete analysis of a polynomial factorization algorithm over finite fields , J. Algorithms 40 (2001), 37–81.
- 7[7] Ph. Flajolet, R. Sedgewick, Analytic Combinatorics , Cambridge University Press, 2009.
- 8[8] J. von zur Gathen, Counting reducible and singular bivariate polynomials , Finite Fields Appl. 14 (2008), 944–978.
