arXiv · 2405.17812
Lyndon pairs and the lexicographically greatest perfect necklace
Abstract
Fix a finite alphabet. A necklace is a circular word. For positive integers $n$ and~$k$, a necklace is $(n,k)$-perfect if all words of length $n$ occur $k$ times but at positions with different congruence modulo $k$, for any convention of the starting position. We define the notion of a Lyndon pair and we use it to construct the lexicographically greatest $(n,k)$-perfect necklace, for any $n$ and $k$ such that $n$ divides~$k$ or $k$ divides~$n$. Our construction generalizes Fredricksen and Maiorana's construction of the lexicographically greatest de Bruijn sequence of order $n$, based on the concatenation of the Lyndon words whose length divide $n$.
Explore related subjects
Keep this discovery
Verónica Becher, Tomás Tropea. 2024-05-28. Lyndon pairs and the lexicographically greatest perfect necklace. https://doi.org/10.2140/cnt.2024.13.361
Cite the original work for its findings. Save a collection to share your selection of sources.