WorksMathematics
-Designs in the Nonbinary Johnson Scheme: Constructions and Linear Codes
Abstract
Using factorizations of complete graphs, we determine the existence conditions for -designs in the nonbinary Johnson scheme where each -element subset appears exactly once as a support. Furthermore, by utilizing large sets of Steiner triple systems, we construct designs with index that cannot be obtained from the known construction combining block designs and orthogonal arrays. For linear codes, we express multiplicative character sums over specified nonzero coordinates as sums over the codewords of the dual code. Using this identity along with the rank of a matrix formed by Krawtchouk polynomials, we provide a sufficient condition for the set of all codewords of a given weight to form an -design. In this matrix, we can utilize not only the rows corresponding to weights absent from the code, but also the rows corresponding to weights for which the set of codewords already forms a design. Moreover, let be a prime power, and let be a linear code with exactly two nonzero weights. For , the set of all codewords of weight forms a non-empty -design if and only if the dual minimum distance is at least . Consequently, this provides a negative answer to the Wu–Zhou problem concerning two-weight codes with a dual minimum distance of .
Introduction
Let , , and be integers, and let be a -element set with a specified element denoted by 0. Set . For , the set of coordinates of its nonzero components is called the support, and its cardinality is called the weight. Let be a set of vectors of weight . For , is called an - design if for any with and , and any ,
holds. This common non-negative integer is called the index. Here, denotes the set of all mappings from to . That is, the number of vectors that are nonzero at specified coordinates and take specified values at of those coordinates is independent of the choice of coordinates and values. For , this reduces to the condition of an -design, where each -element subset is contained in exactly blocks. For , this becomes the condition of an orthogonal array of alphabet size and strength .
Delsarte [8] provided a unified treatment of block designs and orthogonal arrays through design theory on association schemes. Designs in the nonbinary Johnson scheme [18] on vectors of fixed length and weight yield block designs when , and orthogonal arrays when . Nozaki and Watanabe [16], Sections 3–4 combinatorially characterized designs in this scheme and introduced the -design defined above. Its number of points is
[16 Corollary 4.4]. Therefore, for fixed parameters , a design with index 1 has the minimum number of points among non-empty designs.
Construction A by Nozaki and Watanabe [16 Section 6] is a method that places the rows of an orthogonal array on each block of a block design. Accounting for the multiplicities of blocks and rows, the number of vectors that are nonzero at specified coordinates and take specified values at a subset of those coordinates is equal to the product of the indices of the block design and the orthogonal array used. Problem 6.3 in [16] asks for the construction of an -design with index 1 that cannot be obtained from Construction A. In this paper, we consider this problem for -designs of weight 3. Furthermore, we investigate the conditions under which codewords of a linear code of a given weight form an -design.
First, for , , and , we show that the existence conditions for a - design in which each 3-element subset appears exactly once as a support are
(Theorem 4.4). By fixing one coordinate and its nonzero value, and regarding the remaining two nonzero coordinates as an edge, we find that the design condition is equivalent to the resulting graph being -regular. Thus, we construct the design by factorizing the complete graph into -regular spanning subgraphs. For and , this coincides with Etzion’s construction of constant-weight codes [9 Theorem 17].
Next, we use a Steiner triple system, a family of 3-element subsets containing each 2-element subset exactly once. A partition of all 3-element subsets into disjoint Steiner triple systems is called a large set. From its existence theorem [11] and the construction by Chee and Ling [7 Sections II–III], we obtain a - design for
(Theorem 4.7). In this construction, distinct vectors have distinct supports. On the other hand, in a -design with index 1 obtained from Construction A, each support appears times (Lemma 2.3). Therefore, for , this design cannot be obtained from Construction A.
The Assmus–Mattson theorem [1 Theorem 4.2] states that under certain conditions on the minimum distance of a code and the number of nonzero weights in its dual code, the supports of codewords of a given weight form a block design. In this paper, we use a form of the theorem [15 Theorem 1.1] that counts the support of each codeword exactly once, allowing for repeated blocks. To obtain an -design, it is necessary to show that, in addition to the number of codewords containing each -element subset in their supports, the number of such codewords taking specified nonzero values at of those coordinates is also independent of the choice of coordinates and values.
For linear codes, let be a prime power, , and be a nonzero linear code. Let , and denote the set of all codewords of weight by . Let be the minimum distance of , and be its dual code with respect to the standard inner product. For , due to the invariance of under nonzero scalar multiplication, the condition for an -design can be characterized by the frequencies of component ratios (Theorem 5.1). Furthermore, we convert multiplicative character sums over specified nonzero coordinates into sums over the dual code via the orthogonality of additive characters.
Using this equality, we provide a sufficient condition based on the rank of a matrix consisting of Krawtchouk polynomials (Theorem 5.14). The rows of the matrix can be selected from weights such that and those for which is already known to form an -design. As an example, we consider the Hexacode [13], a linear code over of length 6, dimension 3, and minimum distance 4. We show that is a -design, and then apply the rank condition to deduce that is a 45-point - design (Example 5.17). By polynomial interpolation, one may replace this rank condition with a condition on the cardinality of an integer set determined by the dual weights (Corollary 5.15). Furthermore, for , it is sufficient that the number of nonzero weights in the dual code is at most (Corollary 5.16). However, this last condition cannot hold for , and the conclusion for also follows from Wu and Zhou [19, Theorem 3.6] (Remark 5.18).
Finally, we consider linear codes with exactly two nonzero weights, namely two-weight codes. A -design is called a -ary -design. We denote the weight of a vector by , and for , we write its minimum distance as
Let , , and , and suppose that is a two-weight code. Then we have
(Theorem 5.22). The sufficiency is due to Wu and Zhou [19, Theorem 3.6]. To prove necessity, we show that since one is a design, the set of codewords for the other nonzero weight also forms a design. Next, we fix the values of specified coordinates and apply a MacWilliams-type transform to a polynomial whose exponents are the weights of the remaining components, showing that the set of codewords for each nonzero weight of the dual code also forms a design. The case where the dual minimum distance is contradicts the minimum distance condition for , and the two-weight code condition for . In particular, for two-weight codes with dual minimum distance 3, a nonempty never forms a -ary -design for (Corollary 5.23). This gives a negative answer to the open problem raised by Wu and Zhou [19, p. 16, after Remark 4.15].
In Section 2, we define -designs and describe Construction A. In Section 3, we derive an upper bound on the number of points from the minimum distance of constant-weight codes. In Section 4, we construct designs of weight 3. In Section 5, for the set of codewords of a linear code with a given weight, we prove a characterization by component ratios and character sums, sufficient conditions using the dual code, and a necessary and sufficient condition for two-weight codes.
Nonbinary Johnson schemes and -designs
For a finite set and a non-negative integer , we write . We continue to use , , and introduced in Section 1, and set . For , let denote the set of all mappings from to . The direct product indexed by the empty set is defined as , and the empty product is defined to be 1. The support and the Hamming weight of are defined as follows:
For , we write , and for , we set
The Hamming distance is defined as .
For , classifying by the two values
yields a partition of the relations of the nonbinary Johnson scheme [16, 18]. In the following, we define designs by counting the number of vectors whose entries at specified coordinates are nonzero and some of which take specified values.
For , , and , we set
When , we write .
Definition 2.1. Let be integers, and let be a non-negative integer. A subset is called an - design if
for any with and , and for any [16 Definition 4.1]. The value is called the index, and we simply write -design when the other parameters are omitted.
We regard the support of each vector as a block. Since distinct vectors may have the same support, the family of supports is treated as a multiset. Let and be integers. Let be a -element set, and let be a finite multiset consisting of elements of . The elements of are called blocks. If
holds for any , then is called a - design [4]. Here, the number of elements on the left-hand side is counted with multiplicities. When is clear from the context, itself is also referred to as a -design.
Taking the sum of over all possible nonzero value assignments yields the number of vectors whose support contains . Furthermore, by double counting the number of pairs where and is an -element subset of , we can determine [16 Corollary 4.4].
Lemma 2.2. If is an - design, then for any ,
Proof. Fix . Summing over yields the first equation. Counting the elements of the set in two ways, we obtain
which implies the equation for the size. □
Let , , and be integers. An array over a -element set is called an orthogonal array , if, for any choice of columns, every possible tuple of entries in those columns appears the same number of times across all rows [10]. If each such tuple appears times, the index is , and .
Construction A by Nozaki and Watanabe [16 Section 6] places the rows of an orthogonal array onto each block of a block design. The case with index 1 is described below.
Lemma 2.3. Let $1 \le s \le r \le w \le n$. Let be an - design, and let be an with index 1 over . For each and each row of , we define by
Then
is an - design, and for each ,
Proof. Fix , , and . There exists exactly one containing . Since the index of the orthogonal array is also 1, there is exactly one row in whose entries corresponding to on match . Therefore, .
Since the index is 1, there are no duplicates among the blocks in or the rows in . Vectors obtained from distinct blocks have different supports, and distinct rows on the same block also yield distinct vectors. Thus, the number of vectors having a given as their support is equal to the number of rows in , which is . □
In Construction A, accounting for the multiplicities of blocks and rows, the number of vectors that are nonzero on and match on is equal to the product of the two indices. If this product is 1, there are no duplicate blocks or rows, and we obtain the set described in Lemma 2.3. Nozaki and Watanabe [16] posed the following problem.
Problem 2.4. [16 Problem 6.3] Construct -designs with index 1 which are not obtained from Construction A.
Constant-weight codes and point bounds
If at most one codeword satisfies a given specification of nonzero coordinates and their values on a subset, an upper bound on the code size can be derived. This section establishes this bound and further demonstrates that if the minimum distance of the code is at least , no two codewords can simultaneously satisfy the condition.
Let be a -ary constant-weight code of length and weight [9]. For , the minimum distance of is defined as follows:
Proposition 3.1. Let $0 \le s \le r \le w \le n$ and . If for any with and , and any , then
Equality holds if and only if is an - design.
Proof. Counting the number of tuples satisfying , , , and in two ways yields
By assumption, for any , so equality holds in the above inequality if and only if for all such . This coincides with the condition for an -design with index 1 in Definition 2.1. □
We evaluate the Hamming distance between two vectors whose supports share coordinates, and where the values of the nonzero components agree on of these coordinates.
Proposition 3.2. Let $0 \le s \le r \le w \le n$. Fix with and , and . Let
For any , we have and
Furthermore, for any satisfying the assumption of Proposition 3.1, the inequality holds.
Proof. For , we have
If , their supports overlap in at least coordinates, and their nonzero values agree on at least coordinates. Therefore, . To construct the elements of the set , we can choose nonzero coordinates from the complement of and assign nonzero values to the remaining coordinates. Thus, . The final inequality is obtained by multiplying both sides of the upper bound on in Proposition 3.1 by and using the relations
□
If the minimum distance of the code strictly exceeds the upper bound on the Hamming distance in Proposition 3.2, the assumption of Proposition 3.1 is satisfied, allowing the proposition to be applied. Note that Etzion [9 Section 4, Lemma 8] extended the point bound obtained by Delsarte [8] to nonbinary constant-weight codes. Substituting the obtained in Proposition 3.2 into the inequality yields the same point bound as Proposition 3.1.
Corollary 3.3. Let $0 \le s \le r \le w \le n$, with , and suppose . Then
If equality holds, then is an - design.
Proof. If there exist distinct satisfying the conditions for the same , and , then Proposition 3.2 implies , which contradicts the assumption on the minimum distance of . Therefore, , and the conclusion follows from Proposition 3.1. □
Constructions of weight 3
Fixing nonzero values at specified coordinates and removing them from the supports allows the condition for an -design to be expressed as that of a block design. It has also been shown by Nozaki–Watanabe [16 Proposition 4.2] that the sets obtained by removing the coordinates of the specified nonzero components form a design. To distinguish cases where the same support is obtained from different vectors, we will use multisets in what follows.
Proposition 4.1. Let $0 \le s \le r \le w \le n$, , and . Then is an - design if and only if for any and , the multiset on given by
is an - design.
Proof. Fix and . The number of blocks containing is equal to . Since the mapping is a bijection from the set of all such to the set of all -element subsets containing , the equivalence follows. □
For weight 3, a support excluding a single coordinate can be regarded as an edge of a graph. In what follows, all graphs are assumed to be finite and simple. A graph where every vertex has degree is called -regular, and a -regular subgraph containing all vertices of a given graph is called a -factor. A partition of the edge set into the edge sets of -factors is called a -factorization. The conditions for the existence of a -factorization of a complete graph can be derived from Baranyai’s factorization theorem [3, 2].
Lemma 4.2. Let and be integers. A complete graph on vertices has a -factorization if and only if
Proof. Let be the number of factors. From the degree of each vertex, we obtain . Furthermore, the two conditions are necessary since the number of edges in each factor is .
Conversely, assume the two conditions hold and let . If , then , and itself is a 1-factor. For , apply Baranyai’s factorization theorem [3, 2] by setting the edge size to 2, the edge multiplicity to 1, and the degree of each factor to . The conditions for this theorem are and , both of which are satisfied by our assumptions. Therefore, the required factorization exists. □
Proposition 4.3. Let , , and . Suppose that for , the mapping is injective. Then is a - design if and only if for any and , the graph with vertex set and edge set
is -regular. In this case, is a - design.
Proof. Substitute into Proposition 4.1. Since the supports are distinct, the resulting edges have no multiplicity. The degree of each is equal to , yielding the equivalence in the first part. Furthermore, the number of supports containing is the sum of these degrees over all , which is .
For odd , Etzion used a -factorization of to construct a code of length , weight , alphabet size , and minimum distance , in which each -element subset appears exactly once as a support [9 Theorem 17]. In the following theorem, we determine the existence conditions for any positive integer .
Theorem 4.4. Let , , and . A - design in which each -element subset appears exactly once as a support exists if and only if
Proof. Suppose there exists a - design in which each -element subset appears exactly once as a support. Since each -element subset is contained in exactly supports, Proposition 4.3 implies . Additionally, since the graph in Proposition 4.3 is a -regular graph on vertices, the number of edges must be an integer.
Conversely, assume the two conditions hold. By Lemma 4.2, for each , the complete graph on can be factored into -factors. Index the factors of each decomposition by and denote them by . Let be its edge set. For each and , the index of the factor containing as an edge is uniquely determined. Using this , define
and let
Then , and the graph in Proposition 4.3 coincides with . Therefore, is the desired design.
Corollary 4.5. Let and . A - design in which each -element subset appears exactly once as a support exists if and only if and is odd. For , the construction in Theorem 4.4 coincides with Etzion’s construction using -factorizations [9 Theorem 17].
Let . A - design is called a Steiner triple system of order . A partition of into Steiner triple systems is called a large set of order [7, 11]. The following existence conditions are known [11].
Lemma 4.6. For , a large set of Steiner triple systems of order exists if and only if .
In the construction by Chee and Ling [7 Sections II–III], different nonzero values are assigned to multiple block-disjoint families. Applying this to a large set yields designs with index 1 that cannot be obtained from Construction A when .
Theorem 4.7. Let , , and . Then there exists a - design whose distinct elements have distinct supports. If , there exist designs that cannot be obtained from Construction A.
Proof. By Lemma 4.6, take a large set
Since , we use among these. Let , and for each , , define
and let
For any distinct and any , there exists exactly one block in containing . Therefore, , and is a - design.
Since the chosen Steiner triple systems are disjoint, the distinct elements of have distinct supports. On the other hand, when , Lemma 2.3 implies that each support used in a -design with index 1 obtained from Construction A appears times. Therefore, this cannot be obtained from Construction A. □
Example 4.8. Let , and write . In
any 2-element subset is contained in exactly one block of each , and . Thus, these are disjoint Steiner triple systems of order 9. As in the proof of Theorem 4.7, we place the value 1 on , the value 2 on , and 0 on the other components. These 24 vectors form a - design. Since all supports are distinct, Lemma 2.3 implies that it cannot be obtained from Construction A.
-Designs from Linear Codes
The support of a codeword is invariant under scalar multiplication by a nonzero element. In this section, we express the condition for an -design using coordinate ratios, and further rewrite the multiplicative character sum into a sum over the codewords of the dual code.
Let be a prime power and . A linear subspace of is called a linear code of length , and its elements are called codewords [14]. Let be a nonzero linear code. For , we define . The dual code and the minimum distance are defined as
A matrix whose rows form a basis of is called a generator matrix of . For , the set of all codewords of weight is denoted by
Characterization by coordinate ratios
Nonzero codewords belonging to the same one-dimensional subspace have the same support and coordinate ratios. Therefore, instead of specifying the values of nonzero coordinates, one can count one-dimensional subspaces by specifying their coordinate ratios. For , let
Each contains exactly elements of . For and , the coordinate ratios () do not depend on the choice of the nonzero representative element of .
Theorem 5.1. Let $1 \leq s \leq r \leq w \leq n$ and an integer . Then is an - design if and only if for any with and , and any , we have
Proof. Fix and , and set . For each in the set on the left-hand side of the above equation, there exists exactly one codeword whose coordinates on coincide with . This codeword is given by , where the scalar is uniquely determined by the coordinate at .
Therefore, the cardinality of the above set is equal to . Conversely, any can be obtained by setting and , which implies that the two conditions are equivalent. □
Corollary 5.2. Let $1 \leq s \leq r \leq w \leq n$ and suppose that is an - design. Then the multiset of subsets of defined by
is an - design. Here, the support of each one-dimensional subspace is counted exactly once.
Proof. Fix and . By Theorem 5.1, there are one-dimensional subspaces that contain in their support and have the specified coordinate ratios. There are possible tuples of coordinate ratios, and these partition the set of all one-dimensional subspaces whose supports contain . Thus, the number of blocks containing is . □
In Corollary 5.2, by counting the blocks containing a fixed subset, we obtain the following divisibility condition [4].
Corollary 5.3. Let $1 \leq s \leq r \leq w \leq n$ and suppose that is an - design. Then for any $0 \leq j \leq r$,
Proof. In Corollary 5.2, counting in two ways the pairs where is an -element subset containing a fixed -element subset and is a block containing , we find that the number of blocks containing the -element subset is
Since this number must be an integer, the above divisibility condition holds. □
Example 5.4. Let and consider the linear code
Codewords of weight 2 are restricted to those having two nonzero coordinates with values and for , so . Fixing , , and , there is exactly one codeword satisfying and . Therefore, is a - design, and in the multiset of Corollary 5.2, the multiplicity of each 2-element subset is 1.
On the other hand, if we specify the nonzero values for two coordinates, the number of such codewords is 1 if and 0 otherwise. If , both cases and can occur, which implies that is not a -design.
Example 5.5. Nozaki–Watanabe provided a - design [16 Figure 1]. However, a design with these parameters cannot be realized as of a linear code over . Setting in Corollary 5.3 requires
but .
Character sums and dual codes
The condition that tuples of nonzero coordinate values appear with the same frequency can be determined by verifying that the sums over all non-trivial characters vanish. A character of a finite abelian group is a group homomorphism from to the multiplicative group , and the set of all such characters is denoted by . The constant function 1 is called the trivial character. We use the orthogonality relations for characters [12 Chapter 5] in the following.
Lemma 5.6. Let be a finite abelian group and . Then is constant if and only if for any ,
Proof. The inversion formula derived from the orthogonality of characters is given by
If the sums corresponding to the non-trivial characters all vanish, only the term for the trivial character remains, meaning that does not depend on . Conversely, if is constant, the conclusion follows from the fact that the sum of the values of a non-trivial character over the group is 0. □
Let denote the set of all characters of the multiplicative group . For , the characters of the direct product group are given in the form
Let be the set of tuples of characters for which this product is invariant under nonzero scalar multiplication:
For with , , and , and for a tuple of multiplicative characters , we define
Since is invariant under nonzero scalar multiplication, replacing the summation index with yields
Therefore, if , the coefficient on the right-hand side is not 1 for some , which implies .
Theorem 5.7. Let . Then is an -design if and only if the following two conditions hold:
does not depend on the choice of .
For any with and , and any , we have $\Phi_w(R,S;\boldsymbol{\rho})=0.
Proof. Fix and , and apply Lemma 5.6 to . The sum for each character is
which is 0 by (1) if . Thus, condition 2 is equivalent to saying that does not depend on . In this case, taking the sum over yields
so this value also does not depend on . Combined with condition 1, it implies that this value is independent of as well, which means that is an -design. Conversely, if is an -design, condition 1 holds by Lemma 2.2, and condition 2 also holds by the above equivalence.
Corollary 5.8. Let . Then is an -design if and only if does not depend on the choice of .
Proof. When , we have , so condition 2 of Theorem 5.7 is always satisfied.
Next, we express as a sum over the codewords of . Fix a non-trivial character of the additive group . For and , let
From the orthogonality relations for characters [12 Chapter 5], we have
Let and be integers. We set and , and define the -ary Krawtchouk polynomial by
[14] The generating function for integers is
Furthermore, the coefficient of is
so the degree of is . We will use this property for interpolation in the next subsection.
Since , the following equation follows from the orthogonality of additive characters [14].
Lemma 5.9. For any ,
Proof. If , then , so each term is . If , then for some . As ranges over , we have , and ranges over the entire . Since is non-trivial, the mapping is a non-trivial character of the additive group , and its sum vanishes.
For with and , and a tuple of multiplicative characters , let
Similarly to the proof of the MacWilliams identity, we establish the following equation using the orthogonality of additive characters [14]. For the Jacobi polynomials of codes, we refer the reader to Ozeki [17]. Also, for a MacWilliams-type transformation when variables are separated by coordinate sets and values, see [6 Theorem 4.1].
Proposition 5.10. Let , with and , and let be a tuple of multiplicative characters. Then
Proof. Write for the coefficient of in . By Lemma 5.9,
For , the choice contributes , and summing over contributes . Since all coordinates of on are nonzero, the coefficient of selects the vectors of weight .
Put . By Equations (5.2) and (5.3),
Grouping the terms by gives the stated formula by the definition of .
Sufficient conditions of Assmus–Mattson type
The left-hand side of Proposition 5.10 is at weights not occurring in , providing linear equations for . First, we show by polynomial interpolation that all are if the number of nonzero is at most . Next, we also use equations derived from , which is already known to be a design. In what follows, the rank of a matrix is taken over .
Theorem 5.11. Let . Assume that for any with and , and for any , we have
Then, for these ,
Therefore, for any with such that is independent of , is an -design.
Proof. If , then , and when is independent of , Corollary 5.8 implies that is an -design. Suppose and fix . Let
If , then Proposition 5.10 implies that all are . In the following, we assume . Since , for we have , and thus . Therefore, Proposition 5.10 yields
Since the degrees of are , respectively, they form a basis for the vector space of polynomials of degree at most . Thus, for any such polynomial ,
holds. For each , using the interpolation polynomial
we obtain , which contradicts . Therefore, . By Proposition 5.10, for all . Consequently, when is independent of , Theorem 5.7 ensures that is an -design.
For to be an -design, in addition to for , must also be independent of . To show that is independent of , we use the Assmus–Mattson theorem [15 Theorem 1.1], which counts the support sets, counting each codeword exactly once. Let the set of nonzero weights occurring in the dual code be
Lemma 5.12. Let , and assume
Then, for any , is independent of .
Proof. If , then by [15 Theorem 1.1], the support sets of the codewords, counted with multiplicity, form an -design. Since the number of blocks containing is , we obtain the conclusion. If , then .
Next, we define a set containing indices for which from the weights occurring in the dual code. For , let
If , at least two of the are nontrivial. From Equation (2), corresponding to a nonzero term of is nonzero at those coordinates. Therefore, at least two components are nonzero on , and .
Lemma 5.13. Let , , , , and let . If , then .
Proof. Let . Since is not the tuple of trivial characters and its product is the trivial character, we have . From Equation (2), corresponding to a nonzero term of satisfies . If , there exists at least one such term, and the corresponding satisfies
Thus, and .
If or is an -design, then for . By Proposition 5.10, we obtain linear equations for from these equalities.
Theorem 5.14. Let $1 \le s \le r < d$, and assume
Suppose that for each , or is an -design. Furthermore, assume
Then, for any , is an -design.
Proof. The case follows from Lemma 5.12 and Corollary 5.8. Suppose , and fix with , , and . For each , we have by definition if , and by Theorem 5.7 if is a design. Therefore, Proposition 5.10 and Lemma 5.13 yield
Since the coefficient matrix has rank equal to the number of columns, for . For , we also have by Lemma 5.13. Thus, Proposition 5.10 implies that for all . On the other hand, Lemma 5.12 ensures that is independent of . Therefore, both conditions of Theorem 5.7 are satisfied. □
Proof. Apply Theorem 5.14 for each . □
These conditions are determined by , , and the weights occurring in and . By Theorem 5.11, we may assume instead of the rank condition.
Corollary 5.15. Let . If
then for any and , is an -design, and its index is
Proof. Fix and . The first hypothesis and Lemma 5.12 imply that is independent of .
For each with and , and each , Lemma 5.13 gives
Since , Theorem 5.11 implies that is an -design. Its index is given by Lemma 2.2. □
Corollary 5.16. Let . If , then for any and , is an -design. In particular, for , is sufficient.
Proof. For each , there are at most integers satisfying . Therefore,
Since , both conditions of Corollary 5.15 are satisfied. □
Example 5.17. Let with . The code with the generator matrix
is the Hexacode [13]. By direct calculation, both and have 1, 45, and 18 codewords of weights 0, 4, and 6, respectively, and no other weights occur. Thus, , and for , we have
First, we show that is a -design. The representatives of the six one-dimensional subspaces of with the first component being 1 are the rows of the following matrix:
For any , the ratios of these six representatives contain twice each. Since all support sets are , Theorem 5.1 implies that is a - design.
We apply Theorem 5.14 for , , and . We have , and is a -design. Furthermore, for , the determinant of
is , so the rank condition is also satisfied. Therefore, is a -design, and its index by Lemma 2.2 is
Thus, is a - design.
Remark 5.18. Let . The condition of Corollary 5.16 is never satisfied for . In fact, Delsarte’s bound [5 Section 2.1] gives
On the other hand, for a vector of weight , the distance to the zero codeword is , and for any nonzero codeword ,
Therefore, , and if , then
The conclusion for also follows from Wu–Zhou [19 Theorem 3.6].
Necessary and sufficient conditions for two-weight codes
In this subsection, let , , and . We denote the set of codewords of weight in by , and its minimum distance by :
Both and are nonzero, and continues to denote the minimum distance of .
In a -design, nonzero values are fixed at all specified coordinates.
Definition 5.19. Let $0 \le t \le w \le n$ and be integers. If is a - design, we call a -ary - design. That is, the condition is
A linear code satisfying
is called a two-weight code. For two-weight codes, we show that if a nonempty is a -ary -design with , then . We first present two lemmas used in the proof. The index when reducing the strength is given by the following formula [19 Lemma 2.3].
Lemma 5.20. Let $0 \le t \le w \le n$, and suppose is a -ary - design. Then for any $0 \le j \le t$, is a -ary -design, and its index is
Proof. Fix and . For each -element subset containing , summing the number of vectors over all possible assignments of nonzero values to the coordinates outside gives
On the left-hand side, each is counted with a multiplicity equal to the number of -element subsets containing and contained in . Dividing by , we obtain . □
In the next lemma, we specify values (including zeros) on coordinates and apply a MacWilliams-type transform to a polynomial representing the weight of the remaining components as exponents.
Lemma 5.21. Let , , and . All nonempty for are -ary -designs if and only if all nonempty for are -ary -designs.
Proof. Assume that all nonempty are -ary -designs. We will show that all nonempty are also -ary -designs. For and , using indeterminates , let
We define by replacing with . First, we show that is independent of and depends only on the weight of .
Fix a nonempty with . Since , Lemma 5.20 implies that the number of codewords with specified nonzero values on coordinates is independent of the choice of coordinates and values. We denote this number by for . By the principle of inclusion-exclusion, the number of codewords with specified nonzero values and specified zeros on is
This is obtained by selecting coordinates from those specified as zero, varying their nonzero values, and summing the number of codewords satisfying the specification. This number, as well as the weight of the remaining coordinates, depends only on . Since the zero codeword is included in the sum only when , depends only on . We write this common polynomial as .
Using a fixed additive character , let and . Applying Lemma 5.9 to and using , we have
In the first equality, the sum is taken over each component outside . For each , the character sum over components is if and if . In the second equality, terms are grouped by the weight of . From Equation (3), the character sum with respect to of weight is equal to .
Therefore, is independent of and depends only on the weight of . Let and take . The coefficient of is , which is independent of and . Thus, is a -ary -design. Since and the minimum distances of both codes are at least , the converse can be proved similarly by interchanging and . □
For two-weight codes, is a sufficient condition to yield a -ary -design [19 Theorem 3.6]. The following theorem establishes the necessity of this condition from the fact that a single nonempty is a -ary -design.
Theorem 5.22. Let be a prime power, be a two-weight linear code, and be an integer. Then we have
When these conditions hold, , and all nonempty and for are -ary -designs.
Proof. If , the left-hand side is false, and the right-hand side is also false since . In the following, assume . To prove necessity, let the two nonzero weights of be , and assume and that is a -ary -design. Since , its index is positive by Lemma 2.2. Let .
First, we show that for any , the linear map
is surjective. By the design condition and , its image contains . Since , we can choose two vectors from that differ in exactly one coordinate’s nonzero value. Their difference is nonzero only at that coordinate. By taking this difference for each coordinate, the image contains vectors that span , making the map surjective. Thus, the preimage of each element has cardinality . If there exists with , we can choose such that . In this case, the image of the map satisfies the nontrivial linear relation , contradicting surjectivity. Therefore, .
Next, we show . If , specifying the nonzero values on coordinates uniquely determines a vector of weight . Since , all vectors of weight belong to . By choosing a support set containing a given coordinate and taking the difference of two vectors whose nonzero value differs only at that coordinate, contains vectors that are nonzero only at each individual coordinate. This implies , which contradicts the assumption. Therefore, .
Assume . Since any is contained in a -element subset, the restriction map onto is also surjective. The number of codewords with specified nonzero values on is for the whole code , and by Lemma 5.20, this number in is independent of the choice of coordinates and values. Since the zero codeword does not have the specified nonzero values and the only nonzero weights are , their difference shows that the number of such codewords in is also independent of coordinates and values. Because a codeword of weight is uniquely determined by specifying its nonzero values on , this number is either 0 or 1. Since , the common value is 1, meaning all vectors of weight belong to . Taking the difference of two vectors that differ only in one coordinate’s nonzero value similarly yields . Thus, , which implies .
Since the restriction map to any coordinates is surjective, the number of codewords in with specified nonzero values is always . Therefore, is also a -ary -design. By , , and Lemma 5.21, all nonempty are also -ary -designs. We will now eliminate the remaining possibility .
Assume . Take and , and change one nonzero value of to another nonzero value. Since is a nonempty -ary -design, its index is positive, so there exists taking the modified values. and differ in exactly one coordinate on and each has one nonzero component outside . Therefore,
Since , this contradicts the definition of the minimum distance.
Assume and . Let the columns of the generator matrix of be . A zero column would give a codeword of weight 1 in , and two proportional columns would give a codeword of weight 2. Thus, all columns are nonzero, and any two columns are linearly independent. For , let , and set
Fix distinct and . For satisfying and , the remaining nonzero coordinate and its value satisfy
Since are linearly independent and , is distinct from . Because each one-dimensional subspace contains at most one column, satisfying the above equation are unique if they exist. Therefore,
Since is a nonempty -ary 2-design, this number is always 1. As vary, we obtain all one-dimensional subspaces contained in the two-dimensional subspace spanned by , other than . Thus, all one-dimensional subspaces contained in the two-dimensional subspace spanned by any two distinct elements of must belong to .
Let . contains zero and is closed under scalar multiplication. Since all one-dimensional subspaces contained in the two-dimensional subspace spanned by two linearly independent vectors in belong to , their sum also belongs to . The sum of two linearly dependent vectors belongs to the same one-dimensional subspace or is zero. Therefore, is a linear subspace. Since the columns of the generator matrix span , we have . This means the generator matrix has exactly one nonzero vector from each one-dimensional subspace of as a column.
Each nonzero codeword is obtained by evaluating a nonzero linear functional on these columns. Its kernel is -dimensional and contains one-dimensional subspaces. Therefore, the weight of each nonzero codeword is equal to
This contradicts the assumption that it is a two-weight code. Consequently, cannot occur, yielding .
Finally, we prove sufficiency. Assume . Since the dimension of is , the Singleton bound [14] gives , hence . The map to the coordinates corresponding to linearly independent columns of the generator matrix is surjective, so there exists a codeword where all these components are 1. Thus, the maximum nonzero weight of is at least , and in particular at least . Since there are two nonzero weights and , the condition of Wu–Zhou [19 Theorem 3.6] is satisfied. The strength given by this theorem is . This value is at least and at most the maximum nonzero weight of . Therefore, by Lemma 5.20, the set of all codewords of maximum nonzero weight in is a -ary -design, and since , it is also a -ary -design. From the proof of necessity, and all nonempty are -ary -designs.
Corollary 5.23. Let be a prime power, and be a two-weight linear code with . Then, for any integers satisfying and , is not a -ary -design.
Proof. If such a exists, Theorem 5.22 implies , which contradicts the assumption.
This corollary provides a negative answer to the open problem posed by Wu–Zhou [19 p. 16, after Remark 4.15], asking whether a two-weight linear code with dual minimum distance 3 can have a nonempty that forms a -ary -design for $t\ge2.
Acknowledgements
The research of Ryutaro Misawa was supported by JSPS Grant-in-Aid for JSPS Fellows (26KJ0570). The research of Yuuho Tanaka was supported by JSPS KAKENHI Grant Number JP25K23339.
(R. Misawa) Division of Mathematics, Graduate School of Information Sciences, Tohoku University, 6-3-09 Aramaki-Aza-Aoba, Aoba-ku, Sendai 980-8579, Japan
Email address: [email protected]
(Y. Tanaka) Mathematical Sciences Program, Department of Science and Technology, Faculty of Science and Technology, Oita University, 700 Dannoharu, Oita 870-1192, Japan
Email address: [email protected]
References
- [1]E. F. Assmus, Jr. and H. F. Mattson, Jr., New 5-designs, Journal of Combinatorial Theory 6 (1969), 122–151. DOI: https://doi.org/10.1016/S0012-9800(69)80115-8.
- [2]A. Baranyai, Connected Baranyai’s theorem, Combinatorica 34 (2014), 129–138. DOI: https://doi.org/10.1007/s00493-014-2928-3.
- [3]Z. Baranyai, On the factorization of the complete uniform hypergraph, in Infinite and Finite Sets, Colloquia Mathematica Societatis János Bolyai, Vol. 10, North-Holland, Amsterdam, 1975, 91–108.
- [4]T. Beth, D. Jungnickel, and H. Lenz, Design Theory, Vol. I, second edition, Cambridge University Press, Cambridge, 1999.DOI
- [5]J. Borges and V. Zinoviev, On self-dual completely regular codes with covering radius ρ ≤ 3, Finite Fields and Their Applications 105 (2025), Article 102617. DOI: https://doi.org/10.1016/j.ffa.2025.102617.
- [6]H. S. Chakraborty, R. Ishikawa, and Y. Tanaka, Jacobi polynomials and design theory II, Discrete Mathematics 347 (2024), Article 113818. DOI: https://doi.org/10.1016/j.disc.2023.113818.
- [7]Y. M. Chee and S. Ling, Constructions for q-ary constant-weight codes, IEEE Transactions on Information Theory 53 (2007), no. 1, 135–146. DOI: https://doi.org/10.1109/TIT.2006.887499.
- [8]P. Delsarte, An Algebraic Approach to the Association Schemes of Coding Theory, Philips Research Reports Supplements, no. 10 (1973), 1–97.
- [9]T. Etzion, Non-binary diameter perfect constant-weight codes, IEEE Transactions on Information Theory 68 (2022), no. 2, 891–904. DOI: https://doi.org/10.1109/TIT.2021.3125277.
- [10]A. S. Hedayat, N. J. A. Sloane, and J. Stufken, Orthogonal Arrays: Theory and Applications, Springer, New York, 1999.
- [11]L. Ji, A new existence proof for large sets of disjoint Steiner triple systems, Journal of Combinatorial Theory, Series A 112 (2005), 308–327. DOI: https://doi.org/10.1016/j.jcta.2005.06.005.
- [12]R. Lidl and H. Niederreiter, Finite Fields, second edition, Cambridge University Press, Cambridge, 1997.DOI
- [13]F. J. MacWilliams, A. M. Odlyzko, N. J. A. Sloane, and H. N. Ward, Self-dual codes over GF(4), Journal of Combinatorial Theory, Series A 25 (1978), 288–318. DOI: https://doi.org/10.1016/0097-3165(78)90021-3.
- [14]F. J. MacWilliams and N. J. A. Sloane, The Theory of Error-Correcting Codes, North-Holland, Amsterdam, 1977.
- [15]J. V. S. Morales and H. Tanaka, An Assmus–Mattson theorem for codes over commutative association schemes, Designs, Codes and Cryptography 86 (2018), 1039–1062. DOI: https://doi.org/10.1007/s10623-017-0376-y.
- [16]H. Nozaki and Y. Watanabe, Combinatorial characterizations of T-designs in the nonbinary Johnson scheme, arXiv:2512.22034v1, 2025. https://arxiv.org/abs/2512.22034v1.
- [17]M. Ozeki, On the notion of Jacobi polynomials for codes, Mathematical Proceedings of the Cambridge Philosophical Society 121 (1997), 15–30. DOI: https://doi.org/10.1017/S0305004196001399.
- [18]H. Tarnanen, M. J. Aaltonen, and J.-M. Goethals, On the nonbinary Johnson scheme, European Journal of Combinatorics 6 (1985), 279–285. DOI: https://doi.org/10.1016/S0195-6698(85)80039-1.
- [19]X. Wu and J. Zhou, Research on Linear Codes Holding q-ary t-Designs, arXiv:2603.12761v1, 2026. https://arxiv.org/abs/2603.12761v1.