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.

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

Table of values

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

List of values

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