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.

A236854 Self-inverse permutation of natural numbers: a(1)=1, then a(p_n)=c_{a(n)}, a(c_n)=p_{a(n)}, where p_n = n-th prime, c_n = n-th composite.

Table of values

n a(n)
1 1
2 4
3 9
4 2
5 16
6 7
7 6
8 23
9 3
10 53
11 26
12 17
13 14
14 13
15 83
16 5
17 12
18 241
19 35
20 101
21 59
22 43
23 8
24 41
25 431
26 11
27 37
28 1523
29 75
30 149
31 39
32 547
33 277
34 191
35 19
36 179
37 27
38 3001
39 31
40 157
41 24
42 12763
43 22
44 379
45 859
46 167
47 114
48 3943
49 1787
50 1153
51 67
52 1063
53 10
54 103
55 27457
56 127
57 919
58 89
59 21

List of values

[1, 4, 9, 2, 16, 7, 6, 23, 3, 53, 26, 17, 14, 13, 83, 5, 12, 241, 35, 101, 59, 43, 8, 41, 431, 11, 37, 1523, 75, 149, 39, 547, 277, 191, 19, 179, 27, 3001, 31, 157, 24, 12763, 22, 379, 859, 167, 114, 3943, 1787, 1153, 67, 1063, 10, 103, 27457, 127, 919, 89, 21]