login
A046241
Numbers whose cube is palindromic in base 9.
1
0, 1, 2, 10, 38, 82, 91, 730, 6562, 6643, 59050, 531442, 532171, 4782970, 43046722, 43053283, 387420490, 3486784402, 3486843451, 31381059610
OFFSET
1,3
COMMENTS
No more terms through 190000000000. - Ryan Propper, Jun 01 2006
LINKS
Patrick De Geest, World!Of Numbers, Palindromic cubes in bases 2 to 17.
PROG
(PARI) isok(k) = my(d=digits(k^3, 9)); Vecrev(d) == d; \\ Michel Marcus, Aug 02 2022
(Python)
from itertools import count, islice
from sympy.ntheory import is_palindromic as ispal
def agen(startk=0): yield from (k for k in count(startk) if ispal(k**3, 9))
print(list(islice(agen(), 13))) # Michael S. Branicky, Aug 02 2022
CROSSREFS
Cf. A046242.
Sequence in context: A005968 A212881 A177173 * A048499 A119358 A110148
KEYWORD
nonn,base,more
AUTHOR
Patrick De Geest, May 15 1998
EXTENSIONS
More terms from Ryan Propper, Jun 01 2006
STATUS
approved