Next Article in Journal
Modulated Memory Network for Video Object Segmentation
Previous Article in Journal
Simple Moment Generating Function Optimisation Technique to Design Optimum Electronic Filter for Underwater Wireless Optical Communication Receiver
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

The Mass Formula for Self-Orthogonal and Self-Dual Codes over a Non-Unitary Non-Commutative Ring

1
Research Group of Algebraic Structures and Applications, Department of Mathematics, Faculty of Science, King Abdulaziz University, Jeddah 21589, Saudi Arabia
2
Department of Mathematics, Faculty of Science, University of Hail, Hail 55431, Saudi Arabia
3
Institute of Mathematics, University of the Philippines-Diliman, Quezon City 1101, Philippines
4
I2M, (CNRS, University of Aix-Marseille, Centrale Marseille), 13009 Marseilles, France
*
Author to whom correspondence should be addressed.
Mathematics 2024, 12(6), 862; https://doi.org/10.3390/math12060862
Submission received: 20 November 2023 / Revised: 1 January 2024 / Accepted: 5 January 2024 / Published: 15 March 2024
(This article belongs to the Section Algebra, Geometry and Topology)

Abstract

:
In this paper, we derive a mass formula for the self-orthogonal codes and self-dual codes over a non-commutative non-unitary ring, namely, E p = a , b | p a = p b = 0 , a 2 = a , b 2 = b , a b = a , b a = b , where a b and p is any odd prime. We also give a classification of self-orthogonal codes and self-dual codes over E p , where p = 3 , 5 , and 7, in short lengths.

1. Introduction

Mass formulas serve as important tools for classifying self-dual codes over finite fields [1,2,3,4,5] and unitary rings [6,7,8,9,10,11]. When generating nonequivalent self-dual codes, mass formulas serve as terminating flags for the computing effort. Recently, this methodology was extended to the non-unitary ring I, in the terminology of [12], where quasi self-dual codes, a special class of self-orthogonal codes, serve as the central objects for classification [13,14]. Even more recently, a satisfying definition of self-dual codes for non-unitary non commutative rings was introduced in [15]. It is the intersection of the right dual with the left dual. Thus, a non-commutative ring leads to three types of self-dual codes: left self-dual, right self-dual and self-dual.
In the present note, we present mass formulas for self-orthogonal codes, self-dual codes, and left self-dual codes over the non-commutative non-unitary ring of order p 2 , for p an odd prime, and type E in the classification of Fine [12]. This ring is henceforth denoted by E p . We apply them to the classification of these codes when p = 3 , 5 , 7 in short lengths. The proof techniques combine self-dual mass formula over finite field, and linear algebra over the ring E 3 which is reminiscent of that on chain rings of depth 2 [9,10].
The content is organized in the following manner: Section 2 introduces essential preliminary concepts and notations necessary for comprehending the remainder of the paper. In Section 3, the framework of linear codes over E p is established. Section 4 elaborates on the mass formulas. Section 5 is dedicated to the classification in short lengths for fixed types. Finally, Section 6 serves as the conclusion of the article.

2. Preliminaries

2.1. Codes over F p

Let p be an odd prime number. A linear code C of length n and dimension k over a finite field F p is an F p -subspace of the vector space F p n of dimension k . Compactly, we call C an [ n , k ] -code. The elements of a code are called codewords . Two codewords x = ( x 1 , x 2 , , x n ) and y = ( y 1 , y 2 , , y n ) are orthogonal if their standard inner product ( x , y ) = i = 1 n x i y i is zero, and the vector space consisting of all vectors in F p n that are orthogonal to every codeword in C is called the dual of C , denoted by C . C is said to be self-orthogonal (resp. self-dual) if C C (resp. C = C ).

2.2. Additive Codes over F p 2

Let ω be a primitive element in F p 2 , so that ω has order r = p 2 1 and ω t 1 0 t r . Then F p 2 = { 0 , 1 , ω , ω 2 , , ω r 1 } . The trace map , T r : F p 2 F p , is defined by T r ( u ) = u + u p . An additive code of length n over F p 2 is F p -additive subgroup of F p 2 n containing p k codewords for some integer k in the range 0 k 2 n .

2.3. The Ring E p

Following [12], we define a ring on two distinct generators a , b by their relations
E p = a , b p a = p b = 0 , a 2 = a , b 2 = b , a b = a , b a = b .
Thus, E p consists of p 2 elements and has characteristic p. We also define a natural action of F p on E p by the rule r x = x r , for all r E p and for all x F p .
Lemma 1. 
The ring E p does not contain a unity element.
Proof. 
Assume, by contradiction, that there is a unique element e in E p such that e u = u e = u for every 0 u E p . Since E p is generated by a and b, e can be written as
e = a i + b j , for some 0 i , j p 1 .
Choose u = a . By assumption,
( a i + b j ) a = a ( a i + b j ) = a ,
which implies e = a . Also, choose u = a + b . Then
a ( a + b ) = a 2 + a b = a + a = 2 a a + b .
So a is not the unity of E p , which leads to an inconsistency. Therefore, E p is a non-unital ring. □
From the ring representation of E p and Lemma 1, E p is a non-commutative ring without multiplicative identity. Moreover, E p contains a unique maximal ideal
J p = { e x y | e x y = a x + b y with x + y 0 ( mod p ) where 0 x , y < p } = e = a b .
Thus, we can write E p as
E p = c x y = a x + e y | x , y F p .
Define the reduction map modulo J p as α : E p E p / J p F p by α ( a x + e y ) = x where 0 x < p . This map can be extended in the natural way from E p n to F p n .

3. Codes over E p

A linear code  C of length n over E p , or simply an E p -code, is a one-sided E p -submodule of E p n . We denote the (Hamming) weight of x E p n by w t ( x ) and adapt the notation
[ < 0 , 1 > , · · · , < i , A i > , · · · , < n , A n > ] ,
where A i is the number of codewords of Hamming weight i, for the weight distribution of a code over E p as in Magma [16]. The inner product between two vectors x = ( x 1 , , x n ) , y = ( y 1 , , y n ) E p n is defined as ( x , y ) = i = 1 n x i y i . For an E p -code C, the right dual of C , defined as
C R = { y E p n | x C , ( x , y ) = 0 } ,
is a right module of E p n , while the left dual of C , defined as
C L = { y E p n | x C , ( y , x ) = 0 } ,
is a left module of E p n . The two-sided dual of C is C = C R C L . The code C is said to be self-orthogonal if every a codeword in C is orthogonal to every codeword in C , that is, C C . If C = C R (resp. C = C L ) then C is right self-dual (RSD) (resp. left self-dual (LSD)). If C = C , then C is self-dual (SD).
Using the map ϕ : E p F p 2 defined as
ϕ ( 0 ) = 0 , ϕ ( a ) = ω , and ϕ ( b ) = ω + 1 ,
we can attach to an E p -code C an additive F p 2 -code ϕ ( C ) = { ( ϕ ( c 1 ) , ϕ ( c 2 ) , , ϕ ( c ) n ) ( c 1 , c 2 , , c n ) C } . It can be easily seen that T r ( ϕ ( u ) ) = α ( u ) for all u E p .
Lemma 2. 
(i)
For any positive integer n, there exist a self-orthogonal code over E p of length n.
(ii)
For any odd prime p, there is a left self-orthogonal code ( C C L ) over E p .
Proof. 
(i)
Consider J p as linear code over E p of length 1. To prove the self-orthogonality of J p , for all ( a i + b j ) , ( a i + b j ) J p , we have that
( a i + b j , a i + b j ) = a ( ( i + j ) i ) + b ( ( i + j ) j ) ,
( a i + b j , a i + b j ) = a ( ( i + j ) i ) + b ( ( i + j ) j ) .
Since ( a i + b j ) , ( a i + b j ) J p , it follows that, i + j 0 and i + j 0 (mod p). Then, J p J p R J p L = J p . Taking the direct sum of n copies of this code yields a self-orthogonal code of any length n.
(ii)
Let p be a prime and let 1 p denote the all-one codeword of length p. The repetition code of length p is then defined by R p = { u ( 1 p ) | u E p } . Clearly R p is a linear code over E p . Since E p has characteristic p, then we have that R p R p L .
Let C be linear code over E p . We define the residue code of C as
res ( C ) = { x F p n | y F p n such that a x + e y C } .
and the torsion code of C as
tor ( C ) = { y F p n | e y C } .
From Equation (2), we have res ( C ) = T r ( ϕ ( C ) ) and tor ( C ) is the subfield subcode of ϕ ( C ) defined by ϕ ( C ) F p n . Let α C be the restriction of α to C . We have that e tor ( C ) = K e r α C , and that res ( C ) = I m α C . Let dim ( res ( C ) ) = k 1 and k 2 = dim ( tor ( C ) ) k 1 . We say that C is linear code of type { k 1 , k 2 } . It can be seen that C is free as an E p -module if and only if res ( C ) = tor ( C ) . By the first isomorphism theorem applied to α C we have | C | = p 2 k 1 + k 2 .
In Theorem 1, we will extend a few results from [15,17] by simply substituting codes over F p for binary codes in the proofs.
Theorem 1. 
Suppose C is a linear code over E p . Let k 1 , k 2 , n be non-negative integers with k 1 + k 2 n . Then the following hold:
(i)
Every linear code C over E p of length n and type { k 1 , k 2 } is equivalent to a code with generator matrix in standard form
a I k 1 a A + e B 0 e Z
where I k 1 is the identity matrix, the matrices A, B and Z have entries from F p .
(ii)
a res ( C ) C and res ( C ) tor ( C ) .
(iii)
C = a res ( C ) e tor ( C )
(iv)
C R = a tor ( C ) e F p n .
(v)
C L = a res ( C ) e res ( C ) .
(vi)
C = a tor ( C ) e res ( C ) .
If G is a k × n matrix over E p , we denote by E p k G the code of length n over E p with generator matrix G.
Next, we make a modification on the construction of self-orthogonal codes, (left or right) self-dual codes, and self-dual codes in [15], to be suitable for an odd prime p.
Theorem 2. 
If C = a C 1 e C 2 is a linear code over E p such that C 1 and C 2 be arbitrary linear codes over F p , then
(i)
C is a self-orthogonal code if and only if C 1 C 2 C 1 ;
(ii)
C is a self-dual if and only if C 1 C 2 = C 1 ;
(iii)
C is a left self-dual if and only if C 1 = C 2 = C 1 ;
(iv)
C is a right self-dual if and only if C = e F p n .
Proof. 
First, we will prove that C 1 = res ( C ) and C 2 = tor ( C ) . Observe that C 1 = α ( a C 1 ) res ( C ) . Let x res ( C ) . Then a x + e 0 C , so x C 1 , thus, we have res ( C ) = C 1 . Now, e C 2 C , so by definition of torsion code, C 2 is a subset of tor ( C ) . Let y tor ( C ) . Since the zero vector is in C 1 , e y = a 0 + e y C . Therefore, y C 2 .
(i)
Let C be a self-orthogonal code. Note that C 1 C 2 . Suppose that z C 2 . Since C is self-orthogonal, for all a x + e y C , we have
0 = ( a x + e y , e z ) = e ( x , z ) .
Hence C 2 C 1 . Conversely, to prove the self-orthogonality of C , for all x , x C 1 and for all y , y C 2 we have
( c , c ) = ( a x + e y , a x + e y ) = a ( x , x ) + 0 ( x , y ) + e ( y , x ) + 0 ( y , y ) = a ( 0 ) + 0 + e ( 0 ) + 0 = 0 ,
since C 1 C 2 C 1 .
(ii)
Let C be a self-dual code. Then from the preceding case, C 1 C 2 C 1 . Now, let x C 1 be arbitrary. From Theorem 1 (vi), we have e x C . Hence, x tor ( C ) = C 2 . It follows that C 2 = C 1 . For the converse, suppose that C 1 C 2 = C 1 . From the preceding case, we have C C . Since | C | = p 2 k 1 + k 2 and C 2 = C 1 , p k 1 + ( n k 1 ) = p n . It follows that C = C .
(iii)
C is left self-dual code if and only if C 1 = C 1 = C 2 , by Theorem 1 (iii) and (v).
(iv)
C is right self-dual code if and only if C 1 = C 2 (by Theorem 1 (iii) and (iv)). Equivalently, we have C 1 = ( C 2 ) = C 2 = F p n if and only if C 1 = { 0 } if and only if C = e F p n .

4. Computation of the Mass Formula

At the start, we define the notion of equivalence of codes. Two codes C and C over E p are monomially equivalent if there is an n × n monomial matrix M (with exactly one entry { 1 , 1 } in each row and column and all other entries are zero) such that C = { c M : c C } . The monomial automorphism group A u t ( C ) of code C consists of all M such that C = C M . Let M n be the signed symmetric group of order | M n | = 2 n n ! . The number of codes equivalent to a code C of length n is
| M n | | A u t ( C ) | .
The mass formula for self-orthogonal codes is given by
C | M n | | A u t ( C ) | ,
where the sum runs through all inequivalent self-orthogonal codes C over E p of length n.
We apply a similar approach to that used for the computation of a mass formula in [7]. Let C 1 be a code over F p of length n with dimension k 1 and generator matrix
I k 1 A ,
and C 2 be a code over F p of length n with dimension k 1 + k 2 and generator matrix
I k 1 A 0 Z ,
where A M k 1 × ( n k 1 ) ( F p ) , and Z M k 2 × ( n k 1 ) ( F p ) is of full row rank. Observe that C 1 C 2 , and the code with generator matrix (3) has residue code C 1 and torsion code C 2 .
We need the following lemmas to count the number free self-orthogonal E p -codes.
Lemma 3. 
If C is a free E p -code of length n, then the matrix B in Theorem 1 (i) is unique.
Proof. 
Suppose C is a free code and there exist B 1 , B 2 M k 1 × ( n k 1 ) ( F p ) such that
E p k 1 [ a I k 1 a A + e B 1 ] = E p k 1 [ a I k 1 a A + e B 2 ] .
Then a A + e B 1 = a A + e B 2 . Hence, B 1 = B 2 . □
For the remainder of this section, assume that C 1 C 1 . Then
I k 1 + A A T = 0 ,
and
Z A T = 0 .
It follows from (7) that A is of full row rank.
Lemma 4. 
The map f A defined by
f A : M k 1 × m ( F p ) M k 1 × k 1 ( F p )
X A X T
is a surjective linear map.
Proof. 
Note that f A is a linear map by properties of matrix. To prove the surjective condition, choose an arbitrary matrix G in M k 1 × k 1 ( F p ) . Consider the matrix G T A in M k 1 × m ( F p ) . We have
f A ( G T A ) = A ( G T A ) T = A A T G = I k 1 ( G ) = G .
Now, let us consider the sets
X = { C | C be a self-orthogonal E p -code , with res ( C ) = C 1 = tor ( C ) } , X = { C | C be a self-orthogonal E p -code , with res ( C ) = C 1 , tor ( C ) = C 2 } .
Lemma 5. 
If C X , then | { C X | C C } | = p k 1 k 2 .
Proof. 
By Theorem 1 (i), C has a generator matrix (3). Consider the map
μ : M k 1 × k 2 ( F p ) { C X | C C }
M E p k 1 [ a I k 1 a A + e ( B + M Z ) ] .
Clearly, μ is well defined. Now, we will show that μ is bijective. Suppose M 1 , M 2 M k 1 × k 2 ( F p ) such that μ ( M 1 ) = μ ( M 2 ) . Then a A + e ( B + M 1 Z ) = a A + e ( B + M 2 Z ) . Since Z is of full row rank, we conclude M 1 = M 2 , which shows that μ is injective. Now, suppose that C X such that C C . By Theorem 1 (i), C = E p k 1 [ a I k 1 a A + e F ] , for some matrix F. The inclusion C C implies that
a A + e F = a A + e ( B + M Z )
for some matrix M of size k 1 × k 2 . So F = B + M Z , which shows that μ is surjective, and hence, μ is bijective. Therefore,
| { C X | C C } | = | M k 1 × k 2 ( F p ) | = p k 1 k 2 .
Lemma 6. 
If C X , then there is a unique code C X , such that C C .
Proof. 
By Theorem 1 (i) and Lemma 3, C has a generator matrix [ a I k 1 a A + e B ] for some unique matrix B. Then the code C 0 with a generator matrix
a I k 1 a A + e B 0 e Z
satisfies res ( C 0 ) = C 1 , and tor ( C 0 ) = C 2 . Since C X , (8) implies that C 0 is a self-orthogonal code, hence C 0 X . Now, suppose that C X and C C . By Theorem 1 (i), we have that E p k 2 [ 0   e Z ] C . This, together with C C forces C 0 C . Since | C 0 | = | C | , we have C 0 = C . □
Let σ p ( n , k 1 ) be the number of self-orthogonal codes of length n and dimension k 1 over F p , which is found in [18,19,20].
In [21], the number of subspaces of dimension k contained in an n-dimensional vector space over F p is given by the Gaussian coefficient j i p for i j , where
j i p = ( p j 1 ) ( p j p ) ( p j p i 1 ) ( p i 1 ) ( p i p ) ( p i p i 1 ) .
Let σ E p ( n , k 1 , k 2 ) be the number of distinct self-orthogonal codes over E p of length n. Mass formulas are useful for finding all inequivalent codes of given length. Our goal now is to compute σ E p ( n , k 1 , k 2 ) .
Theorem 3. 
For all codes of length n with type { k 1 , 0 } , the number of free self-orthogonal codes over E p is
σ E p ( n , k 1 , 0 ) = σ p ( n , k 1 ) p k 1 ( n 2 k 1 ) .
Proof. 
We may assume without loss of generality that C 1 is a code with generator matrix (4). If C is a self-orthogonal code of length n over E p of type { k 1 , 0 } , then by setting C 1 = res ( C ) = tor ( C ) , C 1 satisfies Theorem 2 (i). We have σ p ( n , k 1 ) codes C 1 , which is the number of self-orthogonal codes over F p . By Theorem 1 (i), C has generator matrix [ a I k 1 a A + e B ] . Finally, we have
a 2 I k 1 + a 2 A A T + a e A B T + e a B A T + e 2 B B T = 0 ,
so,
a ( I k 1 + A A T ) + e ( B A T ) = 0 .
Since C 1 C 1 , then I k 1 + A A T = 0 . Now, we have find the number of the matrix B which satisfies A B T = 0 . Setting m = n k 1 in the linear map f A in Lemma 4,
| { B M k 1 × n k 1 ( F p ) | A B T = 0 } | = | K e r f A | = | M k 1 × n k 1 ( F p ) | | I m f A | = p k 1 ( n k 1 ) p k 1 2 .
Example 1. 
We consider the case n = 3 , and p = 3 . In Table 1, we give the list of inequivalent self-orthogonal codes over the ring E 3 of type { 1 , 0 } . Using the mass formula in Theorem 3, we have the following computations:
i = 1 3 1 | A u t ( C i ) | = 1 12 + 1 6 = 4 · 3 1 ( 3 2 ) 48 = σ E 3 ( 3 , 1 , 0 ) 2 3 · 3 ! .
In the next theorem, we give the number of self-orthogonal codes over E p .
Theorem 4. 
The number of self-orthogonal codes over E p of length n with type { k 1 , k 2 } is given by
σ E p ( n , k 1 , k 2 ) = σ p ( n , k 1 ) n 2 k 1 k 2 p p k 1 ( n 2 k 1 k 2 ) .
Proof. 
We may assume without loss of generality that C 1 and C 2 are codes with generator matrices (4) and (5), respectively. Let C be a self-orthogonal code of length n over E p of type { k 1 , k 2 } . By setting C 1 = res ( C ) and C 2 = tor ( C ) , C 1 and C 2 satisfy Theorem 2 (i). Then, there are σ p ( n , k 1 ) self-orthogonal codes C 1 and we have n 2 k 1 k 2 p codes C 2 such that C 1 C 2 C 1 . Now, we have to compute | X | . By Lemmas 5 and 6, we have
p k 1 k 2 | X | = C X | { C X | C C } | = C X | { C X | C C } | = C X 1 = | X | .
From Theorem 3, we have that | X | = p k 1 ( n 2 k 1 ) . Therefore, | X | = p k 1 ( n 2 k 1 k 2 ) . □
Remark 1. 
Let C be an E p -code of length n and of type { 0 , m } , where m n . Then C will be a self-orthogonal code. Furthermore, if m = n , then C will be self-dual.
The following results derive the mass formula for the SD codes and the LSD codes over E p , respectively.
Theorem 5. 
For a given integer n 2 we have the identity
C 1 | A u t ( C ) | = σ p ( n , k ) 2 n n ! ,
where C runs over distinct representatives of equivalence classes under monomial action of SD E p -codes of length n and type { k , n 2 k } .
Proof. 
From Theorem 2 (ii), the number of SD E p -codes depends on the number of self-orthogonal codes over F p , and tor ( C ) = res ( C ) . □
Example 2. 
We consider the case n = 3 , and p = 3 . In Table 1, we give the list of inequivalent self-orthogonal codes over E 3 of type { 1 , 1 } . Using the mass formula in Theorem 5, we make the following computations,
i = 1 1 | A u t ( C i ) | = 1 12 = σ E 3 ( 3 , 1 , 1 ) 48 = σ 3 ( 3 , 1 ) 48 .
Corollary 1. 
For a given even integer n 2 , we have the identity
C 1 | A u t ( C ) | = σ p ( n , n / 2 ) 2 n n ! ,
where C runs over distinct representatives of equivalence classes under monomial action of left SD E p -codes of length n and type { n / 2 , 0 } .
Proof. 
From Theorem 2 (iii), the number of left self-dual E p -codes depends on the number of self-dual codes over F p , with tor ( C ) = res ( C ) . Thus, the result follows. □
Proposition 1. 
For all codes C of length n, there is a unique right self-dual E p -code.
Proof. 
The result follows from Theorem 2 (iv), where C = e F p n is the unique code. □

5. Classification

We classify self-orthogonal codes and self-dual codes of length n 4 with given residue of dimension k 1 = 0 , 1 , 2 , where p = 3 , 5 . Also, we classify self-orthogonal codes and self-dual codes of length n 3 with given residue of dimension k 1 = 0 , 1 , where p = 7 using the building method discussed in Theorem 2. To carry out the the classification, we represent codes over E p by their associated additive codes over F p 2 under the mapping ϕ defined in (2), and considered the action of the group of monomial matrices (with 1 and 1 as nonzero entries) to directly calculate the automorphism group. These calculations are performed using MAGMA [16]. See Table 1, Table 2 and Table 3 for a summary of our results for p = 3 , 5 , 7 , respectively.

6. Conclusions and Open Problems

In this paper, we have given a mass formula to classify certain self-orthogonal codes over the non-unitary non-commutative ring E p , with p an odd prime. Particularly, we were considering the two main cases of classification self-orthogonal codes, and SD codes under monomial action. In the previous section, concrete classifications in short lengths are given. Extension of these results to higher lengths would require more programming or more computing power. Similar theoretical and experimental questions remain open for other non-unitary non-commutative rings in the Rhagavandran list [12,22] in an odd characteristic.

Author Contributions

Conceptualization, A.A. (Adel Alahmadi), R.A.B., L.G. and P.S.; methodology, A.A. (Adel Alahmadi), R.A.B., L.G. and P.S.; validation, A.A. (Adel Alahmadi), A.A. (Altaf Alshuhail), R.A.B., L.G. and P.S.; investigation, A.A. (Adel Alahmadi), A.A. (Altaf Alshuhail), R.A.B., L.G. and P.S.; resources, A.A. (Adel Alahmadi); writing—original draft preparation, A.A. (Adel Alahmadi), A.A. (Altaf Alshuhail) and P.S.; writing—review and editing, R.A.B. and L.G.; supervision, A.A. (Adel Alahmadi) and P.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by The Deanship of Scientific Research (DSR) at King Abdulaziz University (KAU), Jeddah, Saudi Arabia, under grant no. (KEP.-PhD: 99-130-1443).

Data Availability Statement

Data are available upon request to the corresponding author.

Acknowledgments

The Deanship of Scientific Research (DSR) at King Abdulaziz University (KAU), Jeddah, Saudi Arabia has funded this project, under grant no. (KEP.-PhD: 99-130-1443).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Conway, J.H.; Pless, V. On the enumeration of self-dual codes. J. Comb. Theory Ser. A 1980, 28, 26–53. [Google Scholar] [CrossRef]
  2. Huffman, W.C.; Pless, V. Fundamentals of Error-Correcting Codes; Cambridge University Press: Cambridge, MA, USA, 2003. [Google Scholar]
  3. Leon, J.S.; Pless, V.; Sloane, N.J.A. Self-dual codes over GF(5). J. Comb. Theory Ser. A 1982, 32, 178–194. [Google Scholar] [CrossRef]
  4. Mallows, C.L.; Pless, V.; Sloane, N.J.A. Self-dual codes over GF(3). SIAM J. Appl. Math. 1976, 31, 649–666. [Google Scholar] [CrossRef]
  5. Rains, E.M.; Sloane, N.J.A. Self-dual codes, Chapter 3. In Handbook of Coding Theory, I; Pless, V.S., Hufman, W.C., Eds.; Elsevier: North Holland, The Netherlands, 1998. [Google Scholar]
  6. Balmaceda, J.M.; Betty, R.A.; Nemenzo, F. Mass formula for self-dual codes over Z p 2 . Discret. Math. 2008, 308, 2984–3002. [Google Scholar] [CrossRef]
  7. Betty, R.A.; Munemasa, A. Mass formula for self-orthogonal codes over Z p 2 . J. Comb. Inf. Syst. Sci. 2009, 34, 51–66. [Google Scholar]
  8. Choi, W.-H. Mass formula of self-dual codes over galois rings GR(p2,2). Korean J. Math. 2016, 24, 751–764. [Google Scholar] [CrossRef]
  9. Gaborit, P. Mass formulas for self-dual codes over Z 4 and Fq + uFq rings. IEEE Trans. Inf. Theory 1996, 42, 1222–1228. [Google Scholar] [CrossRef]
  10. Dougherty, S.T.; Gaborit, P.; Harada, M.; Solé, P. Type II codes over F 2 + u F 2 . IEEE Trans. Inf. Theory 1999, 45, 32–45. [Google Scholar] [CrossRef]
  11. Fields, J.; Gaborit, P.; Leon, J.; Pless, V. All self-dual Z 4 codes of length 15 or less are known. IEEE Trans. Inf. Theory 1998, 44, 311–322. [Google Scholar] [CrossRef]
  12. Fine, B. Classification of finite rings of order p2. Math. Mag. 1993, 66, 248–252. [Google Scholar] [CrossRef]
  13. Alahmadi, A.; Alshuhail, A.; Betty, R.A.; Galvez, L.; Solé, P. Mass formula for self-orthogonal and self-dual codes over non-unital rings of order four. Mathematics 2023, 11, 4736. [Google Scholar] [CrossRef]
  14. Alahmadi, A.; Altassan, A.; Basaffar, W.; Bonnecaze, A.; Shoaib, H.; Solé, P. Quasi type IV codes over a non-unital ring. Appl. Algebra Eng. Commun. Comput. 2021, 32, 217–228. [Google Scholar] [CrossRef]
  15. Alahmadi, A.; Melaibari, A.; Solé, P. Duality of codes over non-unital rings of order four. IEEE Access 2023, 11, 53120–53133. [Google Scholar] [CrossRef]
  16. Bosma, W.; Cannon, J.; Playoust, C. The Magma algebra system. I. The user language. J. Symb. Comput. 1997, 24, 235–265. [Google Scholar] [CrossRef]
  17. Alahmadi, A.; Altassan, A.; Basaffar, W.; Shoaib, H.; Bonnecaze, A.; Solé, P. Type IV codes over a non-unital ring. J. Algebra Its Appl. 2022, 21, 2250142. [Google Scholar] [CrossRef]
  18. Kim, K.H.; Park, Y.H. The mass formula of self-orthogonal codes over GF(q). Korean J. Math. 2017, 25, 201–209. [Google Scholar]
  19. Pless, V. Number of isotropic subspaces in a finite geometry. Atti Della Accad. Naz. Dei Lincei-Rend.-Cl. Sci.-Fis.-Mat. Nat. 1965, 39, 418–421. [Google Scholar]
  20. Pless, V. On the uniqueness of the golay codes. J. Comb. Theory 1968, 5, 215–228. [Google Scholar] [CrossRef]
  21. Van Lint, J.; Wilson, R. A Course in Combinatorics, 2nd ed.; Cambridge University Press: Cambridge, UK, 2001. [Google Scholar]
  22. Raghavendran, R. A class of finite rings. Compos. Math. 1970, 22, 49–57. [Google Scholar]
Table 1. Self-orthogonal codes of length n 4 over E 3 .
Table 1. Self-orthogonal codes of length n 4 over E 3 .
LengthTypeGenerator Matrices | Aut ( C ) | Weight DistributionRSD CodeLSD CodeSD Code
1 { 0 , 1 } ( e ) 2[<0, 1>, <1, 2>]
2 { 0 , 1 } e 0 4[<0, 1>, <1, 2>]
{ 0 , 2 } e I 2 8[<0, 1>, <1, 4>, <2, 4>]
3 { 1 , 0 } a a a 12[<0, 1>, <3, 8>]
a c 11 c 12 6[<0, 1>, <3, 8>]
{ 0 , 1 } e 0 0 16[<0, 1>, <1, 2>]
{ 0 , 2 } e 0 0 0 e 0 16[<0, 1>, <1, 4>, <2, 4>]
{ 0 , 3 } e I 3 48[<0, 1>, <1, 6>, <2, 12>, <3, 8>]
{ 1 , 1 } a a a 0 2 e e 12[<0, 1>, <2, 6>, <3, 20>]
4 { 1 , 0 } a a a 0 24[<0, 1>, <3, 8>]
a c 11 c 12 0 12[<0, 1>, <3, 8>]
a a a e 12[<0, 1>, <3, 8>]
a c 11 c 12 e 6[<0, 1>, <3, 2>, <4, 6>]
{ 2 , 0 } a 0 2 a 2 a 0 a 2 a a 48[<0, 1>, <3, 32>, <4, 48>]
{ 0 , 1 } e 0 0 0 96[<0, 1>, <1, 2>]
{ 0 , 2 } e 0 0 0 0 e 0 0 64[<0, 1>, <1, 4>, <2, 4>]
{ 0 , 3 } e 0 0 0 0 e 0 0 0 0 e 0 96[<0, 1>, <1, 6>, <2, 12>, <3, 8>]
{ 0 , 4 } e I 4 384[<0, 1>, <1, 8>, <2, 24>, <3, 32>, <4, 16>]
Table 2. Self-orthogonal codes of length n 4 over E 5 .
Table 2. Self-orthogonal codes of length n 4 over E 5 .
LengthTypeGenerator Matrices | Aut ( C ) | Weight DistributionRSD CodeLSD CodeSD Code
1 { 0 , 1 } ( e ) 2[<0, 1>, <1, 4>]
2 { 0 , 1 } ( e 0 ) 4[<0, 1>, <1, 4>]
{ 0 , 2 } e I 2 8[<0, 1>, <1, 8>, <2, 16>]
{ 1 , 0 } a 2 a 4[<0, 1>, <2, 24>]
3 { 0 , 1 } e 0 0 16[<0, 1>, <1, 4>]
{ 0 , 2 } e I 2 0 16[<0, 1>, <1, 8>, <2, 16>]
{ 0 , 3 } e I 3 48[<0, 1>, <1, 12>, <2, 48>, <3, 64>]
{ 1 , 0 } a 2 a 0 8[<0, 1>, <2, 24>]
a 2 a e 2[<0, 1>, <2, 4>, <3, 20>]
{ 1 , 1 } a 0 2 a 0 e 0 8[<0, 1>, <1, 4>, <2, 24>, <3, 96>]
4 { 1 , 0 } a 2 a 0 0 32[<0, 1>, <2, 24>]
a a 2 a 2 a 16[<0, 1>, <4, 24>]
a 2 a e 0 4[<0, 1>, <2, 4>, <3, 20>]
a 2 a e e 4[<0, 1>, <2, 4>, <3, 20>]
a c 11 c 21 c 21 4[<0, 1>, <4, 24>]
a c 14 c 22 c 21 2[<0, 1>, <4, 24>]
a c 12 c 22 c 22 4[<0, 1>, <4, 24>]
a c 13 2 a c 21 4[<0, 1>, <4, 24>]
a c 11 2 a c 22 4[<0, 1>, <4, 24>]
a 2 a e 2 e 4[<0, 1>, <2, 4>, <4, 20>]
{ 2 , 0 } a 0 2 a 0 0 a 0 2 a 32[<0, 1>, <2, 48>, <4, 576>]
Table 3. Self-orthogonal codes of length n 3 over E 7 .
Table 3. Self-orthogonal codes of length n 3 over E 7 .
LengthTypeGenerator Matrices | Aut ( C ) | Weight DistributionRSD CodeLSD CodeSD Code
1 { 0 , 1 } ( e ) 2[<0, 1>, <1, 6>]
2 { 0 , 1 } ( e 0 ) 4[<0, 1>, <1, 6>]
{ 0 , 2 } e I 2 8[<0, 1>, <1, 12>, <2, 36>]
3 { 0 , 1 } e 0 0 16[<0, 1>, <1, 6>]
{ 0 , 2 } e 0 0 0 e 0 16[<0, 1>, <1, 12>, <2, 36>]
{ 0 , 3 } e I 3 48[<0, 1>, <1, 18>, <2, 108>, <3, 216>]
{ 1 , 0 } a 2 a 3 a 6[<0, 1>, <3, 48>]
2 a b c 35 2[<0, 1>, <3, 48>]
4 a 6 b c 53 2[<0, 1>, <3, 48>]
{ 1 , 1 } a 2 a 3 a 0 e 4 e 6[<0, 1>, <2, 18>, <3, 324>]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Alahmadi, A.; Alshuhail, A.; Betty, R.A.; Galvez, L.; Solé, P. The Mass Formula for Self-Orthogonal and Self-Dual Codes over a Non-Unitary Non-Commutative Ring. Mathematics 2024, 12, 862. https://doi.org/10.3390/math12060862

AMA Style

Alahmadi A, Alshuhail A, Betty RA, Galvez L, Solé P. The Mass Formula for Self-Orthogonal and Self-Dual Codes over a Non-Unitary Non-Commutative Ring. Mathematics. 2024; 12(6):862. https://doi.org/10.3390/math12060862

Chicago/Turabian Style

Alahmadi, Adel, Altaf Alshuhail, Rowena Alma Betty, Lucky Galvez, and Patrick Solé. 2024. "The Mass Formula for Self-Orthogonal and Self-Dual Codes over a Non-Unitary Non-Commutative Ring" Mathematics 12, no. 6: 862. https://doi.org/10.3390/math12060862

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop