login
Positions of 0 in A288936; complement of A288938.
3

%I #6 Aug 03 2022 07:25:38

%S 1,2,4,5,8,11,15,20,26,33,41,50,60,71,83,96,110,125,141,158,176,195,

%T 215,236,258,281,305,330,356,383,411,440,470,501,533,566,600,635,671,

%U 708,746,785,825,866,908,951,995,1040,1086,1133,1181,1230,1280,1331

%N Positions of 0 in A288936; complement of A288938.

%C The sequence (a(n)/n) diverges.

%H Clark Kimberling, <a href="/A288937/b288937.txt">Table of n, a(n) for n = 1..1000</a>

%t z = 11; (* number of iterates *)

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

%t w[n_] := StringReplace[w[n - 1], {"00" -> "0010", "01" -> "011", "10" -> "011"}]

%t TableForm[Table[w[n], {n, 0, 10}]]

%t st = ToCharacterCode[w[z]] - 48 (* A288936 *)

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

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

%Y Cf. A167499, A288936, A288938.

%K nonn,easy

%O 1,2

%A _Clark Kimberling_, Jun 28 2017