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!)
A286805 Positions of 0 in A286804; complement of A286806. 4

%I #4 May 17 2017 11:34:32

%S 1,2,4,5,8,9,12,13,15,16,19,20,23,24,26,27,30,31,34,35,38,39,41,42,45,

%T 46,49,50,52,53,56,57,60,61,64,65,67,68,71,72,75,76,78,79,82,83,86,87,

%U 89,90,93,94,97,98,101,102,104,105,108,109,112,113,115,116

%N Positions of 0 in A286804; complement of A286806.

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

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

%e As a word, A286804 = 0010011001100100110011..., in which 0 is in positions 1,2,4,5,8,9,...

%t s = Nest[Flatten[# /. {0 -> {0, 0, 1}, 1 -> {0}}] &, {0}, 16]; (* Pell word, A171588 *)

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

%t w1 = StringReplace[w, {"000" -> ""}];

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

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

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

%Y Cf. A171588, A286804, A286806.

%K nonn,easy

%O 1,2

%A _Clark Kimberling_, May 16 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 19 21:09 EDT 2024. Contains 371798 sequences. (Running on oeis4.)