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!)
A286989 Positions of 1 in A286987; complement of A286988. 3
1, 2, 4, 5, 7, 9, 10, 12, 14, 15, 17, 18, 20, 22, 23, 25, 27, 28, 30, 31, 33, 35, 36, 38, 40, 41, 43, 45, 46, 48, 49, 51, 53, 54, 56, 58, 59, 61, 62, 64, 66, 67, 69, 71, 72, 74, 76, 77, 79, 80, 82, 84, 85, 87, 89, 90, 92, 93, 95, 97, 98, 100, 102, 103, 105 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
a(n) - a(n-1) is in {1,2} for n>=2, and a(n)/n -> (10 + sqrt(2))/7.
Is this the union of {1} and A226720? - R. J. Mathar, May 21 2017
LINKS
EXAMPLE
As a word, A286987 = 1101101011010110110101..., in which 1 is in positions 1,2,4,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, {"111" -> "1"}]
st = ToCharacterCode[w1] - 48 ; (* A286987 *)
Flatten[Position[st, 0]]; (* A286988 *)
Flatten[Position[st, 1]]; (* A286989 *)
CROSSREFS
Sequence in context: A004956 A026351 A184656 * A226720 A047212 A358845
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 7 04:45 EDT 2024. Contains 372300 sequences. (Running on oeis4.)