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.

A326820 Irregular triangle read by rows; for n >= 0, the n-th row corresponds to the elements of the set {(n-k) OR k, k = 0..n}, in ascending order (where OR denotes the bitwise OR operator).

Table of values

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

List of values

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