Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. In mathematics,
in the areas of combinatorics and computer science, a Lyndon word is a
string that is strictly smaller in lexicographic order than all of its
rotations. Lyndon words are named after mathematician Roger Lyndon, who
introduced them in 1954, calling them standard lexicographic sequences.
A k-ary Lyndon word of length n is an n-character string over an
alphabet of size k, and which is the minimum element in the
lexicographical ordering of all its rotations. Being the singularly
smallest rotation implies that a Lyndon word differs from any of its
non-trivial rotations, and is therefore aperiodic.