login
Positions of 0 in A287382; complement of A287448.
3

%I #6 Jun 18 2017 22:08:51

%S 1,2,5,6,7,8,9,11,13,14,17,18,19,20,21,24,25,26,28,29,30,31,32,34,35,

%T 36,38,39,41,43,44,47,48,49,50,51,54,55,56,57,58,60,62,63,66,67,68,70,

%U 71,72,74,75,78,79,80,81,82,85,86,87,89,90,91,93,94,97

%N Positions of 0 in A287382; complement of A287448.

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

%H Clark Kimberling, <a href="/A287440/b287440.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" -> "001"}]

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

%t st = ToCharacterCode[w[23]] - 48 (* A287382 *)

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

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

%Y Cf. A287382, A287448.

%K nonn,easy

%O 1,2

%A _Clark Kimberling_, Jun 18 2017