login
Positions of 0 in A288478; complement of A288480.
3

%I #8 Jun 04 2020 17:06:00

%S 1,4,7,8,11,14,15,17,21,24,25,28,31,32,34,38,39,42,45,48,49,52,55,56,

%T 58,62,65,66,69,72,73,75,79,80,83,86,89,90,92,96,99,100,103,106,107,

%U 110,113,114,116,120,123,124,127,130,131,133,137,138,141,144,147

%N Positions of 0 in A288478; complement of A288480.

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

%H Clark Kimberling, <a href="/A288479/b288479.txt">Table of n, a(n) for n = 1..10000</a> [term a(9802) - was 23662 - and following corrected by _Georg Fischer_, Jun 04 2020]

%t s = {0, 0}; w[0] = StringJoin[Map[ToString, s]];

%t w[n_] := StringReplace[w[n - 1], {"00" -> "0101", "1" -> "110"}]

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

%t st = ToCharacterCode[w[13]] - 48 (* A288478 *)

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

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

%Y Cf. A288478, A288480

%K nonn,easy

%O 1,2

%A _Clark Kimberling_, Jun 12 2017