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.

A383187 Diamond spiral number of the n-th point visited by the king moving on the two-dimensional grid always to the earliest unvisited point on the spiral, not immediately preceding or following on the spiral.

Table of values

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

List of values

[0, 2, 7, 1, 4, 11, 3, 9, 19, 8, 17, 30, 16, 6, 14, 5, 12, 23, 38, 22, 10, 20, 34, 52, 33, 18, 31, 48, 69, 47, 29, 15, 27, 43, 26, 13, 24, 39, 58, 81, 57, 37, 21, 35, 53, 75, 101, 74, 51, 32, 49, 70, 95, 124, 94, 68, 46, 28, 44, 64, 88, 63, 42, 25, 40, 59, 82, 109, 140, 108, 80, 56, 36, 54, 76]