OFFSET
0,5
COMMENTS
a(2n+1) = a(n).
FORMULA
a(n)=mod(-1+sum{k=0..floor(n/2), mod(binomial(n-k, k), 2)}, 3); a(n)=mod(-1+A002487(n+1), 3).
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Dec 10 2004
STATUS
approved