login
Positions of 1 in A288694; complement of A288695.
3

%I #4 Jun 16 2017 22:22:45

%S 2,3,7,8,10,11,14,15,19,20,24,25,27,28,32,33,35,36,39,40,44,45,47,48,

%T 51,52,56,57,61,62,64,65,68,69,73,74,78,79,81,82,86,87,89,90,93,94,98,

%U 99,103,104,106,107,111,112,114,115

%N Positions of 1 in A288694; complement of A288695.

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

%H Clark Kimberling, <a href="/A288696/b288696.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" -> "0110", "10" -> "100"}]

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

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

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

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

%t Table[StringLength[w[n]], {n, 1, 35}]

%Y Cf. A288694, A288695.

%K nonn,easy

%O 1,1

%A _Clark Kimberling_, Jun 16 2017