# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/ Search: id:a287386 Showing 1-1 of 1 %I A287386 #4 May 25 2017 13:14:58 %S A287386 1,6,7,10,15,16,19,22,27,28,31,36,37,42,43,46,51,52,55,60,61,64,67,72, %T A287386 73,78,79,82,87,88,91,94,99,100,105,106,109,112,117,118,123,124,127, %U A287386 132,133,136,141,142,145,150,151,154,157,162,163,168,169,172,177 %N A287386 Positions of 0 in A287385. %C A287386 a(n) - a(n-1) is in {1,3,5} for n >= 1; also, 3n - a(n) is in {0,2} for n >= 1. The first 20 numbers 3n - a(n) are 2, 0, 2, 2, 0, 2, 2, 2, 0, 2, 2, 0, 2, 0, 2, 2, 0, 2, 2, 0, with 0 in positions given by A287387. %H A287386 Clark Kimberling, Table of n, a(n) for n = 1..10000 %t A287386 s = Nest[Flatten[# /. {0->{0, 1, 2}, 1->{2, 1, 0}, 2->{0, 2, 1}}] &, {0}, 9]; (*A287385*) %t A287386 Flatten[Position[s, 0]]; (*A287386*) %t A287386 Flatten[Position[s, 1]]; (*A287387*) %t A287386 Flatten[Position[s, 2]]; (*A287388*) %Y A287386 Cf. A287385, A287387, A287388. %K A287386 nonn,easy %O A287386 1,2 %A A287386 _Clark Kimberling_, May 25 2017 # Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE