In information theory, a block code is a code which encodes strings formed from an alphabet set
into code words by encoding each letter of
separately. Let
be a sequence of natural numbers each less than
. If
and a particular word
is written as
, then the code word corresponding to
, namely
, is
.