This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A287526 #5 May 30 2017 18:17:46 %S A287526 2,4,9,10,14,18,21,23,25,28,32,36,38,40,45,48,50,52,57,59,61,65,67,72, %T A287526 73,77,81,82,86,90,92,94,99,102,104,106,110,112,117,118,122,126,129, %U A287526 131,133,138,140,142,146,148,153,154,158,162,165,167,169,173,175 %N A287526 Positions of 1 in A287524. %C A287526 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, 2, 0, 2, 1, 0, 0, 1, 2, 2, 1, 0, 1, 2, 0, 0, 1, 2, 0, 1, with 0 in positions given by A287527, 1 in positions given by A189724, and 2 in positions given by A287524. %H A287526 Clark Kimberling, <a href="/A287526/b287526.txt">Table of n, a(n) for n = 1..10000</a> %t A287526 s = Nest[Flatten[# /. {0->{0, 1, 2}, 1->{1, 0, 2}, 2->{2, 0, 1}}] &, {0}, 9]; (*A287524*) %t A287526 Flatten[Position[s, 0]]; (*A189724*) %t A287526 Flatten[Position[s, 1]]; (*A287526*) %t A287526 Flatten[Position[s, 2]]; (*A189634*) %Y A287526 Cf. A287524, A189724, A189634. %K A287526 nonn,easy %O A287526 1,1 %A A287526 _Clark Kimberling_, May 30 2017