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.

A336402 Squares visited by a chess queen moving on a square-spiral numbered board where the queen moves to the closest unvisited square containing a prime number. In case of a tie it chooses the square with the smallest prime number.

Table of values

n a(n)
1 1
2 2
3 3
4 11
5 29
6 13
7 31
8 59
9 61
10 97
11 139
12 191
13 251
14 193
15 101
16 103
17 67
18 37
19 17
20 5
21 19
22 7
23 23
24 47
25 79
26 163
27 281
28 353
29 283
30 433
31 521
32 617
33 523
34 619
35 439
36 359
37 223
38 167
39 227
40 293
41 229
42 173
43 83
44 233
45 127
46 53
47 179
48 131
49 89
50 137
51 389
52 313
53 311
54 467
55 383
56 307
57 241
58 239
59 181
60 457
61 547
62 643

List of values

[1, 2, 3, 11, 29, 13, 31, 59, 61, 97, 139, 191, 251, 193, 101, 103, 67, 37, 17, 5, 19, 7, 23, 47, 79, 163, 281, 353, 283, 433, 521, 617, 523, 619, 439, 359, 223, 167, 227, 293, 229, 173, 83, 233, 127, 53, 179, 131, 89, 137, 389, 313, 311, 467, 383, 307, 241, 239, 181, 457, 547, 643]