login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Palindromic cubes in base 16.
2

%I #19 Dec 07 2024 08:02:43

%S 0,1,8,4913,16974593,20346417,68769820673,83396175409,281487861809153,

%T 284799399232257,337866128966449,1152924803144876033,

%U 1167339716607161089,1382949865068368689,4722367327294625677313,4725826936714463031297,4778141888650615849729

%N Palindromic cubes in base 16.

%H Giovanni Resta, <a href="/A029736/b029736.txt">Table of n, a(n) for n = 1..49</a>

%H Patrick De Geest, <a href="https://www.worldofnumbers.com/nobase10pg4.htm">World!Of Numbers</a>, Palindromic cubes in bases 2 to 17.

%F a(n) = A029735(n)^3. - _Michel Marcus_, Dec 21 2015

%o (Python)

%o A029736_list, j = [], 0

%o for i in range(10**9):

%o s = format(j,'x')

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

%o A029736_list.append(j)

%o j += 3*i*(i+1)+1 # _Chai Wah Wu_, Dec 20 2015

%o (PARI) lista(nn) = {for (n=0, nn, my(vd = digits(n^3, 16)); if (Vecrev(vd) == vd, print1(n^3, ", ")););} \\ _Michel Marcus_, Dec 21 2015

%Y Cf. A029735.

%K nonn,base

%O 1,3

%A _Patrick De Geest_

%E More terms from _Giovanni Resta_, Aug 06 2019