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.

A341911 Lexicographically earliest sequence of distinct nonnegative integers such that for any n >= 0, the number of ones in the binary expansion of n equals the number of runs in the binary expansion of a(n).

Table of values

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

List of values

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