%I #4 May 30 2017 12:14:50
%S 2,6,7,10,14,18,21,23,25,30,32,34,38,42,43,46,50,54,55,59,63,65,69,70,
%T 75,77,79,82,86,90,92,96,97,102,104,106,110,114,115,118,122,126,129,
%U 131,133,138,140,142,146,150,151,154,158,162,165,167,169,173,177
%N Positions of 1 in A287447.
%C a(n) - a(n-1) is in {1, 2, 3, 4, 5} for n >= 1; also, 3n - a(n) is in {0, 1, 2} for n >= 1. The first 20 numbers 3n - a(n) are 1, 0, 2, 2, 1, 0, 0, 1, 2, 0, 1, 2, 1, 0, 2, 2, 1, 0, 2, 1, with 0 in positions given by A287449, 1 in positions given by A189724, and 2 in positions given by A287450.
%H Clark Kimberling, <a href="/A287449/b287449.txt">Table of n, a(n) for n = 1..10000</a>
%t s = Nest[Flatten[# /. {0->{0, 1, 2}, 1->{2, 0, 1}, 2->{1, 0, 2}}] &, {0}, 9]; (*A287447*)
%t Flatten[Position[s, 0]]; (*A189724*)
%t Flatten[Position[s, 1]]; (*A287449*)
%t Flatten[Position[s, 2]]; (*A287450*)
%Y Cf. A287447, A189724, A287450.
%K nonn,easy
%O 1,1
%A _Clark Kimberling_, May 30 2017
|