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!)
A046239 Numbers whose cube is palindromic in base 8. 1
0, 1, 3, 9, 65, 73, 513, 4097, 4161, 32769, 262145, 262657, 2097153, 16777217, 16781313, 134217729, 1073741825, 1073774593, 8589934593, 68719476737, 68719738881 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
Patrick De Geest, World!Of Numbers
PROG
(PARI) isok(k) = my(d=digits(k^3, 8)); 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, 8))
print(list(islice(agen(), 12))) # Michael S. Branicky, Aug 02 2022
CROSSREFS
Cf. A046240.
Sequence in context: A276535 A228776 A087673 * A093351 A018543 A026090
KEYWORD
nonn,base,more
AUTHOR
Patrick De Geest, May 15 1998
EXTENSIONS
More terms from Ryan Propper, May 30 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 16 14:51 EDT 2024. Contains 371749 sequences. (Running on oeis4.)