%I #5 May 10 2017 21:33:06
%S 0,1,1,0,1,0,0,1,1,0,1,1,0,1,0,1,1,0,0,1,1,0,1,0,0,1,1,0,1,1,0,0,1,1,
%T 0,1,0,1,1,0,1,0,0,1,1,0,1,1,0,1,0,1,1,0,0,1,1,0,1,0,1,1,0,1,0,0,1,1,
%U 0,1,1,0,0,1,1,0,1,0,0,1,1,0,1,1,0,1
%N {0010->0}-transform of the Thue-Morse word A010060.
%C This is also the {0101->1}-transform of the Thue-Morse word A010060.
%H Clark Kimberling, <a href="/A286484/b286484.txt">Table of n, a(n) for n = 1..10000</a>
%e As a word, A010060 = 0110100110010110100101100..., and replacing each 0010 by 0 gives 0110100110110101100110100110...
%t s = Nest[Flatten[# /. {0 -> {0, 1}, 1 -> {1, 0}}] &, {0}, 9] (* A010060 *)
%t w = StringJoin[Map[ToString, s]]
%t w1 = StringReplace[w, {"0010" -> "0"}]
%t st = ToCharacterCode[w1] - 48 (* A286484 *)
%t Flatten[Position[st, 0]] (* A286485 *)
%t Flatten[Position[st, 1]] (* A286486 *)
%Y Cf. A010060, A286485, A286486.
%K nonn,easy
%O 1
%A _Clark Kimberling_, May 10 2017