paper

Lyndon pairs and the lexicographically greatest perfect necklace

arXiv:2405.17812 · doi:10.2140/cnt.2024.13.361

Abstract

Fix a finite alphabet. A necklace is a circular word. For positive integers and~, a necklace is -perfect if all words of length occur times but at positions with different congruence modulo , for any convention of the starting position. We define the notion of a Lyndon pair and we use it to construct the lexicographically greatest -perfect necklace, for any and such that divides~ or divides~. Our construction generalizes Fredricksen and Maiorana's construction of the lexicographically greatest de Bruijn sequence of order , based on the concatenation of the Lyndon words whose length divide .