Skip to main content

Full Non-Binary Constant-Weight Codes


This paper presents the research results of mixed base number systems using binomial representation of numbers. It also shows the investigated non-linear coding techniques with full constant-weight codes, which are based on the binomial numeration. These codes can be used in a variety of computer applications: in code-based cryptosystems; to detect errors in asymmetric communication channels, etc. We propose a new numeral system. It combines the features of positional and binomial numeration. We suggest a technique of full non-binary constant-weight coding based on a generalized binomial-positional representation. It allows us to generalize the known approach to the non-binary case and practically implement computational algorithms for generating full set of non-binary constant-weight sequences. There are the analytical relations that relate the positional and binomial representations of numbers. The article provides several examples, which clear up the usefulness and the constructiveness of the proposed approach, and simplify the perception and understanding of results. We also consider some aspects of the potential use of the proposed numeral system. In particular, the article discusses asymmetric communication channels (the model of a binary Z-channel and its generalization to the non-binary model), and shows the advantage of constant-weight codes for error detection.

This is a preview of subscription content, access via your institution.

Fig. 1
Fig. 2
Fig. 3


  1. Stanley RP (2018) Combinatorics algebraic. Undergraduate texts in mathematics.

  2. Knuth DE. The art of computer programming. Vol. II seminumerical algorithms. Math Comput. 1970;24(110):479.

    Article  Google Scholar 

  3. Borysenko O, Kalashnikov V, Protasova T, Kalashnikova N. A new approach to the classification of positional numeral systems. Frontiers Artif Intell Appl. 2014;262:441–50.

    Google Scholar 

  4. Duda J. Number systems using a complex base. Wolfram Demonstrations Project; 2008.

  5. Stakhov A. Numeral systems with irrational bases for mission-critical applications. Series on knots and everything; 2017

  6. Borisenko A, Kalashnykova N, Kalashnikov V, Gutenko D. Binomial numeral systems: description and applications to numeration problems. Int J Innov Comput Inf Control. 2014;10(1):57–66.

    Google Scholar 

  7. Borisenko AA, Kalashnikov VV, Kalashnykova NI. Binomial calculus: advantages and prospects. ICIC Expr Lett. 2008;2(1):123–30.

    Google Scholar 

  8. Borysenko OA, Kalashnikov VV, Kalashnykova NI, Matsenko SM. The Fibonacci numeral system for computer vision. Comput Vision Control Syst. 2017;3:321–43.

    Article  Google Scholar 

  9. McEliece RJ (1978) A public-key criptosystem based on algebraic theory. DGN Progress Report 42–44. Jet Propulsi on Lab. Pasadena, CA; 1978. p. 114–116.

  10. Niederreiter H. Knapsack-type cryptosystems and algebraic coding theory. Probl Control Inf Theory. 1986;15:19–34.

    MathSciNet  MATH  Google Scholar 

  11. Fischer J-B, Jacques S. An efficient pseudo-random generator provably as secure as syndrome decoding. In: Lecture notes in computer science; 1996. p. 245–255.

  12. Gaborit P, Lauradoux C, Sendrier N. SYND: a fast code-based stream cipher with a security reduction. In: 2007 IEEE international symposium on information theory; 2007.

  13. Courtois NT, Matthieu F, Nicolas S. How to achieve a McEliece-based digital signature scheme. Lecture notes in computer science; 2001. p. 157–174.

  14. Finiasz M. Parallel-CFS. Lecture notes in computer science; 2011. p. 159–170.

  15. Kuznetsov A, Lutsenko M, Kiian N, Makushenko T, Kuznetsova T. Code-based key encapsulation mechanisms for post-quantum standardization. In: 2018 IEEE 9th international conference on dependable systems, services and technologies (DESSERT), May 2018.

  16. Kuznetsov AA, Gorbenko YuI, Prokopovych-Tkachenko DI, Lutsenko MS, Pastukhov MV. NIST PQC: code-based cryptosystems, telecommunications and radio. Engineering. 2019;78(5):429–41.

    Article  Google Scholar 

  17. Kuznetsov A, Svatovskij I, Kiyan N, Pushkar’ov A. Code-based public-key cryptosystems for the post-quantum period. In: 2017 4th international scientific-practical conference problems of infocommunications. Science and Technology (PIC S T); 2017. p. 125–130.

  18. Bernstein DJ, Buchmann J, Dahmen E, editors. Post-quantum cryptography. Berlin Heidelberg: Springer; 2009.

    Book  MATH  Google Scholar 

  19. MacWilliams J. The theory of error-correcting codes. North-Holland Mathematical Library; 1977.

  20. Brouwer AE, Shearer JB, Sloane NJA, Smith WD. A new table of constant weight codes. IEEE Trans Inf Theory. 1990;36(6):1334–80.

    MathSciNet  Article  MATH  Google Scholar 

  21. Smith DH, Hughes LA, Perkins S. A new table of constant weight codes of length greater than 28. Electr J Combinat 2006:A2.

  22. Ge G. Construction of optimal ternary constant weight codes via Bhaskar Rao designs. Discrete Math. 2008;308(13):2704–8.

    MathSciNet  Article  MATH  Google Scholar 

  23. Chee YM, Ling S. Constructions for \(q\)-ary constant-weight codes. IEEE Trans Inf Theory. 2007;53(1):135–46.

    MathSciNet  Article  MATH  Google Scholar 

  24. Zhang H, Ge G. Optimal ternary constant-weight codes of weight four and distance six. IEEE Trans Inf Theory. 2010;56(5):2188–203.

    MathSciNet  Article  MATH  Google Scholar 

  25. Kløve T. Error correcting codes for the asymmetric channel. Dept. of Pure Mathematics, University of Bergen (1981).

Download references


This work was supported in part by the National Research Foundation of Ukraine under Grant 2020.01/0351.

Author information

Authors and Affiliations


Corresponding author

Correspondence to Alexandr Kuznetsov.

Ethics declarations

Conflict of interest

The authors declare that they have no conflicts of interest.

Additional information

Publisher's Note

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

Rights and permissions

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark

Cite this article

Kuznetsov, A., Kryvinska, N., Kiian, A. et al. Full Non-Binary Constant-Weight Codes. SN COMPUT. SCI. 2, 337 (2021).

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI:


  • Full constant-weight codes
  • Mixed base number systems
  • Binomial count
  • Z-channel
  • Code-based cryptosystems