arXiv:2611.00637cs.ITOct 2026

Manuscript Offprint

arXiv:2611.00637

Equal Hamming Weights at Fixed Root Order and Applications to Constacyclic MDS Codes

Li Zhu, Hongfeng Wu

Abstract

For a fixed positive integer n>1n > 1, we study the prime powers qq coprime to nn for which all monic irreducible factors of Φn\Phi_n over Fq\mathbb{F}_q have the same coefficient Hamming weight. Cyclotomic orbit coefficients give a finite, effective classification of these fields. Outside finitely many computable characteristics, every factor has the support of its characteristic-zero orbit polynomial; the uniform condition p>2φ(n)p > 2^{\varphi(n)} suffices. In each remaining characteristic, extension exponents reduce to divisors of ordn(p)\mathrm{ord}_n(p), and an integer variance identity expressed by polynomial gcd degrees decides equal weight. The same coefficient data determine the full weight distribution. As an application, we prove that an MDS constacyclic code with an irreducible generator forces every irreducible polynomial of the same root order to have full support, including factors associated with different constacyclic constants. This yields a uniform gcd and norm obstruction. We develop its short-multiplier extension, give a prime-order cubic family, and establish an explicit quadratic-residue exclusion without a prime-square alphabet or a near-square length hypothesis.

Keywords: finite field; cyclotomic polynomial; Hamming weight; coefficient cancellation; constacyclic code; MDS code.

2020 Mathematics Subject Classification: 11T06, 11T55, 94B15.

1 Introduction

The degrees of the irreducible factors of a cyclotomic polynomial over a finite field are determined by multiplicative orders. Their coefficient supports require additional information. Throughout the paper, the weight of a polynomial is the number of its nonzero coefficients. We fix n>1n > 1, write q=paq = p^a with p∤np \nmid n, and consider the property

EWq(n):all monic irreducible factors of Φn over Fq have equal weight.\mathrm{EW}_q(n):\qquad \text{all monic irreducible factors of } \Phi_n \text{ over } \mathbb{F}_q \text{ have equal weight.}

The root order nn is fixed while both the characteristic pp and the extension exponent aa vary. This inverse problem admits a finite arithmetic description, even though a short uniform list of congruence classes need not result.

Let Gn=(Z/nZ)×G_n = (\mathbb{Z}/n\mathbb{Z})^\times. For a cyclic subgroup H≤GnH \leq G_n, the polynomial

FH(X)=∏h∈H(X−ζnh)(1.1)F_H(X) = \prod_{h \in H} (X - \zeta_n^h) \tag{1.1}

has algebraic integer coefficients in KH=Q(ζn)HK_H = \mathbb{Q}(\zeta_n)^H. The support of FHF_H is common to its characteristic-zero Galois conjugates. When H=⟨q mod n⟩H = \langle q \bmod n \rangle, reduction gives the irreducible

*Corresponding author.

E-Mail addresses: lizhumath@pku.edu.cn (L. Zhu), whfmath@gmail.com (H. Wu) factors in characteristic pp. A nonzero coefficient can disappear only at a prime dividing its algebraic norm. Zero coefficients in characteristic zero remain zero under every reduction. These two cases must be kept separate.

Explicit Frobenius-orbit factorizations and their coefficient expressions belong to the established theory; see Graner [2] and the standard treatment in [1]. Norm arguments transferring relations between complex and finite-field roots of unity occur in Duc-Leung-Schmidt [3]. A broader resultant formulation preserving finite families of evaluation relations appears in Breuillard-Varjú [4]. Vanishing sums over finite fields were studied by Lam-Leung [5]. We use these principles to organize the simultaneous coefficient-zero distribution on a whole exact-order layer.

For the inverse problem, the resulting description has two parts. There is a finite set En\mathcal{E}_n of possible exceptional characteristics. For each p∈Enp \in \mathcal{E}_n with p∤np \nmid n, there is a computable set An,p\mathcal{A}_{n,p} of divisors of dp=ordn(p)d_p = \mathrm{ord}_n(p) such that

EWpa(n)⟺gcd⁡(a,dp)∈An,p.(1.2)\mathrm{EW}_{p^{a}}(n)\quad \Longleftrightarrow \quad \gcd(a,d_p) \in \mathcal{A}_{n,p}. \tag{1.2}

All characteristics outside En\mathcal{E}_n satisfy equal weight for every exponent. Theorems 3.2 and 5.2 give the construction and proof. The set En\mathcal{E}_n is a set of possible exceptions, not a list of characteristics in which equal weight necessarily fails.

The exact finite-field test is an integer identity. Put d=ordn(q)d = \mathrm{ord}_n(q), and let UU and VV be sums of degrees of gcds recording single and double coefficient-zero events. Theorem 4.1 proves

φ(n)V−U2=d2∑f<g(wt(f)−wt(g))2.(1.3)\varphi(n)V-U^{2}=d^{2}\sum_{f<g}\left(\mathrm{wt}(f)-\mathrm{wt}(g)\right)^{2}. \tag{1.3}

Here f,gf,g run through the irreducible factors of Φn\Phi_n. Thus equal weight is decided by the vanishing of an ordinary nonnegative integer. An iterative gcd partition recovers the entire weight distribution.

Section 7 gives a separate application to constacyclic codes. We use “irreducible generator” explicitly, since the alternative convention of an irreducible check polynomial interchanges the relevant dimensions under duality. A code with an irreducible generator of degree dd can be MDS only if every polynomial of the same root order has weight d+1d+1. The proof uses monomial equivalence across the allowed constacyclic constants. The coefficient norm test becomes a uniform exclusion tool, and a short-multiplier construction extends it to selected minors. The cyclotomic-minor norm construction is closely related to Xiang-Tang [10]; we formulate and prove it in the orbit-coefficient notation used throughout this paper. The cubic application is also related to the classical study of Singer cyclic arcs [7, 8, 9]. An explicit higher-degree quadratic-residue family provides a further application.