%I #4 May 26 2017 16:43:16
%S 3,5,8,11,14,18,21,23,26,29,32,36,39,41,44,48,50,53,57,59,62,66,68,71,
%T 74,77,81,83,86,90,93,95,98,102,104,107,111,113,116,120,122,125,128,
%U 131,135,138,140,143,146,149,153,156,158,161,165,167,170,173,176
%N Positions of 2 in A287411.
%C a(n) - a(n-1) is in {2,3,4} for n >= 1; also, 3n - a(n) is in {0, 1} for n >= 1. The first 20 numbers 3n - a(n) are 0, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, with 0 in positions given by A287412.
%H Clark Kimberling, <a href="/A287414/b287414.txt">Table of n, a(n) for n = 1..10000</a>
%t s = Nest[Flatten[# /. {0->{0, 1, 2}, 1->{1, 2, 0}, 2->{0, 2, 1}}] &, {0}, 9]; (*A287411*)
%t Flatten[Position[s, 0]]; (*A287412*)
%t Flatten[Position[s, 1]]; (*A287413*)
%t Flatten[Position[s, 2]]; (*A287414*)
%Y Cf. A287411, A287412, A287413.
%K nonn,easy
%O 1,1
%A _Clark Kimberling_, May 25 2017