Skip to content

Sharp extremal asymptotics for Cusick's sum-of-digits bias at fixed Hamming weight

Kaimin Cheng

math.NTarXiv:2608.25899

Abstract

Let s2(n) be the binary sum-of-digits function and let ct be the natural density of the integers n0 for which s2(n+t) s2(n). Earlier work of the author proved the universal exponential bound ct-12 2-2s2(t)-1, thereby resolving Cusick's conjecture for every t. This estimate, however, does not reflect the true size of the smallest possible bias at a given large Hamming weight. In this paper, we determine this extremal scale sharply: ∈fs2(t)=k(ct-12) 12π (2 kk)3/2 (k∞). Thus the optimal fixed-weight gap is polynomial-logarithmic rather than exponential, with the explicit sharp leading constant 1/(2π). The proof combines the five-cumulant Edgeworth expansion of Spiegelhofer and Wallner with a new extremal rigidity mechanism for near-extremal binary block patterns. We also prove a stability theorem for asymptotic extremizers and give a separate shadow-energy interpretation of the same constant.

Create a lesson