login
Positions of 0 in A288858; complement of A288860.
3

%I #4 Jun 24 2017 01:04:34

%S 1,5,6,7,11,18,24,29,33,34,35,36,44,55,65,74,82,89,95,100,104,105,106,

%T 107,110,126,141,155,168,180,191,201,210,218,225,231,236,240,241,242,

%U 243,246,250,251,252,267,287,306,324,341,357,372,386,399,411,422

%N Positions of 0 in A288858; complement of A288860.

%H Clark Kimberling, <a href="/A288859/b288859.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[52]] - 48 (* A288858 *)

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

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

%Y Cf. A288858, A288860.

%K nonn,easy

%O 1,2

%A _Clark Kimberling_, Jun 23 2017