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.

A307016 List coordinates (x,y) of the points in an hexagonal grid, sorted first by radial coordinate r and in case of ties, by polar angle 0 <= phi < 2*Pi in a polar coordinate system. Sequence gives the second coordinate in a barycentric coordinate system.

Table of values

n a(n)
0 0
1 0
2 1
3 1
4 0
5 -1
6 -1
7 1
8 2
9 1
10 -1
11 -2
12 -1
13 0
14 2
15 2
16 0
17 -2
18 -2
19 1
20 2
21 3
22 3
23 2
24 1
25 -1
26 -2
27 -3
28 -3
29 -2
30 -1
31 0
32 3
33 3
34 0
35 -3
36 -3
37 2
38 4
39 2
40 -2
41 -4
42 -2
43 1
44 3
45 4
46 4
47 3
48 1
49 -1
50 -3
51 -4
52 -4
53 -3
54 -1
55 0
56 4
57 4
58 0
59 -4
60 -4
61 2
62 3
63 5
64 5
65 3
66 2
67 -2
68 -3
69 -5
70 -5
71 -3
72 -2
73 1

List of values

[0, 0, 1, 1, 0, -1, -1, 1, 2, 1, -1, -2, -1, 0, 2, 2, 0, -2, -2, 1, 2, 3, 3, 2, 1, -1, -2, -3, -3, -2, -1, 0, 3, 3, 0, -3, -3, 2, 4, 2, -2, -4, -2, 1, 3, 4, 4, 3, 1, -1, -3, -4, -4, -3, -1, 0, 4, 4, 0, -4, -4, 2, 3, 5, 5, 3, 2, -2, -3, -5, -5, -3, -2, 1]