On the binary digits of $n$ and $n^2$
Karam Aloui, Damien Jamet, Hajime Kaneko, Steffen Kopecki, Pierre, Popoli, Thomas Stoll

TL;DR
This paper investigates the binary digit sum properties of integers and their squares, proving finiteness for certain cases, and provides algorithms to find all solutions for specific digit sum values, advancing understanding of binary digit sum patterns.
Contribution
It establishes finiteness results for solutions with specific binary digit sums and introduces algorithms to identify all such solutions, supporting existing conjectures.
Findings
Finite solutions for s(n)=s(n^2)=k when k∈{9,10,11}
Algorithm to find all solutions for s(n^2)=4 and 5
Supports conjecture that only specific solutions exist for s(n^2)=4
Abstract
Let denote the sum of digits in the binary expansion of the integer . Hare, Laishram and Stoll (2011) studied the number of odd integers such that , for a given integer . The remaining cases that could not be treated by theses authors were . In this paper we show that there is only a finite number of solutions for and comment on the difficulties to settle the two remaining cases . A related problem is to study the solutions of for odd integers. Bennett, Bugeaud and Mignotte (2012) proved that there are only finitely many solutions and conjectured that are the only solutions. In this paper, we give an algorithm to find all solutions with fixed sum of digits value, supporting this conjecture, as well as show related results for .
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
