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.

A214526 Manhattan distances between n and 1 in a square spiral with positive integers and 1 at the center.

Table of values

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

List of values

[0, 1, 2, 1, 2, 1, 2, 1, 2, 3, 2, 3, 4, 3, 2, 3, 4, 3, 2, 3, 4, 3, 2, 3, 4, 5, 4, 3, 4, 5, 6, 5, 4, 3, 4, 5, 6, 5, 4, 3, 4, 5, 6, 5, 4, 3, 4, 5, 6, 7, 6, 5, 4, 5, 6, 7, 8, 7, 6, 5, 4, 5, 6, 7, 8, 7, 6, 5, 4, 5, 6, 7, 8, 7, 6, 5, 4, 5, 6, 7, 8, 9, 8, 7, 6, 5, 6, 7, 8, 9, 10, 9, 8, 7, 6, 5, 6, 7, 8, 9, 10, 9, 8, 7, 6, 5, 6, 7, 8, 9, 10, 9, 8, 7, 6, 5, 6, 7, 8, 9, 10]