Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #4 May 10 2017 17:48:00
%S 0,1,1,0,1,1,0,0,1,0,1,1,0,1,0,0,1,0,1,1,1,0,1,1,0,0,1,0,1,1,1,0,1,0,
%T 0,1,0,1,1,0,1,1,0,0,1,0,1,1,0,1,0,0,1,0,1,1,1,0,1,0,0,1,0,1,1,0,1,1,
%U 0,0,1,0,1,1,1,0,1,1,0,0,1,0,1,1,0,1
%N {0011->1}-transform of the Thue-Morse word A010060.
%H Clark Kimberling, <a href="/A284627/b284627.txt">Table of n, a(n) for n = 1..10000</a>
%e As a word, A010060 = 0110100110010110100101100..., and replacing each 0011 by 1 gives 01101100101101001011101100101110...
%t s = Nest[Flatten[# /. {0 -> {0, 1}, 1 -> {1, 0}}] &, {0}, 9] (* A010060 *)
%t w = StringJoin[Map[ToString, s]]
%t w1 = StringReplace[w, {"0011" -> "1"}]
%t st = ToCharacterCode[w1] - 48 (* A284627 *)
%t Flatten[Position[st, 0]] (* A284684 *)
%t Flatten[Position[st, 1]] (* A284685 *)
%Y Cf. A010060, A284684, A284685.
%K nonn,easy
%O 1
%A _Clark Kimberling_, May 10 2017