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.

A368643 Manhattan distance from the origin of triangular number point T(n) = n*(n+1)/2 in a square spiral with point 0 at the origin.

Table of values

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

List of values

[0, 1, 1, 2, 2, 3, 3, 4, 6, 3, 7, 6, 6, 9, 5, 10, 8, 9, 11, 8, 14, 9, 13, 12, 12, 17, 9, 18, 14, 15, 19, 12, 22, 15, 19, 20, 16, 25, 15, 24, 20, 21, 27, 16, 30, 21, 25, 28, 20, 35, 21, 30, 28, 25, 35, 20, 36, 27, 31, 36, 24, 43, 27, 36, 36, 29, 45, 26, 42, 35, 35, 44, 28, 49, 33, 42, 44, 33, 55, 32, 48, 43, 39, 54, 30]