login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A029735 Numbers n such that n^3 is palindromic in base 16. 1
0, 1, 2, 17, 257, 273, 4097, 4369, 65537, 65793, 69649, 1048577, 1052929, 1114129, 16777217, 16781313, 16843009, 16847105, 17825809, 17829905, 268435457, 268505089, 269484289, 285212689 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

LINKS

Table of n, a(n) for n=1..24.

P. De Geest, Palindromic numbers beyond base 10

P. De Geest, World!Of Numbers

PROG

(Python)

A029735_list, j = [], 0

for i in range(10**9):

    s = format(j, 'x')

    if s == s[::-1]:

        A029735_list.append(i)

    j += 3*i*(i+1)+1 # Chai Wah Wu, Dec 20 2015

(PARI) isok(n) = my(vd = digits(n^3, 16)); Vecrev(vd) == vd; \\ Michel Marcus, Dec 21 2015

(MAGMA) [n: n in [0..2*10^7] | Intseq(n^3, 16) eq Reverse(Intseq(n^3, 16))]; // Vincenzo Librandi, Dec 22 2015

CROSSREFS

Cf. A029736.

Sequence in context: A099702 A253549 A002590 * A037896 A099714 A195443

Adjacent sequences:  A029732 A029733 A029734 * A029736 A029737 A029738

KEYWORD

nonn,base,more

AUTHOR

Patrick De Geest, May 15 1998

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy .

Last modified August 31 10:31 EDT 2016. Contains 275975 sequences.