login
Positions of 1 in A288855; complement of A288856.
3

%I #6 Jun 24 2017 01:04:19

%S 1,5,6,7,8,10,11,12,13,14,16,17,18,19,21,22,23,28,29,30,31,32,33,34,

%T 35,37,38,39,40,41,42,43,44,45,47,48,49,50,51,52,53,54,56,57,58,59,60,

%U 61,62,64,65,66,67,68,69,71,72,73,74,75,77,78,79,80,82,83

%N Positions of 1 in A288855; complement of A288856.

%H Clark Kimberling, <a href="/A288857/b288857.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[51]] - 48 (* A288855 *)

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

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

%Y Cf. A288855, A288856.

%K nonn,easy

%O 1,2

%A _Clark Kimberling_, Jun 23 2017