OFFSET
1,1
LINKS
Vantieghem Emmanuel, Nov 14 2006, Table of n, a(n) for n = 1..620
FORMULA
a(n+2) = A000002(n)-1. - Danny Rorabaugh, Mar 04 2015
MATHEMATICA
a = {1, 1, 0}; i = 2; Label[be]; i += 1; t = Part[a, i]; If[t == 0, b = {a, 1 - Part[a, Length[a]]}; a := Flatten[b], b = {a, Part[a, Length[a]]}; a := Flatten[b]; b = {a, 1 - Part[a, Length[a]]}; a := Flatten[b]]; If[i > 1000, Print[a], Goto[be]]
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Emmanuel Vantieghem, Nov 14 2006
STATUS
approved