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.

A056979 Number of blocks of {1, 0, 1} in binary expansion of n.

Table of values

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

List of values

[0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 2, 1, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 2, 2, 1, 2, 1, 1, 0, 0, 0, 0, 1, 2, 1, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 2, 3, 2, 2, 1, 1, 2, 2, 1, 2, 1, 1, 0, 0, 0, 0, 0, 1, 0]