login
Positions of 1 in A288729; complement of A288730.
3

%I #4 Jun 16 2017 14:08:21

%S 3,4,6,7,13,14,16,17,19,20,22,23,29,30,32,33,39,40,42,43,45,46,48,49,

%T 51,52,54,55,61,62,64,65,71,72,74,75,77,78,80,81,87,88,90,91,97,98,

%U 100,101,103,104,106,107,109,110,112,113,115,116,118,119,125,126

%N Positions of 1 in A288729; complement of A288730.

%C Conjecture: a(n)/n-> 2, and 0 < 2 - a(n)/n) < 1/4 for n >= 1.

%H Clark Kimberling, <a href="/A288731/b288731.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" -> "1000", "10" -> "01"}]

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

%t st = ToCharacterCode[w[9]] - 48 (* A288729 *)

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

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

%Y Cf. A288729, A288730.

%K nonn,easy

%O 1,1

%A _Clark Kimberling_, Jun 16 2017