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!)
A287792 Positions of 1 in A287790; complement of A287791. 3

%I #4 Jun 04 2017 18:18:34

%S 3,4,5,9,12,13,14,18,19,20,24,27,28,29,33,36,37,38,42,43,44,48,51,52,

%T 53,57,58,59,63,66,67,68,72,75,76,77,81,82,83,87,90,91,92,96,99,100,

%U 101,105,106,107,111,114,115,116,120,121,122,126,129,130,131

%N Positions of 1 in A287790; complement of A287791.

%C -2 < n*r - a(n) < 2 for n >= 1, where r = (15 + 3*sqrt(5))/10.

%H Clark Kimberling, <a href="/A287792/b287792.txt">Table of n, a(n) for n = 1..10000</a>

%t s = Nest[Flatten[# /. {0 -> {0, 1}, 1 -> {0}}] &, {0}, 10] (* A003849 *)

%t w = StringJoin[Map[ToString, s]]

%t w1 = StringReplace[w, {"0" -> "001", "1" -> "110"}]

%t st = ToCharacterCode[w1] - 48 (* A287790 *)

%t Flatten[Position[st, 0]] (* A287791 *)

%t Flatten[Position[st, 1]] (* A287792 *)

%Y Cf. A287790, A287791.

%K nonn,easy

%O 1,1

%A _Clark Kimberling_, Jun 03 2017

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 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)