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.

A277022 Primorial base representation of n is rewritten as a base-2 number with each nonzero digit k replaced by a run of k 1's (followed by one extra zero if not the rightmost run of 1's) and with each 0 kept as 0.

Table of values

n a(n)
0 0
1 1
2 2
3 5
4 6
5 13
6 4
7 9
8 10
9 21
10 22
11 45
12 12
13 25
14 26
15 53
16 54
17 109
18 28
19 57
20 58
21 117
22 118
23 237
24 60
25 121
26 122
27 245
28 246
29 493
30 8
31 17
32 18
33 37
34 38
35 77
36 20
37 41
38 42
39 85
40 86
41 173
42 44
43 89
44 90
45 181
46 182
47 365
48 92
49 185
50 186
51 373
52 374
53 749
54 188
55 377
56 378
57 757
58 758
59 1517
60 24
61 49
62 50
63 101
64 102
65 205
66 52
67 105
68 106
69 213
70 214
71 429
72 108
73 217
74 218
75 437
76 438
77 877
78 220

List of values

[0, 1, 2, 5, 6, 13, 4, 9, 10, 21, 22, 45, 12, 25, 26, 53, 54, 109, 28, 57, 58, 117, 118, 237, 60, 121, 122, 245, 246, 493, 8, 17, 18, 37, 38, 77, 20, 41, 42, 85, 86, 173, 44, 89, 90, 181, 182, 365, 92, 185, 186, 373, 374, 749, 188, 377, 378, 757, 758, 1517, 24, 49, 50, 101, 102, 205, 52, 105, 106, 213, 214, 429, 108, 217, 218, 437, 438, 877, 220]