### On the Linear Ordering of Some Classes of Negacyclic and Cyclic Codes and Their Distance Distributions

01/01/2008We investigate negacyclic and cyclic codes of length *p ^{s}* over the finite field

**F**

_{pa}. Negacyclic codes of length

*p*are precisely the ideals of the chain ring

^{s}**F**

_{pa }[

*x*] / 〈

*x*+1〉. This structure is then used to obtain the Hamming distance distribution of the class of such negacyclic codes, which also provides Hamming weight distributions and enumerations of several codes. An one-to-one correspondence between negacyclic and cyclic codes is established to carry accordingly those results of negacyclic codes to cyclic codes.

^{p^s}