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) = A264966(a(n-1)).
EXAMPLE
a(0) = 262 by definition. Its base-3 representation is A007089(262) = 100201. Reversing the significant prefix (in this case the whole expansion because no trailing zeros present), we get 102001 (= A007089(298)). Base-2 representation of 298 is 100101010 (= A007088(298)). Reversing its significant prefix, we get 101010010 (= A007088(338)), thus a(1) = 338.
PROG
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Dec 06 2015
STATUS
approved