Complexity of Leading Digit Sequences
Abstract
Let denote the sequence of leading digits of in base . It is well known that if is not a rational power of , then the sequence satisfies Benford's Law; that is, digit occurs in with frequency , for . In this paper, we investigate the \emph{complexity} of such sequences. We focus mainly on the \emph{block complexity}, , defined as the number of distinct blocks of length appearing in . In our main result we determine for all squarefree bases and all rational numbers that are not integral powers of . In particular, we show that, for all such pairs , the complexity function is \emph{affine}, i.e., satisfies for all , with coefficients and , given explicitly in terms of and . We also show that the requirement that be squarefree cannot be dropped: If is not squarefree, then there exist integers with for which is not of the above form. We use this result to obtain sharp upper and lower bounds for , and to determine the asymptotic behavior of this function as through squarefree values. We also consider the question which linear functions arise as the complexity function of some leading digit sequence . We conclude with a discussion of other complexity measures for the sequences and some open problems.
Keywords
Cite
@article{arxiv.1804.00221,
title = {Complexity of Leading Digit Sequences},
author = {Xinwei He and A. J. Hildebrand and Yuchen Li and Yunyi Zhang},
journal= {arXiv preprint arXiv:1804.00221},
year = {2023}
}