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.

A356918 Triangle read by rows where T(n,k) is Colijn and Plazzotta's distance metric d_1(n,k) between rooted binary tree numbers n and k, for 1 <= k <= n.

Table of values

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

List of values

[0, 2, 0, 4, 2, 0, 6, 4, 4, 0, 6, 4, 2, 4, 0, 8, 6, 4, 4, 4, 0, 10, 8, 6, 6, 6, 4, 0, 8, 6, 6, 2, 6, 4, 6, 0, 10, 8, 8, 4, 8, 6, 6, 4, 0, 12, 10, 8, 6, 8, 6, 6, 6, 4, 0, 14, 12, 12, 8, 12, 10, 10, 8, 6, 6, 0, 8, 6, 4, 6, 2, 4, 6, 6, 8, 8, 12, 0]