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.

A345978 Third coordinate of the points of a counterclockwise spiral on an hexagonal grid in a symmetric redundant hexagonal coordinate system.

Table of values

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

List of values

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