The characteristic series of a variable-length code
is the formal sum of its words.
Multiplication of such series uses concatenation.
The empty word is represented by 1, and
is the sum of the letters of the finite alphabet
. A code is maximal if no further word
can be added while preserving unique decipherability.
Reutenauer (1985) proved that a finite set of nonempty words is a finite maximal
code if and only if
for noncommutative polynomials
and
with integer coefficients. The
factorization conjecture of Schützenberger asks whether in every such case the
coefficients can all be chosen to be 0 or 1.
A code is nondense if some word occurs in none of its codewords as a contiguous factor. For a nondense maximal code, Reutenauer
(1985) asked whether the same identity holds with formal series and
having bounded coefficients and nondense supports. When the
code is a regular language, he also asked whether the two series can be chosen rational.