Abstract
Let Fq be a finite field with q elements and m1, m2 two distinct positive integers such that gcd(m1,m2)=d. Suppose that α1 and α2 are two primitive elements of Fqm1 and Fqm2, respectively. Let n=(qm1−1)(qm2−1)/(qd−1) and Ti denote the trace function from Fqmi to Fq for i=1,2. We define a cyclic codeC(q,m1,m2)={c(a,b):a∈Fqm1,b∈Fqm2}, wherec(a,b)=(T1(aα10)+T2(bα20),T1(aα11)+T2(bα21),…,T1(aα1n−1)+T2(bα2n−1)). In this paper, we use Gauss sums to investigate the weight distribution of C(q,m1,m2) and prove that it has at most four nonzero weights if d=2 and gcd(m1−m22,q−1)=1. Furthermore, we get a class of three-weight cyclic codes if |m1−m2|=2. Some optimal or nearly optimal cyclic codes are presented.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.