Complexity of Leading Digit Sequences
Abstract
Let Sa,b denote the sequence of leading digits of an in base b. It is well known that if a is not a rational power of b, then the sequence Sa,b satisfies Benford's Law; that is, digit d occurs in Sa,b with frequency b(1+1/d), for d=1,2,…,b-1. In this paper, we investigate the complexity of such sequences. We focus mainly on the block complexity, pa,b(n), defined as the number of distinct blocks of length n appearing in Sa,b. In our main result we determine pa,b(n) for all squarefree bases b 5 and all rational numbers a>0 that are not integral powers of b. In particular, we show that, for all such pairs (a,b), the complexity function pa,b(n) is affine, i.e., satisfies pa,b(n)=ca,b n + da,b for all n1, with coefficients ca,b1 and da,b0, 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<a<b for which pa,b(n) is not of the above form. We use this result to obtain sharp upper and lower bounds for pa,b(n), and to determine the asymptotic behavior of this function as b∞ through squarefree values. We also consider the question which linear functions p(n)=cn+d arise as the complexity function pa,b(n) of some leading digit sequence Sa,b. We conclude with a discussion of other complexity measures for the sequences Sa,b and some open problems.
Turn this paper into a lesson
ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.