Abstract
Let \(\phantom {\dot {i}\!}\mathbb {F}_{q}\) be a finite field of order q, where q = ps is a power of a prime number p. Let m and m1 be two positive integers such that m1 divides m. For any positive divisor e of q − 1, we construct an infinite family of codes with dimension m + m1 and few weights over \(\phantom {\dot {i}\!}\mathbb {F}_{q}\). Using Gauss sum, their weight distributions are provided. When gcd(e, m) = 1, we obtain a subclass of optimal codes which attain the Griesmer bound. Moreover, when gcd(e, m) = 2 or 3 we construct new infinite families of codes with at most four weights.
Similar content being viewed by others
References
Assmus, E.F., Mattson, H.F. Jr: Error-correcting codes: an axiomatic approach. Inf. Control. 6, 315–330 (1963)
Ding, C., Li, C., Li, N., Zhou, Z.: Three-weight cyclic codes and their weight distributions. Discret. Math. 339(2), 415–427 (2016)
Ding, K., Ding, C.: Binary linear codes with three weights. IEEE Commun. Lett. 18(11), 1879–1882 (2014)
Grassl, M.: Bounds on the minimum distance of linear codes and quantum codes. Online available at http://www.codetables.de
Liu, H., Maouche, Y.: Two-weight and a few weights trace codes over \({F}_{q}+ u{F}_{q} \). arXiv:1703.04968 (2017)
Lidl, R., Niederreiter, H.: Finite fields. Cambridge University Press, Cambridge (1997)
Ma, C., Zeng, L., Liu, Y., Feng, D., Ding, C.: The weight enumerator of a class of cyclic codes. IEEE Trans. Inf. Theory 57(1), 397–402 (2011)
Macdonald, J.E.: Design methods for maximum minimum-distance error-correcting codes. IBM J. Res. Dev. 4, 43–57 (1960)
Myerson, G.: Period polynomials and Gauss sums for finite fields. Acta Arith. 39(3), 251–264 (1981)
Shi, M., Liu, Y., Solé, P.: Optimal two-weight codes from trace codes over \(F_{2} + uF_{2}\). IEEE Commun. Lett. 20(12), 2346–2349 (2016)
Shi, M., Wu, R.S., Liu, Y., Solé, P.: Two and three weight codes over \({F}_{p}+u{F}_{p}\). Cryptogr. Commun. 9(5), 637–646 (2016)
Yu, L., Liu, H.: The weight distribution of a family of p-ary cyclic codes. Des. Codes Crypt. 78(3), 731–745 (2016)
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Liu, H., Maouche, Y. Several new classes of linear codes with few weights. Cryptogr. Commun. 11, 137–146 (2019). https://doi.org/10.1007/s12095-017-0277-y
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s12095-017-0277-y