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.

A227190 a(n) = n minus (product of run lengths in binary representation of n).

Table of values

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

List of values

[0, 1, 1, 2, 4, 4, 4, 5, 7, 9, 9, 8, 11, 11, 11, 12, 14, 16, 15, 18, 20, 20, 20, 18, 21, 24, 23, 22, 26, 26, 26, 27, 29, 31, 29, 32, 35, 34, 33, 37, 39, 41, 41, 40, 43, 43, 43, 40, 43, 46, 43, 48, 51, 50, 49, 47, 51, 55, 53, 52, 57, 57, 57, 58, 60, 62, 59, 62]