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.

A145382 Write the n-th prime in binary. Change all 0's to 1's and all 1's to 0's. a(n) is the decimal equivalent of the result.

Table of values

n a(n)
1 1
2 0
3 2
4 0
5 4
6 2
7 14
8 12
9 8
10 2
11 0
12 26
13 22
14 20
15 16
16 10
17 4
18 2
19 60
20 56
21 54
22 48
23 44
24 38
25 30
26 26
27 24
28 20
29 18
30 14
31 0
32 124
33 118
34 116
35 106
36 104
37 98
38 92
39 88
40 82
41 76
42 74
43 64
44 62
45 58
46 56
47 44
48 32
49 28
50 26
51 22
52 16
53 14
54 4
55 254
56 248
57 242
58 240
59 234
60 230
61 228
62 218
63 204
64 200
65 198
66 194
67 180
68 174

List of values

[1, 0, 2, 0, 4, 2, 14, 12, 8, 2, 0, 26, 22, 20, 16, 10, 4, 2, 60, 56, 54, 48, 44, 38, 30, 26, 24, 20, 18, 14, 0, 124, 118, 116, 106, 104, 98, 92, 88, 82, 76, 74, 64, 62, 58, 56, 44, 32, 28, 26, 22, 16, 14, 4, 254, 248, 242, 240, 234, 230, 228, 218, 204, 200, 198, 194, 180, 174]