Let
be the free monoid of finite words
on an alphabet
, including the empty word,
with concatenation as its operation. A finite monoidal
factorization of
is an ordered list of submonoids
such that every word in
has a unique expression
with
. Empty factors are allowed.
The factorization is free if each
is itself a free monoid. The
free generators of each factor then form a uniquely decipherable code
(Krob 1987).
Krob (1987) proved that the first two and last two factors of any finite monoidal factorization are free. Thus all factors are free when there are at most four. Krob asked whether a nonfree factor can occur when there are five or more factors.