OFFSET
0,5
COMMENTS
If we replace 3's by 1's we get A035263.
PROG
(PARI) a(n)=if(n<2, 1, if(n%2, 2*a(n-1)+1, (a(n/2)+1)%2))
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Mar 13 2004
STATUS
approved