paper

The -weight distribution for MDS codes

arXiv:2107.01717

Abstract

For a positive integer , the -symbol code is a new coding framework proposed to combat -errors in -symbol read channels. Especially, the -symbol code is called a symbol-pair code. Remarkably, a classical maximum distance separable (MDS) code is also an MDS -symbol code. Recently, for any MDS code , Ma and Luo determined the symbol-pair weight distribution of . In this paper, by calculating the number of solutions for some equations and utilizing some shortened codes of , we give the connection between the -weight distribution and the number of codewords in shortened codes of with special shape. Furthermore, note that shortened codes of are also MDS codes, the number of these codewords with special shape are also determined by the shorten method. From the above calculation, the -weight distribution of is determined. Our result generalies the corresonding result of Ma and Luo.