Binary De Bruijn sequence Created 2026-10-20 Updated 2026-11-05
A binary De Bruijn sequence of order is a cyclic binary string in which every length- binary string occurs exactly once as a consecutive window. It has length . For , 00010111 has cyclic windows 000, 001, 010, 101, 011, 111, 110, 100; the windows at the end wrap around to the beginning. A linear recording must repeat the first symbols at its end. Finding an Eulerian cycle in the De Bruijn graph on length- words constructs one: each edge supplies exactly one required window.
De Bruijn graph 2026-10-20
For an alphabet of size , the order- directed graph has words of length as vertices and words of length as edges. An edge goes from its prefix of length to its suffix of that length. An Eulerian cycle therefore lists every length- word once as a cyclic window, producing a De Bruijn sequence.
De Bruijn sequence 2026-10-20
A cyclic sequence over an alphabet of size in which every word of length appears exactly once as a cyclic window. Its length is . The De Bruijn graph converts its construction into an Eulerian cycle problem.
False. A connected graph has an Eulerian cycle exactly when every vertex has even degree. In every degree is , so it has an Eulerian cycle precisely when is odd. The complete graph is a counterexample to the statement for all .
False. In the vertices in one class have degree , while the vertices in the other have degree . For positive , connectedness is automatic, and Euler's criterion requires both and to be even. Evenness of their sum alone allows both to be odd. For example has but all four degrees are odd, so it has no Eulerian cycle.