login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Positions of 1 in A288372; complement of A288316.
3

%I #4 Jun 10 2017 22:29:44

%S 4,7,11,13,17,20,23,27,30,34,36,40,42,46,49,53,55,59,62,65,69,72,75,

%T 79,82,86,88,92,95,98,102,105,109,111,115,117,121,124,128,130,134,136,

%U 140,143,147,149,153,156,159,163,166,170,172,176,178,182,185,189

%N Positions of 1 in A288372; complement of A288316.

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

%H Clark Kimberling, <a href="/A288374/b288374.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" -> "0001", "1" -> "01"}]

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

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

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

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

%Y Cf. A288372, A288373.

%K nonn,easy

%O 1,1

%A _Clark Kimberling_, Jun 09 2017