%I
%S 0,1,0,0,0,1,0,1,0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,1,0,1,0,0,0,1,0,1,0,0,
%T 1,0,0,1,0,0,1,0,1,0,0,0,1,0,0,1,0,0,0,1,0,1,0,0,1,0,0,1,0,0,0,1,0,0,
%U 1,0,0,1,0,1,0,0,0,1,0,0,1,0,0,0,1,0
%N {0110>1}transform of the ThueMorse word A010060.
%H Clark Kimberling, <a href="/A285969/b285969.txt">Table of n, a(n) for n = 1..10000</a>
%e As a word, A010060 = 0110100110010110100101100..., and replacing each 0110 by 0 gives 0100010100100...
%t s = Nest[Flatten[# /. {0 > {0, 1}, 1 > {1, 0}}] &, {0}, 9] (* A010060 *)
%t w = StringJoin[Map[ToString, s]]
%t w1 = StringReplace[w, {"0110" > "0"}]
%t st = ToCharacterCode[w1]  48 (* A285969 *)
%t Flatten[Position[st, 0]] (* A285970 *)
%t Flatten[Position[st, 1]] (* A285971 *)
%Y Cf. A010060, A285970, A285971.
%K nonn,easy
%O 1
%A _Clark Kimberling_, May 08 2017
