login
Positions of 0 in A287125; complement of A287127.
3

%I #5 Jun 07 2017 12:25:42

%S 1,2,6,9,12,13,16,19,20,23,26,27,28,32,35,36,39,42,43,44,48,51,52,55,

%T 58,59,60,62,65,68,71,72,75,78,79,80,84,87,88,91,94,95,96,98,101,104,

%U 107,108,111,114,115,116,120,123,124,127,130,131,132,134,137

%N Positions of 0 in A287125; complement of A287127.

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

%H Clark Kimberling, <a href="/A287126/b287126.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" -> "001", "1" -> "110"}]

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

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

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

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

%t Table[StringLength[w[n]], {n, 1, 35}] (* A287128 conjectured *)

%Y Cf. A287125, A287127, A287128.

%K nonn,easy

%O 1,2

%A _Clark Kimberling_, Jun 06 2017