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.

A139355 Let the binary expansion of n be n = Sum_{k} 2^{r_k}, let e(n) be the number of r_k's that are even, o(n) the number that are odd; sequence gives max{e(n), o(n)}.

Table of values

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

List of values

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