The maximum discrepancy of binary de Bruijn sequences
The discrepancy of a binary de Bruijn sequence is the largest absolute difference between the numbers of ones and zeroes on a circular interval. We prove that the maximum discrepancy among all binary de Bruijn sequences of order n is binomial(n - 1, floor(n/2)) + floor(n/2). The upper bound follows by averaging n centered translates of an interval and counting the positive contributions of their distinct length-n windows. Together with the lower bound of Gabrić and Sawada, this proves their Conjecture 5.5. We also give an Eulerian construction attaining the bound, providing a self-contained proof of the extremal value.
Authors
- Yuchen Xiong
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-03
- DOI
- https://doi.org/10.5281/zenodo.24784221
- Primary Topic
- Advanced Combinatorial Mathematics
- Type
- preprint