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.

A063826 Let 1, 2, 3, 4 represent moves to the right, down, left and up; this sequence describes the movements in the clockwise square spiral (a.k.a. Ulam Spiral).

Table of values

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

List of values

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