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.

A236459 Regular triangle: T(n, k) Manhattan distance between n and k in a left-aligned triangle with next M natural numbers in row M.

Table of values

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

List of values

[0, 1, 0, 2, 1, 0, 2, 1, 2, 0, 3, 2, 1, 1, 0, 4, 3, 2, 2, 1, 0, 3, 2, 3, 1, 2, 3, 0, 4, 3, 2, 2, 1, 2, 1, 0, 5, 4, 3, 3, 2, 1, 2, 1, 0, 6, 5, 4, 4, 3, 2, 3, 2, 1, 0, 4, 3, 4, 2, 3, 4, 1, 2, 3, 4, 0, 5, 4, 3, 3, 2, 3, 2, 1, 2, 3, 1, 0, 6, 5, 4, 4, 3, 2, 3, 2, 1, 2, 2, 1, 0, 7, 6, 5, 5, 4, 3, 4, 3, 2, 1, 3, 2, 1, 0]