login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A286693 Positions of 1 in A286691; complement of A286692. 3
2, 5, 7, 8, 11, 14, 16, 17, 20, 23, 26, 28, 29, 32, 35, 37, 38, 41, 44, 47, 49, 50, 53, 56, 58, 59, 62, 65, 67, 68, 71, 74, 77, 79, 80, 83, 86, 88, 89, 92, 95, 98, 100, 101, 104, 107, 109, 110, 113, 116, 118, 119, 122, 125, 128, 130, 131, 134, 137, 139, 140 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

a(n) - a(n-1) is in {1,2,3} for n>=2, and a(n)/n -> 4 + sqrt(8).

LINKS

Clark Kimberling, Table of n, a(n) for n = 1..10000

EXAMPLE

As a word, A286691 = 0100101100100101100100100101100100..., in which 1 is in positions 2,5,7,8,11,...

MATHEMATICA

s = Nest[Flatten[# /. {0 -> {0, 0, 1}, 1 -> {0}}] &, {0}, 6] (* A171588 *)

w = StringJoin[Map[ToString, s]]

w1 = StringReplace[w, {"0" -> "010", "1"->"110"}]

st = ToCharacterCode[w1] - 48 ; (* A286691 *)

Flatten[Position[st, 0]];  (* A286692 *)

Flatten[Position[st, 1]];  (* A286693 *)

CROSSREFS

Cf. A171588, A286691, A286692.

Sequence in context: A111199 A276545 A138671 * A032724 A153308 A216565

Adjacent sequences:  A286690 A286691 A286692 * A286694 A286695 A286696

KEYWORD

nonn,easy

AUTHOR

Clark Kimberling, May 14 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 11 16:42 EDT 2021. Contains 342888 sequences. (Running on oeis4.)