\magnification=\magstep1 \overfullrule4pt \voffset-1pc \def\qed{\nobreak\enskip\vbox{\hrule height5pt width 5pt depth 0pt}} \def\wt{\hskip4pt \hbox{wt}} \def\F{{\cal F}_2} \def\SS{{\cal S}} \def\E{{\cal E}} \def\C{{\cal C}} \def\Z{{\cal Z}} \def\D{{\cal D}} \def\H{{\cal H}} \def\ss{\scriptstyle} \def\wt{\hbox{\rm wt\thinspace}} \def\Rsigma{R^{\langle\sigma\rangle}} \newcount\NUM \NUM=0 \newcount\secno \secno=0 \def\sec#1.{\vskip12pt\global\advance\secno by 1\goodbreak{\noindent\secfont \number\secno. #1}\vskip 8pt} \def\procno{\global \advance \NUM by 1 \number\NUM} \long\def\proc#1.#2\endproc{\par\vskip6pt{\bf #1.}\kern4pt {\sl #2}\vskip6pt} \font\title=TimesB at 16 pt%TimeNRB at 16pt % \font\name=Times at 14pt%TimeNRR at 14pt % \font\secfont=TimesB at 14 truept%TimeNRB at 14truept% \ \vskip6pc \centerline{\title Construction of Self-Dual Binary Codes of Even Length} \vskip6pt \centerline{\name Gerald J. Janusz} \vskip4pt \centerline{\it University of Illinois at Urbana-Champaign} \vskip4pc {\leftskip3pc\rightskip3pc ABSTRACT: We use the algebra $\F[x]/(x^k-1)$, or equivalently the group algebra $\F[\langle X \rangle]$ of a cyclic group $\langle X \rangle$ of order $k$, and its automorphism that inverts $X$, to construct a family of self-orthogonal codes of length $k$. For even $k$, the codes are self-dual of Type I, while for odd $k$, they are maximal self-orthogonal codes which produce self-dual codes of length $k+1$. In case $k$ is divisible by 8, some of the codes have adjacent codes that are self-dual of Type II. We consider special cases of lengths 32, 34, 36 and 38. The construction produces (at least) 78 inequivalent codes with parameters $[34,17,6]$, 3 inequivalent extremal codes with parameters $[36,18,8]$ having the same weight enumerator, and 2 inequivalent extremal codes with parameters $[38,19,8]$ having the same weight enumerator. For the case $k=32$, it produces 13 (non-extremal) inequivalent codes with parameters $[32,16,6]$ having 3 different weight enumerators. \smallskip} \bigskip \sec Introduction. The study of cyclic codes is often placed as the study of ideals of the ring $R=\F[\langle X\rangle]$, the group algebra of a cyclic group $\langle X\rangle$ of order $k$ over the field $\F$ of two elements. A great deal of information is known about such codes [see MS, Chs. 7,8,9], especially in the case where the order of $X$ is an odd number. In this work, we study the ring $R$ (mainly with $k$ even) and use it to produce a number of noncyclic self-dual codes both of Type I and Type II (singly even and doubly even). In the specific cases $k=34$ we obtain many new codes; for $k=36$ we obtain three inequivalent extremal codes, at least two of which seem to be new; for $k=38$ we obtain two inequivalent extremal codes, one of which seems to be new. We also examine some of the (non extremal) codes at length 32 finding 13 inequivalent codes with parameters $[32,16,6]$. \vfill\eject \sec Notation and a description of some self-dual codes. Let $k$ be a positive integer with factorization $k=2^{\alpha}k_0$ for some $\alpha$ and some odd integer $k_0$. Let $$ R=R_k = {\F[x] \over (x^k-1)} $$ so that $R$ is a $k$-dimensional algebra over the field $\F$ of two elements. We write $X$ for the coset of $(x^k-1)$ containing $x$ so that $X^k=1$ and $ R=\F + \F\,X +\cdots+\F\,X^{k-1}. $ It will sometimes be useful to also regard $R$ as the group algebra of the cyclic group $\langle X \rangle$ of order $k$ over the field $\F$. In general, if $G$ and $H$ are finite groups and $\mu:G\to H$ is a homomorphism of groups, then there is a extension of $\mu$ to a homomorphism from the group algebra $\F[G]$ to the group algebra $\F[H]$ that agrees with $\mu$ on $G$ and is a homomorphism of rings. In particular the trivial homomorphism $\langle X \rangle\to 1$ induces the homomorphism $\epsilon: R\to \F$ called the {\bf augmentation} map. Since $\langle X \rangle$ has an automorphism that sends $X$ to $X^{-1}$, it has an extension to an algebra automorphism $\sigma$ of $R$ sending $X^i$ to its inverse $X^{-i}$. The group of units of $R$ is denoted by $U=U(R)$ or sometimes $U_k$. The subring consisting of all elements left fixed by $\sigma$ is $$ \Rsigma = \{ r\in R: \sigma(r)=r\}. $$ A convenient basis for $\Rsigma$ consists of the elements $$ f_0=1, f_i=X^i+X^{-i},\quad i=1,2,\ldots,{k\over 2}-1,\quad f_{k/2} = 1+X^{k/2} \eqno(1) $$ where, in case $k$ is odd, the last element is omitted and $i$ is restricted to $1\leq i\leq (k-1)/2$. We summarize these facts: \proc Proposition \procno . The dimension of $\Rsigma$ over $\F$ is $1+(k/2)$ if $k$ is even and $(k+1)/2$ is $k$ is odd. \endproc Let $\epsilon:R\longrightarrow \F$ be the augmentation map and let the weight $\wt(y)$ of an element $y\in R$ be the number of nonzero coefficients in the canonical representation of $y$ as a linear combination of powers of $X$. If $y=\sum a_iX^i$, then $$ \epsilon(y) =\sum a_i \equiv \wt(y) \pmod 2. $$ These remarks are used to prove the following. \proc Proposition \procno. Let $M$ be the set of elements of $R$ with even weight and $V$ the set of elements of $\Rsigma$ of even weight. Then: \item{i.} $M$ is the kernel of $\epsilon$ and is a maximal ideal of $R$; \item{ii.} $V$ is the kernel of $\epsilon$ restricted to $\Rsigma$ so $V$ is a maximal ideal of $\Rsigma$. \item{iii.}All units of $R$ have odd weight. \endproc The maximal ideal $V$ of $\Rsigma$ is $$ V= \sum_{i=1}^{k/2} \F\,f_i $$ with the $f_{k/2}$ omitted if $k$ is odd. \bigskip We view subspaces of $R$ as linear codes with the powers of $X$ as the canonical basis, the usual dot-product is given by the following rule: For $y=\sum a_i X^i$ and $z=\sum b_iX^i$, $$ y \cdot z = \sum a_ib_i. $$ To study properties of the dot product, we introduce the linear map $\rho:R\to \F$ defined by $$ \rho(X^i) =\cases{1&if $i=0$\cr 0& if $1\leq i 2.$\cr } $$ \endproc \smallskip \proc Corollary \procno. The number $n_{\alpha}$ of distinct codes $Vu$ is $$ n_{\alpha}=\cases{[U:U^{\langle\sigma\rangle}] & if $\alpha=1$\cr [U:U^{\langle\sigma\rangle}]/2 & if $\alpha \geq 2.$\cr} $$ \endproc Proof. We first show that a unit $u$ lies in $Stab(V)$ if and only if $V\cdot Tr(u)=0$. If $u\in U^{\langle\sigma\rangle}$ then $Tr(u)=0$ and $Vu=V$ because $V$ is an ideal of $\Rsigma$. Assume $u \not\in \Rsigma$ and $u\in Stab(V)$. Then $w=u+\sigma(u)=Tr(u) \neq 0$. For any $v\in V$ we have $c=vu\in V$ so that $c=\sigma(c)=\sigma(vu)$ and so $c=v\sigma(u)$. Taking sums yields $$ 0 = c+c= vu+v\sigma(u)=v Tr(u)=vw,\quad\hbox{and}\quad Vw=0. $$ Conversely suppose $u$ is a unit such that $VTr(u)=0$. Then for any $v\in V$ we have $$ v(u+\sigma(u))=0\quad\hbox{and}\quad vu = v\sigma(u) = \sigma(vu). $$ Thus $vu\in \Rsigma$. Moreover $\epsilon(vu)=\epsilon(v)\epsilon(u) = 0\cdot 1 = 0$ and so $vu$ has even weight. Thus $vu \in V$ (by Proposition 2), as required to prove the first point. For the second step, we determine the possibilities for $w=Tr(u)$ given that $Vw=0$. Assume $w\neq 0$. Since $X+X^{-1}\in V$, we have $(X+X^{-1})w=0$ and $X^2 w= w$. Let $$ g=1+X^2+X^4+\cdots +X^{k-2}, $$ Then $(X+X^{-1})g=0$ and the annihilator of $V$ is contained in the ideal $Rg$. Thus the only possibilities for $w$ are the elements in the set $Rg=\{0,g,Xg,g+Xg\}$. We exclude $0$ as a possibility. Moreover, since $w=u+\sigma(u)$, the coefficient of 1 in $w$ must equal 0. Thus the only choice is $$ w=Xg=X+X^3+X^5+\cdots+X^{k-1}. $$ So $w$ is unique; we need some of its properties. The primitive idempotent $e_1=1+Y+Y^2+\cdots+Y^{k_0-1}$ has the property $Ye_1=e_1$. Let us show $$w=(Z+Z^3+\cdots+Z^{2^{\alpha}-1})e_1.$$ When the right side is expanded, it equals a sum of $2^{\alpha-1}k_0=k/2$ terms $Z^jY^r$ with $j$ an odd integer $1\leq j\leq 2^{\alpha}-1$ and $0\leq r2$. In this case we need $Tr(q) = Z+Z^3+\cdots+Z^{2^{\alpha}-1}$ for a unit $q$ in $\F[Z]$. There is an obvious choice of $q$, namely the sum of the first half of the terms, $Z^i$, for odd $i$ up to $2^{\alpha-1}-1$ except that this sum is not a unit (it has weight $2^{\alpha-2}$). So we add 1 to make it a unit: $$ q=1+Z+Z^3+\cdots+Z^{2^{\alpha-1}-1}. $$ This element is a unit because its $2^{\alpha-1}$ power equals 1. Moreover it has the correct trace. Any other unit with the same trace has the form $h=q+c$ with $Tr(c)=0$. By the same argument used in the previous case, $c\in V$ and $q^{-1}c \in V$. Thus $h$ and $q$ lie in the same coset of $U^{\langle\sigma\rangle}$. Returning this to the full ring $R$ means that the additional generator for $Stab(V)$ is $qe_1+(1+e_1)=1+(1+q)e_1$ as stated in the conclusion. \qed \sec Neighbors of $Vu$. \vskip1pc Let $\C \subset \F^n$ be any self-dual code of length $n$. A {\it neighbor } of $\C$ is a code obtained by starting with some subcode $\H$ of codimension 1 in $\C$ and element $y \in \F^n$ that is not in $\C$ but is orthogonal to $\H$, and forming $\H+\F y$. This is a linear subcode of $\F^n$ and is self-dual if $y$ has even weight. In the special case where $\C$ is Type I and $\H$ is the subcode of $\C$ consisting of all elements with weight divisible by 4, we refer to the neighbors as {\it adjacent codes} of $\C$. We describe some neighbors of the self-dual codes $Vu$, assuming that $k$ is even. Let $\SS$ be any subset of $I=\{1,2,\ldots,-1+k/2\}$, allowing the empty set or $\SS = I$. Let $V_{\SS}$ be the subspace of $V$ with basis $b_i$, $1\leq i