login
Positions of 0 in A288729; complement of A288731.
3

%I #4 Jun 16 2017 14:08:14

%S 1,2,5,8,9,10,11,12,15,18,21,24,25,26,27,28,31,34,35,36,37,38,41,44,

%T 47,50,53,56,57,58,59,60,63,66,67,68,69,70,73,76,79,82,83,84,85,86,89,

%U 92,93,94,95,96,99,102,105,108,111,114,117,120,121,122,123

%N Positions of 0 in A288729; complement of A288731.

%C Conjecture: a(n)/n-> 2, and 0 < 2 - a(n)/n) < 1 for n >= 1.

%H Clark Kimberling, <a href="/A288730/b288730.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" -> "01"}]

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

%t st = ToCharacterCode[w[9]] - 48 (* A288729 *)

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

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

%Y Cf. A288729, A288731.

%K nonn,easy

%O 1,2

%A _Clark Kimberling_, Jun 16 2017