OFFSET
1,5
FORMULA
a(6n)=A035263(n)
PROG
(PARI) a(n)=if(n<2, 1, if(n%2, 2*a(n-1), (a(n/2)+1)%2))
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Mar 11 2004
STATUS
approved