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.

A357985 Counterclockwise square spiral constructed using the integers so that a(n) plus all other numbers currently visible from the current number equals n; start with a(0) = 0.

Table of values

n a(n)
0 0
1 1
2 1
3 1
4 2
5 1
6 3
7 -1
8 6
9 -2
10 -1
11 0
12 1
13 9
14 -8
15 15
16 -5
17 -7
18 -10
19 14
20 -29
21 58
22 -78
23 101
24 -118
25 150
26 -61
27 309
28 -307
29 553
30 -494
31 -186
32 -644
33 315
34 -1177
35 731
36 -1458
37 3480
38 -5183
39 7096
40 -8328
41 9735
42 -10882
43 7200
44 -29452
45 31322
46 -52670
47 51401
48 -65210
49 61001
50 11318
51 135012
52 -109687
53 259226
54 -221542

List of values

[0, 1, 1, 1, 2, 1, 3, -1, 6, -2, -1, 0, 1, 9, -8, 15, -5, -7, -10, 14, -29, 58, -78, 101, -118, 150, -61, 309, -307, 553, -494, -186, -644, 315, -1177, 731, -1458, 3480, -5183, 7096, -8328, 9735, -10882, 7200, -29452, 31322, -52670, 51401, -65210, 61001, 11318, 135012, -109687, 259226, -221542]