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.

A308897 Walk a rook along the square spiral numbered 1, 2, 3, ... (cf. A274640); a(n) = mex of earlier values the rook can move to.

Table of values

n a(n)
1 1
2 2
3 1
4 2
5 3
6 4
7 1
8 3
9 4
10 2
11 3
12 4
13 1
14 3
15 4
16 2
17 5
18 6
19 7
20 8
21 1
22 5
23 6
24 7
25 8
26 2
27 5
28 6
29 7
30 8
31 1
32 5
33 6
34 7
35 8
36 2
37 3
38 6
39 5
40 8
41 7
42 4
43 1
44 3
45 6
46 5
47 8
48 7
49 4
50 2
51 3
52 6
53 5
54 8
55 7
56 4
57 1
58 3
59 6
60 5
61 8
62 7
63 4
64 2
65 9
66 10
67 11
68 12
69 13
70 14
71 15
72 16
73 1
74 9
75 10
76 11
77 12
78 13
79 14
80 15
81 16
82 2

List of values

[1, 2, 1, 2, 3, 4, 1, 3, 4, 2, 3, 4, 1, 3, 4, 2, 5, 6, 7, 8, 1, 5, 6, 7, 8, 2, 5, 6, 7, 8, 1, 5, 6, 7, 8, 2, 3, 6, 5, 8, 7, 4, 1, 3, 6, 5, 8, 7, 4, 2, 3, 6, 5, 8, 7, 4, 1, 3, 6, 5, 8, 7, 4, 2, 9, 10, 11, 12, 13, 14, 15, 16, 1, 9, 10, 11, 12, 13, 14, 15, 16, 2]