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.

A359058 a(n) = squared distance to the origin of the n-th vertex on a counterclockwise undulating spiral in a square grid.

Table of values

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

List of values

[0, 1, 2, 1, 4, 5, 2, 5, 4, 1, 2, 1, 4, 5, 2, 5, 4, 9, 10, 5, 8, 5, 10, 9, 16, 17, 10, 13, 8, 13, 10, 17, 16, 9, 10, 5, 8, 5, 10, 9, 16, 17, 10, 13, 8, 13, 10, 17, 16, 25, 26, 17, 20, 13, 18, 13, 20, 17, 26, 25, 36, 37, 26, 29, 20, 25, 18, 25, 20, 29, 26, 37, 36, 25, 26, 17, 20, 13, 18, 13, 20]