login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Positions of 0 in A287331.
4

%I #4 May 23 2017 21:00:42

%S 2,4,5,6,10,12,14,15,16,20,21,22,26,27,28,32,36,40,42,44,45,46,50,52,

%T 54,55,56,60,62,64,65,66,70,71,72,76,77,78,82,86,90,92,94,95,96,100,

%U 101,102,106,107,108,112,116,120,122,124,125,126,130,131,132

%N Positions of 0 in A287331.

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

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

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

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

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

%Y Cf. A287331, A287333, A287334.

%K nonn,easy

%O 1,1

%A _Clark Kimberling_, May 23 2017