login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A046235 Numbers whose cube is palindromic in base 6. 1
0, 1, 7, 37, 217, 1297, 7777, 46657, 279937, 1679617, 10077697, 60466177, 362797057, 860627456, 2176782337 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
Note that '7777' is itself a palindrome, even a repdigit !
Next term is >10000000000. - Sam Handler (sam_5_5_5_0(AT)yahoo.com), Aug 09 2006
LINKS
Patrick De Geest, World!Of Numbers
MATHEMATICA
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 *)
PROG
(PARI) isok(k) = my(d=digits(k^3, 6)); Vecrev(d) == d; \\ Michel Marcus, Aug 02 2022
(Python)
from itertools import count, islice
from sympy.ntheory import is_palindromic as ispal
def agen(start=0): yield from (k for k in count(start) if ispal(k**3, 6))
print(list(islice(agen(), 10))) # Michael S. Branicky, Aug 02 2022
CROSSREFS
Cf. A046236.
Sequence in context: A255672 A077239 A362087 * A297329 A347726 A339686
KEYWORD
nonn,more,base
AUTHOR
Patrick De Geest, May 15 1998
EXTENSIONS
More terms from Sam Handler (sam_5_5_5_0(AT)yahoo.com), Aug 09 2006
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 09:18 EDT 2024. Contains 371935 sequences. (Running on oeis4.)