%I #17 Aug 02 2022 15:40:35
%S 0,1,2,10,38,82,91,730,6562,6643,59050,531442,532171,4782970,43046722,
%T 43053283,387420490,3486784402,3486843451,31381059610
%N Numbers whose cube is palindromic in base 9.
%C No more terms through 190000000000. - _Ryan Propper_, Jun 01 2006
%H Patrick De Geest, <a href="http://www.worldofnumbers.com/index.html">World!Of Numbers</a>
%o (PARI) isok(k) = my(d=digits(k^3, 9)); 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(startk=0): yield from (k for k in count(startk) if ispal(k**3, 9))
%o print(list(islice(agen(), 13))) # _Michael S. Branicky_, Aug 02 2022
%Y Cf. A046242.
%K nonn,base,more
%O 1,3
%A _Patrick De Geest_, May 15 1998
%E More terms from _Ryan Propper_, Jun 01 2006
|