login
Positions of 1 in A287364.
4

%I #7 Feb 10 2018 19:42:05

%S 1,2,5,6,7,10,13,16,18,20,21,22,25,26,27,30,31,32,35,38,41,43,45,46,

%T 47,50,53,56,58,60,61,62,65,68,71,73,75,76,77,80,82,84,85,86,89,91,93,

%U 94,95,98,99,100,103,104,105,108,111,114,116,118,119,120,123

%N Positions of 1 in A287364.

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

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

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

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

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

%Y Cf. A287365, A287367.

%K nonn,easy

%O 1,2

%A _Clark Kimberling_, May 24 2017