login
Positions of 1 in A287234.
4

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

%S 1,3,5,8,10,12,15,17,21,24,26,28,31,33,35,38,40,44,47,49,51,54,56,60,

%T 64,67,69,73,76,78,80,83,85,87,90,92,96,99,101,103,106,108,110,113,

%U 115,119,122,124,126,129,131,135,139,142,144,148,151,153,155,158

%N Positions of 1 in A287234.

%H Clark Kimberling, <a href="/A287236/b287236.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, A287237.

%K nonn,easy

%O 1,2

%A _Clark Kimberling_, May 24 2017