login
A286922
{0->01}-transform of the Sturmian word A080764.
3
1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1
OFFSET
1
COMMENTS
A080764 = 1101101110110111011011011101..., and replacing each 0 by 01 gives
11011101111011101111011101110111..., in which the positions of 0 are given by A286923, and of 1, by A286924.
LINKS
MATHEMATICA
s = Nest[Flatten[# /. {0 -> 1, 1 -> {1, 1, 0}}] &, {1}, 7] (* A080764 *)
w = StringJoin[Map[ToString, s]]
w1 = StringReplace[w, {"0" -> "01"}]
st = ToCharacterCode[w1] - 48 ; (* A286922 *)
Flatten[Position[st, 0]]; (* A286923 *)
Flatten[Position[st, 1]]; (* A286924 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, May 17 2017
STATUS
approved