Circular String

A circular string or necklace is a string formed from a linear string x 𝑥 x formed by indexing x 𝑥 x by the modulus of | x | 𝑥 |x| .

To study a circular string x 𝑥 x we study every rotation of the underlying linear string of x 𝑥 x .

Canonical forms

The canonical form of a circular string is the lexicographically least rotation R j ( x ) subscript 𝑅 𝑗 𝑥 R_{j}(x) . See Lyndon Words.

The canonical form of $aba$ is $aab$.