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.

A380812 Sequence of x-coordinates of the lexicographically earliest (according to the spiral numbering of the square grid; see comments) infinite Racetrack trajectory (using von Neumann neighborhood) on the square grid.

Table of values

n a(n)
0 0
1 1
2 2
3 2
4 1
5 0
6 -1
7 -1
8 -1
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 -2
22 -1
23 0
24 1
25 3
26 4
27 4
28 4
29 3
30 2
31 1
32 -1
33 -3
34 -4
35 -4
36 -4
37 -4
38 -3
39 -2
40 0
41 2
42 4
43 5
44 5
45 4
46 3
47 2
48 0
49 -2
50 -4
51 -5
52 -5
53 -5
54 -5
55 -4
56 -3
57 -1
58 1
59 3
60 4
61 4
62 3
63 2
64 1
65 -1
66 -3
67 -5
68 -6
69 -6
70 -5
71 -3
72 0
73 3
74 6
75 8

List of values

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