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.

A368122 a(n) is the x-coordinate of the n-th point in a square spiral mapped to a square grid rotated by Pi/4 using the symmetrized variant of the distance-limited strip bijection described in A368121.

Table of values

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

List of values

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