{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T13:56:43Z","timestamp":1787320603553,"version":"build-2736575974"},"reference-count":29,"publisher":"Society for Industrial & Applied Mathematics (SIAM)","issue":"2","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["SIAM J. Discrete Math."],"published-print":{"date-parts":[[2012,1]]},"abstract":"<jats:p>De Bruijn sequences are circular strings of length $2^n$ whose length n substrings are the binary strings of length n. Our focus is on creating circular strings of length $\\binom{n}{w}$ for the binary strings of length n with weight (number of 1s) equal to w. In this case, each fixed-weight string can be encoded by its first $n{-}1$ bits since the final bit is redundant. For this reason, we construct circular strings of length $\\binom{n-1}{w}+\\binom{n-1}{w-1}$ whose length $n{-}1$ substrings are the binary strings of length $n{-}1$ with weight w or $w{-}1$. Our construction is reminiscent of the construction for the lexicographically least de Bruijn sequence, except the underlying algorithm is applied to cool-lex order instead of lexicographic order. The construction can be efficiently implemented so that successive blocks of n bits are generated in constant amortized time while using $O(n \\log n)$-space. This article's results were also used to create de Bruijn sequences for binary strings of length n with a specified maximum weight.<\/jats:p>","DOI":"10.1137\/100808782","type":"journal-article","created":{"date-parts":[[2012,5,8]],"date-time":"2012-05-08T18:32:48Z","timestamp":1336501968000},"page":"605-617","source":"Crossref","is-referenced-by-count":33,"title":["De Bruijn Sequences for Fixed-Weight Binary Strings"],"prefix":"10.1137","volume":"26","author":[{"given":"Frank","family":"Ruskey","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Joe","family":"Sawada","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Aaron","family":"Williams","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"351","published-online":{"date-parts":[[2012,5,8]]},"reference":[{"key":"R1","doi-asserted-by":"publisher","DOI":"10.1109\/TCBB.2007.1002"},{"key":"R2","doi-asserted-by":"publisher","DOI":"10.1016\/0012-365X(84)90179-1"},{"key":"R3","doi-asserted-by":"publisher","DOI":"10.1007\/s11390-007-9094-7"},{"key":"R4","doi-asserted-by":"publisher","DOI":"10.1016\/0012-365X(92)90699-G"},{"key":"R5","first-page":"758","volume":"49","author":"de Bruijn N. G.","year":"1946","journal-title":"Koninkl. Nederl. Acad. Wetensch. Proc. Ser A"},{"key":"R6","unstructured":"N. G. de Bruijn,\n                      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\n                      , Report 75-WSK-06, Technological University Eindhoven, The Netherlands, 1975."},{"key":"R7","doi-asserted-by":"publisher","DOI":"10.1016\/j.tcs.2005.12.006"},{"key":"R8","doi-asserted-by":"publisher","DOI":"10.1016\/0012-365X(86)90089-0"},{"key":"R9","doi-asserted-by":"publisher","DOI":"10.1016\/0012-365X(78)90002-X"},{"key":"R10","unstructured":"R. L. Graham, D. E. Knuth, and O. Patashnik,\n                      Concrete Mathematics\n                      , Addison-Wesley, Reading, MA, 1994."},{"key":"R11","doi-asserted-by":"publisher","DOI":"10.1109\/18.532900"},{"key":"R12","doi-asserted-by":"crossref","unstructured":"A. Holroyd, F. Ruskey, and A. Williams,\n                      Faster generation of shorthand universal cycles for permutations\n                      , in COCOON 2010: Proceedings of the 16th Annual International Computing and Combinatorics Conference, Nha Trang, Vietnam, 2010, Lecture Notes in Comput. Sci. 6196, Springer-Verlag, New York, pp. 298\u2013307.","DOI":"10.1007\/978-3-642-14031-0_33"},{"key":"R13","unstructured":"A. Holroyd, F. Ruskey, and A. Williams,\n                      Shorthand universal cycles for permutations\n                      , Algorithmica, to appear."},{"key":"R14","doi-asserted-by":"crossref","unstructured":"G. Hurlbert, B. Jackson, and B. Stevens, eds.\n                      Generalizations of de Bruijn cycles and Gray codes\n                      , Discete Math., 309 (2009).","DOI":"10.1016\/j.disc.2009.04.002"},{"key":"R15","unstructured":"D. E. Knuth,\n                      The Art of Computer Programming: Generating All Tuples and Permutations\n                      , Addison-Wesley, Reading, MA, 2005."},{"key":"R16","unstructured":"D. E. Knuth,\n                      The Art of Computer Programming: Bitwise Tricks & Techniques\n                      , Binary Decison Diagrams. Addison-Wesley, Reading, MA, 2009."},{"key":"R17","unstructured":"C. E. Leiserson, H. Prokop, and K. H. Randall,\n                      Using de Bruijn Sequences to Index a 1 in a Computer Word\n                      , http:\/\/supertech.csail.mit.edu\/papers\/debruijn.pdf (7 July 1998)."},{"key":"R18","doi-asserted-by":"publisher","DOI":"10.1090\/S0002-9904-1934-05988-3"},{"key":"R19","doi-asserted-by":"publisher","DOI":"10.1016\/0196-6774(92)90047-G"},{"key":"R20","doi-asserted-by":"publisher","DOI":"10.1016\/j.jcta.2011.07.005"},{"key":"R21","doi-asserted-by":"publisher","DOI":"10.1016\/j.disc.2007.11.048"},{"key":"R22","doi-asserted-by":"crossref","unstructured":"F. Ruskey and A. Williams,\n                      \n                        An explicit universal cycle for the $(n-1)$-permutations of an\n                        n\n                        -set\n                      \n                      , ACM Trans. Algorithms, 6 (2010).","DOI":"10.1145\/1798596.1798598"},{"key":"R23","doi-asserted-by":"publisher","DOI":"10.1016\/0097-3165(95)90091-8"},{"key":"R24","doi-asserted-by":"crossref","unstructured":"J. Sawada, B. Stevens, and A. Williams,\n                      De Bruijn sequences for the binary strings with a maximum density\n                      , in WALCOM 2011: Proceedings of the 5th International Workshop on Algorithms and Computation, New Dehli, India, 2011, Lecture Notes in Comput. Sci. 6552, Springer-Verlag, New York, pp. 182\u2013190.","DOI":"10.1007\/978-3-642-19094-0_19"},{"key":"R25","doi-asserted-by":"publisher","DOI":"10.37236\/2051"},{"key":"R26","doi-asserted-by":"crossref","unstructured":"J. Sawada and A. Williams,\n                      A Gray code for fixed-density necklaces and Lyndon words in constant amortized time\n                      , Theoret. Comput. Sci., 2012, in press.","DOI":"10.1016\/j.tcs.2012.01.013"},{"key":"R27","doi-asserted-by":"crossref","unstructured":"B. Stevens and A. Williams,\n                      The coolest order of binary strings\n                      , in FUN '12: Proceedings of the Sixth International Conference on Fun with Algorithms, Lecture Notes in Comput. Sci. 7288, Springer-Verlag, New York, 2012.","DOI":"10.1007\/978-3-642-30347-0_32"},{"key":"R28","doi-asserted-by":"publisher","DOI":"10.1016\/S0012-365X(99)00348-9"},{"key":"R29","doi-asserted-by":"publisher","DOI":"10.1137\/S089548019528143X"}],"container-title":["SIAM Journal on Discrete Mathematics"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/epubs.siam.org\/doi\/pdf\/10.1137\/100808782","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T12:58:27Z","timestamp":1787317107000},"score":1,"resource":{"primary":{"URL":"https:\/\/epubs.siam.org\/doi\/10.1137\/100808782"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2012,1]]},"references-count":29,"journal-issue":{"issue":"2","published-print":{"date-parts":[[2012,1]]}},"alternative-id":["10.1137\/100808782"],"URL":"https:\/\/doi.org\/10.1137\/100808782","relation":{},"ISSN":["0895-4801","1095-7146"],"issn-type":[{"value":"0895-4801","type":"print"},{"value":"1095-7146","type":"electronic"}],"subject":[],"published":{"date-parts":[[2012,1]]}}}