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.

A046235 Numbers whose cube is palindromic in base 6.

This page as a plain text file.
%I A046235 #19 Aug 11 2024 14:36:45
%S A046235 0,1,7,37,217,1297,7777,46657,279937,1679617,10077697,60466177,
%T A046235 362797057,860627456,2176782337
%N A046235 Numbers whose cube is palindromic in base 6.
%C A046235 Note that '7777' is itself a palindrome, even a repdigit !
%C A046235 Next term is >10000000000. - Sam Handler (sam_5_5_5_0(AT)yahoo.com), Aug 09 2006
%H A046235 Patrick De Geest, <a href="https://www.worldofnumbers.com/nobase10pg4.htm">World!Of Numbers</a>, Palindromic cubes in bases 2 to 17.
%t A046235 For[i = 1, i < 1000000, i++, tmp = IntegerDigits[i^3, 6]; If[tmp == Reverse[tmp], Print[i]]]; (* Sam Handler (sam_5_5_5_0(AT)yahoo.com), Aug 09 2006 *)
%o A046235 (PARI) isok(k) = my(d=digits(k^3, 6)); Vecrev(d) == d; \\ _Michel Marcus_, Aug 02 2022
%o A046235 (Python)
%o A046235 from itertools import count, islice
%o A046235 from sympy.ntheory import is_palindromic as ispal
%o A046235 def agen(start=0): yield from (k for k in count(start) if ispal(k**3, 6))
%o A046235 print(list(islice(agen(), 10))) # _Michael S. Branicky_, Aug 02 2022
%Y A046235 Cf. A046236.
%K A046235 nonn,more,base
%O A046235 1,3
%A A046235 _Patrick De Geest_, May 15 1998
%E A046235 More terms from Sam Handler (sam_5_5_5_0(AT)yahoo.com), Aug 09 2006