{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,7,30]],"date-time":"2025-07-30T15:38:55Z","timestamp":1753889935023,"version":"3.41.2"},"reference-count":0,"publisher":"Centre pour la Communication Scientifique Directe (CCSD)","issue":"Automata, Logic and Semantics","license":[{"start":{"date-parts":[[2020,4,30]],"date-time":"2020-04-30T00:00:00Z","timestamp":1588204800000},"content-version":"am","delay-in-days":0,"URL":"https:\/\/arxiv.org\/licenses\/nonexclusive-distrib\/1.0"},{"start":{"date-parts":[[2020,4,30]],"date-time":"2020-04-30T00:00:00Z","timestamp":1588204800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/arxiv.org\/licenses\/nonexclusive-distrib\/1.0"},{"start":{"date-parts":[[2020,4,30]],"date-time":"2020-04-30T00:00:00Z","timestamp":1588204800000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/arxiv.org\/licenses\/nonexclusive-distrib\/1.0"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":[],"accepted":{"date-parts":[[2025,4,1]]},"abstract":"<jats:p>Let $S_{a,b}$ denote the sequence of leading digits of $a^n$ in base $b$. It is well known that if $a$ is not a rational power of $b$, then the sequence $S_{a,b}$ satisfies Benford's Law; that is, digit $d$ occurs in $S_{a,b}$ with frequency $\\log_{b}(1+1\/d)$, for $d=1,2,\\dots,b-1$.   In this paper, we investigate the \\emph{complexity} of such sequences. We focus mainly on the \\emph{block complexity}, $p_{a,b}(n)$, defined as the number of distinct blocks of length $n$ appearing in $S_{a,b}$. In our main result we determine $p_{a,b}(n)$ for all squarefree bases $b\\ge 5$ and all rational numbers $a&amp;gt;0$ that are not integral powers of $b$. In particular, we show that, for all such pairs $(a,b)$, the complexity function $p_{a,b}(n)$ is \\emph{affine}, i.e., satisfies $p_{a,b}(n)=c_{a,b} n + d_{a,b}$ for all $n\\ge1$, with coefficients $c_{a,b}\\ge1$ and $d_{a,b}\\ge0$, given explicitly in terms of $a$ and $b$. We also show that the requirement that $b$ be squarefree cannot be dropped: If $b$ is not squarefree, then there exist integers $a$ with $1&amp;lt;a&amp;lt;b$ for which $p_{a,b}(n)$ is not of the above form.   We use this result to obtain sharp upper and lower bounds for $p_{a,b}(n)$, and to determine the asymptotic behavior of this function as $b\\to\\infty$ through squarefree values. We also consider the question which linear functions $p(n)=cn+d$ arise as the complexity function $p_{a,b}(n)$ of some leading digit sequence $S_{a,b}$.   We conclude with a discussion of other complexity measures for the sequences $S_{a,b}$ and some open problems.<\/jats:p>","DOI":"10.23638\/dmtcs-22-1-14","type":"journal-article","created":{"date-parts":[[2025,4,3]],"date-time":"2025-04-03T16:50:01Z","timestamp":1743699001000},"source":"Crossref","is-referenced-by-count":0,"title":["Complexity of Leading Digit Sequences"],"prefix":"10.23638","volume":"vol. 22 no. 1","author":[{"given":"Xinwei","family":"He","sequence":"first","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"A. J.","family":"Hildebrand","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Yuchen","family":"Li","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Yunyi","family":"Zhang","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"25203","published-online":{"date-parts":[[2020,4,30]]},"container-title":["Discrete Mathematics &amp; Theoretical Computer Science"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/arxiv.org\/pdf\/1804.00221v5","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/arxiv.org\/pdf\/1804.00221v5","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,4,3]],"date-time":"2025-04-03T16:50:01Z","timestamp":1743699001000},"score":1,"resource":{"primary":{"URL":"http:\/\/dmtcs.episciences.org\/4430"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2020,4,30]]},"references-count":0,"journal-issue":{"issue":"Automata, Logic and Semantics","published-online":{"date-parts":[[2020,4,30]]}},"URL":"https:\/\/doi.org\/10.23638\/dmtcs-22-1-14","relation":{"has-preprint":[{"id-type":"arxiv","id":"1804.00221v3","asserted-by":"subject"},{"id-type":"arxiv","id":"1804.00221v1","asserted-by":"subject"}],"is-same-as":[{"id-type":"arxiv","id":"1804.00221","asserted-by":"subject"},{"id-type":"doi","id":"10.48550\/arXiv.1804.00221","asserted-by":"subject"}]},"ISSN":["1365-8050"],"issn-type":[{"type":"electronic","value":"1365-8050"}],"subject":[],"published":{"date-parts":[[2020,4,30]]},"article-number":"4430"}}