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!)
A286994 Positions of 0 in A286993; complement of A286995. 3

%I #9 Oct 08 2017 12:43:16

%S 3,4,5,8,9,10,12,13,14,17,18,19,21,22,23,26,27,28,31,32,33,35,36,37,

%T 40,41,42,44,45,46,49,50,51,54,55,56,58,59,60,63,64,65,67,68,69,72,73,

%U 74,76,77,78,81,82,83,86,87,88,90,91,92,95,96,97,99,100

%N Positions of 0 in A286993; complement of A286995.

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

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

%e As a word, A286993 = 11000110001000110..., in which 0 is in positions 3,4,5,8,9,...

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

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

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

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

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

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

%Y Cf. A080764, A286993, A286995.

%K nonn,easy

%O 1,1

%A _Clark Kimberling_, May 19 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 23 20:33 EDT 2024. Contains 371916 sequences. (Running on oeis4.)