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.

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.

Table of values

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

List of values

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