login
Positions of 1 in A288520; complement of A288521.
3

%I #8 Jun 16 2017 22:33:47

%S 3,6,9,12,14,16,19,21,23,26,28,30,34,38,41,43,45,49,53,56,58,60,64,68,

%T 72,75,78,82,85,88,91,93,95,99,103,107,110,113,117,120,123,126,128,

%U 130,134,138,142,145,148,152,155,158,162,165,168,171,173,175,178

%N Positions of 1 in A288520; complement of A288521.

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

%H Clark Kimberling, <a href="/A288522/b288522.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" -> "0101", "10" -> "010"}]

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

%t st = ToCharacterCode[w[18]] - 48 (* A288520 *)

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

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

%Y Cf. A288520, A288521.

%K nonn,easy

%O 1,1

%A _Clark Kimberling_, Jun 13 2017