login
Positions of 0 in A288861; complement of A288863.
3

%I #4 Jun 24 2017 15:58:30

%S 1,4,8,9,10,13,21,28,34,39,43,44,45,46,53,65,76,86,95,103,110,116,121,

%T 125,126,127,128,130,147,163,178,192,205,217,228,238,247,255,262,268,

%U 273,277,278,279,280,282,287,291,292,293,307,328,348,367,385,402

%N Positions of 0 in A288861; complement of A288863.

%H Clark Kimberling, <a href="/A288862/b288862.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" -> "011"}]

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

%t st = ToCharacterCode[w[53]] - 48 (* A288861 *)

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

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

%Y Cf. A288861, A288863.

%K nonn,easy

%O 1,2

%A _Clark Kimberling_, Jun 24 2017