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.

A283972 a(n) = n minus (product of lengths of 1-runs in binary representation of n) = n - A227349(n).

Table of values

n a(n)
1 0
2 1
3 1
4 3
5 4
6 4
7 4
8 7
9 8
10 9
11 9
12 10
13 11
14 11
15 11
16 15
17 16
18 17
19 17
20 19
21 20
22 20
23 20
24 22
25 23
26 24
27 23
28 25
29 26
30 26
31 26
32 31
33 32
34 33
35 33
36 35
37 36
38 36
39 36
40 39
41 40
42 41
43 41
44 42
45 43
46 43
47 43
48 46
49 47
50 48
51 47
52 50
53 51
54 50
55 49
56 53
57 54
58 55
59 53
60 56
61 57
62 57
63 57
64 63
65 64
66 65
67 65
68 67
69 68
70 68
71 68
72 71
73 72
74 73
75 73
76 74
77 75
78 75
79 75
80 79
81 80
82 81
83 81
84 83
85 84
86 84
87 84
88 86
89 87
90 88
91 87
92 89

List of values

[0, 1, 1, 3, 4, 4, 4, 7, 8, 9, 9, 10, 11, 11, 11, 15, 16, 17, 17, 19, 20, 20, 20, 22, 23, 24, 23, 25, 26, 26, 26, 31, 32, 33, 33, 35, 36, 36, 36, 39, 40, 41, 41, 42, 43, 43, 43, 46, 47, 48, 47, 50, 51, 50, 49, 53, 54, 55, 53, 56, 57, 57, 57, 63, 64, 65, 65, 67, 68, 68, 68, 71, 72, 73, 73, 74, 75, 75, 75, 79, 80, 81, 81, 83, 84, 84, 84, 86, 87, 88, 87, 89]