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.

A129603 Replace in the binary expansion of n each run of k 0's (or 1's) with 2k-1 0's (or 1's).

Table of values

n a(n)
0 0
1 1
2 2
3 7
4 8
5 5
6 14
7 31
8 32
9 17
10 10
11 23
12 56
13 29
14 62
15 127
16 128
17 65
18 34
19 71
20 40
21 21
22 46
23 95
24 224
25 113
26 58
27 119
28 248
29 125
30 254
31 511
32 512
33 257
34 130
35 263
36 136
37 69
38 142
39 287
40 160
41 81
42 42
43 87
44 184
45 93
46 190
47 383
48 896
49 449
50 226
51 455
52 232
53 117
54 238
55 479
56 992
57 497
58 250
59 503

List of values

[0, 1, 2, 7, 8, 5, 14, 31, 32, 17, 10, 23, 56, 29, 62, 127, 128, 65, 34, 71, 40, 21, 46, 95, 224, 113, 58, 119, 248, 125, 254, 511, 512, 257, 130, 263, 136, 69, 142, 287, 160, 81, 42, 87, 184, 93, 190, 383, 896, 449, 226, 455, 232, 117, 238, 479, 992, 497, 250, 503]