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.

A348684 Triangle read by rows, T(n, k) = 2*n - HammingWeight(k), for 0 <= k <= n.

Table of values

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

List of values

[0, 2, 1, 4, 3, 3, 6, 5, 5, 4, 8, 7, 7, 6, 7, 10, 9, 9, 8, 9, 8, 12, 11, 11, 10, 11, 10, 10, 14, 13, 13, 12, 13, 12, 12, 11, 16, 15, 15, 14, 15, 14, 14, 13, 15, 18, 17, 17, 16, 17, 16, 16, 15, 17, 16, 20, 19, 19, 18, 19, 18, 18, 17, 19, 18, 18]