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.

A281388 Write n in binary reflected Gray code and sum the positions where there is a '1' followed immediately to the right by a '0', counting the leftmost digit as position 1.

Table of values

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

List of values

[0, 0, 1, 2, 0, 1, 1, 2, 2, 0, 3, 4, 1, 1, 1, 2, 2, 2, 6, 4, 0, 3, 3, 4, 4, 1, 5, 5, 1, 1, 1, 2, 2, 2, 7, 7, 2, 6, 6, 4, 4, 0, 5, 8, 3, 3, 3, 4, 4, 4, 9, 6, 1, 5, 5, 5, 5, 1, 6, 6, 1, 1, 1, 2, 2, 2, 8, 8, 2, 7, 7, 7, 7, 2, 8, 12, 6, 6, 6, 4, 4, 4, 10, 6, 0, 5, 5, 8, 8, 3, 9, 9, 3, 3, 3]