OFFSET
0,3
COMMENTS
As n -> infinity, a(n) -> infinity.
LINKS
Ivan Neretin, Table of n, a(n) for n = 0..10000
MATHEMATICA
NestList[BitXor[#, Quotient[#, 4]] + 1 &, 0, 60] (* Ivan Neretin, Sep 03 2015 *)
PROG
(PARI)
N=100; v=vector(N);
for (n=1, N-1, v[n+1] = bitxor( v[n], v[n] \ 8 ) + 1 );
v /* show terms */
/* Joerg Arndt, Apr 28 2012 */
CROSSREFS
KEYWORD
AUTHOR
Alex Ratushnyak, Apr 27 2012
STATUS
approved