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!)
A286995 Positions of 1 in A286993; complement of A286994. 3
1, 2, 6, 7, 11, 15, 16, 20, 24, 25, 29, 30, 34, 38, 39, 43, 47, 48, 52, 53, 57, 61, 62, 66, 70, 71, 75, 79, 80, 84, 85, 89, 93, 94, 98, 102, 103, 107, 108, 112, 116, 117, 121, 125, 126, 130, 134, 135, 139, 140, 144, 148, 149, 153, 157, 158, 162, 163, 167 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
a(n) - a(n-1) is in {1,4} for n>=2, and a(n)/n -> (16 + 3*sqrt(2))/7.
LINKS
EXAMPLE
As a word, A286993 = 11000110001000110..., in which 1 is in positions 1,2,6,7,11,....
MATHEMATICA
s = Nest[Flatten[# /. {0 -> 1, 1 -> {1, 1, 0}}] &, {1}, 11]; (* Sturmian word A080764 *)
w = StringJoin[Map[ToString, s]];
w1 = StringReplace[w, {"0" -> "000", "111"->"1"}]
st = ToCharacterCode[w1] - 48 ; (* A286993 *)
Flatten[Position[st, 0]]; (* A286994 *)
Flatten[Position[st, 1]]; (* A286995 *)
CROSSREFS
Sequence in context: A039568 A032926 A214991 * A088227 A231500 A174000
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 5 17:44 EDT 2024. Contains 373107 sequences. (Running on oeis4.)