Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #20 Aug 11 2024 14:37:01
%S 0,1,3,9,65,73,513,4097,4161,32769,262145,262657,2097153,16777217,
%T 16781313,134217729,1073741825,1073774593,8589934593,68719476737,
%U 68719738881
%N Numbers whose cube is palindromic in base 8.
%H Patrick De Geest, <a href="https://www.worldofnumbers.com/nobase10pg4.htm">World!Of Numbers</a>, Palindromic cubes in bases 2 to 17.
%o (PARI) isok(k) = my(d=digits(k^3, 8)); Vecrev(d) == d; \\ _Michel Marcus_, Aug 02 2022
%o (Python)
%o from itertools import count, islice
%o from sympy.ntheory import is_palindromic as ispal
%o def agen(start=0): yield from (k for k in count(start) if ispal(k**3, 8))
%o print(list(islice(agen(), 12))) # _Michael S. Branicky_, Aug 02 2022
%Y Cf. A046240.
%K nonn,base,more
%O 1,3
%A _Patrick De Geest_, May 15 1998
%E More terms from _Ryan Propper_, May 30 2006