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.

Showing 1-3 of 3 results.

A307012 Second coordinate in a redundant hexagonal coordinate system of the points of a counterclockwise spiral on an hexagonal grid. First and third coordinates are given in A307011 and A345978.

Original entry on oeis.org

0, 0, 1, 1, 0, -1, -1, -1, 0, 1, 2, 2, 2, 1, 0, -1, -2, -2, -2, -2, -1, 0, 1, 2, 3, 3, 3, 3, 2, 1, 0, -1, -2, -3, -3, -3, -3, -3, -2, -1, 0, 1, 2, 3, 4, 4, 4, 4, 4, 3, 2, 1, 0, -1, -2, -3, -4, -4, -4, -4, -4, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 5, 5, 5, 5, 5, 4
Offset: 0

Views

Author

Hugo Pfoertner, Mar 19 2019

Keywords

Comments

The coordinate system can be described using 3 axes that pass through spiral point 0 and one of points 1, 2 or 3. Along each axis, one of the coordinates is 0. a(n) is the signed distance from spiral point n to the axis that passes through point 1. The distance is measured along either of the lines through point n that are parallel to one of the other 2 axes and the sign is such that point 2 has positive distance. - Peter Munn, Jul 13 2021
We can use this coordinate with the first coordinate to form an oblique coordinate system, in which each coordinate maps to an oblique coordinate vector parallel to the axis along which the other coordinate is 0. See the figure with nonperpendicular axes in the Barile link. When both of these coordinates are positive, the oblique coordinate vectors make a 60-degree angle with each other. [Made more specific by Peter Munn, Jul 19 2021]

Crossrefs

Extensions

Name revised by Peter Munn, Jul 08 2021

A307011 First coordinate in a redundant hexagonal coordinate system of the points of a counterclockwise spiral on an hexagonal grid. Second and third coordinates are given in A307012 and A345978.

Original entry on oeis.org

0, 1, 0, -1, -1, 0, 1, 2, 2, 1, 0, -1, -2, -2, -2, -1, 0, 1, 2, 3, 3, 3, 2, 1, 0, -1, -2, -3, -3, -3, -3, -2, -1, 0, 1, 2, 3, 4, 4, 4, 4, 3, 2, 1, 0, -1, -2, -3, -4, -4, -4, -4, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 5, 5, 5, 5, 4, 3, 2, 1, 0, -1, -2, -3, -4, -5
Offset: 0

Views

Author

Hugo Pfoertner, Mar 19 2019

Keywords

Comments

From Peter Munn, Jul 22 2021: (Start)
The points of the spiral are equally the points of a hexagonal lattice, the points of an isometric (triangular) grid and the center points of the cells of a honeycomb (regular hexagonal tiling or grid). The coordinate system can be described using 3 axes that pass through spiral point 0 and one of points 1, 2 or 3. Along each axis, one of the coordinates is 0.
a(n) is the signed distance from spiral point n to the axis that passes through point 2. The distance is measured along either of the lines through point n that are parallel to one of the other 2 axes and the sign is such that point 1 has positive distance.
This coordinate can be paired with either of the other coordinates to form oblique coordinates as described in A307012. Alternatively, all 3 coordinates can be used together, symmetrically, as described in A345978.
There is a negated variant of the 3rd coordinate, which is the conventional sense of this coordinate for specifying (with the 2nd coordinate) the Eisenstein integers that can be the points of the spiral when it is embedded in the complex plane. See A307013.
(End)

Crossrefs

Numbers on the spokes of the spiral: A000567, A028896, A033428, A045944, A049450, A049451.
Positions on the spiral that correspond to Eisenstein primes: A345435.

Programs

  • PARI
    r=-1;d=-1;print1(m=0,", ");for(k=0,8,for(j=1,r,print1(s,", "));if(k%2,,m++;r++);for(j=-m,m+1,if(d*j>=-m,print1(s=d*j,", ")));d=-d)

Extensions

Name revised by Peter Munn, Jul 08 2021

A307013 Third coordinate (asymmetric variant) in a redundant hexagonal coordinate system of the points of a counterclockwise spiral on an hexagonal grid. First and second coordinates are given in A307011 and A307012.

Original entry on oeis.org

0, 1, 1, 0, -1, -1, 0, 1, 2, 2, 2, 1, 0, -1, -2, -2, -2, -1, 0, 1, 2, 3, 3, 3, 3, 2, 1, 0, -1, -2, -3, -3, -3, -3, -2, -1, 0, 1, 2, 3, 4, 4, 4, 4, 4, 3, 2, 1, 0, -1, -2, -3, -4, -4, -4, -4, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 5, 5, 5, 5, 5, 4, 3, 2, 1, 0, -1, -2
Offset: 0

Views

Author

Hugo Pfoertner, Mar 19 2019

Keywords

Comments

From Peter Munn, Jul 11 2021: (Start)
The points of the spiral are equally the points of a hexagonal lattice, the points of an isometric (triangular) grid and the center points of the cells of a honeycomb (regular hexagonal tiling or grid). The coordinate system can be described using three "0-axes" that pass through spiral point 0 and one of points 1, 2 or 3. These 0-axes are the lines along which one of the coordinates is 0.
a(n), the 3rd coordinate, is the signed distance from spiral point n to the coordinate's 0-axis, which passes through points 0 and 3. The distance is measured along either of the lines through point n that are parallel to one of the other 2 axes and the sign is such that point 1 has positive distance. This 3rd coordinate is the sum of the other 2. In the symmetric variant of the coordinate system, the 3rd coordinate has the opposite sense, so that the 3 coordinates sum to 0. See A345978.
We can use any 2 of the 3 coordinates to form an oblique coordinate system, in which each of the 2 coordinates specifies vectors parallel to the other coordinate's 0-axis. This means the direction of the oblique coordinate vectors depends on the choice of the other coordinate - see the illustration of coordinate pairing in the links. When both coordinates are positive, an oblique coordinate vector derived from this sequence makes a 120-degree angle with the vector derived from the other sequence; however, when A307011 and A307012 are used together, the angle is 60 degrees.
Pairing with A307012 can be viewed as follows. Let omega = -1/2 + i*sqrt(3)/2, a primitive cube root of unity. Then f(n) = a(n) + omega*A307012(n) embeds the spiral in the complex plane with spiral points 0 and 1 embedded at 0 and 1 (so that the points of the spiral embed as the Eisenstein integers, as used for A345435).
(End)

Crossrefs

A334492 is effectively this "3rd coordinate" for a different sequence of points on a hexagonal lattice.

Formula

a(n) = A307011(n) + A307012(n). - Peter Munn, Jul 04 2021
Showing 1-3 of 3 results.