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.

A363665 Starting with a(1) = 1, the lexicographically earliest sequence of integers on a square spiral such that every number equals the sum of its eight adjacent neighbors.

Table of values

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

List of values

[1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, -2, 0, 0, 1, -2, 0, 0, 0, -1, 0, 0, 0, -2, 2, 0, 0, -1, 2, -3, 0, 0, 3, -2, 2, -3, 0, 0, 3, -1, -1, 1, 0, 0, 1, 0, 0, -5, 8, 0, 0, -5, 4, 0, 4, -7, 0, 0, 6, -6, 4, -4, 8, -7, 0, 0, 2, -2, 4, -4, 0, 7, 0, 0, -8, 6, 3, -8, 10, -15, 16, 0, 0, -9, 6, -5, 7, -8, 13]