OFFSET
1,1
MATHEMATICA
f[l_]:=Join[l, If[l[[Log[2, Length[l]]+1]]==0, l, 1-l]]; Nest[f, {1}, 7] (* Ray Chandler, Apr 05 2009 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Leroy Quet, Mar 04 2005
EXTENSIONS
Edited and extended by Ray Chandler, Apr 05 2009
STATUS
approved