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 A294448 #16 Dec 30 2020 14:40:07 %S A294448 -1,0,1,0,-1,0,-1,0,1,0,1,2,1,0,1,0,-1,0,1,0,1,0,-1,0,-1,0,1,0,-1,0, %T A294448 -1,-2,-1,-2,-1,0,-1,0,1,0,-1,0,-1,0,1,0,1,0,-1,0,-1,-2,-1,0,-1,0,1,0, %U A294448 -1,0,-1,0,1,0,1,2,1,0,1,0,-1,0,-1,0,1,0,1,0,-1,0,1,0,1,2,1,0,1,0,1,2 %N A294448 Discrepancy of the Kolakoski sequence A000002. %C A294448 The discrepancy is defined by a(n) = Sum_{i=1..n} (-1)^k(i), where k(i) = A000002(i). The negative of this sequence is already in the OEIS (A088568), but does not seem to be found if one looks up -1, 0, 1, 0, -1, 0, -1, 0, 1, 0, 1, ..., so this version has been added for completeness. %C A294448 See A088568 for more information and references. %H A294448 Rémy Sigrist, <a href="/A294448/b294448.txt">Table of n, a(n) for n = 1..10000</a> %H A294448 Richard P. Brent, <a href="https://maths-people.anu.edu.au/~brent/pd/Kolakoski-UNSW.pdf">Fast algorithms for the Kolakoski sequence</a>, Slides from a talk, 2016. %Y A294448 Cf. A000002, A088568. %Y A294448 For records see A294449. %K A294448 sign,look %O A294448 1,12 %A A294448 _N. J. A. Sloane_, Nov 21 2017