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.

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

Table of values

n a(n)
1 2
2 9
3 6
4 17
5 38
6 25
7 14
8 33
9 70
10 153
11 78
12 49
13 102
14 57
15 30
16 65
17 134
18 281
19 142
20 305
21 614
22 313
23 158
24 97
25 198
26 409
27 206
28 113
29 230
30 121
31 62
32 129
33 262
34 537
35 270
36 561
37 1126
38 569
39 286
40 609
41 1222
42 2457
43 1230
44 625
45 1254
46 633
47 318
48 193
49 390
50 793
51 398
52 817
53 1638
54 825
55 414

List of values

[2, 9, 6, 17, 38, 25, 14, 33, 70, 153, 78, 49, 102, 57, 30, 65, 134, 281, 142, 305, 614, 313, 158, 97, 198, 409, 206, 113, 230, 121, 62, 129, 262, 537, 270, 561, 1126, 569, 286, 609, 1222, 2457, 1230, 625, 1254, 633, 318, 193, 390, 793, 398, 817, 1638, 825, 414]