Skip to main content

Computing k-th Lyndon Word and Decoding Lexicographically Minimal de Bruijn Sequence

  • Conference paper
Combinatorial Pattern Matching (CPM 2014)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 8486))

Included in the following conference series:

Abstract

Let Σ be a finite ordered alphabet. We present polynomial-time algorithms for computing the k-th in the lexicographic order Lyndon word of a given length n over Σ and counting Lyndon words of length n that are smaller than a given word. We also use the connections between Lyndon words and minimal de Bruijn sequences (theorem of Fredricksen and Maiorana) to develop the first polynomial time algorithm for decoding minimal de Bruijn sequence of any rank n (it determines the position of an arbitrary word of length n within the de Bruijn sequence). Our tools mostly rely on combinatorics on words and automata theory.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Bonomo, S., Mantaci, S., Restivo, A., Rosone, G., Sciortino, M.: Suffixes, conjugates and Lyndon words. In: Béal, M.-P., Carton, O. (eds.) DLT 2013. LNCS, vol. 7907, pp. 131–142. Springer, Heidelberg (2013)

    Chapter  Google Scholar 

  2. Crochemore, M., Iliopoulos, C.S., Kubica, M., Radoszewski, J., Rytter, W., Waleń, T.: Extracting powers and periods in a word from its runs structure. Theor. Comput. Sci. (2013), doi:10.1016/j.tcs.2013.11.018

    Google Scholar 

  3. Crochemore, M., Rytter, W.: Text Algorithms. Oxford University Press (1994)

    Google Scholar 

  4. Duval, J.-P.: Génération d’une section des classes de conjugaison et arbre des mots de Lyndon de longueur bornée. Theor. Comput. Sci. 60, 255–283 (1988)

    Article  MATH  MathSciNet  Google Scholar 

  5. Chung, R.G.F., Diaconis, P.: Universal cycles for combinatorial structures. Discrete Mathematics 110, 43–59 (1992)

    Article  MATH  MathSciNet  Google Scholar 

  6. Fredricksen, H., Kessler, I.J.: An algorithm for generating necklaces of beads in two colors. Discrete Mathematics 61(2-3), 181–188 (1986)

    Article  MATH  MathSciNet  Google Scholar 

  7. Fredricksen, H., Maiorana, J.: Necklaces of beads in k colors and k-ary de Bruijn sequences. Discrete Mathematics 23(3), 207–210 (1978)

    Article  MATH  MathSciNet  Google Scholar 

  8. Hin Au, Y.: Shortest sequences containing primitive words and powers. ArXiv e-prints (April 2009)

    Google Scholar 

  9. Knuth, D.E.: The Art of Computer Programming, vol. 4, Fascicle 2. Addison-Wesley (2005)

    Google Scholar 

  10. Lothaire, M.: Combinatorics on Words. Addison-Wesley, Reading (1983)

    MATH  Google Scholar 

  11. Mitchell, C.J., Etzion, T., Paterson, K.G.: A method for constructing decodable de Bruijn sequences. IEEE Transactions on Information Theory 42(5), 1472–1478 (1996)

    Article  MATH  MathSciNet  Google Scholar 

  12. Mucha, M.: Lyndon words and short superstrings. In: Khanna, S. (ed.) SODA, pp. 958–972. SIAM (2013)

    Google Scholar 

  13. Radoszewski, J.: Generation of lexicographically minimal de Bruijn sequences with prime words. Master’s thesis, University of Warsaw (2008) (in Polish)

    Google Scholar 

  14. Ruskey, F., Savage, C.D., Wang, T.M.Y.: Generating necklaces. J. Algorithms 13(3), 414–430 (1992)

    Article  MATH  MathSciNet  Google Scholar 

  15. Tuliani, J.: De Bruijn sequences with efficient decoding algorithms. Discrete Mathematics 226(1-3), 313–336 (2001)

    Article  MATH  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Springer International Publishing Switzerland

About this paper

Cite this paper

Kociumaka, T., Radoszewski, J., Rytter, W. (2014). Computing k-th Lyndon Word and Decoding Lexicographically Minimal de Bruijn Sequence. In: Kulikov, A.S., Kuznetsov, S.O., Pevzner, P. (eds) Combinatorial Pattern Matching. CPM 2014. Lecture Notes in Computer Science, vol 8486. Springer, Cham. https://doi.org/10.1007/978-3-319-07566-2_21

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-07566-2_21

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-07565-5

  • Online ISBN: 978-3-319-07566-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics