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.

A328818 2 * x-coordinate of the points of a counterclockwise spiral on an hexagonal grid.

Original entry on oeis.org

0, 2, 1, -1, -2, -1, 1, 3, 4, 3, 2, 0, -2, -3, -4, -3, -2, 0, 2, 4, 5, 6, 5, 4, 3, 1, -1, -3, -4, -5, -6, -5, -4, -3, -1, 1, 3, 5, 6, 7, 8, 7, 6, 5, 4, 2, 0, -2, -4, -5, -6, -7, -8, -7, -6, -5, -4, -2, 0, 2, 4, 6, 7, 8, 9, 10, 9, 8, 7, 6, 5, 3, 1, -1, -3, -5, -6, -7, -8, -9, -10, -9, -8, -7, -6, -5, -3, -1
Offset: 0

Views

Author

Hugo Pfoertner, Oct 28 2019

Keywords

Comments

The Cartesian coordinates of the points of a counterclockwise spiral on an hexagonal grid are given by x(n) = a(n)/2 and by y(n)= A307012(n) * sqrt(3)/2.

Crossrefs

Formula

a(n) = A307011(n) + A307013(n).