login
A285589
{00->0, 11->1}-transform of A285565.
5
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, 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, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1
OFFSET
1
COMMENTS
As a word, A285565 = 011001101101100110111101100110110110011001100110..., so that the transform of A285565 that results from the substitutions 00->0 and 11->1 is 01010101010110101010101010101010101101...
LINKS
MATHEMATICA
s = Nest[Flatten[# /. {0 -> {1, 1}, 1 -> {0, 1, 1, 0}}] &, {0}, 8] (* A285565 *)
w = StringJoin[Map[ToString, s]]
w1 = StringReplace[w, {"00" -> "0", "11" -> "1"}]
ss = ToCharacterCode[w1] - 48 (* A285589 *)
Flatten[Position[ss, 0]] (* A285590 *)
Flatten[Position[ss, 1]] (* A285591 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Apr 30 2017
STATUS
approved