English

De Bruijn Sequences with Minimum Discrepancy

Discrete Mathematics 2024-07-25 v1

Abstract

The discrepancy of a binary string is the maximum (absolute) difference between the number of ones and the number of zeroes over all possible substrings of the given binary string. In this note we determine the minimal discrepancy that a binary de Bruijn sequence of order nn can achieve, which is nn. This was an open problem until now. We give an algorithm that constructs a binary de Bruijn sequence with minimal discrepancy. A slight modification of this algorithm deals with arbitrary alphabets and yields de Bruijn sequences of order nn with discrepancy at most 11 above the trivial lower bound nn.

Keywords

Cite

@article{arxiv.2407.17367,
  title  = {De Bruijn Sequences with Minimum Discrepancy},
  author = {Nicolás Álvarez and Verónica Becher and Martín Mereb and Ivo Pajor and Carlos Miguel Soto},
  journal= {arXiv preprint arXiv:2407.17367},
  year   = {2024}
}