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.

A236840 n minus number of runs in the binary expansion of n: a(n) = n - A005811(n).

Table of values

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

List of values

[0, 0, 0, 2, 2, 2, 4, 6, 6, 6, 6, 8, 10, 10, 12, 14, 14, 14, 14, 16, 16, 16, 18, 20, 22, 22, 22, 24, 26, 26, 28, 30, 30, 30, 30, 32, 32, 32, 34, 36, 36, 36, 36, 38, 40, 40, 42, 44, 46, 46, 46, 48, 48, 48, 50, 52, 54, 54, 54, 56, 58, 58, 60, 62, 62, 62, 62, 64, 64, 64]