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.

A281392 Number of occurrences of "01" as a subsequence in the binary expansion of n.

Table of values

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

List of values

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