Abstract
We present a Knuth-like method for balancing q-ary
codewords, which is characterized by the absence of a prefix that
carries the information of the balancing index. Look-up tables
for coding and decoding the prefix are avoided. We also show
that this method can be extended to include error correction of
single channel errors.