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.

A278354 Number of neighbors of each new term in a square spiral.

Table of values

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

List of values

[0, 1, 2, 3, 2, 3, 2, 4, 3, 2, 4, 3, 2, 4, 4, 3, 2, 4, 4, 3, 2, 4, 4, 4, 3, 2, 4, 4, 4, 3, 2, 4, 4, 4, 4, 3, 2, 4, 4, 4, 4, 3, 2, 4, 4, 4, 4, 4, 3, 2, 4, 4, 4, 4, 4, 3, 2, 4, 4, 4, 4, 4, 4, 3, 2, 4, 4, 4, 4, 4, 4, 3, 2, 4, 4, 4, 4, 4, 4, 4, 3, 2, 4, 4, 4, 4, 4, 4, 4, 3, 2, 4, 4, 4, 4, 4, 4, 4, 4, 3, 2, 4, 4, 4, 4]