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
De Bruijn sequence 2026-10-20
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.