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.

A364130 An infinite 2d grid is filled with the positive integers by placing them clockwise in the narrow von Neumann's neighborhood of square s, the lowest number with open neighbors. a(n) is then the n-th term when the grid is read as a clockwise square spiral.

Table of values

n a(n)
1 1
2 2
3 8
4 3
5 15
6 4
7 22
8 5
9 10
10 37
11 6
12 31
13 32
14 9
15 12
16 84
17 85
18 16
19 18
20 154
21 155
22 23
23 26
24 11
25 38
26 58
27 57
28 7
29 50
30 51
31 52
32 33
33 64
34 13
35 96
36 97
37 98
38 86
39 17
40 19
41 172
42 173
43 174
44 156
45 24
46 27
47 73
48 39
49 59
50 431
51 430
52 429
53 43
54 386
55 387
56 388
57 389
58 53
59 34
60 65
61 14
62 123
63 124

List of values

[1, 2, 8, 3, 15, 4, 22, 5, 10, 37, 6, 31, 32, 9, 12, 84, 85, 16, 18, 154, 155, 23, 26, 11, 38, 58, 57, 7, 50, 51, 52, 33, 64, 13, 96, 97, 98, 86, 17, 19, 172, 173, 174, 156, 24, 27, 73, 39, 59, 431, 430, 429, 43, 386, 387, 388, 389, 53, 34, 65, 14, 123, 124]