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 A292470 #13 Sep 22 2017 04:44:53 %S A292470 0,0,1,1,0,-1,-1,0,1,2,2,1,-1,-2,-2,-1,1,2,3,3,2,1,-1,-2,-3,-3,-2,0,1, %T A292470 2,3,4,4,3,2,0,-3,-4,-4,-3,-2,0,1,2,3,4,5,5,4,2,-1,-5,-6,-6,-5,-3,2,3, %U A292470 4,5,6,6,5,4,2,-1,-5,-6,-7,-7,-6,-4,-1,3,4,5,6 %N A292470 Let P be the sequence of distinct lattice points defined by the following rules: P(1) = (0,0), P(2) = (1,0), and for any n > 2, P(n) is the closest lattice point to P(n-1) such that P(n) is a vertex of the convex hull of the set of points {P(1), ..., P(n)}, and in case of a tie, P(n) maximizes the dot product of the vectors (P(n-2), P(n-1)) and (P(n-1), P(n)); a(n) = Y-coordinate of P(n). %C A292470 See A292469 for the X-coordinate of P(n), and additional comments. %H A292470 Rémy Sigrist, <a href="/A292470/b292470.txt">Table of n, a(n) for n = 1..1000</a> %H A292470 Rémy Sigrist, <a href="/A292470/a292470.txt">C++ program for A292470</a> %o A292470 (C++) See Links section. %Y A292470 Cf. A292469. %K A292470 sign,look %O A292470 1,10 %A A292470 _Rémy Sigrist_, Sep 17 2017