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.

A336336 Squared distance from start of a point moving in a square spiral.

Table of values

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

List of values

[0, 1, 2, 1, 2, 1, 2, 1, 2, 5, 4, 5, 8, 5, 4, 5, 8, 5, 4, 5, 8, 5, 4, 5, 8, 13, 10, 9, 10, 13, 18, 13, 10, 9, 10, 13, 18, 13, 10, 9, 10, 13, 18, 13, 10, 9, 10, 13, 18, 25, 20, 17, 16, 17, 20, 25, 32, 25, 20, 17, 16, 17, 20, 25, 32, 25, 20, 17, 16, 17, 20, 25, 32]