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.

A274917 Square spiral in which each new term is the least positive integer distinct from its (already assigned) eight neighbors.

Table of values

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

List of values

[1, 2, 3, 4, 2, 3, 2, 4, 3, 1, 4, 1, 2, 5, 1, 3, 1, 4, 1, 4, 1, 3, 1, 2, 4, 2, 3, 2, 3, 4, 1, 3, 4, 2, 4, 2, 3, 5, 2, 3, 2, 3, 2, 4, 2, 4, 3, 1, 3, 1, 4, 1, 4, 1, 2, 3, 2, 4, 2, 1, 3, 1, 5, 1, 2, 4, 1, 4, 1, 4, 1, 4, 1, 3, 1, 3, 1, 2, 4, 2, 4, 2, 3, 2, 3, 2, 3, 4, 1, 4, 1, 3, 1, 3, 4, 2, 4, 2, 3, 4, 1, 3, 5, 2, 3]