English

The binary digits of n+t

Number Theory 2022-05-02 v3

Abstract

The binary sum-of-digits function ss counts the number of ones in the binary expansion of a nonnegative integer. For any nonnegative integer tt, T.~W.~Cusick defined the asymptotic density ctc_t of integers n0n\geq 0 such that s(n+t)s(n).s(n+t)\geq s(n). In 2011, he conjectured that ct>1/2c_t>1/2 for all tt -- the binary sum of digits should, more often than not, weakly increase when a constant is added. In this paper, we prove that there exists an explicit constant M0M_0 such that indeed ct>1/2c_t>1/2 if the binary expansion of tt contains at least M0M_0 maximal blocks of contiguous ones, leaving open only the "initial cases" -- few maximal blocks of ones -- of this conjecture. Moreover, we sharpen a result by Emme and Hubert (2019), proving that the difference s(n+t)s(n)s(n+t)-s(n) behaves according to a Gaussian distribution, up to an error tending to 00 as the number of maximal blocks of ones in the binary expansion of tt grows.

Keywords

Cite

@article{arxiv.2005.07167,
  title  = {The binary digits of n+t},
  author = {Lukas Spiegelhofer and Michael Wallner},
  journal= {arXiv preprint arXiv:2005.07167},
  year   = {2022}
}

Comments

27 pages; To appear in Ann. Sc. Norm. Super. Pisa Cl. Sci. Changed the title from "The digits of n+t" to "The binary digits of n+t"

R2 v1 2026-06-23T15:33:23.063Z