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.

A286574 Sum of the binary weights of the lengths of 1-runs in base-2 representation of n: a(n) = A000523(A286575(n)).

Table of values

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

List of values

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