Optimal three-weight cyclic codes whose duals are also optimal
arXiv:2107.04579
Abstract
A class of optimal three-weight cyclic codes of dimension 3 over any finite field was presented by Vega [Finite Fields Appl., 42 (2016) 23-38]. Shortly thereafter, Heng and Yue [IEEE Trans. Inf. Theory, 62(8) (2016) 4501-4513] generalized this result by presenting several classes of cyclic codes with either optimal three weights or a few weights. Here we present a new class of optimal three-weight cyclic codes of length and dimension 3 over any finite field , and show that the nonzero weights are , , and . We then study the dual codes in this new class, and show that they are also optimal cyclic codes of length , dimension , and minimum Hamming distance . Lastly, as an application of the Krawtchouck polynomials, we obtain the weight distribution of the dual codes.