[Paper Review] On linear codes and distinct weights
This paper provides a combinatorial proof that the maximum number of distinct non-zero weights in a $q$-ary linear code of dimension $k$ is $\frac{q^k - 1}{q - 1} + 1$, achieving the theoretical upper bound. It further establishes that for binary codes, linear codes exist with any number of distinct non-zero weights from 1 to $2^k - 1$, fully characterizing the possible weight spectra in the binary case.
We provide a combinatorial construction for linear codes attaining the maximum possible number of distinct weights. We then introduce the related problem of determining the existence of linear codes with an arbitrary number of distinct non-zero weights, and we completely determine a solution in the binary case.
Motivation & Objective
- To prove the conjecture that the maximum number of distinct non-zero weights in a $q$-ary linear code of dimension $k$ is $\frac{q^k - 1}{q - 1} + 1$.
- To provide a combinatorial construction for linear codes achieving this maximum weight spectrum.
- To investigate the existence of linear codes with an arbitrary number of distinct non-zero weights, particularly in the binary case.
- To completely characterize the possible numbers of distinct non-zero weights in binary linear codes of any dimension.
Proposed method
- Use induction on dimension $k$, starting from known codes with maximal weight spectrum.
- Construct a new code $\bar{C}_{k+1}$ from $\bar{C}_k$ by appending a carefully chosen vector $x$ such that distances from $x$ to codewords in $\bar{C}_k$ are all distinct.
- Leverage the weight distribution of cosets $C_k - x$ to ensure $q^k$ new distinct weights in the extended code.
- Use the Simplex code $\mathcal{S}_{q,k}$ as a base code with a single non-zero weight to enable inductive construction.
- Apply two key lemmas: one to increase the number of distinct weights by 1, and another to increase by $q^k$, enabling full coverage of possible weight counts.
- Use tripling of coordinates in the proof of Lemma 2 to ensure existence of vectors with improved weight distribution in cosets.
Experimental results
Research questions
- RQ1What is the maximum number of distinct non-zero weights possible in a linear $q$-ary code of dimension $k$?
- RQ2Can linear codes be constructed that achieve the theoretical upper bound of $\frac{q^k - 1}{q - 1} + 1$ distinct non-zero weights?
- RQ3For the binary case, does a linear code exist with any number of distinct non-zero weights from 1 to $2^k - 1$?
- RQ4Can the existence of codes with arbitrary numbers of distinct weights be systematically constructed using combinatorial methods?
- RQ5What are the minimum lengths required for linear codes to achieve a given number of distinct non-zero weights?
Key findings
- The maximum number of distinct non-zero weights in a $q$-ary linear code of dimension $k$ is exactly $\frac{q^k - 1}{q - 1} + 1$, confirming the conjecture from [SZSC18].
- A combinatorial construction is provided to explicitly build codes achieving this maximum weight spectrum for any $q$ and $k$.
- For binary codes, linear codes exist with any number of distinct non-zero weights from 1 to $2^k - 1$, fully characterizing the possible weight spectra.
- The existence of such codes is proven via induction using two lemmas: one that increases the number of distinct weights by 1, and another that increases it by $2^k$.
- The Simplex code $\mathcal{S}_{q,k}$ is used as a foundational building block due to its single non-zero weight property.
- The paper leaves the general $q$-ary case for arbitrary weight counts as a conjecture, though the binary case is completely resolved.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.