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.

A352784 a(n) = w(n - w(n)), where w(n) is the binary weight of n, A000120(n).

Table of values

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

List of values

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