Skip to main content
QUICK REVIEW

[Paper Review] Weight Distribution of A p-ary Cyclic Code

Xiangyong Zeng, Lei Hu|ArXiv.org|Jan 16, 2009
Coding theory and cryptographyComputer Science15 references13 citations
TL;DR

This paper determines the complete weight distribution of a p-ary cyclic code of length $ p^n - 1 $, constructed from the trace of a cubic form $ \mathrm{Tr}_1^n(\epsilon x + \gamma x^{p^k+1} + \delta x^{p^{3k}+1}) $, under the condition that $ p $ and $ n/\gcd(n,k) $ are odd. Using exponential sums and the rank of associated quadratic forms over $ \mathbb{F}_{p^n} $, the authors derive exact frequencies of all possible weights, providing a complete characterization of the code's weight enumerator for both odd and even $ \gcd(n,k) $. The key result is a closed-form expression for the weight distribution in terms of $ p $, $ n $, and $ d = \gcd(n,k) $.

ABSTRACT

For an odd prime $p$ and two positive integers $n\geq 3$ and $k$ with $\frac{n}{{ m gcd}(n,k)}$ being odd, the paper determines the weight distribution of a $p$-ary cyclic code $\mathcal{C}$ over $\mathbb{F}_{p}$ with nonzeros $α^{-1}$, $α^{-(p^k+1)}$ and $α^{-(p^{3k}+1)}$, where $α$ is a primitive element of $\mathbb{F}_{p^n}$

Motivation & Objective

  • To determine the complete weight distribution of a p-ary cyclic code of length $ p^n - 1 $ with nonzeros $ \alpha^{-1}, \alpha^{-(p^k+1)}, \alpha^{-(p^{3k}+1)} $, where $ \alpha $ is a primitive element of $ \mathbb{F}_{p^n} $.
  • To analyze the weight distribution under the condition that $ p $ is an odd prime and $ n/\gcd(n,k) $ is odd.
  • To evaluate exponential sums and determine the rank distribution of a class of quadratic forms associated with the code's trace function.
  • To provide a complete and explicit enumeration of all possible weights and their frequencies in the code, enabling full characterization of its error-correcting properties.

Proposed method

  • The code is defined as the image of the trace function $ \mathrm{Tr}_1^n(\epsilon x + \gamma x^{p^k+1} + \delta x^{p^{3k}+1}) $ over $ \mathbb{F}_{p^n}^* $, with codewords indexed by $ \epsilon, \gamma, \delta \in \mathbb{F}_{p^n} $.
  • The weight of each codeword is determined by counting zeros of the exponential sum $ S(\epsilon, \gamma, \delta) = \sum_{x \in \mathbb{F}_{p^n}^*} e^{2\pi i \cdot \mathrm{Tr}_1^n(\epsilon x + \gamma x^{p^k+1} + \delta x^{p^{3k}+1})/p} $.
  • The rank of the quadratic form $ \mathrm{Tr}_n^d(\gamma x^{p^k+1} + \delta x^{p^{3k}+1}) $ is analyzed via the number of solutions to the linearized polynomial $ L_{\gamma,\delta}(z) = \gamma z^{p^k} + \gamma^{p^{-k}} z^{p^{-k}} + \delta z^{p^{3k}} + \delta^{p^{-3k}} z^{p^{-3k}} = 0 $.
  • Exponential sums are evaluated using properties of quadratic forms and trace functions, with key results drawn from the theory of Gauss sums and character sums over finite fields.
  • The weight distribution is derived by classifying $ (\gamma, \delta) $ into three sets $ R_0, R_1, R_2 $ based on the rank of the associated quadratic form, and computing the frequency of each weight via case analysis.
  • The final weight distribution is expressed in closed form for both odd and even $ d = \gcd(n,k) $, with exact counts of codewords of each weight in terms of $ p $, $ n $, and $ d $.

Experimental results

Research questions

  • RQ1What is the complete weight distribution of the p-ary cyclic code generated by the trace of $ \epsilon x + \gamma x^{p^k+1} + \delta x^{p^{3k}+1} $ over $ \mathbb{F}_{p^n} $?
  • RQ2How does the rank of the quadratic form $ \mathrm{Tr}_n^d(\gamma x^{p^k+1} + \delta x^{p^{3k}+1}) $ affect the weight distribution of the code?
  • RQ3What are the exact frequencies of codewords of each possible weight, and how do they depend on $ p $, $ n $, and $ d = \gcd(n,k) $?
  • RQ4How do the exponential sums $ S(\epsilon, \gamma, \delta) $ relate to the number of zeros of the trace function, and how can they be evaluated using character sums and trace identities?
  • RQ5What role does the condition that $ p $ and $ n/\gcd(n,k) $ are odd play in enabling a complete classification of the weight distribution?

Key findings

  • The weight distribution of the code is completely determined for all $ \epsilon, \gamma, \delta \in \mathbb{F}_{p^n} $, with explicit counts for each weight in terms of $ p $, $ n $, and $ d = \gcd(n,k) $.
  • For odd $ d $, the code has exactly one codeword of weight 0, and the number of codewords of weight $ (p-1)p^{n-1} $ is $ (p^n - 1)\left(p^{2n-1} + (p-1)p^{2n-d-1} - p^{2n-2d} + (p-1)p^{2n-3d-1} + p^{n-1} - (p-1)p^{n-2d-1} + 1\right) $.
  • The number of codewords of weight $ (p-1)p^{n-1} \pm p^{(n-1)/2} $ is $ \frac{(p-1)(p^n - 1)(p^{n+2d} - p^{n+d} - p^n + p^{2d})(p^n - 1)}{2(p^{2d} - 1)} $ for both signs.
  • For even $ d $, the weight distribution is similar but with $ n-1 $ replaced by $ n-2 $ in the exponent of $ p $, and $ d $ replaced by $ 2d $ in the denominator, reflecting a shift in the rank structure.
  • Codewords of weight $ (p-1)p^{n-1} \pm p^{(n+d-2)/2} $ occur with frequencies involving $ p^{n-d-1} \pm (p-1)p^{n-d-2}/2 $, depending on the rank class of $ (\gamma, \delta) $.
  • The complete weight enumerator is explicitly derived for both odd and even $ d = \gcd(n,k) $, with all frequencies expressed in closed algebraic form, confirming the code's optimality in terms of weight distribution.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.