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.

A227193 Difference of (product of runlengths of 1-bits) and (product of runlengths of 0-bits) in binary representation of n.

Table of values

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

List of values

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