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.

A320038 Write n in binary, then modify each run of 0's by prepending one 1, and modify each run of 1's by prepending one 0. a(n) is the decimal equivalent of the result.

Table of values

n a(n)
1 1
2 6
3 3
4 12
5 25
6 14
7 7
8 24
9 49
10 102
11 51
12 28
13 57
14 30
15 15
16 48
17 97
18 198
19 99
20 204
21 409
22 206
23 103
24 56
25 113
26 230
27 115
28 60
29 121
30 62
31 31
32 96
33 193
34 390
35 195
36 396
37 793
38 398
39 199
40 408
41 817
42 1638
43 819
44 412
45 825
46 414
47 207
48 112
49 225
50 454
51 227
52 460
53 921
54 462
55 231
56 120
57 241

List of values

[1, 6, 3, 12, 25, 14, 7, 24, 49, 102, 51, 28, 57, 30, 15, 48, 97, 198, 99, 204, 409, 206, 103, 56, 113, 230, 115, 60, 121, 62, 31, 96, 193, 390, 195, 396, 793, 398, 199, 408, 817, 1638, 819, 412, 825, 414, 207, 112, 225, 454, 227, 460, 921, 462, 231, 120, 241]