Manuscript Offprint
arXiv:2611.00925A density theorem for non-standard irreducible cyclic codes
Abstract
We prove a fixed-characteristic density form of the Berger-Charpin conjecture for non-degenerate irreducible cyclic codes: for each prime , the lengths admitting such a non-standard code over some finite field of characteristic have natural density zero. Thus, for almost every length coprime to , every such code over every finite field of characteristic has only the permutation automorphisms generated by the cyclic shift and the Frobenius map. The proof uses the Feng-Hollmann-Li-Xiang classification for non-standard irreducible cyclic codes, a normal form for the deriving constructions in that paper, and a theorem by Wiertelak on multiplicative orders, in the form recalled by Moree.
Keywords: irreducible cyclic codes, permutation automorphisms, non-standard pairs, natural density, multiplicative orders.
MSC (2020): Primary: 94B15, 05E18, Secondary: 11B05, 11N25.
1 Introduction
A -ary linear code of length is an -linear subspace of , where is a prime power. The permutations of the coordinate positions that preserve form its permutation automorphism group, denoted by . We label the positions by and call the code cyclic if this group contains the shift .
We assume throughout that and consider non-degenerate irreducible cyclic codes. Such a code is called standard if its permutation automorphism group is generated by the shift and the Frobenius map , and non-standard otherwise. Standardness depends only on the length and alphabet [6, Proposition 5.19], so we may speak of a standard or non-standard pair . The necessary background is recalled in Section 2.
Charpin [3, Section 3.5], motivated by the work of Berger and Charpin [1], conjectured that cyclic codes generally have small permutation automorphism groups, generated by the shift and a Frobenius mapping depending on the alphabet. For general cyclic codes, further affine permutations may arise from symmetries of the defining zeros. It is therefore natural to expect that non-degenerate cyclic codes usually have only affine permutation automorphisms, called standard automorphisms in [6, Theorem 5.28, Definition 5.29]. For non-degenerate irreducible cyclic codes, these are precisely the permutations generated by the shift and the Frobenius multiplier [6, Corollary 5.17].
The classification of Feng, Hollmann, Li and Xiang [4] makes it possible to give this expectation a density interpretation for non-degenerate irreducible cyclic codes. Their classification lists five families of non-standard pairs and four constructions from which all other non-standard pairs arise. The numerical evidence in [4, Section 6.3] suggests that the proportion of exceptional lengths tends to zero for each fixed alphabet.
*Corresponding author.
The non-degeneracy assumption is essential. As shown in [4, Lemma 2.4], every nonzero degenerate cyclic code has permutation automorphisms outside the affine group, apart from four exceptions of length at most 4. In particular, for every coprime to , the repetition code is irreducible, degenerate and non-standard. Thus, if degenerate codes are allowed, the lengths admitting a non-standard irreducible cyclic code have relative density 1 among the integers coprime to .
For a prime power , let be the set of positive integers coprime to for which is non-standard, and define
We prove that . In fact, the exceptional lengths still have density zero when all alphabets of a fixed characteristic are considered together.
Theorem 1.1 For every prime , and
Thus, for almost every length coprime to , every non-degenerate irreducible cyclic code of that length over every finite field of characteristic is standard.
Here “almost every” is relative to the positive integers coprime to . For a fixed alphabet, lengths also index the permutation-equivalence classes of non-degenerate irreducible cyclic codes.
Theorem 1.1 establishes Charpin’s expectation for non-degenerate irreducible cyclic codes in a precise density sense, simultaneously over all finite fields of a fixed characteristic. In [4], the underlying conjecture is called the Berger–Charpin conjecture.
Corollary 1.2 For each prime , as .
Proof. The union in Theorem 1.1 equals , so for every , with equality at . The limit follows because the common denominator is .
A difficulty is that the classification allows arbitrarily long sequences of constructions to obtain new non-standard pairs from a given one (all operating within the same field characteristic). In this paper, we first show that all these constructions can be described in terms of three basic constructions called lifting (moving to an extension field), extension (multiplying the length by a factor), and descent (moving to a subfield), see Section 3. Then we show that every such sequence of constructions reduces to one lift, one extension and one descent, see also [7].
For a fixed initial pair of degree greater than one, every derived length is , where avoids a fixed set of primes whose reciprocals have divergent sum, by a theorem of Wiertelak [13, 11]. A sieve argument then demonstrates density zero. To pass from one initial pair to an entire family, we use summable tails for the primitive and ovoid families and a common sieve for the duals of repetition codes. The equally-spaced family requires a separate argument: it is closed under the constructions, and its lengths can be counted using a prime at which the multiplicative order increases.
The paper is organized as follows. In Section 2, we recall the classification of non-standard pairs. Section 3 describes the derived pairs and proves the normal form, and Section 4 establishes closure of the equally-spaced family. After collecting the number-theoretic tools in Section 5, we prove our main results in Section 6. The density results for the five families are proved in Sections 6.1 and 6.2, and we complete the proof of Theorem 1.1 in Section 6.3. In Section 7 we present some conclusions.
While completing this paper, we learned that Wu and Xiang [14] have recently obtained density results concerning permutation automorphisms common to all cyclic codes of a given length over a fixed field. Their proof uses the Wiertelak–Moree theorem and related sieve and tail arguments. We study the full permutation automorphism group of an individual non-degenerate irreducible cyclic code: a permutation preserving such a code need not preserve all cyclic codes of the same length. Our proof combines these number-theoretic tools with the classification and the normal form for derived pairs, using Lemma 5.3 to handle entire families of derived lengths. Moreover, our density result holds simultaneously over all finite fields of a fixed characteristic.
Identifying with , a cyclic code becomes an ideal of . It is generated by a unique monic divisor of . Its check polynomial is , and we write for the code. The order of is the least positive integer for which . The code is non-degenerate when this order is , and irreducible when is irreducible, or equivalently when the code is a minimal nonzero ideal. See [9, 10] for background, and [8] for finite-field notation and facts.
For coprime to , let , the least positive integer for which , with . We commonly refer to as the degree of the pair . Let be the subgroup of order in , and choose a generator . Its powers span over , since . If is the minimal polynomial of over , then has degree and order . The code has dimension and the trace representation
where is the trace from to ; see [3, Section 3.4.3] and [12, Theorem 5.25]. Every non-degenerate irreducible cyclic code of length over arises in this way by choosing so that is a root of the check polynomial, as in [4, Section 2.5].
Replacing by another generator permutes the coordinates in (3) by a multiplier. Thus all these codes are equivalent, as observed in [6, Proposition 5.19]. Coordinate multipliers normalize , so standardness is preserved. It is also unchanged by the choice of finite-field model, since field isomorphisms commute with the trace and coordinate permutations.
For the permutation automorphism groups, define
Hollmann [6, Corollary 5.14 and Theorem 5.15] gives the following identification.
Proposition 2.1 Let be as above. The affine permutations in form the subgroup , of order . There is an isomorphism taking this subgroup to . In particular, is non-standard if and only if .
In the terminology of non-standard linear recurring sequence subgroups, is non-standard precisely when is a non-standard subgroup over . This connects the present problem with the work of Brison and Nogueira [2]; see [6] for the correspondence with cyclic codes.
If , every invertible linear map is a scalar multiplication, so every pair of degree one is standard.
The classification starts from the following five families [4, Section 3], which may overlap.
(i) Duals of repetition codes. The pairs , where and are primes, , and .
(ii) Duals of primitive BCH codes of designed distance 2. The pairs , where is a prime power, , and .
(iii) Extension ovoid codes. The pairs , where is a prime power. Their degree is 4.
(iv) Duals of Golay codes. The pairs (23,2) and (11,3), of degrees 11 and 5, respectively.
(v) Equally-spaced check polynomials. The pairs with for which there exist integers such that
For family (v), let be a root of the check polynomial . Then has order . Let be the minimal polynomial of over . Then has order , and has root and degree . Hence the check polynomial is . If , the generator polynomial is . Grouping coordinates according to their residues modulo gives a direct sum of copies of ; see [4, Example 3.5 and Section 4] for their permutation automorphism groups. The length-4 case satisfying (4) is standard and is excluded from the initial family.
In what follows, we will refer to these five families as the dual-repetition family, the primitive family, the ovoid family, the Golay family, and the equally-spaced family.
Theorem 2.2 (Feng–Hollmann–Li–Xiang) Every non-standard pair can be obtained from one of the five families above by a finite sequence of the following constructions, in which the characteristic remains fixed:
(i) extension , where and ;
(ii) lifting , where and ;
(iii) special descent , where and divides ;
(iv) the tensor-product construction , where , , and .
The initial pairs are non-standard, and each construction preserves non-standardness.
This is [4, Theorem 1.1 and Section 3] in the language of pairs. Its proof uses the classification of finite simple groups.
3 Derived pairs and a normal form
Our aim is to describe the lengths of all pairs obtainable from a given pair by the constructions in Section 2. We first introduce general descent and express the tensor construction as a lift, an extension and a descent. We then prove that, in fact, every sequence of these three operations has this form. The resulting description of the lengths is given in Corollary 3.7.
Throughout this section, pairs have , a prime power and . We retain the lifting and extension operations of Section 2; we explicitly allow identity operations for each of them. The general form of descent was noted in [4, Remark 3.12]. By a descent we mean
where is a prime power and is an integer. Again, we explicitly allow the identity operation (i.e., and ). There is no condition on relative to the degree. In particular, special descent is an instance of descent.
Definition 3.1 A pair is called a derived pair of if it can be obtained from by a finite (possibly empty) sequence of lifts, extensions and descents.
Proposition 3.2 Lifting, extension and descent preserve non-standardness. Consequently, every pair derived from a non-standard pair is itself non-standard.
Proof. For lifting and extension this is recalled in Theorem 2.2. For descent, this is proved in [7]; for completeness we provide a short proof here. Write , and write
The subgroup of order is the same in and : . It spans over and over . Consequently restriction gives an injective homomorphism
Indeed, a map preserving preserves its -span , and its action on determines the map on .
Standard maps restrict to standard maps. Conversely, suppose that restricts to on , where . Replacing by , we may assume . This normalized map fixes pointwise. Since
we obtain . The congruence therefore has a solution . The standard map on has the same restriction to as . Injectivity of makes these maps equal. Thus a non-standard map remains non-standard under restriction, proving the assertion by Proposition 2.1.
Corollary 3.3 For each prime ,
Proof. Descent shows for every .
For a pair of degree , we call an integer an extension factor if , and an integer a lift exponent if . Thus the operation is an extension precisely when is an extension factor for , and the operation is a lift precisely when is a lift exponent for .
Lemma 3.4 Let be a pair of degree . Then the following hold.
(i) The pair is an extension of if and only if .
(ii) If is an extension of , then and .
(iii) For every integer , an extension factor for is also an extension factor for .
(iv) For every integer , we have .
Proof. (i) Write and use .
(ii) By (i), , so . The equality of least common multiples also follows from (i).
(iii) Since , we have . Now apply the identity in the proof of (i).
(iv) The order of modulo is the least positive integer for which , which equals .
Proposition 3.5 Every construction in Theorem 2.2 can be realized by a lift, an extension and a descent, allowing identity operations. Consequently, the non-standard pairs are exactly the pairs derived from the five initial families.
Proof. Only the tensor construction requires consideration. Let , and , so that . Use the sequence
Since , the first step is a lift. Since , we have , hence the second step is an extension by Lemma 3.4, part (i). The third is a descent by definition. The final claim follows from the classification in Theorem 2.2 and Proposition 3.2.
Theorem 3.6 Every finite sequence of lifts, extensions and descents can be replaced by one lift, followed by one extension and one descent, with the same initial and final pairs. As a consequence, if and , then is derived from if and only if for integers satisfying
Proof. By Lemma 3.4, part (iii), a descent-extension sequence can be replaced by the extension-descent sequence . Similarly, by Lemma 3.4, parts (ii) and (iii), an extension-lift sequence can be replaced by the lift-extension sequence . Finally, by Lemma 3.4, part (iv), a descent-lift sequence can be replaced by the lift-descent sequence .
These replacements move all lifts first, followed by all extensions, and all descents last.
By Lemma 3.4, part (iv), consecutive lifts combine into one lift; consecutive extensions combine into one by Lemma 3.4, parts (i) and (ii), and consecutive descents obviously combine into one.
The conditions in (5) are precisely those for the sequence .
For a pair of degree , write
When q is clear from the context, we simply write instead of .
Corollary 3.7 Fix a pair of characteristic , and let . The lengths of the pairs derived from are precisely the integers in . Each such length occurs in a derived pair both over and over .
Proof. The description of the lengths follows from Theorem 3.6. For the last claim, take and , respectively, in (5).
4 The equally-spaced family is closed
We show that the equally-spaced family is closed under the operations of lifting, extension, and descent discussed in Section 3. We use the notation of (4) and first record an order bound, which is also needed in Section 6.2.
Lemma 4.1 If and , then and
Proof. Let and . Since , we have . Next, the numbers
are distinct modulo and are all congruent to 1 modulo . Since there are exactly residue classes modulo congruent to 1 modulo , we have .
Proposition 4.2 Every pair derived from an equally-spaced non-standard pair is itself an equally-spaced non-standard pair.
Proof. By Proposition 3.2, the three operations preserve non-standardness. It remains to check the equally-spaced condition. Consider an equally-spaced pair . Suppose , , with , and . Let denote the degree of the pair .
For a lift of exponent with , we have by Lemma 3.4, part (iv), so and have the same degree, and similarly , so and have the same degree. Hence the same work.
For an extension with extension factor , we have . Since , we also have . Thus and are extensions of and , respectively. By Lemma 3.4, part (ii), both degrees are preserved, so
For a descent , suppose the equally-spaced condition holds over . Let and . By Lemma 3.4, part (iv), and since , we have
where the last inequality follows from Lemma 4.1. Thus , as required.
The length remains at least 6 under all three operations. The result follows by applying these observations successively.
5 Wiertelak's theorem and some density results
For , write . Its natural density, when the limit exists, and its upper natural density are respectively
Upper density zero implies natural density zero. To prove density zero, we may replace a set by a larger set.
A set of primes is reciprocally divergent if . Its density within the primes is , when this limit exists, where counts all primes of size at most . For integers and , let
Theorem 5.1 (Wiertelak [13]; see Moree [11, Theorem 1 and the following paragraph].) For fixed integers and , the set has positive natural density within the primes. In particular, is reciprocally divergent.
Only the reciprocal divergence is needed here. Writing , the theorem and the prime number theorem give for some . Hence
Taking and summing over the disjoint intervals proves divergence by comparison with . (Here, any weaker elementary lower and upper bounds on would suffice.)
We will also use the elementary bound
The inner sum is geometric, and the last sum telescopes.
Lemma 5.2 Let be a reciprocally divergent set of primes. The integers divisible by at most one of the primes in have density zero.
Proof. For a finite subset , divisibility by its primes depends only on the residue class modulo . By the Chinese Remainder Theorem (CRT), the density of the set of integers avoiding all primes in is
For a specific , the density of the set of integers that are divisible by and avoid all other primes in is
Since all relevant sets are disjoint, the density of the set of integers divisible by at most one prime in is
Let . Since , we have . Also, by (8),
The two densities and are therefore bounded by and , respectively. These also bound the upper densities of the corresponding sets for . Taking finite subsets with proves our claim.
Lemma 5.3 Let be positive integers and let have density zero for each . If , then has density zero.
Proof. This is a special case of Tannery's theorem (dominated convergence for series; see, e.g., [5, Chapter XVI (Tannery's Theorem)]) For completeness, we give an elementary proof. For each fixed , since ,
The first term tends to zero as , since a finite union of density-zero sets has density zero. The tail tends to zero as , since converges. Taking these limits in this order proves the result.
6 Main results
This section is devoted to the proof of Theorem 1.1. Throughout this section, will denote a fixed power of a prime .
6.1 Density zero for lengths derived from the first four families
We prove in order that the lengths derived from the Golay families, the dual-repetition family, the primitive family, and the ovoid family have density zero in each fixed characteristic. We first consider a fixed initial pair, then use a common sieve or summable tails to deal with the infinite families.
Proposition 6.1 Let be a fixed pair with and . The set of lengths of all pairs derived from has density zero.
Proof. By Corollary 3.7, the derived lengths constitute , where is as defined in (6). Let ; then there is an integer such that and , hence . Now recall the definition of in (7). If a prime divided , then
contradicting since . Thus has no prime divisor in . This set of primes is reciprocally divergent by Theorem 5.1, so has density zero by Lemma 5.2. Since is fixed, it follows that also has density zero.
Corollary 6.2 The lengths derived from the Golay pairs have density zero.
Proof. Since and , the result follows from Proposition 6.1.
Proposition 6.3 For each fixed prime , the lengths derived from all dual-repetition pairs of characteristic have density zero.
Proof. The initial pairs are with prime and . By Corollary 3.7, the derived lengths from one such pair form , where is as defined in (6). For , there is an integer with and , so . Since is even and , is odd. Thus has no prime divisor in , the set of primes for which is even. Consequently has at most one prime divisor in the set , namely . By Theorem 5.1, is reciprocally divergent; now Lemma 5.2 shows density zero for the set of all derived lengths.
Proposition 6.4 For each fixed prime , the lengths derived from all primitive and all ovoid pairs of characteristic have density zero.
Proof. For the primitive family, let , where and . As noted above, including does no harm. Let be the set of lengths derived from . Since , Proposition 6.1 gives . Also , and
so Lemma 5.3 provides the desired conclusion.
For the ovoid family, let , where , and let be the set of lengths derived from . Since , Proposition 6.1 gives . Also , and since , we have
Therefore, Lemma 5.3 again provides the desired conclusion.
6.2 Density zero for lengths in the equally-spaced family
Let be the set of all n satisfying (4). As before, including n = 4 when applicable does no harm. Thus
We first prove density zero when the prime in Lemma 6.5 below and its exponent in are fixed. We then use Lemma 5.3 to obtain the result for all of .
Lemma 6.5 An integer coprime to belongs to if and only if there is a prime such that
Every such prime satisfies .
Proof. This follows from [4, Lemma 4.3 and the proof of Proposition 4.4]. For completeness, we give a short proof.
First suppose . Then there are with and . Choose a prime divisor of . By Lemma 4.1 (applied twice), we obtain
Thus . So in the definition of , we may assume that s is prime.
If divides only once, then , hence . Then
and divides , so this gives a contradiction. Thus (9) implies . Conversely, if a prime satisfies (9), then by the preceding argument, so . Taking and shows that .
For each prime (equivalently, ), let
Lemma 6.5 gives , where the union is over primes. Note that a length may belong to more than one . Write for the exponent of in .
Lemma 6.6 For each prime (equivalently, ) and each integer , the set of in with has density zero.
Proof. Write , where , and let , , and . Since , we have and , and since , we obtain . By Lemma 4.1, we have , so from the preceding, we conclude that and hence .
Next, we claim that has no prime divisor in . Indeed, if a prime divided , then
which would give , contradicting the preceding .
Here depends only on , , and , so Theorem 5.1 and Lemma 5.2 give density zero for the possible . Since is fixed, the corresponding lengths also have density zero.
Theorem 6.7 For every fixed prime power , the set has natural density zero.
Proof. By Lemma 6.5,
Each has density zero by Lemma 6.6 and is contained in . Moreover, by (8),
The claim now follows from Lemma 5.3.
6.3 Proof of Theorem 1.1
Fix . By Theorem 2.2 and Proposition 3.5, every non-standard pair is derived from one of the five initial families in characteristic . If the initial pair is equally spaced, Proposition 4.2 shows that is equally spaced; its lengths have density zero by Theorem 6.7. The other four families contribute density zero by Corollary 6.2 and Propositions 6.3 and 6.4. Hence has density zero. Corollary 3.3 gives and proves the asserted simultaneous statement. Finally,
so division by this count gives relative density zero for the exceptional lengths, and relative density one for their complement.
7 Conclusions
The Berger–Charpin conjecture predicts that cyclic codes generally have only the permutation automorphisms arising from cyclic shifts and Frobenius maps. We have established this expectation in a precise asymptotic sense for non-degenerate irreducible cyclic codes (including degenerate irreducible cyclic codes would instead give a set of non-standard lengths of relative density 1 among lengths coprime to the characteristic). Concretely, we show that for each fixed prime , the set of lengths admitting an irreducible non-degenerate cyclic code with additional permutation automorphisms over some finite field of characteristic has natural density zero. Thus, for each fixed prime and almost every length coprime to , every non-degenerate irreducible cyclic code of that length over any finite field of characteristic has only the standard permutation automorphisms.
The proof combines the classification of these codes with number-theoretic results on the multiplicative orders of integers modulo primes. We describe the lengths obtainable from the five families in the classification and show that, for each fixed characteristic, each family together with all codes obtained from it by the constructions contributes a set of lengths of density 0.
Acknowledgments
This research was supported by the National Key Research and Development Program of China (Grant No. 2025YFA1017700). Tao Feng was supported by the National Natural Science Foundation of China (Grant No. 12225110). Henk D.L. Hollmann was supported by the Estonian Research Council grant PRG2531. Weicong Li was supported by the National Natural Science Foundation of China (Grant No. 12301422). Qing Xiang was supported by the National Natural Science Foundation of China (Grant No. 12131011).
The authors acknowledge the provision of access to OpenAI models through the ChatGPT for Academic Researchers program. They used ChatGPT (Astra model), under their guidance, to develop and simplify mathematical arguments, assist in proofreading, and improve the English writing. All proofs in the manuscript were written by the authors, who take full responsibility for their correctness, and for any remaining errors.
References
[1] T. P. Berger and P. Charpin, The permutation group of affine-invariant extended cyclic codes, IEEE Trans. Inform. Theory 42 (1996), no. 6, 2194–2209. https://doi.org/10.1109/18.556607.
[2] O. J. Brison and J. E. Nogueira, Non-standard sequence subgroups in finite fields, Finite Fields Appl. 16 (2010), no. 3, 187–203. https://doi.org/10.1016/j.ffa.2010.02.001.
[3] P. Charpin, Open problems on cyclic codes, in Handbook of Coding Theory, Vol. I, Chapter 11, V. S. Pless and W. C. Huffman (eds.), North-Holland, Amsterdam, 1998, pp. 963–1063.
[4] T. Feng, H. D. L. Hollmann, W. Li and Q. Xiang, The permutation automorphism groups of irreducible cyclic codes, preprint, 2026, arXiv:2603.01904. https://arxiv.org/abs/2603.01904.
[5] W. L. Ferrar, A Text-Book of Convergence, Clarendon Press, Oxford, 1938.
[6] H. D. L. Hollmann, Non-standard linear recurring sequence subgroups in finite fields and automorphisms of cyclic codes I, Finite Fields Appl. 86 (2023), article 102146, 35 pp.
[7] H. D. L. Hollmann, Non-standard linear recurring sequence subgroups in finite fields and automorphisms of cyclic codes II, submitted to Finite Fields Appl., 2026.
[8] R. Lidl and H. Niederreiter, Finite fields, 2nd ed., Encyclopedia of Mathematics and its Applications, vol. 20, Cambridge University Press, Cambridge, 1997.
[9] J. H. van Lint, Introduction to coding theory, 3rd ed., Graduate Texts in Mathematics, vol. 86, Springer-Verlag, Berlin, 1999.
[10] F. J. MacWilliams and N. J. A. Sloane, The theory of error-correcting codes. I, North-Holland Mathematical Library, vol. 16, North-Holland, Amsterdam-New York-Oxford, 1977.
[11] P. Moree, On primes p for which d divides ord_p(g), Funct. Approx. Comment. Math. 33 (2005), 85–95.
[12] V. S. Pless, W. C. Huffman and R. A. Brualdi, An introduction to algebraic codes, in Handbook of Coding Theory, Vol. I, Chapter 1, V. S. Pless and W. C. Huffman (eds.), North-Holland, Amsterdam, 1998, pp. 3–139.
[13] K. Wiertelak, On the density of some sets of primes, IV, Acta Arith. 43 (1984), no. 2, 177–190. https://doi.org/10.4064/aa-43-2-177-190.
[14] Y. Wu and Z. Xiang, Permutation automorphism groups of cyclic codes I: cyclotomic association schemes, preprint, 2026, arXiv:2609.33050v1, 27 September 2026. https://arxiv.org/abs/2609.33050.
Tao Feng, School of Mathematical Sciences, Zhejiang University, Hangzhou, China.
Email address: tfeng@zju.edu.cn
Henk D.L. Hollmann, Institute of Computer Science, University of Tartu, 51009 Tartu, Estonia.
Email address: henk.d.l.hollmann@ut.ee
Weicong Li, Department of Mathematics, School of Sciences, Great Bay University, Dongguan, China.
Email address: liweicong@gbu.edu.cn
Qing Xiang, Department of Mathematics and Shenzhen International Center for Mathematics, Southern University of Science and Technology, Shenzhen, China.
Email address: xiangq@sustech.edu.cn