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.

A171008 Write the n-th prime in binary and change all 0's to 1's and all 1's to 0's.

Table of values

n a(n)
1 1
2 0
3 10
4 0
5 100
6 10
7 1110
8 1100
9 1000
10 10
11 0
12 11010
13 10110
14 10100
15 10000
16 1010
17 100
18 10
19 111100
20 111000
21 110110
22 110000
23 101100
24 100110
25 11110
26 11010
27 11000
28 10100
29 10010
30 1110
31 0
32 1111100
33 1110110
34 1110100
35 1101010
36 1101000
37 1100010
38 1011100

List of values

[1, 0, 10, 0, 100, 10, 1110, 1100, 1000, 10, 0, 11010, 10110, 10100, 10000, 1010, 100, 10, 111100, 111000, 110110, 110000, 101100, 100110, 11110, 11010, 11000, 10100, 10010, 1110, 0, 1111100, 1110110, 1110100, 1101010, 1101000, 1100010, 1011100]