login
Positions of 0 in A288213; complement of A288215.
3

%I #4 Jun 08 2017 18:21:11

%S 1,2,4,5,8,9,11,12,15,18,19,21,22,25,26,28,29,32,35,36,39,42,43,45,46,

%T 49,50,52,53,56,59,60,62,63,66,67,69,70,73,76,77,80,83,84,86,87,90,93,

%U 94,97,100,101,103,104,107,108,110,111,114,117,118,120,121

%N Positions of 0 in A288213; complement of A288215.

%C 0 < 2 - a(n)/n < 1 for n >= 1.

%H Clark Kimberling, <a href="/A288214/b288214.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 (* A288213 *)

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

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

%Y Cf. A288213, A288215.

%K nonn,easy

%O 1,2

%A _Clark Kimberling_, Jun 07 2017