paper

Weight distributions of cosets of weight 2 of the generalized doubly extended Reed-Solomon codes

arXiv:2605.10594

Abstract

We consider the weight distributions of the cosets of weight 2 of the generalized doubly extended Reed-Solomon codes (GDRS) of minimum distance , over the finite field with elements. For a GDRS code, we say that Case S occurs if the weight distribution for all cosets of weight 2 is the same or otherwise, Case NS occurs. For Case S, the weight distribution is known; however, any sufficient condition for the occurrence of Case S remained an open problem. We prove that if and are coprime then Case S holds, i.e. the problem is solved. Furthermore, we note that in Case S, the GDRS code is 2-regular. Also, we introduce two new open equivalent combinatorial problems for finite fields (Problem ) and for rings of integers modulo (Problem ), where is a parameter. In particular, Problem is as follows: for each element of , determine the number of all possible -tuples , each of which consists of distinct elements of such that their sum in is equal to . Open Problems and are interesting in their own right and, moreover, we proved that their solutions allow us to obtain the weight distributions for Case NS, taking and . To solve Problem , we found a universal method, connected with the values of and , using orbits of elements in and then we solved the problem for many pairs , obtaining the needed weight distributions for the corresponding pairs .

32 pages