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.

A340171 List of X-coordinates of point moving along one of the arms of a counterclockwise double square spiral; A340172 gives Y-coordinates.

Table of values

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

List of values

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