|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,3
|
|
COMMENTS
|
No more terms through 190000000000. - Ryan Propper, Jun 01 2006
|
|
LINKS
|
|
|
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))
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,more
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|