Necklaces and Lyndon words in colexicographic and binary reflected Gray code order

Joe Sawada, Aaron Williams, Dennis Wong

Research output: Contribution to journalArticlepeer-review

5 Citations (Scopus)

Abstract

We present the first efficient algorithm to list necklaces, Lyndon words, or pseudo-necklaces of length n in colexicographic order. The algorithm has two interesting properties. First, it can be applied to construct a de Bruijn sequence of order n in O(1)-time per bit. Second, it can easily be modified to efficiently list necklaces, Lyndon words, or pseudo-necklaces of length n in binary reflected Gray code order.

Original languageEnglish
Pages (from-to)25-35
Number of pages11
JournalJournal of Discrete Algorithms
Volume46-47
DOIs
Publication statusPublished - Sept 2017

Keywords

  • De Bruijn sequence
  • Gray code
  • Lyndon word
  • Necklace
  • Pseudo-necklace

Fingerprint

Dive into the research topics of 'Necklaces and Lyndon words in colexicographic and binary reflected Gray code order'. Together they form a unique fingerprint.

Cite this