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.

A253315 a(n) = bitwise XOR of all the bit numbers for the bits that are set in n.

Table of values

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

List of values

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