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!)
A286927 Positions of 1 in A286925; complement of A286926. 3
6, 12, 20, 26, 34, 40, 46, 54, 60, 68, 74, 80, 88, 94, 102, 108, 116, 122, 128, 136, 142, 150, 156, 162, 170, 176, 184, 190, 198, 204, 210, 218, 224, 232, 238, 244, 252, 258, 266, 272, 278, 286, 292, 300, 306, 314, 320, 326, 334, 340, 348, 354, 360, 368, 374 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(n) - a(n-1) is in {6,8} for n>=2, and a(n)/n -> 4 + sqrt(8).
LINKS
FORMULA
a(n) = 2*A001952(n).
EXAMPLE
As a word, A286925 = 00000100000100000001..., in which 1 is in positions 6,12,20,26,34,....
MATHEMATICA
s = Nest[Flatten[# /. {0 -> 1, 1 -> {1, 1, 0}}] &, {1}, 11]; (* Sturmian word A080764 *)
w = StringJoin[Map[ToString, s]];
w1 = StringReplace[w, {"0" -> "01", "1" -> "00"}]
st = ToCharacterCode[w1] - 48 ; (* A286925 *)
Flatten[Position[st, 0]]; (* A286926 *)
Flatten[Position[st, 1]]; (* A286927 *)
CROSSREFS
Sequence in context: A304391 A145278 A094371 * A189793 A356141 A079760
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, May 18 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 April 25 11:39 EDT 2024. Contains 371969 sequences. (Running on oeis4.)