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.

A272604 Maximum subrange sum over n written out in binary with -1 for each zero (cf. A276691).

Table of values

n a(n)
0 0
1 1
2 1
3 2
4 1
5 1
6 2
7 3
8 1
9 1
10 1
11 2
12 2
13 2
14 3
15 4
16 1
17 1
18 1
19 2
20 1
21 1
22 2
23 3
24 2
25 2
26 2
27 3
28 3
29 3
30 4
31 5
32 1
33 1
34 1
35 2
36 1
37 1
38 2
39 3
40 1
41 1
42 1
43 2
44 2
45 2
46 3
47 4
48 2
49 2
50 2
51 2
52 2
53 2
54 3
55 4
56 3
57 3
58 3
59 4
60 4
61 4
62 5
63 6
64 1
65 1
66 1
67 2
68 1
69 1
70 2
71 3
72 1
73 1
74 1
75 2
76 2
77 2
78 3
79 4
80 1
81 1
82 1
83 2
84 1
85 1
86 2
87 3
88 2
89 2
90 2
91 3
92 3
93 3
94 4
95 5
96 2
97 2
98 2
99 2
100 2
101 2
102 2
103 3
104 2
105 2
106 2
107 3
108 3
109 3
110 4
111 5
112 3
113 3
114 3
115 3
116 3
117 3
118 4
119 5
120 4
121 4
122 4
123 5

List of values

[0, 1, 1, 2, 1, 1, 2, 3, 1, 1, 1, 2, 2, 2, 3, 4, 1, 1, 1, 2, 1, 1, 2, 3, 2, 2, 2, 3, 3, 3, 4, 5, 1, 1, 1, 2, 1, 1, 2, 3, 1, 1, 1, 2, 2, 2, 3, 4, 2, 2, 2, 2, 2, 2, 3, 4, 3, 3, 3, 4, 4, 4, 5, 6, 1, 1, 1, 2, 1, 1, 2, 3, 1, 1, 1, 2, 2, 2, 3, 4, 1, 1, 1, 2, 1, 1, 2, 3, 2, 2, 2, 3, 3, 3, 4, 5, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 3, 3, 3, 4, 5, 3, 3, 3, 3, 3, 3, 4, 5, 4, 4, 4, 5]