for a code of order
. Since the minimum-maximum distance is
for a code of order
, a class of minimum-maximum distance codes results. For an
linear code,
for
even and
for
odd. Maximum-distance codes are found useful in encoding the states of sequential circuits.