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.

A338367 Square spiral of nonnegative integers built by greedy algorithm such that for any (i, j) <> (0, 0) there is at most one position, say (n, k), such that the values at (n, k) and at (n+i, k+j) are the same.

Table of values

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

List of values

[0, 0, 0, 1, 0, 2, 1, 3, 4, 1, 3, 2, 3, 4, 5, 6, 2, 7, 4, 6, 5, 7, 8, 9, 5, 6, 7, 9, 8, 10, 7, 11, 9, 12, 8, 13, 10, 11, 14, 15, 12, 13, 10, 14, 11, 15, 16, 17, 12, 4, 13, 14, 18, 15, 6, 17, 1, 16, 19, 18, 20, 21, 22, 16, 17, 19, 20, 23, 18, 21, 24, 25, 19, 20]