On the binary digits of n and n² - Archive ouverte HAL Accéder directement au contenu
Pré-Publication, Document De Travail Année : 2022

On the binary digits of n and n²

Résumé

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.
Fichier principal
Vignette du fichier
main.pdf (233.88 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-03605029 , version 1 (10-03-2022)
hal-03605029 , version 2 (12-10-2022)

Identifiants

Citer

Karam Aloui, Damien Jamet, Hajime Kaneko, Steffen Kopecki, Pierre Popoli, et al.. On the binary digits of n and n². 2022. ⟨hal-03605029v2⟩
70 Consultations
128 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More