login

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

Positions of 1 in A287331.
4

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

%S 1,3,9,11,13,19,25,31,35,39,41,43,49,51,53,59,61,63,69,75,81,85,89,91,

%T 93,99,105,111,115,119,121,123,129,135,141,145,149,151,153,159,163,

%U 167,169,171,177,181,185,187,189,195,197,199,205,207,209,215,221

%N Positions of 1 in A287331.

%H Clark Kimberling, <a href="/A287333/b287333.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, A287332, A287334.

%K nonn,easy

%O 1,2

%A _Clark Kimberling_, May 23 2017