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.

A179821 In binary representation of n: replace all blocks of k contiguous ones with binary representation of k.

Table of values

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

List of values

[0, 1, 2, 2, 4, 5, 4, 3, 8, 9, 10, 10, 8, 9, 6, 4, 16, 17, 18, 18, 20, 21, 20, 11, 16, 17, 18, 18, 12, 13, 8, 5, 32, 33, 34, 34, 36, 37, 36, 19, 40, 41, 42, 42, 40, 41, 22, 20, 32, 33, 34, 34, 36, 37, 36, 19, 24, 25, 26, 26, 16, 17, 10, 6, 64, 65, 66, 66, 68, 69, 68, 35, 72, 73, 74, 74]