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.

A359216 X-coordinates of a point moving in a counterclockwise undulating spiral in a square grid.

Table of values

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

List of values

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