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.

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.

Table of values

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

List of values

[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]