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”).
%I #5 Apr 30 2017 22:37:59
%S 0,1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,
%T 1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,
%U 1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,1,0,1
%N {00->0, 11->1}-transform of A285565.
%C As a word, A285565 = 011001101101100110111101100110110110011001100110..., so that the transform of A285565 that results from the substitutions 00->0 and 11->1 is 01010101010110101010101010101010101101...
%H Clark Kimberling, <a href="/A285589/b285589.txt">Table of n, a(n) for n = 1..10000</a>
%t s = Nest[Flatten[# /. {0 -> {1, 1}, 1 -> {0, 1, 1, 0}}] &, {0}, 8] (* A285565 *)
%t w = StringJoin[Map[ToString, s]]
%t w1 = StringReplace[w, {"00" -> "0", "11" -> "1"}]
%t ss = ToCharacterCode[w1] - 48 (* A285589 *)
%t Flatten[Position[ss, 0]] (* A285590 *)
%t Flatten[Position[ss, 1]] (* A285591 *)
%Y Cf. A285515, A285565, A285590, A285591, A285592.
%K nonn,easy
%O 1
%A _Clark Kimberling_, Apr 30 2017