login
Positions of 0 in A287372; complement of A287402.
5

%I #4 Jun 17 2017 18:26:42

%S 1,2,3,5,6,7,9,10,11,13,14,15,16,17,18,20,21,22,24,25,26,27,28,29,30,

%T 32,33,34,36,37,38,39,40,41,42,44,45,46,47,48,49,51,52,53,55,56,57,59,

%U 60,61,62,63,64,66,67,68,70,71,72,73,74,75,76,78,79,80

%N Positions of 0 in A287372; complement of A287402.

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

%H Clark Kimberling, <a href="/A287527/b287527.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" -> "000"}]

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

%t st = ToCharacterCode[w[22]] - 48 (* A287372 *)

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

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

%Y Cf. A287372, A287402.

%K nonn,easy

%O 1,2

%A _Clark Kimberling_, Jun 17 2017