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.

A165316 a(n) = the number of digits in the binary representation of n that each either precede and/or follow a similarly valued digit.

Table of values

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

List of values

[0, 0, 2, 2, 0, 2, 3, 3, 2, 0, 2, 4, 2, 3, 4, 4, 3, 2, 4, 2, 0, 2, 3, 5, 4, 2, 4, 5, 3, 4, 5, 5, 4, 3, 5, 4, 2, 4, 5, 3, 2, 0, 2, 4, 2, 3, 4, 6, 5, 4, 6, 4, 2, 4, 5, 6, 5, 3, 5, 6, 4, 5, 6, 6, 5, 4, 6, 5, 3, 5, 6, 5, 4, 2, 4, 6, 4, 5, 6, 4, 3, 2, 4, 2, 0, 2, 3, 5, 4, 2, 4, 5, 3, 4, 5, 7, 6, 5, 7, 6, 4, 6, 7, 5, 4]