|
|
A287028
|
|
{0->101, 1->010}-transform of the Sturmian word A080764.
|
|
1
|
|
|
0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1
|
|
COMMENTS
|
A080764 = 1101101110110111011011011101..., and replacing each 0 by 101 and each 1 by 010 gives 01001010101001010101001001010101..., in which the positions of 0 are given by A286992, and of 1, by A286991.
|
|
LINKS
|
|
|
FORMULA
|
|
|
MATHEMATICA
|
s = Nest[Flatten[# /. {0 -> 1, 1 -> {1, 1, 0}}] &, {1}, 11]; (* Sturmian word A080764 *)
w = StringJoin[Map[ToString, s]];
w1 = StringReplace[w, {"0" -> "101", "1"->"010"}]
st = ToCharacterCode[w1] - 48 ; (* A287028 *)
Flatten[Position[st, 0]]; (* A286992 *)
Flatten[Position[st, 1]]; (* A286991 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|