### 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 *ps* over the finite field **F***pa*. Negacyclic codes of length *ps* are precisely the ideals of the chain ring **F***pa *[*x*] / 〈*xp^s*+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.