An alphabet is a nonempty finite set such that every string formed by elements of can be decomposed uniquely into elements of .
For example,
is not a valid alphabet because the string can be broken up in two ways:
b lo g and
bl og.
is a valid alphabet, because there is only one way to fully break up any given string formed from it.
If is our alphabet and
, we define the following as the powers of :