OFFSET
0,2
LINKS
Antti Karttunen, Table of n, a(n) for n = 0..512
FORMULA
EXAMPLE
2^5 = 32 in base 3 = "1012" (= A007089(32)) as 1*27 + 1*3 + 2*1 = 32. 2^6 = 64 in base 3 = "2101" as 2*27 + 1*9 + 1*1 = 64. "1012" reversed is "2101" and vice versa, thus a(5) = 64 and a(6) = 32.
PROG
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Dec 05 2015
STATUS
approved