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.

A257730 Permutation of natural numbers: a(1)=1; a(oddprime(n)) = prime(a(n)), a(not_an_oddprime(n)) = composite(a(n-1)).

Table of values

n a(n)
1 1
2 4
3 2
4 9
5 7
6 6
7 3
8 16
9 14
10 12
11 23
12 8
13 17
14 26
15 24
16 21
17 13
18 35
19 5
20 15
21 27
22 39
23 53
24 36
25 33
26 22
27 51
28 10
29 43
30 25
31 37
32 40
33 56
34 75
35 52
36 49
37 83
38 34
39 72
40 18
41 19
42 62
43 59
44 38
45 54
46 57
47 101
48 78
49 102
50 74
51 69
52 114
53 89
54 50
55 98
56 28
57 30
58 86
59 73
60 82
61 41
62 55
63 76
64 80
65 134
66 106
67 149
68 135
69 100
70 94
71 11
72 150
73 47
74 120
75 70
76 130
77 42
78 45
79 103
80 117
81 99
82 112
83 167
84 58
85 77

List of values

[1, 4, 2, 9, 7, 6, 3, 16, 14, 12, 23, 8, 17, 26, 24, 21, 13, 35, 5, 15, 27, 39, 53, 36, 33, 22, 51, 10, 43, 25, 37, 40, 56, 75, 52, 49, 83, 34, 72, 18, 19, 62, 59, 38, 54, 57, 101, 78, 102, 74, 69, 114, 89, 50, 98, 28, 30, 86, 73, 82, 41, 55, 76, 80, 134, 106, 149, 135, 100, 94, 11, 150, 47, 120, 70, 130, 42, 45, 103, 117, 99, 112, 167, 58, 77]