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.

A335856 Squares visited by a chess king on a spirally numbered infinite board where the king moves to the adjacent unvisited square containing the lowest prime number. If no such square is available it chooses the lowest-numbered adjacent unvisited square.

Table of values

n a(n)
1 1
2 2
3 3
4 11
5 29
6 13
7 31
8 59
9 32
10 14
11 4
12 5
13 17
14 37
15 67
16 103
17 149
18 104
19 66
20 38
21 18
22 19
23 7
24 23
25 47
26 79
27 48
28 24
29 8
30 6
31 20
32 41
33 71
34 43
35 73
36 109
37 72
38 42
39 21
40 22
41 44
42 45
43 46
44 76
45 75
46 113
47 74
48 112
49 110
50 111
51 157
52 211
53 271
54 209
55 269
56 337
57 267
58 205
59 151
60 107
61 69
62 39
63 40
64 68
65 105
66 106
67 70
68 108

List of values

[1, 2, 3, 11, 29, 13, 31, 59, 32, 14, 4, 5, 17, 37, 67, 103, 149, 104, 66, 38, 18, 19, 7, 23, 47, 79, 48, 24, 8, 6, 20, 41, 71, 43, 73, 109, 72, 42, 21, 22, 44, 45, 46, 76, 75, 113, 74, 112, 110, 111, 157, 211, 271, 209, 269, 337, 267, 205, 151, 107, 69, 39, 40, 68, 105, 106, 70, 108]