The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 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). 2
 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, 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, 4, 5, 6, 6, 5, 4, 2, -1, -5, -6, -7, -7, -6, -4, -1, 3, 4, 5, 6 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,10 COMMENTS See A292469 for the X-coordinate of P(n), and additional comments. LINKS Rémy Sigrist, Table of n, a(n) for n = 1..1000 Rémy Sigrist, C++ program for A292470 PROG (C++) See Links section. CROSSREFS Cf. A292469. Sequence in context: A218344 A211272 A298600 * A293681 A293773 A071017 Adjacent sequences: A292467 A292468 A292469 * A292471 A292472 A292473 KEYWORD sign,look AUTHOR Rémy Sigrist, Sep 17 2017 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified September 23 23:38 EDT 2023. Contains 365554 sequences. (Running on oeis4.)