Nicolás Álvarez, Verónica Becher, Martín Mereb, Ivo Pajor, Carlos Miguel Soto
{"title":"De Bruijn Sequences with Minimum Discrepancy","authors":"Nicolás Álvarez, Verónica Becher, Martín Mereb, Ivo Pajor, Carlos Miguel Soto","doi":"arxiv-2407.17367","DOIUrl":null,"url":null,"abstract":"The discrepancy of a binary string is the maximum (absolute) difference\nbetween the number of ones and the number of zeroes over all possible\nsubstrings of the given binary string. In this note we determine the minimal\ndiscrepancy that a binary de Bruijn sequence of order $n$ can achieve, which is\n$n$. This was an open problem until now. We give an algorithm that constructs a\nbinary de Bruijn sequence with minimal discrepancy. A slight modification of\nthis algorithm deals with arbitrary alphabets and yields de Bruijn sequences of\norder $n$ with discrepancy at most $1$ above the trivial lower bound $n$.","PeriodicalId":501216,"journal":{"name":"arXiv - CS - Discrete Mathematics","volume":"19 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-07-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Discrete Mathematics","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2407.17367","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
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 $n$ can achieve, which is
$n$. 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 $n$ with discrepancy at most $1$ above the trivial lower bound $n$.