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.

0

Turn this paper into a full lesson

ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…