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.

A285099 a(n) is the zero-based index of the second least significant 1-bit in the base-2 representation of n, or 0 if there are fewer than two 1-bits in n.

Table of values

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

List of values

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