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 A286988 #4 May 18 2017 21:47:57 %S A286988 3,6,8,11,13,16,19,21,24,26,29,32,34,37,39,42,44,47,50,52,55,57,60,63, %T A286988 65,68,70,73,75,78,81,83,86,88,91,94,96,99,101,104,107,109,112,114, %U A286988 117,119,122,125,127,130,132,135,138,140,143,145,148,150,153,156 %N A286988 Positions of 0 in A286987; complement of A286989. %C A286988 a(n) - a(n-1) is in {2,3} for n>=2, and a(n)/n -> 4 - sqrt(8). %H A286988 Clark Kimberling, <a href="/A286988/b286988.txt">Table of n, a(n) for n = 1..10000</a> %e A286988 As a word, A286987 = 1101101011010110110101..., in which 0 is in positions 3,6,8,11,.... %t A286988 s = Nest[Flatten[# /. {0 -> 1, 1 -> {1, 1, 0}}] &, {1}, 11]; (* Sturmian word A080764 *) %t A286988 w = StringJoin[Map[ToString, s]]; %t A286988 w1 = StringReplace[w, {"111" -> "1"}] %t A286988 st = ToCharacterCode[w1] - 48 ; (* A286987 *) %t A286988 Flatten[Position[st, 0]]; (* A286988 *) %t A286988 Flatten[Position[st, 1]]; (* A286989 *) %Y A286988 Cf. A080764, A286987, A286989. %K A286988 nonn,easy %O A286988 1,1 %A A286988 _Clark Kimberling_, May 18 2017