login
Positions of 0 in A288203; complement of A288205.
3

%I #4 Jun 08 2017 18:20:43

%S 1,2,4,5,7,8,9,11,12,14,15,16,18,19,20,22,23,24,26,27,29,30,31,33,34,

%T 35,37,38,39,41,42,43,45,46,47,49,50,51,53,54,55,57,58,60,61,62,64,65,

%U 66,68,69,70,72,73,74,76,77,78,80,81,82,84,85,86,88,89

%N Positions of 0 in A288203; complement of A288205.

%C -1 < 4/3 - a(n)/n < 1 for n >= 1.

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

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

%t w[n_] := StringReplace[w[n - 1], {"00" -> "0010", "1" -> "010"}]

%t Table[w[n], {n, 0, 8}]

%t st = ToCharacterCode[w[11]] - 48 (* A288203 *)

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

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

%Y Cf. A288203, A288205.

%K nonn,easy

%O 1,2

%A _Clark Kimberling_, Jun 07 2017