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.

A070940 Number of digits that must be counted from left to right to reach the last 1 in the binary representation of n.

Table of values

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

List of values

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