arxiv: v1 [cs.it] 25 Mar 2016

Similar documents
On Skew Cyclic and Quasi-cyclic Codes Over F 2 + uf 2 + u 2 F 2

Z 4 [u]/ u 2 1 Based on the deletion distance

Linear, Cyclic and Constacyclic Codes over S 4 = F 2 + uf 2 + u 2 F 2 + u 3 F 2

+ μf 3. + υf 3. Quantum codes from cyclic codes over F 3. + μυ F 3. Journal of Physics: Conference Series. Recent citations PAPER OPEN ACCESS

Lifted Polynomials Over F 16 and Their Applications to DNA Codes

arxiv: v4 [cs.it] 26 Apr 2015

On DNA Codes using the Ring Z 4 +wz 4

Skew Cyclic Codes Of Arbitrary Length

The Homogeneous Weight for R k, Related Gray Map and New Binary Quasi-Cyclic Codes

ON QUANTUM CODES FROM CYCLIC CODES OVER A CLASS OF NONCHAIN RINGS

Skew Cyclic and Quasi-Cyclic Codes of Arbitrary Length over Galois Rings

Construction of Cyclic Codes over F 2 +uf 2 for DNA Computing

arxiv: v1 [cs.it] 27 Dec 2018

Repeated Root Constacyclic Codes of Length mp s over F p r +uf p r +...+u e 1 F p r

Some Open Problems on Quasi-Twisted and Related Code Constructions and Good Quaternary Codes

3. Coding theory 3.1. Basic concepts

7.1 Definitions and Generator Polynomials

Codes over an infinite family of algebras

Self-dual Repeated Root Cyclic and Negacyclic Codes over Finite Fields

Skew-Cyclic Codes over B k

On Linear Codes over a non-chain extension of Z 4

Nonlinear Cyclic Codes over Z 4 whose Nechaev-Gray Images are Binary Linear Cyclic Codes

Linear and Cyclic Codes over direct product of Finite Chain Rings

: Error Correcting Codes. November 2017 Lecture 2

Chapter 3. Rings. The basic commutative rings in mathematics are the integers Z, the. Examples

Rings in Coding Theory

ELG 5372 Error Control Coding. Lecture 12: Ideals in Rings and Algebraic Description of Cyclic Codes

MTH310 EXAM 2 REVIEW

Abstract Algebra: Chapters 16 and 17

Matrix-Product Complementary dual Codes

NEW DNA CYCLIC CODES OVER RINGS

Algebra Review 2. 1 Fields. A field is an extension of the concept of a group.

Isodual Cyclic Codes of rate 1/2 over GF(5)

Repeated-Root Self-Dual Negacyclic Codes over Finite Fields

EE 229B ERROR CONTROL CODING Spring 2005

Finite Fields and Their Applications

Linear Cyclic Codes. Polynomial Word 1 + x + x x 4 + x 5 + x x + x f(x) = q(x)h(x) + r(x),

ECEN 604: Channel Coding for Communications

Polynomials. Chapter 4

School of Mathematics and Statistics. MT5836 Galois Theory. Handout 0: Course Information

Negacyclic and Constacyclic codes over finite chain rings June 29, 2008

Cyclic codes: overview

Generator Matrix. Theorem 6: If the generator polynomial g(x) of C has degree n-k then C is an [n,k]-cyclic code. If g(x) = a 0. a 1 a n k 1.

Polynomial Rings. i=0

+ 1 3 x2 2x x3 + 3x 2 + 0x x x2 2x + 3 4

Outline. MSRI-UP 2009 Coding Theory Seminar, Week 2. The definition. Link to polynomials

Self-Dual Cyclic Codes

Finite Fields. Mike Reiter

A family Of Cyclic Codes Over Finite Chain Rings


be any ring homomorphism and let s S be any element of S. Then there is a unique ring homomorphism

Parity of the Number of Irreducible Factors for Composite Polynomials

Cyclic codes. Vahid Meghdadi Reference: Error Correction Coding by Todd K. Moon. February 2008

MDS and Self-dual Codes over Rings

Tensor Product of modules. MA499 Project II

Involution Palindrome DNA Languages

Left dihedral codes over Galois rings GR(p 2, m)

Rings. EE 387, Notes 7, Handout #10

THROUGH THE FIELDS AND FAR AWAY

Correlation of Binary Sequence Families Derived from Multiplicative Character of Finite Fields

Self-dual skew codes and factorization of skew polynomials

Skew Constacyclic Codes over Galois Rings

Coding Theory and Applications. Solved Exercises and Problems of Cyclic Codes. Enes Pasalic University of Primorska Koper, 2013

Duadic Codes over Finite Commutative Rings

MacWilliams Type identities for m-spotty Rosenbloom-Tsfasman weight enumerators over finite commutative Frobenius rings

Class Notes; Week 7, 2/26/2016

Moreover this binary operation satisfies the following properties

U + V = (U V ) (V U), UV = U V.

Chapter 6: Rational Expr., Eq., and Functions Lecture notes Math 1010

New Families of Triple Error Correcting Codes with BCH Parameters

CHAPTER I. Rings. Definition A ring R is a set with two binary operations, addition + and

Linear Cyclic Codes. Polynomial Word 1 + x + x x 4 + x 5 + x x + x

Θ S cyclic codes over A k

Chapter 6 Reed-Solomon Codes. 6.1 Finite Field Algebra 6.2 Reed-Solomon Codes 6.3 Syndrome Based Decoding 6.4 Curve-Fitting Based Decoding

Codes and Rings: Theory and Practice

A first step towards the skew duadic codes

Least Period of Linear Recurring Sequences over a Finite Field

Finite Fields. Saravanan Vijayakumaran Department of Electrical Engineering Indian Institute of Technology Bombay

Quasi-cyclic codes. Jay A. Wood. Algebra for Secure and Reliable Communications Modeling Morelia, Michoacán, Mexico October 12, 2012

55 Separable Extensions

Circulant Hadamard matrices as HFP-codes of type C 4n C 2. arxiv: v1 [math.co] 26 Nov 2017

ON SELF-DUAL CYCLIC CODES AND GENERALIZED SELF-DUAL CYCLIC CODES OVER FINITE FIELDS YAN JIA

Homework 7 Solutions to Selected Problems

Math 547, Exam 2 Information.

EE512: Error Control Coding

CHAPTER 14. Ideals and Factor Rings

Cyclic Codes and Self-Dual Codes Over

On the Algebraic Structure of Quasi-Cyclic Codes I: Finite Fields

Lecture Notes Math 371: Algebra (Fall 2006) by Nathanael Leedom Ackerman

LECTURE NOTES IN CRYPTOGRAPHY

Computing Higher Dimensional Digital Homotopy Groups

Math Midterm Solutions

THE GROUP OF UNITS OF SOME FINITE LOCAL RINGS I

March Algebra 2 Question 1. March Algebra 2 Question 1

where c R and the content of f is one. 1

Algebraic structures I

The Structure of Z 2 Z 2 s-additive Codes: Bounds on the Minimum Distance

Rings. Chapter 1. Definition 1.2. A commutative ring R is a ring in which multiplication is commutative. That is, ab = ba for all a, b R.

Characterization of 2 n -Periodic Binary Sequences with Fixed 2-error or 3-error Linear Complexity

120A LECTURE OUTLINES

Transcription:

arxiv:160502968v1 [csit] 25 Mar 2016 On cyclic DNA codes over the rings Z 4 +wz 4 and Z 4 +wz 4 +vz 4 +wvz 4 Abdullah Dertli a, Yasemin Cengellenmis b (a) Ondokuz Mayıs University, Faculty of Arts and Sciences, Mathematics Department, Samsun, Turkey abdullahdertli@gmailcom (b) Trakya University, Faculty of Arts and Sciences, Mathematics Department, Edirne, Turkey ycengellenmis@gmailcom March 12, 2018 Abstract The structures of cyclic DNA codes of odd length over the finite rings R = Z 4 + wz 4, w 2 = 2 and S = Z 4 + wz 4 + vz 4 + wvz 4,w 2 = 2,v 2 = v,wv = vw are studied The links between the elements of the rings R, S and 16 and 256 codons are established, respectively Cyclic codes of odd length over the finite ring R satisfies reverse complement constraint and cyclic codes of odd length over the finite ring S satisfy reverse constraint and reverse complement constraint are studied Binary images of the cyclic DNA codes over the finite rings R and S are determined Moreover, a family of DNA skew cyclic codes over R is constructed, its property of being reverse complement is studied 1 Introduction DNA is formed by the strands and each strands is sequence consists of four nucleotides ; adenine (A), guanine (G), thymine (T) and cytosine (C) Two strands of DNA are linked with Watson-Crick Complement This is as A = T, T = A, G = C, C = G For example if c = (ATCCG) then its complement is c = (TAGGC) A code is called DNA codes if it satisfies some or all of the following conditions; i) The Hamming contraint, for any two different codewords c 1,c 2 C, H(c 1,c 2 ) d ii) The reverse constraint, for any two different codewords c 1,c 2 C, H(c 1,c r 2 ) d 1

iii) The reverse complement constraint, for any two different codewords c 1,c 2 C, H(c 1,c rc 2 ) d iv) The fixed GC content constraint, for any codeword c C contains the some number of G and C element The purpose of the i-iii contraints is to avoid undesirable hybridization between different strands DNA computing were started by Leonhard Adleman in 1994, in [3] The special error correcting codes over some finite fields and finite rings with 4 n elements where n N were used for DNA computing applications In [12], the reversible codes over finite fields were studied, firstly It was shown that C = f(x) is reversible if and only if f(x) is a self reciprocal polynomial In [1], they developed the theory for constructing linear and additive cyclic codes of odd length over GF(4) In [13], they introduced a new family of polynomials which generates reversible codes over a finite field GF(16) In [2], the reversible cyclic codes of any length n over the ring Z 4 were studied A set of generators for cyclic codes over Z 4 with no restrictions on the length n was found In [17], cyclic DNA codes over the ring R = {0,1,u,1+u} where u 2 = 1 based on a similarity measure were constructed In [9], the codes over the ring F 2 + uf 2,u 2 = 0 were constructed for using in DNA computing applications I Siap et al consideredcyclic DNA codesoverthe finite ringf 2 [u]/ u 2 1 in[18] In[10],LiangandWangconsideredcyclicDNAcodesoverF 2 +uf 2,u 2 = 0YıldızandSiapstudiedcyclicDNAcodesoverF 2 [u]/ u 4 1 in[19] Bayram et al considered codes overthe finite ring F 4 +vf 4,v 2 = v in [3] Zhu and Chan studied cyclic DNA codes over the non-chain ring F 2 [u,v]/ u 2,v 2 v,uv vu in [20] In [5], Bemenni at al studied cyclic DNA codes over F 2 [u]/ u 6 Pattanayak et al considered cyclic DNA codes over the ring F 2 [u,v]/ < u 2 1,v 3 v,uv vu > in [15] Pattanayak and Singh studied cyclic DNA codes over the ring Z 4 +uz 4,u 2 = 0 in [14] J Gao et al studied the construction of cyclic DNA codes by cyclic codes overthe finite ring F 4 [u]/ u 2 +1, in [11] Also, the construction ofdna cyclic codes have been discussed by several authors in [7,8,16] We study families of DNA cyclic codes of the finite rings Z 4 +wz 4, w 2 = 2 and Z 4 + wz 4 +vz 4 + wvz 4,w 2 = 2,v 2 = v,wv = vw The rest of the paper is organized as follows In section 2, details about algebraic structure of the finite ring Z 4 +wz 4, w 2 = 2 are given We define a Gray map from R to Z 4 In section 3, cyclic codes of odd length over R satisfies the reverse complement constraint are determined In section 4, cyclic codes of odd length over S satisfy the reverse complement constraint and the reverse contraint are examined A linear code overs is represented by means of two linear codes over R In section 5, the binary image of cyclic DNA code over R is determined In section 6, the binary image of cyclic DNA code over S is determined In section 7, by using a non trivial automorphism, the DNA skew cyclic codes are introduced In section 8, the design of linear DNA code is presented 2

2 Preliminaries The algebraic structure of the finite ring R = Z 4 +wz 4, w 2 = 2 is given in [6] R is the commutative, characteristic 4 ring Z 4 + wz 4 = {a + wb : a,b Z 4 } with w 2 = 2 R can also be thought of as the quotient ring Z 4 [w]/ w 2 2 R is principal ideal ring with 16 elements and finite chain ring The units of the ring are 1,3,1+w,3+w,1+2w,1+3w,3+3w,3+2w and the non units are R has 4 ideals in all 0,2,w,2w,3w,2+w,2+2w,2+3w 0 = {0} 1 = 3 = 1+3w = = R w = {0,2,w,2w,3w,2+w,2+2w,2+3w} = 3w = 2+w = 2+3w 2w = {0,w} 2 = 2+2w = {0,2,2w,2+2w} Moreover R is Frobenious ring We define 0 2w 2 w R φ : R Z 2 4 φ(a+wb) = (a,b) This Gray map is extended component wise to φ : R n Z 2n 4 (α 1,α 2,,α n ) = (a 1,,a n,b 1,,b n ) where α i = a i +b i w with i = 1,2,,n φ is Z 4 module isomorphism A linear code C of length n over R is a R-submodule of R n An element of C is called a codeword A code of length n is cyclic if the code invariant under the automorphism σ which σ(c 0,c 1,,c n 1 ) = (c n 1,c 0,,c n 2 ) AcycliccodeoflengthnoverRcanbeidentifiedwithanidealinthequotient ring R[x]/ x n 1 via the R modul isomorphism R n R[x]/ x n 1 (c 0,c 1,,c n 1 ) c 0 +c 1 x++c n 1 x n 1 + x n 1 3

Theorem 1 Let C be a cyclic code in R[x]/ x n 1 Then there exists polynomials g(x),a(x) such that a(x) g(x) x n 1 and C = g(x),wa(x) The ring R[x]/ x n 1 is a principal ideal ring when n is odd So, if n is odd, then there exist s(x) R[x]/ x n 1 such that C = s(x) 3 The reversible complement codes over R In this section, we study cyclic code of odd length over R satisfies the reverse complement constraint Let {A, T, G, C} represent the DNA alphabet DNA occurs in sequences with represented by sequences of the DNA alphabet DNA code of length n is defined as a set of the codewords (x 0,x 1,,x n 1 ) where x i {A,T,G,C} These codewords must satisfy the four constraints which are mentioned in [20] Since the ring R is of cardinality 16, we define the map φ which gives a one to one correspondence between the elements of R and the 16 codons over the alphabet {A,T,G,C} 2 by using the Gray map as follows Elements Gray images DNA double pairs 0 (0, 0) AA 1 (1, 0) CA 2 (2, 0) GA 3 (3,0) TA w (0, 1) AC 2w (0, 2) AG 3w (0, 3) AT 1+w (1,1) CC 1+2w (1,2) CG 1+3w (1,3) CT 2+w (2,1) GC 2+2w (2,2) GG 2+3w (2,3) GT 3+w (3,1) TC 3+2w (3,2) TG 3+3w (3,3) TT The codons satisfy the Watson-Crick Complement Definition 2 For x = (x 0,x 1,,x n 1 ) R n, the vector (x n 1,x n 2,,x 1,x 0 ) is called the reverse of x and is denoted by x r A linear code C of length n over R is said to be reversible if x r C for every x C For x = (x 0,x 1,,x n 1 ) R n, the vector (x 0,x 1,,x n 1 ) is called the complement of x and is denoted by x c A linear code C of length n over R is said to be complement if x c C for every x C For x = (x 0,x 1,,x n 1 ) R n, the vector (x n 1,x n 2,,x 1,x 0 ) is called the reversible complement of x and is denoted by x rc A linear code C of length n over R is said to be reversible complement if x rc C for every x C 4

Definition 3 Let f(x) = a 0 + a 1 x + + a r x r with a r 0 be polynomial The reciprocal of f(x) is defined as f (x) = x r f( 1 x ) It is easy to see that degf (x) degf(x) and if a 0 0, then degf (x) = degf(x) f(x) is called a self reciprocal polynomial if there is a constant m such that f (x) = mf(x) Lemma 4 Let f(x),g(x) be polynomials in R[x] Suppose degf(x) degg(x) = m then, i) (f(x)g(x)) = f (x)g (x) ii) (f(x)+g(x)) = f (x)+x m g (x) Lemma 5 For any a R, we have a+a = 3+3w Lemma 6 If a {0,1,2,3}, then we have (3+3w) wa = wa Theorem 7 Let C = g(x),wa(x) be a cyclic code of odd length n over R If f(x) rc C for any f(x) C, then (1 + w)(1 + x+x 2 + + x n 1 ) C and there are two constants e,d Z 4 such that g (x) = eg(x) and a (x) = da(x) Proof Suppose that C = g(x),wa(x), where a(x) g(x) x n 1 Z 4 [x] Since (0,0,,0) C, then its reversible complement is also in C (0,0,,0) rc = (3+3w,3+3w,,3+3w) This vector corresponds of the polynomial = 3(1+w)(1,1,,1) C (3+3w)+(3+3w)x++(3+3w)x n 1 = (3+3w) xn 1 x 1 C Since 3 Z 4, then (1+w)(1+x++x n 1 ) C Let g(x) = g 0 +g 1 x++g r 1 x r 1 +g r x r Note that g(x) rc = (3+3w)+ (3+3w)x++(3+3w)x n r 2 +g r x n r 1 ++g 1 x n 2 +g 0 x n 1 C Since C is a linear code, then 3(1+w)(1+x+x 2 ++x n 1 ) g(x) rc C which implies that ((3+3w) g r )x n r 1 +((3+3w) g r 1 )x n r 2 ++((3+ 3w) g 0 )x n 1 C By using (3+3w) a = a, this implies that x n r 1 (g r +g r 1 x++g 0 x r ) = x n r 1 g (x) C Since g (x) C, this implies that g (x) = g(x)u(x)+wa(x)v(x) where u(x),v(x) Z 4 [x] Since g i Z 4 for i = 0,1,,r, we have that v(x) = 0 As degg (x) = degg(x), we have u(x) Z 4 Therefore there is a constant e Z 4 such that g (x) = eg(x) So, g(x) is a self reciprocal polynomial 5

Leta(x) = a 0 +a 1 x++a t x t Supposethatwa(x) = wa 0 +wa 1 x++wa t x t Then (wa(x)) rc = (3+3w)+(3+3w)x++wa t x n t 1 ++wa 1 x n 2 +wa 0 x n 1 C As (3+3w) xn 1 x 1 C and C is a linear code, then (wa(x)) rc +(3+3w) xn 1 x 1 C Hence, x n t 1 [( (wa t )+(3+3w))+( (wa t 1 )+(3+3w))x++( (wa 0 )+ (3+3w))x t ] By Lemma 6, we get x n t 1 (wa t +wa t 1 x++wa 0 x t ) x n t 1 wa (x) C Since wa (x) C, we have wa (x) = g(x)h(x)+wa(x)s(x) Since w doesn t appear in g(x), it follows that h(x) = 0 and a (x) = a(x)s(x) As dega (x) = dega(x), then s(x) Z 4 So, a(x) is a self reciprocal polynomial Theorem 8 Let C = g(x),wa(x) be a cyclic code of odd length n over R If (1+w)(1+x+x 2 ++x n 1 ) C and g(x),a(x) are self reciprocal polynomials, then c(x) rc C for any c(x) C Proof Since C = g(x),wa(x), for any c(x) C, there exist m(x) and n(x) in R[x] such that c(x) = g(x)m(x)+wa(x)n(x) By using Lemma 4, we have c (x) = (g(x)m(x)+wa(x)n(x)) = (g(x)m(x)) +x s (wa(x)n(x)) = g (x)m (x)+wa (x)(x s n (x)) Sinceg (x) = eg(x),a (x) = da(x), wehavec (x) = eg(x)m (x)+dwa(x)(x s n (x)) C So, c (x) C Let c(x) = c 0 +c 1 x++c t x t C Since C is a cyclic code, we get x n t 1 c(x) = c 0 x n t 1 +c 1 x n t ++c t x n 1 C Since (1+w)+(1+w)x++(1+w)x n 1 C and C is a linear code (1+w) xn 1 x 1 xn t 1 c(x) = (1+w) (1+w)x++( c 0 (1+w))x n t 1 ++( c t (1+w))x n 1 C By using a+(1+w) = a, this implies that This shows that (c (x)) rc C (1+w) +c 0 x n t 1 ++c t x n 1 C ((c (x)) rc ) = c t +c t 1 x++(3+3w)x n 1 Thiscorrespondsthisvector(c t,c t 1,,c 0,,0) Since(c (x) rc ) = (x n t 1 c(x)) rc, so c(x) rc C 6

4 The reversible and reversible complement codes over S Throughout this paper, S denotes the commutative ring Z 4 + wz 4 + vz 4 + wvz 4 = {b 1 + wb 2 + vb 3 + wvb 4 : b j Z 4,1 j 4} with w 2 = 2,v 2 = v,wv = vw, with characteristic 4 S can also be thought of as the quotient ring Z 4 [w,v]/ < w 2 2,v 2 v,wv vw > Let S = Z 4 +wz 4 +vz 4 +wvz 4, where w 2 = 2,v 2 = v,wv = vw = (Z 4 +wz 4 )+v(z 4 +wz 4 ), where w 2 = 2,v 2 = v,wv = vw = R+vR, where v 2 = v We define the Gray map φ 1 from S to R as follows φ 1 : S R 2 a+vb (a,b) where a,b R This Gray map is extended compenentwise to φ 1 : S n R 2n x = (x 1,,x n ) (a 1,,a n,b 1,,b n ) where x i = a i +vb i,a i,b i R for i = 1,2,,n In this section, we study cyclic codes of odd length n over S satisfy reverse and reverse complement constraint Since the ring S is of the cardinality 4 4, then we define the map φ 1 which gives a one to one correspondence between the element of S and the 256 codons over the alphabet {A,T,G,C} 4 by using the Gray map For example; 0 = 0+v0 φ 1 (0) = (0,0) AAAA 2wv = 0+v(2w) φ 1 (2wv) = (0,2w) AAAG 1+3v +3wv = 1+v(3+3w) φ 1 (1+v(3+3w)) = (1,3+3w) CATT Definition 9 Let A 1,A 2 be linear codes and A 1 A 2 = {(a 1,a 2 ) : a 1 A 1,a 2 A 2 } A 1 A 2 = {a 1 +a 2 : a 1 A 1,a 2 A 2 } Let C be a linear code of length n over S Define C 1 = {a : b R n,a+vb C} C 2 = {b : a R n,a+vb C} where C 1 and C 2 are linear codes over R of length n 7

Theorem 10 Let C be a linear code of length n over S Then φ 1 (C) = C 1 C 2 and C = C 1 C 2 Corollary 11 If φ 1 (C) = C 1 C 2, then C = vc 1 (1 v)c 2 Theorem 12 Let C = vc 1 (1 v)c 2 be a linear code of odd length n over S Then C is a cyclic code over S if and only if C 1,C 2 are cyclic codes over R Proof Let (a 1 0,a1 1,,a1 n 1 ) C 1,(a 2 0,a2 1,,a2 n 1 ) C 2 Assume that m i = va 1 i (1 v)a2 i for i = 0,1,2,,n 1 Then (m 0,m 1,,m n 1 ) C Since C is a cyclic code, it follows that (m n 1,m 0,m 1,,m n 2 ) C Note that (m n 1,m 0,,m n 2 ) = v(a 1 n 1,a1 0,,a1 n 2 ) (1 v)(a2 n 1,a2 0,,a2 n 2 ) Hence (a 1 n 1,a 1 0,,a 1 n 2) C 1,(a 2 n 1,a 2 0,,a 2 n 2) C 2 Therefore C 1,C 2 are cyclic codes over R Conversely,supposethatC 1,C 2 arecycliccodesoverr Let(m 0,m 1,,m n 1 ) C, wherem i = va 1 i (1 v)a2 i fori = 0,1,2,,n 1 Then (a1 n 1,a1 0,,a1 n 2 ) C 1,(a 2 n 1,a2 0,,a2 n 2 ) C 2 Notethat(m n 1,m 0,,m n 2 ) = v(a 1 n 1,a1 0,,a1 n 2 ) (1 v)(a 2 n 1,a 2 0,,a 2 n 2) C So, C is a cyclic code over S Theorem 13 Let C = vc 1 (1 v)c 2 be a linear code of odd length n over S Then C is reversible over S iff C 1,C 2 are reversible over R Proof Let C 1,C 2 be reversible codes For any b C,b = vb 1 + (1 v)b 2, where b 1 C 1,b 2 C 2 Since C 1 and C 2 are reversible, b r 1 C 1,b r 2 C 2 So, b r = vb r 1 +(1 v)br 2 C Hence C is reversible On the other hand, Let C be a reversible code over S So for any b = vb 1 +(1 v)b 2 C, where b 1 C 1,b 2 C 2, we get b r = vb r 1 +(1 v)br 2 C Let b r = vb r 1 +(1 v)br 2 = vs 1 +(1 v)s 2, where s 1 C 1,s 2 C 2 So C 1 and C 2 are reversible codes over R Lemma 14 For any c S, we have c+c = (3+3w)+v(3+3w) Lemma 15 For any a S, a+30 = 3a Theorem 16 Let C = vc 1 (1 v)c 2 be a cyclic code of odd length n over S Then C is reversible complement over S iff C is reversible over S and (0,0,,0) C Proof SinceC isreversiblecomplement, foranyc = (c 0,c 1,,c n 1 ) C,c rc = (c n 1,c n 2,,c 0 ) C Since C is a linear code, so (0,0,,0) C Since C is reversible complement, so (0,0,,0) C By using Lemma 15, we have 3c r = 3(c n 1,c n 2,,c 0 ) = (c n 1,c n 2,,c 0 )+3(0,0,,0) C So, for any c C, we have c r C On the other hand, let C be reversible So, for any c = (c 0,c 1,,c n 1 ) C,c r = (c n 1,c n 2,,c 0 ) C To show that C is reversible complement, for any c C, c rc = (c n 1,c n 2,,c 0 ) = 3(c n 1,c n 2,,c 0 )+(0,0,,0) C So, C is reversible complement 8

Lemma 17 For any a,b S, a+b = a+b 3(1+w)(1+v) Theorem 18 Let D 1 and D 2 be two reversible complement cyclic codes of length n over S Then D 1 +D 2 and D 1 D 2 are reversible complement cyclic codes Proof Let d 1 = (c 0,c 1,,c n 1 ) D 1,d 2 = (c 1 0,c1 1,,c1 n 1 ) D 2 Then, (d 1 +d 2 ) rc = = ((c n 1 +c 1 n 1 ),,(c 1 +c 1 1 ),(c 0 +c 1 0 ) ) (c n 1 +c 1 n 1 3(1+w)(1+v),,c 0 +c 1 0 3(1+w)(1+v) ) = (c n 1 3(1+w)(1+v),,c 0 3(1+w)(1+v))+ ( ) = d rc 1 3(1+w)(1+v) xn 1 +d rc 2 D 1 +D 2 x 1 ( ) c 1 n 1,,c1 0 This shows that D 1 +D 2 is reversible complement cyclic code It is clear that D 1 D 2 is reversible complement cyclic code 5 Binary images of cyclic DNA codes over R The2-adicexpansionofc Z 4 isc = α(c)+2β(c)suchthatα(c)+β(c)+γ(c) = 0 for all c Z 4 c α(c) β(c) γ(c) 0 0 0 0 1 1 0 1 2 0 1 1 3 1 1 0 The Gray map is given by for all c Z 4 in [14] Define Ψ : Z 4 Z 2 2 c Ψ(c) = (β(c),γ(c)) Ŏ : R Z2 4 a+bw Ŏ(a+wb) = Ψ(φ(a+wb)) = Ψ(a, b) = (β(a),γ(a),β(b),γ(b)) Let a+wb be any element of the ring R The Lee weight w L of the ring R is defined as follows w L (a+wb) = w L (a,b) where w L (a,b) described the usual Lee weight on Z 2 4 For any c 1,c 2 R the Lee distance d L is given by d L (c 1,c 2 ) = w L (c 1 c 2 ) 9

The Hamming distance d(c 1,c 2 ) between two codewords c 1 and c 2 is the Hamming weight of the codewords c 1 c 2 AA 0000 CA 0100 GA 1100 TA 1000 AC 0001 AG 0011 AT 0010 CC 0101 CG 0111 CT 0110 GC 1101 GG 1111 GT 1110 TC 1001 TG 1011 TT 1010 Lemma 19 The Gray map Ŏ is a distance preserving map from (Rn, Lee distance) to (Z 4n 2, Hamming distance) It is also Z 2 -linear Proof For c 1,c 2 R n, we have Ŏ(c 1 c 2 ) = Ŏ(c 1) Ŏ(c 2) So, d L (c 1,c 2 ) = w L (c 1 c 2 ) = w H (Ŏ(c 1 c 2 )) = w H (Ŏ(c 1) Ŏ(c 2)) = d H (Ŏ(c 1),Ŏ(c 2)) So, the Gray map Ŏ is distance preserving map For any c 1,c 2 R n,k 1,k 2 Z 2,we have Ŏ(k 1c 1 +k 2 c 2 ) = k 1 Ŏ(c 1 )+k 2 Ŏ(c 2 ) Thus, Ŏ is Z 2 -linear Proposition 20 Let σ be the cyclic shift of R n and υ be the 4-quasi-cyclic shift of Z2 4n Let Ŏ be the Gray map from Rn to Z2 4n Then Ŏσ = υŏ Proof Let c = (c 0,c 1,,c n 1 ) R n, we have c i = a 1i +wb 2i with a 1i,b 2i Z 4,0 i n 1 By applying the Gray map, we have ( ) β(a10 ),γ(a Ŏ(c) = 10 ),β(b 20 ),γ(b 20 ),β(a 11 ),γ(a 11 ),β(b 21 ),γ(b 21 ),, β(a 1n 1 ),γ(a 1n 1 ),β(b 2n 1 ),γ(b 2n 1 ) Hence υ(ŏ(c)) = ( β(a1n 1 ),γ(a 1n 1 ),β(b 2n 1 ),γ(b 2n 1 ),β(a 10 ),γ(a 10 ),β(b 20 ), γ(b 20 ),,β(a 1n 2 ),γ(a 1n 2 ),β(b 2n 2 ),γ(b 2n 2 ) On the other hand, σ(c) = (c n 1,c 0,c 1,,c n 2 ) We have ( β(a1n 1 ),γ(a Ŏ(σ(c)) = 1n 1 ),β(b 2n 1 ),γ(b 2n 1 ),β(a 10 ),γ(a 10 ), β(b 20 ),γ(b 20 ),,β(a 1n 2 ),γ(a 1n 2 ),β(b 2n 2 ),γ(b 2n 2 ) Therefore, Ŏσ = υŏ Theorem 21 If C is a cyclic DNA code of length n over R then Ŏ is a binary quasi-cyclic DNA code of length 4n with index 4 6 Binary image of cyclic DNA codes over S We define Ψ : S Z 4 4 a 0 +wa 1 +va 2 +wva 3 (a 0,a 1,a 2,a 3 ) ) ) 10

where a i Z 4 for i = 0,1,2,3 Now, we define Θ : S Z 8 2 a 0 +wa 1 +va 2 +wva 3 Θ(a 0 +wa 1 +va 2 +wva 3 ) = Ψ( Ψ(a 0 +wa 1 +va 2 +wva 3 )) = (β(a 0 ),γ(a 0 ),β(a 1 ),γ(a 1 ),β(a 2 ),γ(a 2 ),β(a 3 ),γ(a 3 )) where Ψ is the Gray map Z 4 to Z 2 2 Let a 0 + wa 1 + va 2 + wva 3 be any element of the ring S The Lee weight w L of the ring S is defined as w L (a 0 +wa 1 +va 2 +wva 3 ) = w L ((a 0,a 1,a 2,a 3 )) where w L ((a 0,a 1,a 2,a 3 )) described the usual Lee weight on Z 4 4 For anyc 1,c 2 S, the Lee distance d L is given by d L (c 1,c 2 ) = w L (c 1 c 2 ) The Hamming distance d(c 1,c 2 ) between two codewords c 1 and c 2 is the Hamming weight of the codewords c 1 c 2 Binary image of the codons; AAAA 00000000 AACA 00000100 AAGA 00001100 AAT A 00001000 Lemma 22 The Gray map Θ is a distance preserving map from (S n, Lee distance) to (Z 8n 2, Hamming distance) It is also Z 2-linear Proof It is proved as in the proof of Lemma 19 Proposition 23 Let σ be the cyclic shift of S n and υ be the 8-quasi-cyclic shift of Z2 8n Let Θ be the Gray map from S n to Z2 8n Then Θσ = υθ Proof It is proved as in the proof of Proposition 20 Theorem 24 If C is a cyclic DNA code of length n over S then Θ is a binary quasi-cyclic DNA code of length 8n with index 8 Proof Let C be a cyclic DNA code of length n over S So, σ(c) = C By using the Proposition 23, we have Θ(σ(C)) = υ(θ(c)) = Θ(C) Hence Θ(C) is a set of length 8n over the alphabet Z 2 which is a quasi-cyclic code of index 8 11

7 Skew cyclic DNA codes over R In [6], the skew codes over R were studied and the Gray images of them were determined We will use the non trivial automorphism in [6] For all a+wb R, it was defined by θ : R R a+wb a wb The ring R[x,θ] = {a 0 +a 1 x++a n 1 x n 1 : a i R,n N} is called skew polynomial ring It is non commutative ring The addition in the ring R[x,θ] is the usual polynomial and multiplication is defined as (ax i )(bx j ) = aθ i (b)x i+j The order of the automorphism θ is 2 The following a definition and three theorems are in [6] Definition 25 A subset C of R n is called a skew cyclic code of length n if C satisfies the following conditions, i) C is a submodule of R n, ii) If c = (c 0,c 1,,c n 1 ) C, then σ θ (c) = (θ(c n 1 ),θ(c 0 ),,θ(c n 2 )) C Let f(x) + x n 1 be an element in the set Ř n = R[x,θ]/ x n 1 and let r(x) R[x,θ] Define multiplication from left as follows, for any r(x) R[x,θ] r(x)(f(x) + x n 1 ) = r(x)f(x) + x n 1 Theorem 26 Řn is a left R[x,θ]-module where multiplication defined as in above Theorem 27 A code C over R of length n is a skew cyclic code if and only if C is a left R[x,θ]-submodule of the left R[x,θ]-module Řn Theorem 28 Let C be a skew cyclic code over R of length n and let f(x) be a polynomial in C of minimal degree If f(x) is monic polynomial, then C = f(x), where f(x) is a right divisor of x n 1 For all x R, we have θ(x)+θ(x) = 3 3w Theorem 29 Let C = f(x) be a skew cyclic code over R, where f(x) is a monic polynomial in C of minimal degree If C is reversible complement, the polynomial f(x) is self reciprocal and (3+3w) xn 1 x 1 C 12

Proof Let C = f(x) be a skew cyclic code over R, where f(x) is a monic polynomial in C Since (0,0,,0) C and C is reversible complement, we have ( 0,0,,0 ) = (3+3w,3+3w,,3+3w) C Let f(x) = 1+a 1 x++a t 1 x t 1 +x t Since C is reversible complement, we have f rc (x) C That is f rc (x) = (3+3w)+(3+3w)x++(3+3w)x n t 2 +(2+3w)x n t 1 + a t 1 x n t ++a 1 x n 2 +(2+3w)x n 1 Since C is a linear code, we have f rc (x) (3+3w) xn 1 x 1 C This implies that x n t 1 +(a t 1 (3+3w))x n t ++(a 1 (3+3w))x n 2 x n 1 C multiplying on the right by x t+1 n, we have 1+(a t 1 (3+3w))θ(1)x++(a 1 (3+3w))θ t 1 (1)x t 1 θ t (1)x t C By using a+a = 3+3w, we have 1 a t 1 x a t 2 x 2 a 1 x t 1 x t = 3f (x) C Since C = f(x), there exist q(x) R[x,θ] such that 3f (x) = q(x)f(x) Since degf(x) = degf (x), we have q(x) = 1 Since 3f (x) = f(x), we have f (x) = 3f(x) So, f(x) is self reciprocal Theorem 30 Let C = f(x) be a skew cyclic code over R, where f(x) is a monic polynomial in C of minimal degree If (3+3w) xn 1 x 1 C and f(x) is self reciprocal, then C is reversible complement Proof Let f(x) = 1+a 1 x++a t 1 x t 1 +x t be a monic polynomial of the minimal degree Let c(x) C So, c(x) = q(x)f(x), where q(x) R[x,θ] By using Lemma 4, we have c (x) = (q(x)f(x)) = q (x)f (x) Since f(x) is self reciprocal, so c (x) = q (x)ef(x), where e Z 4 \{0} Therefore c (x) C = f(x) Let c(x) = c 0 +c 1 x++c t x t C Since C is a cyclic code, we get c(x)x n t 1 = c 0 x n t 1 +c 1 x n t ++c t x n 1 C The vector correspond to this polynomial is (0,0,,0,c 0,c 1,,c t ) C Since (3+3w,3+3w,,3+3w) C and C linear, we have (3+3w,3+3w,,3+3w) (0,0,,0,c 0,c 1,,c t ) = (3+3w,,3+3w, By using a+a = 3+3w, we get (3+3w) c 0,,(3+3w) c t ) C (3+3w,3+3w,,3+3w,c 0,,c t ) C which is equal to (c(x) ) rc This shows that (c(x) ) rc = c(x) rc C 13

8 DNA codes over S Definition 31 Let f 1 and f 2 be polynomials with degf 1 = t 1,degf 2 = t 2 and both dividing x n 1 R Let m = min{n t 1,n t 2 } and f(x) = vf 1 (x)+(1 v)f 2 (x) over S The set L(f) is called a Γ-set where the automorphism Γ is defined as follows; Γ : S S a+wb+vc+wvd a+b+w(b+d) vc wvdc The set L(f) is defined as L(f) = {E 0,E 1,,E m 1 }, where { x E i = i f if i is even x i Γ(f) if i is odd L(f) generates a linear code C over S denoted by C = f Γ Let f(x) = a 0 +a 1 x++a t x t be over S and S-submodule generated by L(f) is generated by the following matrix L(f) = a 0 a 1 a 2 a t 0 0 0 Γ(a 0 ) Γ(a 1 ) Γ(a t ) 0 0 0 0 a 0 a 1 a t 0 0 0 0 0 Γ(a 0 ) Γ(a 1 ) Γ(a t ) 0 Theorem 32 Let f 1 and f 2 be self reciprocal polynomials dividing x n 1 over R with degree t 1 and t 2, respectively If f 1 = f 2, then f = vf 1 +(1 v)f 2 and L(f) = 256 m C = L(f) is a linear code over S and Θ(C) is a reversible DNA code Proof It is proved as in the proof of the Theorem 5 in [4] Corollary 33 Let f 1 and f 2 be self reciprocal polynomials dividing x n 1 over R and C = L(f) be a cyclic code over S If xn 1 x 1 C, then Θ(C) is a reversible complement DNA code Example 34 Let f 1 (x) = f 2 (x) = x 1 dividing x 7 1 over R Hence, C = vf 1 (x)+(1 v)f 2 (x) Γ = x 1 Γ is a Γ-linear code over S and Θ(C) is a reversible complement DNA code, because of xn 1 x 1 C 9 References [1] Abualrub T, GhrayebA, ZengX, Constructionof cyclic codes overgf(4) for DNA computing, J Franklin Institute, 343, 448-457, 2006 [2] Abualrub T, Siap I, Reversible quaternary cyclic codes, Proc of the 9th WSEAS Int Conference on Appl Math, Istanbul, 441-446, 2006 14

[3] Adleman L, Molecular computation of the solution to combinatorial problems, Science, 266, 1021-1024, 1994 [4] Bayram A, Oztas E, Siap I, Codes over F 4 + vf 4 and some DNA applications, Designs, Codes and Cryptography, DOI: 10107/s10623-015-0100-8, 2015 [5] Bennenni N, Guenda K, Mesnager S, New DNA cyclic codes over rings, arxiv: 150506263v1, 2015 [6] Dertli A, Cengellenmis Y, Eren S, On the codes over the Z 4 +wz 4 ; Self dual codes, Macwilliams identities, Cyclic, constacyclic and quasi-cyclic codes, their skew codes, Int J of Foundations of Computer Science, to be submitted, 2016 [7] Gaborit P, King O D, Linear construction for DNA codes, Theor Computer Science, 334, 99-113, 2005 [8] Guenda K, Gulliver T A, Sole P, On cyclic DNA codes, Proc, IEEE Int Symp Inform Theory, Istanbul, 121-125, 2013 [9] Guenda K, Gulliver T A, Construction of cyclic codes over F 2 + uf 2 for DNA computing, AAECC, 24, 445-459, 2013 [10] Liang J, Wang L, On cyclic DNA codes over F 2 +uf 2, J Appl Math Comput, DOI: 101007/s12190-015-0892-8, 2015 [11] Ma F, Yonglin C, Jian G, On cyclic DNA codes over F 4 [u]/ u 2 +1 [12] Massey J L, Reversible codes, Inf Control, 7, 369-380, 1964 [13] Oztas E S, Siap I, Lifted polynomials over F 16 and their applications to DNA codes, Filomat, 27, 459-466, 2013 [14]PattanayakS, SinghA K, OncyclicDNAcodesoverthe ringz 4 +uz 4, arxiv: 150802015, 2015 [15] Pattanayak S, Singh A K, Kumar P, DNA cyclic codes over the ring F 2 [u,v]/ u 2 1,v 3 v,uv vu, arxiv:151103937, 2015 [16] Pattanayak S, Singh A K, Construction of Cyclic DNA codes over the ring Z 4 [u]/ u 2 1 based on deletion distance, arxiv: 160304055v1, 2016 [17] Siap I, Abualrub T, Ghrayeb A, Cyclic DNA codes over the ring F 2 [u]/ ( u 2 1 ) based on the delition distance, J Franklin Institute, 346, 731-740, 2009 [18] Siap I, Abualrub T, Ghrayeb A, Similarity cyclic DNA codes over rings, IEEE, 978-1-4244-1748-3, 2008 [19] Yıldız B, Siap I, Cyclic DNA codes over the ring F 2 [u]/ ( u 4 1 ) and applications to DNA codes, Comput Math Appl, 63, 1169-1176, 2012 [20] Zhu S, Chen X, Cyclic DNA codes over F 2 +uf 2 +vf 2 +uvf 2, arxiv: 150807113v1, 2015 15