OFFSET
0,1
COMMENTS
The trajectory is probably infinite, not periodic.
LINKS
Antti Karttunen, Table of n, a(n) for n = 0..1000
FORMULA
a(0) = 262; for n >= 1, a(n) = A264965(a(n-1)).
EXAMPLE
a(0) = 262 by definition. Its binary representation is A007088(262) = 100000110. When we reverse the significant prefix (i.e., leave the trailing zeros where they are), we get 386 (A007088(386) = 110000010). 386's ternary representation is A007089(386) = 112022. Reversing the significant prefix (now the whole expansion because no trailing zeros present), we get 220211 (= A007089(670)), thus a(1) = 670.
PROG
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Dec 06 2015
STATUS
approved