[Paper Review] Determining the full weight distribution of any irreducible cyclic code over any finite field of dimension two
This paper determines the complete weight distribution of any irreducible cyclic code over a finite field when the code has dimension one or two. By leveraging known characterizations of one-weight and semiprimitive two-weight irreducible cyclic codes, the authors show that the full weight distribution can be directly computed from the code's length alone, using a simple gcd-based criterion involving the field size and code length.
In coding theory, a very interesting problem (but at the same time, a very difficult one) is to determine the weight distribution of a given code. This problem is even more interesting for cyclic codes, and this is so, mainly because they possess a rich algebraic structure, which can be utilized in a variety of ways. For example, in Engineering Telecommunications, this structure is commonly employed to design very efficient coding and decoding algorithms. In this note, we are going to use a characterization of all semiprimitive two-weight irreducible cyclic codes over any finite field, recently presented in [8], in order to determine the full weight distribution of any irreducible cyclic code over any finite field of dimension two. In fact, the relevance of our results is that by means of them we can actually directly determine the full weight distribution of any irreducible cyclic code, of dimension one or two, just by knowing its length.
Motivation & Objective
- To resolve the longstanding challenge of determining the full weight distribution of irreducible cyclic codes, particularly in low dimensions.
- To address the difficulty in computing weight distributions due to the complex algebraic structure of irreducible cyclic codes.
- To provide a complete classification and explicit computation method for weight distributions in dimension one and two.
- To establish a direct link between code length and full weight distribution, eliminating the need for detailed generator or parity-check matrix analysis.
- To unify and extend prior results on one-weight and semiprimitive two-weight codes into a single, practical framework.
Proposed method
- Utilizes a characterization of one-weight irreducible cyclic codes from prior work (Theorem 1), where the weight distribution is determined by the condition $ u = ext{gcd}(q+1, a) = 1 $.
- Applies the characterization of semiprimitive two-weight irreducible cyclic codes (Theorem 2), which requires $ u = ext{gcd}(q+1, a) > 2 $, $ f = \text{ord}_u(p) $ even, and $ p^{f/2} \equiv -1 \pmod{u} $.
- Introduces a key parameter $ u = \gcd(q+1, \frac{q^2 - 1}{n}) $, derived from the code length $ n $, to classify the code type without knowing the generator or parity-check polynomial.
- Uses the weight distribution formula from Table I for semiprimitive two-weight codes, with weights $ \frac{n q^{k/2 - 1}}{\Delta}(q^{k/2} \pm (-1)^s (u-1)) $ and frequencies depending on $ u $.
- Applies the result that for dimension two, the code is either one-weight (if $ u = 1 $) or semiprimitive two-weight (if $ 2 \leq u < q+1 $), with the latter having a known weight enumerator.
- Derives Corollary 1, which enables direct determination of the full weight distribution from the code length $ n $, using only $ u = \gcd(q+1, \frac{q^2 - 1}{n}) $.
Experimental results
Research questions
- RQ1Can the full weight distribution of any irreducible cyclic code of dimension one or two be determined solely from its length?
- RQ2What conditions on the code length and field size determine whether such a code is one-weight or semiprimitive two-weight?
- RQ3Is there a unified, computationally efficient method to compute the weight distribution without explicit knowledge of the generator polynomial?
- RQ4How do the known characterizations of one-weight and semiprimitive two-weight codes extend to a complete classification in dimension two?
- RQ5Can the weight distribution be expressed in terms of a single parameter derived from the code length and field size?
Key findings
- Any irreducible cyclic code of dimension one or two over a finite field is either a one-weight code (if $ u = 1 $) or a semiprimitive two-weight code (if $ 2 \leq u < q+1 $).
- For dimension one, the code is equivalent to a repetition code, with weight enumerator $ 1 + (q-1)z^n $, and nonzero weight $ n $.
- When $ u = 1 $, the code is a two-weight code with nonzero weight $ \frac{n}{q+1}q $, and weight enumerator $ 1 + (q^2 - 1)z^{\frac{nq}{q+1}} $.
- For $ 2 \leq u < q+1 $, the weight enumerator is $ 1 + \frac{q^2 - 1}{u}z^{\frac{n(q+1 - u)}{q+1}} + \frac{(q^2 - 1)(u - 1)}{u}z^n $, with two distinct nonzero weights.
- When $ u = q + 1 $, the code is a one-weight code of dimension one, with weight enumerator $ 1 + (q - 1)z^n $, equivalent to a repetition code.
- Corollary 1 enables direct computation of the full weight distribution from the code length $ n $ alone, using $ u = \gcd(q+1, \frac{q^2 - 1}{n}) $, as demonstrated in Example 2 with $ q = 27 $, $ n = 104 $, yielding $ 1 + 104z^{78} + 624z^{104} $.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.