paper

On the behavior of binary block-counting functions under addition

arXiv:2412.15851

Abstract

Let denote the sum of binary digits of an integer . In the recent years there has been interest in the behavior of the differences , where is an integer. In particular, Spiegelhofer and Wallner showed that for whose binary expansion contains sufficiently many blocks of s the inequality holds for belonging to a set of asymptotic density , partially answering a question by Cusick. Furthermore, for such the values are approximately normally distributed. In this paper we consider a natural generalization to the family of block-counting functions , giving the number of occurrences of a block of binary digits in the binary expansion. Our main result show that for any of length at least the distribution of the differences is close to a Gaussian when contains many blocks of s in its binary expansion. This extends an earlier result by the author and Spiegelhofer for .

36 pages

On the behavior of binary block-counting functions under addition · wovepaper