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.

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

List of values

[0, 1, 1, 2, 2, 6, 2, 3, 3, 9, 3, 8, 8, 9, 3, 4, 4, 12, 4, 11, 11, 12, 4, 10, 10, 18, 10, 11, 11, 12, 4, 5, 5, 15, 5, 14, 14, 15, 5, 13, 13, 23, 13, 14, 14, 15, 5, 12, 12, 22, 12, 21, 21, 22, 12, 13, 13, 23, 13, 14, 14, 15, 5, 6, 6, 18, 6, 17, 17, 18, 6, 16, 16, 28, 16, 17, 17, 18, 6]