login
Positions of 0 in A287112.
4

%I #4 May 22 2017 12:22:59

%S 2,4,6,7,9,11,13,15,17,18,20,22,24,26,28,30,31,33,35,37,38,40,42,44,

%T 46,48,50,51,53,55,57,59,61,62,64,66,68,70,72,74,75,77,79,81,83,85,86,

%U 88,90,92,94,96,98,99,101,103,105,106,108,110,112,114,116

%N Positions of 0 in A287112.

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

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

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

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

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

%Y Cf. A287112, A287114, A287115.

%K nonn,easy

%O 1,1

%A _Clark Kimberling_, May 22 2017