The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A286990 {0->010, 1->101}-transform of the Sturmian word A080764. 4
1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
1
COMMENTS
A080764 = 1101101110110111011011011101..., and replacing each 0 by 010 and each 1 by 101 gives 101101010101101010101101101010101..., in which the positions of 0 are given by A286991, and of 1, by A286992.
LINKS
MATHEMATICA
s = Nest[Flatten[# /. {0 -> 1, 1 -> {1, 1, 0}}] &, {1}, 11]; (* Sturmian word A080764 *)
w = StringJoin[Map[ToString, s]];
w1 = StringReplace[w, {"0" -> "010", "1"->"101"}]
st = ToCharacterCode[w1] - 48 ; (* A286990 *)
Flatten[Position[st, 0]]; (* A286991 *)
Flatten[Position[st, 1]]; (* A286992 *)
CROSSREFS
Sequence in context: A104974 A266719 A024711 * A249866 A369736 A128174
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, May 19 2017
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 19 09:05 EDT 2024. Contains 372673 sequences. (Running on oeis4.)