login
Positions of 0 in A288736; complement of A288740.
3

%I #4 Jun 16 2017 22:23:05

%S 1,4,5,6,7,10,13,16,17,18,19,22,23,24,25,28,31,34,37,40,41,42,43,46,

%T 47,48,49,52,55,58,59,60,61,64,65,66,67,70,73,76,79,82,85,88,89,90,91,

%U 94,95,96,97,100,103,106,107,108,109,112,113,114,115,118,121

%N Positions of 0 in A288736; complement of A288740.

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

%H Clark Kimberling, <a href="/A288737/b288737.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[22]] - 48 (* A288736 *)

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

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

%Y Cf. A288736, A288740.

%K nonn,easy

%O 1,2

%A _Clark Kimberling_, Jun 16 2017