On q-ary optimal equitable symbol weight codes

Similar documents
arxiv: v2 [math.co] 17 May 2017

On non-antipodal binary completely regular codes

On complete permutation polynomials 1

On one class of permutation polynomials over finite fields of characteristic two *

New quasi-symmetric designs constructed using mutually orthogonal Latin squares and Hadamard matrices

Maximum Distance Separable Symbol-Pair Codes

A Short Overview of Orthogonal Arrays

A two dimensional non-overlapping code over a q-ary alphabet

On the minimum distance of LDPC codes based on repetition codes and permutation matrices 1

Orthogonal Arrays & Codes

Quantum LDPC Codes Derived from Combinatorial Objects and Latin Squares

Solutions of Exam Coding Theory (2MMC30), 23 June (1.a) Consider the 4 4 matrices as words in F 16

On permutation automorphism groups of q-ary Hamming codes

We saw in the last chapter that the linear Hamming codes are nontrivial perfect codes.

MATH32031: Coding Theory Part 15: Summary

Outline. We will now investigate the structure of this important set.

Lecture 19: Elias-Bassalygo Bound

New Constructions of Difference Matrices

A method for constructing splitting (v,c u, ) BIBDs. Stela Zhelezova Institute of Mathematics and Informatics, BAS

A Combinatorial Bound on the List Size

PROBLEMS FROM GROUP THEORY

4488 IEEE TRANSACTIONS ON INFORMATION THEORY, VOL. 54, NO. 10, OCTOBER /$ IEEE

The Hamming Codes and Delsarte s Linear Programming Bound

IMA Preprint Series # 2066

Chapter 2 Date Compression: Source Coding. 2.1 An Introduction to Source Coding 2.2 Optimal Source Codes 2.3 Huffman Code

A New Approach to Permutation Polynomials over Finite Fields

I. INTRODUCTION. i) is an -PCDP if and only if partitions, and for any fixed, the equation has at most solutions. ii) For a set, let

An Improvement of Non-binary Code Correcting Single b-burst of Insertions or Deletions

On the minimum distance of LDPC codes based on repetition codes and permutation matrices

On the Classification of Splitting (v, u c, ) BIBDs

Hamming Codes 11/17/04

MATH 433 Applied Algebra Lecture 21: Linear codes (continued). Classification of groups.

A characterization of graphs by codes from their incidence matrices

HL Test 2018 Sets, Relations and Groups [50 marks]

Additive Latin Transversals

Lecture 9: List decoding Reed-Solomon and Folded Reed-Solomon codes

Some New Optimal Ternary Linear Codes

: Coding Theory. Notes by Assoc. Prof. Dr. Patanee Udomkavanich October 30, upattane

Multiple coverings of the farthest-off points and multiple saturating sets in projective spaces

Coding Theory and Applications. Linear Codes. Enes Pasalic University of Primorska Koper, 2013

Day 12. Thursday June 7, 2012

Efficient Decoding of Permutation Codes Obtained from Distance Preserving Maps

A multiple access system for disjunctive vector channel

And for polynomials with coefficients in F 2 = Z/2 Euclidean algorithm for gcd s Concept of equality mod M(x) Extended Euclid for inverses mod M(x)

Codes and Rings: Theory and Practice

ELEC-E7240 Coding Methods L (5 cr)

EXAM 3 MAT 423 Modern Algebra I Fall c d a + c (b + d) d c ad + bc ac bd

STRONG FORMS OF ORTHOGONALITY FOR SETS OF HYPERCUBES

MATH Examination for the Module MATH-3152 (May 2009) Coding Theory. Time allowed: 2 hours. S = q

Optimal superimposed codes and designs for Renyi s search model

MATH3302. Coding and Cryptography. Coding Theory

New Inequalities for q-ary Constant-Weight Codes

ELEC 519A Selected Topics in Digital Communications: Information Theory. Hamming Codes and Bounds on Codes

n = p 1 p 2 p r = q 1 q 2 q m, then r = m (i.e. the number of primes in any prime decomposition

arxiv: v2 [cs.it] 4 Mar 2019

Error Detection and Correction for Symmetric and Asymmetric Channels

ECEN 5682 Theory and Practice of Error Control Codes

Chapter 7. Error Control Coding. 7.1 Historical background. Mikael Olofsson 2005

The BCH Bound. Background. Parity Check Matrix for BCH Code. Minimum Distance of Cyclic Codes

Groups in Cryptography. Çetin Kaya Koç Winter / 13

Outline. Criteria of good signal sets. Interleaved structure. The main results. Applications of our results. Current work.

International Mathematical Forum, Vol. 6, 2011, no. 4, Manjusri Basu

Optimal XOR based (2,n)-Visual Cryptography Schemes

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science Transmission of Information Spring 2006

(each row defines a probability distribution). Given n-strings x X n, y Y n we can use the absence of memory in the channel to compute

Lecture 3: Error Correcting Codes

Math 3121, A Summary of Sections 0,1,2,4,5,6,7,8,9

Circles & Interval & Set Notation.notebook. November 16, 2009 CIRCLES. OBJECTIVE Graph a Circle given the equation in standard form.

Coding Theory: Linear-Error Correcting Codes Anna Dovzhik Math 420: Advanced Linear Algebra Spring 2014

0 Sets and Induction. Sets

Know the meaning of the basic concepts: ring, field, characteristic of a ring, the ring of polynomials R[x].

TC08 / 6. Hadamard codes SX

Matrix characterization of linear codes with arbitrary Hamming weight hierarchy

ECEN 5022 Cryptography

Nonlinear Functions A topic in Designs, Codes and Cryptography

Some Bounds for the Distribution Numbers of an Association Scheme

New Constructions of Permutation Arrays

Error Correcting Codes Questions Pool

Lower Bounds for q-ary Codes with Large Covering Radius

Notation. 0,1,2,, 1 with addition and multiplication modulo

ERROR-CORRECTING CODES AND LATIN SQUARES

Chapter 4. Data Transmission and Channel Capacity. Po-Ning Chen, Professor. Department of Communications Engineering. National Chiao Tung University

Ranks of Hadamard Matrices and Equivalence of Sylvester Hadamard and Pseudo-Noise Matrices

Definition: Let S and T be sets. A binary relation on SxT is any subset of SxT. A binary relation on S is any subset of SxS.

Section VII.39. Free Groups

Symmetric configurations for bipartite-graph codes

Properties of Linear Transformations from R n to R m

On Syndrome Decoding of Chinese Remainder Codes

Mutually Orthogonal Latin Squares: Covering and Packing Analogues

Lecture 8: Shannon s Noise Models

a (b + c) = a b + a c

Vector spaces. EE 387, Notes 8, Handout #12

On Perfect Codes and Related Concepts

Locally Decodable Codes

LDPC codes based on Steiner quadruple systems and permutation matrices

The primitive root theorem

Open problems on cyclic codes

The Riemann Hypothesis for Function Fields

Error Detection and Correction: Hamming Code; Reed-Muller Code

Lecture 2. LINEAR DIFFERENTIAL SYSTEMS p.1/22

Transcription:

On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev A.A. Kharkevich Institute for Problems of Information Transmission, Moscow, Russia OC2013 Albena, Bulgaria, September 6-12, 2013

On q-ary optimal equitable symbol weight codes 2/20 Outline 1 Introduction 2 Main construction 3 Example 4 Codes from difference matrices

On q-ary optimal equitable symbol weight codes 3/20 Introduction Denote by Q = {0, 1,..., q 1} an alphabet of size q and by Q n = (Q) n the set of all words of length n over Q.

On q-ary optimal equitable symbol weight codes 3/20 Introduction Denote by Q = {0, 1,..., q 1} an alphabet of size q and by Q n = (Q) n the set of all words of length n over Q. Let x = (x 1, x 2,..., x n ) be an arbitrary word over Q. Denote by ξ a (x) the number of times the symbol a Q occurs in x, i.e. ξ a (x) = {j : x j = a, j = 1, 2,..., n}.

On q-ary optimal equitable symbol weight codes 3/20 Introduction Denote by Q = {0, 1,..., q 1} an alphabet of size q and by Q n = (Q) n the set of all words of length n over Q. Let x = (x 1, x 2,..., x n ) be an arbitrary word over Q. Denote by ξ a (x) the number of times the symbol a Q occurs in x, i.e. ξ a (x) = {j : x j = a, j = 1, 2,..., n}. Say that x Q n has equitable symbol weight if for every a Q. ξ a (x) { n/q, n/q }

On q-ary optimal equitable symbol weight codes 3/20 Introduction Denote by Q = {0, 1,..., q 1} an alphabet of size q and by Q n = (Q) n the set of all words of length n over Q. Let x = (x 1, x 2,..., x n ) be an arbitrary word over Q. Denote by ξ a (x) the number of times the symbol a Q occurs in x, i.e. ξ a (x) = {j : x j = a, j = 1, 2,..., n}. Say that x Q n has equitable symbol weight if for every a Q. Definition 1. ξ a (x) { n/q, n/q } A code C over Q we call equitable symbol weight code, if every its codeword has equitable symbol weight.

On q-ary optimal equitable symbol weight codes 4/20 Introduction Equitable symbol weight codes were introduced by Chee-Kiah-Ling-Wang (2012) for more precisely capture a code s performance against permanent narrowband noise in power line communication (Chee-Kiah-Purkayastha-Wang (2012)).

On q-ary optimal equitable symbol weight codes 4/20 Introduction Equitable symbol weight codes were introduced by Chee-Kiah-Ling-Wang (2012) for more precisely capture a code s performance against permanent narrowband noise in power line communication (Chee-Kiah-Purkayastha-Wang (2012)). Several optimal infinite families of such codes were constructed by Chee-Kiah-Ling-Wang (2012) and also by Dai-Wang-Yin (2013).

On q-ary optimal equitable symbol weight codes 4/20 Introduction Equitable symbol weight codes were introduced by Chee-Kiah-Ling-Wang (2012) for more precisely capture a code s performance against permanent narrowband noise in power line communication (Chee-Kiah-Purkayastha-Wang (2012)). Several optimal infinite families of such codes were constructed by Chee-Kiah-Ling-Wang (2012) and also by Dai-Wang-Yin (2013). In the paper Dai-Wang-Yin (2013) a family of q-ary optimal equitable symbol weight codes was constructed with the following parameters: n = q 2 1, M = q 2, d = q(q 1), (1) for any q equal to a power of odd prime number.

On q-ary optimal equitable symbol weight codes 5/20 Introduction In this paper we construct, using the other approach, equitable symbol weight codes with parameters (1) for any prime power q.

On q-ary optimal equitable symbol weight codes 5/20 Introduction In this paper we construct, using the other approach, equitable symbol weight codes with parameters (1) for any prime power q. Besides, a class of optimal equitable symbol weight q-ary codes is constructed with parameters n, M = n(q 1), d = n(q 1)/q, (2) where q divides n, and n is such, that there exists a difference matrix of size n n over the alphabet Q.

On q-ary optimal equitable symbol weight codes 6/20 Main construction It is well known (see, for example, (Semakov-Zaitzev-Zinoviev, 1969) or (Bogdanova-Zinoviev-Todorov, 2007) and references there) that for any prime power q, can be easily constructed optimal equidistant q-ary codes with the following parameters: length n = q 2 1 minimum distance d = q(q 1) cardinality M = q 2.

On q-ary optimal equitable symbol weight codes 6/20 Main construction It is well known (see, for example, (Semakov-Zaitzev-Zinoviev, 1969) or (Bogdanova-Zinoviev-Todorov, 2007) and references there) that for any prime power q, can be easily constructed optimal equidistant q-ary codes with the following parameters: length n = q 2 1 minimum distance d = q(q 1) cardinality M = q 2. These codes are not equitable symbol weight, but it is possible to transform their such that they become equitable symbol weight codes without missing the property to be equidistant.

On q-ary optimal equitable symbol weight codes 7/20 Main construction Recall the concept of a Latin square: a square matrix of size m over an alphabet of size m is called a Latin square of order m, if every element occurs once in every row and in every column.

On q-ary optimal equitable symbol weight codes 7/20 Main construction Recall the concept of a Latin square: a square matrix of size m over an alphabet of size m is called a Latin square of order m, if every element occurs once in every row and in every column. Let A be a matrix of size q q of the form 0 0... 0 1 1... 1... q 1 q 1... q 1, and let L 1, L 2,..., L q 1 be a set of q 1 Latin squares of order q over Q with the following property: the pairwise distance between any two rows of different squares is equal to q 1 (it is clear that the pairwise distance between any two rows of one square is equal to q).

On q-ary optimal equitable symbol weight codes 8/20 Main construction The rows of the following matrix of size q 2 (q 2 1) form an equidistant code with parameters (n = q 2 1, d = q(q 1) and M = q 2 ) mentioned above: A A e 0 e 1 e q 2 L 1 L 1 e 1 e 2 e q 1 L q 1 L q 1 e q 1 e 0 e q 3 where e i is the column-vector (i i... i) t.,

On q-ary optimal equitable symbol weight codes 9/20 Main construction A A L 1 L 1 L q 1 L q 1,

On q-ary optimal equitable symbol weight codes 9/20 Main construction A A L 1 L 1 L q 1 L q 1, Apart of the layer formed by the matrix A the other matrix is of the equal symbol weight type.

On q-ary optimal equitable symbol weight codes 9/20 Main construction A A L 1 L 1 L q 1 L q 1, Apart of the layer formed by the matrix A the other matrix is of the equal symbol weight type. steps of the transformation:

On q-ary optimal equitable symbol weight codes 9/20 Main construction A A L 1 L 1 L q 1 L q 1, Apart of the layer formed by the matrix A the other matrix is of the equal symbol weight type. steps of the transformation: 1) to correct the first layer of matrices A by adding a proper vector a = (a 1, a 2,..., a q 1 ), a j = (0, j, j,..., j)

On q-ary optimal equitable symbol weight codes 9/20 Main construction A A L 1 L 1 L q 1 L q 1, Apart of the layer formed by the matrix A the other matrix is of the equal symbol weight type. steps of the transformation: 1) to correct the first layer of matrices A by adding a proper vector a = (a 1, a 2,..., a q 1 ), a j = (0, j, j,..., j) After adding of a the lower part of the matrix miss that property

On q-ary optimal equitable symbol weight codes 9/20 Main construction A A L 1 L 1 L q 1 L q 1, Apart of the layer formed by the matrix A the other matrix is of the equal symbol weight type. steps of the transformation: 1) to correct the first layer of matrices A by adding a proper vector a = (a 1, a 2,..., a q 1 ), a j = (0, j, j,..., j) After adding of a the lower part of the matrix miss that property 2) to correct the lower part of the matrix by proper permutations independently for every Latin square of every layer

On q-ary optimal equitable symbol weight codes 10/20 Main construction Main result 1 Theorem 1. For any prime power q there exists an optimal equitable symbol weight equidistant q-ary code with the following parameters: n = q 2 1, M = q 2, d = q(q 1).

On q-ary optimal equitable symbol weight codes 10/20 Main construction Main result 1 Theorem 1. For any prime power q there exists an optimal equitable symbol weight equidistant q-ary code with the following parameters: n = q 2 1, M = q 2, d = q(q 1). Note once more that for the case of odd q this result has been obtained in (Dai-Wang-Yin, 2013) using the other approach.

On q-ary optimal equitable symbol weight codes 11/20 Example Consider an example of our construction for the case q = 4. Let Q 4 = {0, 1, 2, 3}, where 1 = α 0, 2 = α, 3 = α 2, and the element α is the primitive element of the field F 4 such that α 2 = α + 1.

On q-ary optimal equitable symbol weight codes 11/20 Example Consider an example of our construction for the case q = 4. Let Q 4 = {0, 1, 2, 3}, where 1 = α 0, 2 = α, 3 = α 2, and the element α is the primitive element of the field F 4 such that α 2 = α + 1. Let C be the following matrix, formed by the codewords of equidistant (n = 5, M = 16, d = 4) code over Q = {0, 1, 2, 3}: L 1 = C = 0 1 2 3 1 0 3 2 2 3 0 1 3 2 1 0 A e 0 L 1 e 1 L 2 e 2 L 3 e 3, L 2 = where e i = (i i i i) t, i = 0, 1, 2, 3., A = 0 2 3 1 1 3 2 0 2 0 1 3 3 1 0 2 0 0 0 0 1 1 1 1 2 2 2 2 3 3 3 3, L 3 = 0 3 1 2 1 2 0 3 2 1 3 0 3 0 2 1,

On q-ary optimal equitable symbol weight codes 12/20 Example Construct the equidistant (15, 16, 12; 4) code E by repeting three times the given above code C E = A A A e 0 e 1 e 2 L 1 L 1 L 1 e 1 e 2 e 3 L 2 L 2 L 2 e 2 e 3 e 0 L 3 L 3 L 3 e 3 e 0 e 1.

On q-ary optimal equitable symbol weight codes 12/20 Example Construct the equidistant (15, 16, 12; 4) code E by repeting three times the given above code C E = Define the matrix K: A A A e 0 e 1 e 2 L 1 L 1 L 1 e 1 e 2 e 3 L 2 L 2 L 2 e 2 e 3 e 0 L 3 L 3 L 3 e 3 e 0 e 1 K = A A A L 1 L 1 L 1 L 2 L 2 L 2 L 3 L 3 L 3..

On q-ary optimal equitable symbol weight codes 12/20 Example Construct the equidistant (15, 16, 12; 4) code E by repeting three times the given above code C E = Define the matrix K: A A A e 0 e 1 e 2 L 1 L 1 L 1 e 1 e 2 e 3 L 2 L 2 L 2 e 2 e 3 e 0 L 3 L 3 L 3 e 3 e 0 e 1 K = A A A L 1 L 1 L 1 L 2 L 2 L 2 L 3 L 3 L 3.. Add to all rows of K the vector a = (a 1, a 2, a 3 ), where a 1 = (0, 1, 1, 1), a 2 = (0, 2, 2, 2), a 3 = (0, 3, 3, 3).

On q-ary optimal equitable symbol weight codes 13/20 Example Show how to reconstruct the first nontrivial layer of the matrix K: [ L1 L 1 L 1 ].

On q-ary optimal equitable symbol weight codes 13/20 Example Show how to reconstruct the first nontrivial layer of the matrix K: [ L1 L 1 L 1 ]. Adding to this layer of the vector a, we obtain the following matrices L (1) 1, L(2) 1 and L (3) 1, respectively: 0 0 3 2 0 3 0 1 0 2 1 0 1 1 2 3 2 2 1 0, 1 2 1 0 2 1 2 3, 1 3 0 1 2 0 3 2. 3 3 0 1 3 0 3 2 3 1 2 3

On q-ary optimal equitable symbol weight codes 13/20 Example Show how to reconstruct the first nontrivial layer of the matrix K: [ L1 L 1 L 1 ]. Adding to this layer of the vector a, we obtain the following matrices L (1) 1, L(2) 1 and L (3) 1, respectively: 0 0 3 2 0 3 0 1 0 2 1 0 1 1 2 3 2 2 1 0, 1 2 1 0 2 1 2 3, 1 3 0 1 2 0 3 2. 3 3 0 1 3 0 3 2 3 1 2 3 Chose the row (0 0 3 2) of the first matrix L (1) 1.

On q-ary optimal equitable symbol weight codes 13/20 Example Show how to reconstruct the first nontrivial layer of the matrix K: [ L1 L 1 L 1 ]. Adding to this layer of the vector a, we obtain the following matrices L (1) 1, L(2) 1 and L (3) 1, respectively: 0 0 3 2 0 3 0 1 0 2 1 0 1 1 2 3 2 2 1 0, 1 2 1 0 2 1 2 3, 1 3 0 1 2 0 3 2. 3 3 0 1 3 0 3 2 3 1 2 3 Chose the row (0 0 3 2) of the first matrix L (1) 1. This choice uniquely implies the choice of the row (2 1 2 3) of the second matrix L (2) 1 and the choice of the row (1 3 0 1) of the third matrix L (3) 1.

On q-ary optimal equitable symbol weight codes 13/20 Example Show how to reconstruct the first nontrivial layer of the matrix K: [ L1 L 1 L 1 ]. Adding to this layer of the vector a, we obtain the following matrices L (1) 1, L(2) 1 and L (3) 1, respectively: 0 0 3 2 0 3 0 1 0 2 1 0 1 1 2 3 2 2 1 0, 1 2 1 0 2 1 2 3, 1 3 0 1 2 0 3 2. 3 3 0 1 3 0 3 2 3 1 2 3 Chose the row (0 0 3 2) of the first matrix L (1) 1. This choice uniquely implies the choice of the row (2 1 2 3) of the second matrix L (2) 1 and the choice of the row (1 3 0 1) of the third matrix L (3) 1. As a result we obtain the vector (0 0 3 2, 2 1 2 3, 1 3 0 1) which has an equitable symbol weight.

On q-ary optimal equitable symbol weight codes 14/20 Example Continuing in this way we obtain the optimal equitable symbol weight equidistant 4-ary code with parameters (1) (n = 4 2 1 = 15, M = 4 2 = 16, d = 4(4 1) = 12), whose all codewords look as follows: 0 1 1 1 0 2 2 2 0 3 3 3 0 1 2 1 0 0 0 1 3 3 3 1 2 2 2 0 1 2 2 3 3 3 2 0 0 0 2 1 1 1 0 1 2 3 2 2 2 3 1 1 1 3 0 0 0 0 1 2 0 0 3 2 2 1 2 3 1 3 0 1 1 2 3 1 1 2 3 3 0 3 2 0 2 1 0 1 2 3 2 2 1 0 0 3 0 1 3 1 2 3 1 2 3 3 3 0 1 1 2 1 0 2 0 3 2 1 2 3 0 3 2 0 2 2 3 1 1 0 1 3 2 3 0 1 2 3 1 3 3 2 0 0 1 0 2 2 3 0 2 1 0 2 0 0 1 3 3 2 3 1 2 3 0 3 0 1 3 1 1 0 2 2 3 2 0 2 3 0 0 2 0 3 2 3 1 2 1 1 3 0 3 0 1

On q-ary optimal equitable symbol weight codes 15/20 Codes from difference matrices For construction of codes with parameters (2) recall the definition of difference matrix D(n, q).

On q-ary optimal equitable symbol weight codes 15/20 Codes from difference matrices For construction of codes with parameters (2) recall the definition of difference matrix D(n, q). Assume that the alphabet Q is an additive abelian group with neutral element 0.

On q-ary optimal equitable symbol weight codes 15/20 Codes from difference matrices For construction of codes with parameters (2) recall the definition of difference matrix D(n, q). Assume that the alphabet Q is an additive abelian group with neutral element 0. Definition 2. Call the matrix D(n, q) of size n n over Q by the difference matrix, if the difference of any two its rows contains every symbol of the alphabet Q exactly n/q times.

On q-ary optimal equitable symbol weight codes 16/20 Codes from difference matrices Main result 2 Theorem 2. Let integer numbers q 2 and n be such that there exists a difference matrix D(n, q) over the alphabet Q. Then there exists an optimal equitable symbol weight q-ary code with parameters n, M = q(n 1), d = (q 1)n/q.

On q-ary optimal equitable symbol weight codes 17/20 Codes from difference matrices Without loss of generality assume that the difference matrix D(n, q) contains a zero word (0, 0,..., 0). Then clearly all other rows contain every symbol exactly n/q times.

On q-ary optimal equitable symbol weight codes 17/20 Codes from difference matrices Without loss of generality assume that the difference matrix D(n, q) contains a zero word (0, 0,..., 0). Then clearly all other rows contain every symbol exactly n/q times. There are n 1 such rows and the pairwise distance d between any two different rows equals d = n q 1 q according to definiton of a difference matrix. Adding all these rows with vectors of length n (0,..., 0), (1,..., 1),..., (q 1,..., q 1), we obtain all together q(n 1) vectors, which form our code.

On q-ary optimal equitable symbol weight codes 17/20 Codes from difference matrices Without loss of generality assume that the difference matrix D(n, q) contains a zero word (0, 0,..., 0). Then clearly all other rows contain every symbol exactly n/q times. There are n 1 such rows and the pairwise distance d between any two different rows equals d = n q 1 q according to definiton of a difference matrix. Adding all these rows with vectors of length n (0,..., 0), (1,..., 1),..., (q 1,..., q 1), we obtain all together q(n 1) vectors, which form our code. This construction was used in (Bassalygo-Dodunekov-Helleseth-Zinoviev, 2006) for construction of q-ary analog of binary codes, meeting the Gray-Rankin bound.

On q-ary optimal equitable symbol weight codes 18/20 Codes from difference matrices It is easy to see that this code is equitable symbol weight with two pairwise distances (q 1)n/q and n (Semakov-Zaitzev-Zinoviev, 1969).

On q-ary optimal equitable symbol weight codes 18/20 Codes from difference matrices It is easy to see that this code is equitable symbol weight with two pairwise distances (q 1)n/q and n (Semakov-Zaitzev-Zinoviev, 1969). Since every codeword has the same weight w = (q 1)n/q, the number of codewords is less or equal to A q (n, d, w), i.e. maximal possible number of codewords of length n, distance d on sphere of radius w.

On q-ary optimal equitable symbol weight codes 19/20 Codes from difference matrices Further and A q (n, d, w) q A q (n 1, d, w) A q (n 1, (q 1)n/q, (q 1)n/q) n 1, where the last inequality follows from the following (Johnson type) bound for q-ary constant weight codes (Bassalygo, 1965): ( ) 1 1 q dn A q (n, d, w) ( ). w 2 1 1 q (2w d)n Therefore the constructed code is optimal as equitable symbol weight code of length n with distance d = (q 1)n/q (but it is not optimal as a code of length n even with the same two distances (Bassalygo-Dodunekov-Zinoviev-Helleseth, 2006)).

On q-ary optimal equitable symbol weight codes 20/20 Codes from difference matrices From Theorem 2 and the results of (Semakov-Zaitzev-Zinoviev, 1969) such optimal equitable symbol weight codes with parameters n, M = q(n 1), d = (q 1)n/q. exist for any n = p a and q = p b, where p is a prime, and a and b, a > b 1 are any positive integers.