Skip to Main content Skip to Navigation
Journal articles

Gray code order for Lyndon words

Abstract : At the 4th Conference on Combinatorics on Words, Christophe Reutenauer posed the question of whether the dual reflected order yields a Gray code on the Lyndon family. In this paper we give a positive answer. More precisely, we present an O(1)-average-time algorithm for generating length n binary pre-necklaces, necklaces and Lyndon words in Gray code order.
Document type :
Journal articles
Complete list of metadata

Cited literature [24 references]  Display  Hide  Download
Contributor : Service Ist Inria Sophia Antipolis-Méditerranée / I3s Connect in order to contact the contributor
Submitted on : Wednesday, March 26, 2014 - 5:01:32 PM
Last modification on : Friday, May 20, 2022 - 9:06:05 AM
Long-term archiving on: : Thursday, June 26, 2014 - 12:00:24 PM


Files produced by the author(s)



Vincent Vajnovszki. Gray code order for Lyndon words. Discrete Mathematics and Theoretical Computer Science, DMTCS, 2007, Vol. 9 no. 2 (2), pp.145--151. ⟨10.46298/dmtcs.393⟩. ⟨hal-00966527⟩



Record views


Files downloads