cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

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

This page as a plain text file.
%I A138597 #15 Jul 31 2023 15:42:17
%S A138597 1,56953,1830651,5502457,130002327,2941876987,3479043677,3674103727,
%T A138597 10601496029,12739098539,29928193915,93415397243,111392161401,
%U A138597 532403822507,893286088059,1039374483323
%N A138597 Odd numbers k such that Hamming weight of k equals Hamming weight of k^3.
%C A138597 This sequence is A118655 without the trivial examples k*2^n.
%C A138597 a(17) > 2^40. - _Donovan Johnson_, May 05 2012
%F A138597 A000120(a(n)) = A000120(a(n)^3) with a(n) odd
%o A138597 (PARI) isok(k) = (k%2) && (hammingweight(k) == hammingweight(k^3)); \\ _Michel Marcus_, Jul 31 2023
%Y A138597 Cf. A000120, A118655.
%Y A138597 Cf. A363799 (Hamming weight(k) > Hamming weight(k^3)).
%K A138597 nonn,base,more
%O A138597 1,2
%A A138597 _Martin Raab_, May 13 2008
%E A138597 a(14)-a(16) from _Donovan Johnson_, May 05 2012