Skip to main content

De Bruijn Sequences for the Binary Strings with Maximum Density

  • Conference paper
WALCOM: Algorithms and Computation (WALCOM 2011)

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

Included in the following conference series:

Abstract

A de Bruijn sequence is a circular binary string of length 2n that contains each binary string of length n exactly once as a substring. A maximum-density de Bruijn sequence is a circular binary string of length \(\binom{n}{0} + \binom{n}{1} + \binom{n}{2} + \cdots + \binom{n}{m}\) that contains each binary string of length n with density (number of 1s) between 0 and m, inclusively. In this paper we efficiently generate maximum-density de Bruijn sequences for all values of n and m. An interesting special case occurs when n = 2m + 1. In this case our result is a “complement-free de Bruijn sequence” since it is a circular binary string of length 2n − 1 that contains each binary string of length n or its complement exactly once as a substring.

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

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. Chung, F., Diaconis, P., Graham, R.: Universal cycles for combinatorial structures. Discrete Mathematics 110, 43–59 (1992)

    Article  MathSciNet  MATH  Google Scholar 

  2. de Bruijn, N.G.: A combinatorial problem. Koninkl. Nederl. Acad. Wetensch. Proc. Ser. A 49, 758–764 (1946)

    MATH  Google Scholar 

  3. de Bruijn, N.G.: Acknowledgement of priority to C. Flye Sainte-Marie on the counting of circular arrangements of 2n zeros and ones that show each n-letter word exactly once, T.H. Report 75-WSK-06, Technological University Eindhoven, 13 pages (1975)

    Google Scholar 

  4. Fredericksen, H., Maiorana, J.: Necklaces of beads in k colors and kary de Bruijn sequences. Discrete Mathematics 23(3), 207–210 (1978)

    Article  MathSciNet  MATH  Google Scholar 

  5. Fredericksen, H., Kessler, I.J.: An algorithm for generating necklaces of beads in two colors. Discrete Mathematics 61, 181–188 (1986)

    Article  MathSciNet  MATH  Google Scholar 

  6. Hartke, S.G.: Binary De Bruijn Cycles under Different Equivalence Relations. Discrete Mathematics 215, 93–102 (2000)

    Article  MathSciNet  MATH  Google Scholar 

  7. Hurlbert, G., Jackson, B., Stevens, B.(eds.): Generalisations of de Bruijn sequences and Gray codes. Discrete Mathematics 309, 5255–5348 (2009)

    Article  MathSciNet  MATH  Google Scholar 

  8. Knuth, D.E.: The Art of Computer Programming, Volume 4, Generating all tuples and permutations, Fascicle, vol. 2. Addison-Wesley, Reading (2005)

    MATH  Google Scholar 

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

    Article  MathSciNet  MATH  Google Scholar 

  10. Ruskey, F., Sawada, J., Williams, A.: Fixed-density de Bruijn sequences (submitted, 2010)

    Google Scholar 

  11. Ruskey, F., Sawada, J., Williams, A.: Binary bubble languages and cool-lex order (submitted, 2010)

    Google Scholar 

  12. Ruskey, F., Williams, A.: The coolest way to generate combinations. Discrete Mathematics 17(309), 5305–5320 (2009)

    Article  MathSciNet  MATH  Google Scholar 

  13. Sawada, J., Williams, A.: A Gray Code for fixed-density necklace and Lyndon words in constant amortized time (submitted, 2010)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2011 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Sawada, J., Stevens, B., Williams, A. (2011). De Bruijn Sequences for the Binary Strings with Maximum Density. In: Katoh, N., Kumar, A. (eds) WALCOM: Algorithms and Computation. WALCOM 2011. Lecture Notes in Computer Science, vol 6552. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-19094-0_19

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-19094-0_19

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-19093-3

  • Online ISBN: 978-3-642-19094-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics