Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #4 May 21 2017 14:35:02
%S 3,6,11,15,20,24,27,31,36,40,43,48,52,55,59,64,68,71,76,80,85,89,92,
%T 97,101,104,108,113,117,120,125,129,134,138,141,145,150,154,157,162,
%U 166,171,175,178,183,187,190,194,199,203,206,211,215,220,224,227,231
%N Positions of 2 in A287072.
%H Clark Kimberling, <a href="/A287075/b287075.txt">Table of n, a(n) for n = 1..10000</a>
%t s = Nest[Flatten[# /. {0 -> {0, 1}, 1 -> {2, 1}, 2 -> 0}] &, {0}, 10] (* A287072 *)
%t Flatten[Position[s, 0]] (* A287073 *)
%t Flatten[Position[s, 1]] (* A287074 *)
%t Flatten[Position[s, 2]] (* A287075 *)
%Y Cf. A287072, A287073, A287074.
%K nonn,easy
%O 1,1
%A _Clark Kimberling_, May 21 2017