cp's OEIS Frontend

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.

A293773 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 i < j < k, P(k) does not lie on the vector (P(i), P(j)), and for any n > 2, P(n) is the closest lattice point to P(n-1) such that the angle of the vectors (P(n-2), P(n-1)) and (P(n-1), P(n)), say t, satisfies 0 < t <= Pi/2, and in case of a tie, minimize the angle t; a(n) = Y-coordinate of P(n).

This page as a plain text file.
%I A293773 #10 Oct 16 2017 12:54:56
%S A293773 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,-1,
%T A293773 2,3,4,4,3,1,0,-1,-3,-4,-4,-3,-2,0,4,5,5,4,2,-1,-2,-3,-5,-5,-4,-1,1,4,
%U A293773 5,6,6,5,3,2,-2,-3,-4,-5,-6,-6,-5,-3,0,6,7,7,6,4
%N A293773 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 i < j < k, P(k) does not lie on the vector (P(i), P(j)), and for any n > 2, P(n) is the closest lattice point to P(n-1) such that the angle of the vectors (P(n-2), P(n-1)) and (P(n-1), P(n)), say t, satisfies 0 < t <= Pi/2, and in case of a tie, minimize the angle t; a(n) = Y-coordinate of P(n).
%C A293773 See A293772 for the corresponding X-coordinates and additional comments.
%H A293773 Rémy Sigrist, <a href="/A293773/b293773.txt">Table of n, a(n) for n = 1..10000</a>
%H A293773 Rémy Sigrist, <a href="/A293773/a293773.png">Scatterplot of a(n) for n=1..100000</a>
%Y A293773 Cf. A293772.
%K A293773 sign,look
%O A293773 1,10
%A A293773 _Rémy Sigrist_, Oct 16 2017