login
Odd numbers k such that Hamming weight of k equals Hamming weight of k^3.
2

%I #15 Jul 31 2023 15:42:17

%S 1,56953,1830651,5502457,130002327,2941876987,3479043677,3674103727,

%T 10601496029,12739098539,29928193915,93415397243,111392161401,

%U 532403822507,893286088059,1039374483323

%N Odd numbers k such that Hamming weight of k equals Hamming weight of k^3.

%C This sequence is A118655 without the trivial examples k*2^n.

%C a(17) > 2^40. - _Donovan Johnson_, May 05 2012

%F A000120(a(n)) = A000120(a(n)^3) with a(n) odd

%o (PARI) isok(k) = (k%2) && (hammingweight(k) == hammingweight(k^3)); \\ _Michel Marcus_, Jul 31 2023

%Y Cf. A000120, A118655.

%Y Cf. A363799 (Hamming weight(k) > Hamming weight(k^3)).

%K nonn,base,more

%O 1,2

%A _Martin Raab_, May 13 2008

%E a(14)-a(16) from _Donovan Johnson_, May 05 2012