, and ternary
, and
quadratic residue codes and the corresponding extended codes. These distances are
, and
, respectively, for the nonextended codes and are increased by one for the respective extended codes. We also characterize the minimum weight codewords for the
binary code and its extended counterpart.