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!)
A286991 Positions of 0 in A286990; complement of A286992. 4
2, 5, 7, 9, 11, 14, 16, 18, 20, 23, 26, 28, 30, 32, 35, 37, 39, 41, 44, 47, 49, 51, 53, 56, 58, 60, 62, 65, 67, 69, 71, 74, 77, 79, 81, 83, 86, 88, 90, 92, 95, 98, 100, 102, 104, 107, 109, 111, 113, 116, 118, 120, 122, 125, 128, 130, 132, 134, 137, 139, 141 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(n) - a(n-1) is in {2,3} for n>=2, and a(n)/n -> (12 + 3*sqrt(2))/7.
LINKS
EXAMPLE
As a word, A286990 = 1011010101011010101011..., in which 0 is in positions 2,5,7,9,....
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: A206815 A024510 A169865 * A029905 A057437 A339922
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 June 9 05:56 EDT 2024. Contains 373227 sequences. (Running on oeis4.)