Leading Digits of Divisor Sums: Explicit Oscillations and the Diophantine Discrepancy of $d(n)$

Among the first 500,000 values of the sum-of-divisors function $σ(n)$, the leading digit 1 appears 18.8% of the time, against 30.1% under Benford's Law; among the first 150,000 it appears 42% of the time. We explain this behavior for positive multiplicative functions $f$ with $f(p)$ close to $c\,p^k$. When $c = 1$, $k > 0$ and $\sum_p|\log(f(p)/p^k)|/p < \infty$, as for the divisor power sums $σ_k$, the numbers $\log_{10}f(n) - k\log_{10}N$, $n \leq N$, taken modulo 1, converge in distribution to a classical limit law whose Fourier coefficients are explicit Euler products. We deduce that no leading digit has a limiting frequency: for $σ(n)$ the limit points of the digit-1 frequency fill the interval $[0.187, 0.426]$. The discrepancy modulo 1 does converge, and for $σ_k$ its limit is $\ln 10/(8k) + O(k^{-2})$. When $f(p) = c\,p^k e^{r(p)}$ with $r(p) \to 0$, the criterion of Chandee, Li, Pollack and Singha Roy shows that $f$ is Benford if and only if $\log_{10}c$ is irrational or $\sum_p r(p)^2/p$ diverges, and with a power saving the Selberg--Delange method gives every digit mode explicitly. The divisor function ($c = 2$) is Benford, but slowly. The best power of $\log\log N$ in its discrepancy is $1/(2w)$, and $1/w$ for $n^k d(n)$, where $w + 1$ is the irrationality exponent of $\log_{10}2$. Unconditionally, the discrepancy of $n^k d(n)$ is $O((\log\log N)^{-γ})$ for every $γ< 0.0651$. As $k \to 0$, the first-mode amplitude of $σ_k$ behaves like $C k^β$, where $β= 1 - \cos(2π\log_{10}2) \approx 1.3152$, and $C$ contains the Euler product of the first mode of $d(n)$.

Authors

Publication Details

Journal
arXiv
Published
2026-12-01
Primary Topic
Analytic Number Theory Research
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Leading Digits of Divisor Sums: Explicit Oscillations and the Diophantine Discrepancy of $d(n)$

James Mac Hyman
arXiv
Analytic Number Theory Research
preprint

Leading Digits of Divisor Sums: Explicit Oscillations and the Diophantine Discrepancy of $d(n)$

James Mac Hyman
preprint en

Abstract

Among the first 500,000 values of the sum-of-divisors function $σ(n)$, the leading digit 1 appears 18.8% of the time, against 30.1% under Benford's Law; among the first 150,000 it appears 42% of the time. We explain this behavior for positive multiplicative functions $f$ with $f(p)$ close to $c\,p^k$. When $c = 1$, $k > 0$ and $\sum_p|\log(f(p)/p^k)|/p < \infty$, as for the divisor power sums $σ_k$, the numbers $\log_{10}f(n) - k\log_{10}N$, $n \leq N$, taken modulo 1, converge in distribution to a classical limit law whose Fourier coefficients are explicit Euler products. We deduce that no leading digit has a limiting frequency: for $σ(n)$ the limit points of the digit-1 frequency fill the interval $[0.187, 0.426]$. The discrepancy modulo 1 does converge, and for $σ_k$ its limit is $\ln 10/(8k) + O(k^{-2})$. When $f(p) = c\,p^k e^{r(p)}$ with $r(p) \to 0$, the criterion of Chandee, Li, Pollack and Singha Roy shows that $f$ is Benford if and only if $\log_{10}c$ is irrational or $\sum_p r(p)^2/p$ diverges, and with a power saving the Selberg--Delange method gives every digit mode explicitly. The divisor function ($c = 2$) is Benford, but slowly. The best power of $\log\log N$ in its discrepancy is $1/(2w)$, and $1/w$ for $n^k d(n)$, where $w + 1$ is the irrationality exponent of $\log_{10}2$. Unconditionally, the discrepancy of $n^k d(n)$ is $O((\log\log N)^{-γ})$ for every $γ< 0.0651$. As $k \to 0$, the first-mode amplitude of $σ_k$ behaves like $C k^β$, where $β= 1 - \cos(2π\log_{10}2) \approx 1.3152$, and $C$ contains the Euler product of the first mode of $d(n)$.

arXiv
Analytic Number Theory Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon