Constant-weight code
In coding theory, a constant-weight code, also called an m-of-n code or m-out-of-n code, is an error detection and correction code where all codewords share the same Hamming weight. The one-hot code and the balanced code are two widely used kinds of constant-weight code.