login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A112539
Half-baked Thue-Morse: at successive steps the sequence or its bit-inverted form is appended to itself.
3
1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 0
OFFSET
1,1
EXAMPLE
1;
0;
1, 0;
0, 1, 0, 1;
1, 0, 1, 0, 0, 1, 0, 1;
0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0;
1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0;
0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 0...
MATHEMATICA
s = {1}; Do[s = Join[s, Mod[s + 1, 2]]; s = Join[s, s], {n, 4}]; s (* Robert G. Wilson v, Dec 22 2005 *)
PROG
s=[1 0]; loop s=[s s]; s=[s inv(s)] endloop
CROSSREFS
Cf. A112865 (as +-1), A341389 (complement).
Sequence in context: A320167 A030658 A187950 * A104104 A188467 A039983
KEYWORD
easy,nonn
AUTHOR
Alexandre Losev, Dec 15 2005
EXTENSIONS
More terms from Robert G. Wilson v, Dec 22 2005
STATUS
approved