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.

A046239 Numbers whose cube is palindromic in base 8.

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