Back to Search Start Over

On the binary digits of n and n²

Authors :
Aloui, Karam
Jamet, Damien
Kaneko, Hajime
Kopecki, Steffen
Popoli, Pierre
Stoll, Thomas
Université de Tunis El Manar (UTM)
Université de Sfax - University of Sfax
Department of Algorithms, Computation, Image and Geometry (LORIA - ALGO)
Laboratoire Lorrain de Recherche en Informatique et ses Applications (LORIA)
Institut National de Recherche en Informatique et en Automatique (Inria)-Université de Lorraine (UL)-Centre National de la Recherche Scientifique (CNRS)-Institut National de Recherche en Informatique et en Automatique (Inria)-Université de Lorraine (UL)-Centre National de la Recherche Scientifique (CNRS)
Université de Tsukuba = University of Tsukuba
Institut Élie Cartan de Lorraine (IECL)
Université de Lorraine (UL)-Centre National de la Recherche Scientifique (CNRS)
The third author was supported by JSPS KAKENHI Grant Number 19K03439.
ANR-15-IDEX-0004,LUE,Isite LUE(2015)
ANR-18-CE40-0018,EST,Représentations, systèmes dynamiques et pavages(2018)
ANR-20-CE91-0006,ArithRand,Aléa arithmétique(2020)
Publication Year :
2022
Publisher :
HAL CCSD, 2022.

Abstract

The authors would like to thank Lukas Spiegelhofer for discussions and a very useful C-program.; Let s(n) denote the sum of digits in the binary expansion of the integer n. Hare, Laishram and Stoll (2011) studied the number of odd integers such that s(n) = s(n^2) = k, for a given integer k ≥ 1. The remaining cases that could not be treated by theses authors were k ∈ {9, 10, 11, 14, 15}. In this paper we show that there is only a finite number of solutions for k ∈ {9, 10, 11} and comment on the difficulties to settle the two remaining cases k ∈ {14, 15}. A related problem is to study the solutions of s(n^2) = 4 for odd integers. Bennett, Bugeaud and Mignotte (2012) proved that there are only finitely many solutions and conjectured that n = 13, 15, 47, 111 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 s(n^2) = 5.

Details

Language :
English
Database :
OpenAIRE
Accession number :
edsair.od.......165..1db0de4f6af93e94a989ef4a2213d3f9