Skip to main content
Log in

Weight distributions and weight hierarchies of a family of p-ary linear codes

  • Published:
Designs, Codes and Cryptography Aims and scope Submit manuscript

Abstract

The weight distribution and weight hierarchy of a linear code are two important research topics in coding theory. In this paper, by choosing proper defining sets from inhomogeneous quadratic functions over \({\mathbb {F}}_{q}^{2}\), we construct a family of three-weight p-ary linear codes and determine their weight distributions and weight hierarchies. Most of the codes can be used in secret sharing schemes.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Similar content being viewed by others

References

  1. Ashikhmin A., Barg A.: Minimal vectors in linear codes. IEEE Trans. Inf. Theory 44(50), 2010–2017 (1998).

    Article  MathSciNet  MATH  Google Scholar 

  2. Ahn J., Ka D., Li C.: Complete weight enumerators of a class of linear codes. Des. Codes Cryptogr. 83(1), 83–99 (2017).

    Article  MathSciNet  MATH  Google Scholar 

  3. Beelen P.: A note on the generalized Hamming weights of Reed-Muller codes. Appl. Algebra Eng. Commun. 30, 233–242 (2019).

    Article  MathSciNet  MATH  Google Scholar 

  4. Bras-Amorós M., Lee K., Vico-Oton A.: New lower bounds on the generalized Hamming weights of AG codes. IEEE Trans. Inf. Theory 60(10), 5930–5937 (2014).

    Article  MathSciNet  MATH  Google Scholar 

  5. Calderbank A.R., Goethals J.M.: Three-weight codes and association schemes. Philips J. Res. 39, 143–152 (1984).

    MathSciNet  MATH  Google Scholar 

  6. Calderbank A.R., Kantor W.M.: The geometry of two-weight codes. Bull. Lond. Math. Soc. 18, 97–122 (1986).

    Article  MathSciNet  MATH  Google Scholar 

  7. Cheng J., Chao C.: On generalized Hamming weights of binary primitive BCH codes with minimum distance one less than a power of two. IEEE Trans. Inf. Theory 43(1), 294–298 (1997).

    Article  MathSciNet  MATH  Google Scholar 

  8. Choi S.T., Kim J.Y., No J.S., Chung H.: Weight distribution of some cyclic codes. In: Proceedings of the International Symposium on Information Theory, pp. 2911–2913 (2012).

  9. Ding C.: A construction of binary linear codes from Boolean functions. Discret. Math. 9, 2288–2303 (2016).

    Article  MathSciNet  MATH  Google Scholar 

  10. Ding C., Niederreiter H.: Cyclotomic linear codes of order \(3\). IEEE Trans. Inf. Theory 53(6), 2274–2277 (2007).

    Article  MathSciNet  MATH  Google Scholar 

  11. Ding K., Ding C.: A class of two-weight and three-weight codes and their applications in secret sharing. IEEE Trans. Inf. Theory 61(11), 5835–5842 (2015).

    Article  MathSciNet  MATH  Google Scholar 

  12. Ding K., Ding C.: Binary linear codes with three weights. IEEE Commun. Lett. 18(11), 1879–1882 (2014).

    Article  Google Scholar 

  13. Ding C., Helleseth T., Kløve T., Wang X.: A generic construction of Cartesian authentication codes. IEEE Trans. Inf. Theory 53(6), 2229–2235 (2007).

    Article  MathSciNet  MATH  Google Scholar 

  14. Ding C., Li C., Li N., Zhou Z.: Three-weight cyclic codes and their weight distributions. Discret. Math. 339(2), 415–427 (2016).

    Article  MathSciNet  MATH  Google Scholar 

  15. Ding C., Liu Y., Ma C., Zeng L.: The weight distributions of the duals of cyclic codes with two zeros. IEEE Trans. Inf. Theory 57(12), 8000–8006 (2011).

    Article  MathSciNet  MATH  Google Scholar 

  16. Heijnen P., Pellikaan R.: Generalized Hamming weights of q-ary Reed-Muller codes. IEEE Trans. Inf. Theory 44(1), 181–196 (1998).

    Article  MathSciNet  MATH  Google Scholar 

  17. Helleseth T., Kløve T., Ytrehus O.: Codes, weight hierarchies, and chains. In: Singapore Iccs/isita 92 Communications on the Move IEEE (1992).

  18. Huffman W.C., Pless V.: Fundamentals of Error-Correcting Codes. Cambridge University Press, Cambridge (2003).

    Book  MATH  Google Scholar 

  19. Ireland K., Rosen M.: A classical introduction to modern number theory. In: Graduate Texts in Mathematics, vol. 84, 2nd edn. Springer, New York (1990).

  20. Janwa H., Lal A.K.: On the generalized Hamming weights of cyclic codes. IEEE Trans. Inf. Theory 43(1), 299–308 (1997).

    Article  MathSciNet  MATH  Google Scholar 

  21. Jian G., Feng R., Wu H.: Generalized Hamming weights of three classes of linear codes. Finite Fields Appl. 45, 341–354 (2017).

    Article  MathSciNet  MATH  Google Scholar 

  22. Jian G., Lin C., Feng R.: Two-weight and three-weight linear codes based on Weil sums. Finite Fields Appl. 57, 92–107 (2019).

    Article  MathSciNet  MATH  Google Scholar 

  23. Kløve T.: Codes for Error Detection. World Scientific, Hackensack (2007).

    Book  MATH  Google Scholar 

  24. Kong X., Yang S.: Complete weight enumerators of a class of linear codes with two or three weights. Discret. Math. 342(11), 3166–3176 (2019).

    Article  MathSciNet  MATH  Google Scholar 

  25. Li C., Bae S., Yang S.: Some results on two-weight and three-weight linear codes. Adv. Math. Commun. 13(1), 195–211 (2019).

    Article  MathSciNet  MATH  Google Scholar 

  26. Li C., Yue Q., Fu F.: A construction of several classes of two-weight and three-weight linear codes. Appl. Algebra Eng. Commun. 28(1), 1–20 (2018).

    MathSciNet  Google Scholar 

  27. Li F.: A class of cyclotomic linear codes and their generalized Hamming weights. Appl. Algebra Eng. Commun. 29, 501–511 (2018).

    Article  MathSciNet  MATH  Google Scholar 

  28. Li F.: Weight hierarchy of a class of linear codes relating to non-degenerate quadratic forms. IEEE Trans. Inf. Theory 67(1), 124–129 (2021).

    Article  Google Scholar 

  29. Li F., Li X.: Weight hierarchies of a family of linear codes associated with degenerate quadratic forms, arXiv:1804.06866 (2018).

  30. Li F., Li X.: Weight distributions of several families of \(3\)-weight binary linear codes, arXiv:2002.01853v2 (2020).

  31. Li F., Li X.: Weight distributions and weight hierarchies of two classes of binary linear codes. Finite Fields Appl. 73, 101865 (2021).

    Article  MathSciNet  MATH  Google Scholar 

  32. Lidl R., Niederreiter H.: Finite Fields. Cambridge University Press, New York (1997).

    MATH  Google Scholar 

  33. Liu H., Liao Q.: Several classes of linear codes with a few weights from defining sets over \({\mathbb{F}}_{p}+u{\mathbb{F}}_{p}\). Des. Codes Cryptogr. 87(1), 15–29 (2017).

    Article  Google Scholar 

  34. Liu Y., Liu Z.: On some classes of codes with a few weights. Adv. Math. Commun. 12(2), 415–428 (2018).

    Article  MathSciNet  MATH  Google Scholar 

  35. Liu Z., Wang J.: Notes on generalized Hamming weights of some classes of binary codes. Cryptogr. Commun. 10, 645–657 (2020).

    Article  MathSciNet  MATH  Google Scholar 

  36. Luo G., Cao X.: Five classes of optimal two-weight linear codes. Cryptogr. Commun. 10, 1119–1135 (2018).

    Article  MathSciNet  MATH  Google Scholar 

  37. Luo J., Feng K.: On the weight distribution of two classes of cyclic codes. IEEE Trans. Inf. Theory 54(12), 5332–5344 (2008).

    Article  MathSciNet  MATH  Google Scholar 

  38. Olmez O.: A link between combinatorial designs and three-weight linear codes. Des. Codes Cryptogr. 86, 817–833 (2018).

    Article  MathSciNet  MATH  Google Scholar 

  39. Shi M., Guan Y., Solé P.: Two new families of two-weight codes. IEEE Trans. Inf. Theory 63(10), 6240–6246 (2017).

    Article  MathSciNet  MATH  Google Scholar 

  40. Shi M., Liu Y., Solé P.: Optimal two weight codes from trace codes over \({\mathbb{F}}_{2} + u{\mathbb{F}}_{2}\). IEEE Commun. Lett. 20(12), 2346–2349 (2016).

    Article  Google Scholar 

  41. Shi M., Wu R., Liu Y., Solé P.: Two and three weight codes over \({\mathbb{F}}_{p} + u{\mathbb{F}}_{p}\). Cryptogr. Commun. 9(5), 637–646 (2017).

    Article  MathSciNet  Google Scholar 

  42. Shi M., Liu Y., Solé P.: Optimal two weight codes from trace codes over a non-chain ring. Discret. Appl. Math. 219, 176–181 (2017).

    Article  MATH  Google Scholar 

  43. Shi M., Wu R., Qian L., Lin S., Solé P.: New Classes of \(p\)-ary few weights codes. Bull. Malays. Math. Sci. Soc. 42(4), 1393–1412 (2019).

    Article  MathSciNet  MATH  Google Scholar 

  44. Tang C., Xiang C., Feng K.: Linear codes with few weights from inhomogeneous quadratic functions. Des. Codes Cryptogr. 83(3), 691–714 (2017).

    Article  MathSciNet  MATH  Google Scholar 

  45. Wei V.K.: Generalized Hamming weights for linear codes. IEEE Trans. Inf. Theory 37(5), 1412–1418 (1991).

    Article  MathSciNet  MATH  Google Scholar 

  46. Wan Z.: The weight hierarchies of the projective codes from nondegenerate quadrics. Des. Codes Cryptogr. 4(4), 283–300 (1994).

    Article  MathSciNet  MATH  Google Scholar 

  47. Xiong M., Li S., Ge G.: The weight hierarchy of some reducible cyclic codes. IEEE Trans. Inf. Theory 62(7), 4071–4080 (2016).

    Article  MathSciNet  MATH  Google Scholar 

  48. Yang M., Li J., Feng K., Lin D.: Generalized Hamming weights of irreducible cyclic codes. IEEE Trans. Inf. Theory 61(9), 4905–4913 (2015).

    Article  MathSciNet  MATH  Google Scholar 

  49. Yang S., Yao Z., Zhao C.: The weight distributions of two classes of p-ary cyclic codes with few weights. Finite Fields Appl. 44, 76–91 (2017).

    Article  MathSciNet  MATH  Google Scholar 

  50. Yuan J., Ding C.: Secret sharing schemes from three classes of linear codes. IEEE Trans. Inf. Theory 52(1), 206–212 (2006).

    Article  MathSciNet  MATH  Google Scholar 

  51. Zhou Z., Ding C.: A class of three-weight cyclic codes. Finite Fields Appl. 25, 79–93 (2014).

    Article  MathSciNet  MATH  Google Scholar 

  52. Zhou Z., Li N., Fan C., Helleseth T.: Linear codes with two or three weights from quadratic bent functions. Des. Codes Cryptogr. 81(2), 283–295 (2016).

    Article  MathSciNet  MATH  Google Scholar 

Download references

Acknowledgements

The authors are very grateful to the reviewers and the editors, for their comments and suggestions that improved the presentation and quality of this paper.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Xiumei Li.

Additional information

Communicated by V. A. Zinoviev.

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

The research was supported by Anhui Provincial Natural Science Foundation No. 1908085MA02 and the National Science Foundation of China Grant Nos. 12001312 and 11701001.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Li, F., Li, X. Weight distributions and weight hierarchies of a family of p-ary linear codes. Des. Codes Cryptogr. 90, 49–66 (2022). https://doi.org/10.1007/s10623-021-00962-9

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10623-021-00962-9

Keywords

Mathematics Subject Classification

Navigation