login
Positions of 1 in A288257; complement of A288258.
3

%I #4 Jun 09 2017 19:38:54

%S 3,5,9,14,17,22,26,28,33,35,40,44,46,51,54,58,63,67,69,73,78,82,84,89,

%T 92,96,101,105,107,112,114,119,122,127,131,133,138,141,145,150,153,

%U 158,162,164,169,172,176,181,185,187,192,194,199,202,207,211,213

%N Positions of 1 in A288257; complement of A288258.

%C Conjecture: a(n)/n-> 3.76..., and if m denotes this number, then -1 < m - a(n)/n < 2 for n >= 1.

%H Clark Kimberling, <a href="/A288259/b288259.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" -> "100"}]

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

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

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

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

%Y Cf. A288257, A288258.

%K nonn,easy

%O 1,1

%A _Clark Kimberling_, Jun 09 2017