login
Positions of 2 in A287234.
4

%I #4 May 24 2017 09:59:54

%S 6,13,18,22,29,36,41,45,52,57,61,65,70,74,81,88,93,97,104,111,116,120,

%T 127,132,136,140,145,149,156,163,168,172,179,184,188,192,197,201,205,

%U 210,214,221,226,230,234,239,243,250,257,262,266,273,280,285,289

%N Positions of 2 in A287234.

%H Clark Kimberling, <a href="/A287237/b287237.txt">Table of n, a(n) for n = 1..10000</a>

%t s = Nest[Flatten[# /. {0 -> {0, 1}, 1 -> {2, 0}, 2 -> 1}] &, {1}, 10] (* A287234 *)

%t Flatten[Position[s, 0]] (* A287235 *)

%t Flatten[Position[s, 1]] (* A287236 *)

%t Flatten[Position[s, 2]] (* A287237 *)

%Y Cf. A287234, A287235, A287236.

%K nonn,easy

%O 1,1

%A _Clark Kimberling_, May 24 2017