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.

A340632 a(n) in binary is a run of 1-bits from the most significant 1-bit of n down to the least significant 1-bit of n, inclusive.

Table of values

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

List of values

[0, 1, 2, 3, 4, 7, 6, 7, 8, 15, 14, 15, 12, 15, 14, 15, 16, 31, 30, 31, 28, 31, 30, 31, 24, 31, 30, 31, 28, 31, 30, 31, 32, 63, 62, 63, 60, 63, 62, 63, 56, 63, 62, 63, 60, 63, 62, 63, 48, 63, 62, 63, 60, 63, 62, 63, 56, 63, 62, 63, 60, 63, 62, 63, 64, 127, 126]