1 Introduction
1.1 Main results
Let
$b\geq 2$
be an integer and let
$w\geq 1$
be an integer with base-b expansion
where
$t\geq 1$
,
$w_i\in \{0,\ldots ,b-1\}$
and
$w_{t-1}\neq 0$
. Thus, w represents a base-b string of length t and
Throughout this paper, let
$f=(f_k)_{k\geq 0}$
be a sequence of positive real numbers. We say that
$f_k$
begins with the base-b string w if there exists an integer h such that
For
$x\geq 0$
, define
We say that f satisfies Benford’s law in base b if, for every base-b string w,
where
$\log _b$
denotes the logarithm to base b and
Let
$n_0$
and n be nonnegative integers with
$n\geq n_0+2$
. We say that a sequence
$(f_k)_{n_0\leq k\leq n}$
of positive real numbers is strictly increasing and log-concave if
and
We use the same terminology for an infinite sequence
$(f_k)_{k\geq n_0}$
when every finite subsequence
$(f_k)_{n_0\leq k\leq n}$
, with
$n\geq n_0+2$
, has these properties.
The main result of this paper is the following quantitative discrepancy estimate for the counting function
$S_{w,b,f}(x)$
.
Theorem 1.1. Let
$n_0\geq 0$
be an integer. Suppose that
$(f_n)_{n\geq n_0}$
is strictly increasing and log-concave. Then, for every integer
$n>n_0$
,
where
Theorem 1.1 yields the following Benford criterion, since
where
$\lceil x\rceil $
denotes the least integer
$\ge x$
.
Corollary 1.2. Under the hypotheses of Theorem 1.1, suppose further that
as
$n\to \infty $
. Then, f satisfies Benford’s law in every base
$b\geq 2$
. More precisely,
General sufficient criteria for Benford’s law have previously been established (see, for example, Anderson et al. [Reference Anderson, Rolen and Stoehr1]). The criterion in Corollary 1.2 is instead derived from the structural assumptions of strict increase and log-concavity. Moreover, Theorem 1.1 gives an explicit discrepancy estimate for the occurrence of each prescribed initial string.
For a sequence
$f=(f_n)_{n\geq 0}$
of positive real numbers, let
$N_f(w,b)$
denote the least integer
$n\geq 0$
such that
$f_n$
begins with the string w in base b, whenever such an integer exists. Equivalently,
Theorem 1.1 immediately yields the following upper bound.
Corollary 1.3. Under the hypotheses of Theorem 1.1, suppose that the set of integers
$n>n_0$
satisfying
is nonempty. Let
$N_{w,b,f}$
denote its least element. Then,
1.2 Applications to partitions and plane partitions
For
$n\geq 0$
, let
$p(n)$
denote the number of partitions of n and let
$\mathrm {PL}(n)$
denote the number of plane partitions of n. Recall that a partition of n is a nonincreasing sequence of positive integers with sum n. A plane partition of n is an array of nonnegative integers
$ (\pi _{i,j})_{i,j\geq 1} $
whose rows and columns are weakly decreasing, and such that
$ \sum _{i,j\geq 1}\pi _{i,j}=n $
. We refer the reader to [Reference Andrews2] for background on partitions and plane partitions.
The leading digits of both
$p(n)$
and
$\mathrm {PL}(n)$
obey Benford’s law (see [Reference Anderson, Rolen and Stoehr1, Reference Douglass and Ono4]). Motivated by this phenomenon, Douglass and Ono [Reference Douglass and Ono4] asked for nontrivial upper bounds for
$N_p(w,b)$
and
$N_{\mathrm {PL}}(w,b)$
. Here, w is a base-b digit string, and
$N_p(w,b)$
, respectively
$N_{\mathrm {PL}}(w,b)$
, is the least index n for which
$p(n)$
, respectively
$\mathrm {PL}(n)$
, begins with the digit string w in base b.
Let t be the length of w. Using exponential sums and transcendence theory, Luca [Reference Luca6, Reference Luca7] proved that
and, using results concerning prime numbers, that
More recently, Iyer [Reference Iyer5] developed an elementary discrepancy method and obtained the substantially sharper bounds
and
We now apply Theorem 1.1 to obtain explicit discrepancy estimates for
$p(n)$
and
$\mathrm {PL}(n)$
. These estimates yield improved bounds for the first occurrence of a prescribed leading digit string.
The sequences
$(p(n))_{n\geq 2}$
and
$(\mathrm {PL}(n))_{n\geq 2}$
are strictly increasing. Moreover, Nicolas [Reference Nicolas8] and DeSalvo and Pak [Reference DeSalvo and Pak3, Theorem 1.1] proved that
$(p(n))_{n\geq 25}$
is log-concave, whereas Ono et al. [Reference Ono, Pujahari and Rolen9] proved that
$(\mathrm {PL}(n))_{n\geq 12}$
is log-concave. Consequently, Theorem 1.1 applies to
$p(n)$
with
$n_0=25$
and to
$\mathrm {PL}(n)$
with
$n_0=12$
.
Corollary 1.4. For every integer
$n\geq 100$
,
For every integer
$n\geq 2829$
,
Here,
$\zeta (s)$
denotes the Riemann zeta function.
We derive the following upper bounds from Corollary 1.4.
Corollary 1.5. We have
and
Remark 1.6. The bounds in Corollary 1.5 depend on w and b through
$\rho _{w,b}$
, and therefore retain more information than bounds depending only on the length t of w. Consequently, for a fixed digit string w, they can be substantially sharper than the corresponding bounds obtained by replacing
$\rho _{w,b}$
with a length-based estimate. For comparison, since
$b^{t-1}\leq w<b^t$
, the bounds in Corollary 1.5 yield
and
These estimates improve the corresponding bounds of Iyer [Reference Iyer5].
2 Proof of Theorem 1.1
We begin by translating the leading-string condition into a condition on logarithms.
Lemma 2.1. Let
$y>0$
. Then, y begins with the base-b string w if and only if
where
Proof. By definition, y begins with the string w if and only if there exists
$h\in \mathbb Z$
such that
$ wb^h\leq y<(w+1)b^h. $
Taking logarithms to base b, this is equivalent to
Since
$ \log _b(w+1)=\log _b w+\rho _{w,\,b}, $
the result follows.
We now consider a general
$1$
-periodic set of the form
Lemma 2.2. Let
$a<b$
and let
$g:[a,b]\to [0,\infty )$
be nondecreasing. Then,
Here,
$\mathbf {1}_{\mathcal E}(u)$
equals
$1$
if
$u\in \mathcal E$
and
$0$
otherwise.
Proof. Put
$ q(u):=\mathbf {1}_{\mathcal E}(u)-\rho. $
Then, q is
$1$
-periodic and has mean zero on every period. Let
$ t:=\{u-\alpha \} $
and define
Then, Q is continuous and
$1$
-periodic, with
By Lebesgue–Stieltjes integration by parts,
Since g is nondecreasing,
$d g$
is a positive measure. Hence,
This completes the proof.
Proposition 2.3. Let
$(c_k)_{0\leq k\leq n}$
be a strictly increasing concave sequence of real numbers. Then,
Proof. Define
$F:[0,n]\to \mathbb R$
by
$F(k)=c_k$
for
$0\leq k\leq n$
and by requiring F to be affine on each interval,
$[k,k+1]$
. Thus,
The slopes of F are positive and nonincreasing, so F is strictly increasing and concave. Hence,
$G:=F^{-1}:[c_0,c_n]\to [0,n]$
is convex; let
$G'$
be its nondecreasing piecewise-constant derivative. Write
as a disjoint union of intervals. Each
$I_j$
lies in some
$[\ell +\alpha ,\ell +\alpha +\rho )$
meeting
$[c_0,c_n)$
, whence
$ m<c_n-c_0+1+\rho. $
Since
$F([0,n))=[c_0,c_n)$
,
Moreover,
Therefore,
For every interval J, we have
$ |\#(\mathbb Z\cap J)-|J||\leq 2. $
Since
$G'$
is nondecreasing, Lemma 2.2 gives
Finally, since F has slope
$c_n-c_{n-1}$
on
$[n-1,n)$
,
The result follows.
Proof of Theorem 1.1.
Put
$c_k:=\log _b f_{k+n_0}$
for all
$k\geq 0$
. Then,
$(c_k)_{k\geq 0}$
is strictly increasing and concave. By Lemma 2.1,
$f_{k+n_0}$
begins with the base-b string w if and only if
$c_k\in \mathcal E_{w,b}$
, where
$\mathcal E_{w,b}$
is of the form considered in Proposition 2.3, with
$ {\alpha =\log _b w} $
and
$ \rho =\rho _{w,b}. $
Applying Proposition 2.3 to
$ (c_k)_{0\leq k\leq n-n_0} $
and noting that
$c_k=\log _b f_{k+n_0}$
for
$k\geq 0$
, we obtain
Moreover,
and
The triangle inequality therefore gives
which simplifies to the asserted bound.
3 Proofs of the applications
We use the following explicit estimate of Iyer [Reference Iyer5, Lemma 2.2].
Lemma 3.1. For every integer
$n\geq 4$
,
Set
Lemma 3.2. For every integer
$n\geq 100$
,
Proof. The first assertion follows from Lemma 3.1, since
For the second, put
$d_n:=\log p(n)-\log p(n-1)$
. Since
$p(n)$
is log-concave for
$n\geq 25$
, the sequence
$d_n$
is nonincreasing. Consequently,
Hence,
because the expression in parentheses is increasing in n.
Set
and
We also use the following estimate of Iyer [Reference Iyer5, Lemma 2.3].
Lemma 3.3. For every integer
$n\geq 2829$
,
Lemma 3.4. For every integer
$n\geq 2829$
,
Proof. The first assertion follows from Lemma 3.3, since
For the second, set
Log-concavity of
$\mathrm {PL}(n)$
for
$n\geq 12$
gives
$ nd_n\geq \log \mathrm {PL}(2n)-\log \mathrm {PL}(n) $
and Lemma 3.3 gives
Therefore,
as the expression in parentheses is increasing in n.
Proof of Corollary 1.4.
For every integer
$n\geq 100$
, apply Theorem 1.1 with
$(f_n,n_0)=(p(n),25)$
. Lemma 3.2 gives
and
Since
$p(25)>2$
and
$\rho _{w,b}\leq \log _b2$
,
This proves the asserted estimate for
$p(n)$
.
Likewise, for every integer
$n\geq 2829$
, apply Theorem 1.1 with
$(f_n,n_0)=(\mathrm {PL}(n),12)$
. Lemma 3.4 gives
and
Since
$\mathrm {PL}(12)>2$
and
$\rho _{w,\,b}\leq \log _b2$
,
This proves the plane-partition estimate.
Before giving the proof of Corollary 1.5, we record the following elementary lemma.
Lemma 3.5. Let s be a positive integer,
$a>0$
, and
$a_1,\ldots ,a_s\geq 0$
. If a real number x satisfies
then
Proof. The hypothesis implies
$x>a>0$
. Hence,
$a_\nu /x^\nu \leq a_\nu /a^\nu $
for each
$\nu $
and summing these inequalities gives the result.
Proof of Corollary 1.5.
Put
$\rho =\rho _{w,b}$
and
$L=\log b$
. For partitions, Corollary 1.4 implies that
Lemma 3.5, applied with
therefore shows that
$S_{w,b,p}(n)>0$
for
$n\geq 100$
, as soon as
Squaring the right-hand side and bounding its coefficients gives the sufficient condition
The right-hand side is greater than
$100$
. Thus, every integer n satisfying the displayed sufficient condition lies in the range of Corollary 1.4. It follows that
$S_{w,b,p}(n)>0$
and (1.1) yields the asserted bound for
$N_p(w,b)$
.
For plane partitions, write
$x=n^{1/3}$
. Corollary 1.4 gives
Set
Since
Lemma 3.5 shows that it suffices to require
$ x\geq A+1.1\rho L^2. $
Cubing and using
shows that this is implied by
The right-hand side is greater than
$132$
. Thus, after adding
$2697$
, every integer n satisfying the preceding sufficient condition is at least
$2829$
. Corollary 1.4 therefore applies and (1.1) yields the second assertion.
Acknowledgement
The authors used OpenAI’s ChatGPT for exploratory discussions concerning possible proof strategies and language editing. All mathematical arguments, verification and responsibility for the final manuscript remain with the authors.
