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.

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

Table of values

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

List of values

[0, 1, 1, 1, 0, -1, -1, -1, 0, 0, 1, 2, 3, 2, 2, 1, 0, 0, -1, -2, -3, -2, -2, -1, 0, 1, 2, 2, 3, 3, 4, 3, 3, 2, 2, 1, 0, -1, -2, -2, -3, -3, -4, -3, -3, -2, -2, -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, -5, -4, -4, -3, -2, -1, -1, 0, 1]