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.

A232243 a(n) = wt(n^2) - wt(n), where wt(n) = A000120(n) is the binary weight function.

Table of values

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

List of values

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