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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Chung, F., Diaconis, P., Graham, R.: Universal cycles for combinatorial structures. Discrete Mathematics 110, 43–59 (1992)
de Bruijn, N.G.: A combinatorial problem. Koninkl. Nederl. Acad. Wetensch. Proc. Ser. A 49, 758–764 (1946)
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)
Fredericksen, H., Maiorana, J.: Necklaces of beads in k colors and kary de Bruijn sequences. Discrete Mathematics 23(3), 207–210 (1978)
Fredericksen, H., Kessler, I.J.: An algorithm for generating necklaces of beads in two colors. Discrete Mathematics 61, 181–188 (1986)
Hartke, S.G.: Binary De Bruijn Cycles under Different Equivalence Relations. Discrete Mathematics 215, 93–102 (2000)
Hurlbert, G., Jackson, B., Stevens, B.(eds.): Generalisations of de Bruijn sequences and Gray codes. Discrete Mathematics 309, 5255–5348 (2009)
Knuth, D.E.: The Art of Computer Programming, Volume 4, Generating all tuples and permutations, Fascicle, vol. 2. Addison-Wesley, Reading (2005)
Ruskey, F., Savage, C., Wang, T.M.Y.: Generating necklaces. J. Algorithms 13, 414–430 (1992)
Ruskey, F., Sawada, J., Williams, A.: Fixed-density de Bruijn sequences (submitted, 2010)
Ruskey, F., Sawada, J., Williams, A.: Binary bubble languages and cool-lex order (submitted, 2010)
Ruskey, F., Williams, A.: The coolest way to generate combinations. Discrete Mathematics 17(309), 5305–5320 (2009)
Sawada, J., Williams, A.: A Gray Code for fixed-density necklace and Lyndon words in constant amortized time (submitted, 2010)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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)