The joint distribution of binary and ternary digits sums

Abstract

We consider the sum-of-digits functions s2 and s3 in bases 2 and 3. These functions just return the minimal numbers of powers of two (resp. three) needed in order to represent a nonnegative integer as their sum. A result of the second author states that there are infinitely many collisions of s2 and s3, that is, positive integers n such that \[s2(n)=s3(n).\] This resolved a long-standing folklore conjecture. In the present paper, we prove a strong generalization of this statement, stating that (s2(n),s3(n)) attains almost all values in N2, in the sense of asymptotic density. In particular, this yields generalized collisions: for any pair (a,b) of positive integers, the equation \[as2(n)=bs3(n)\] admits infinitely many solutions in n.

0

Turn this paper into a full lesson

ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…