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.

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

Table of values

n a(n)
1 1
2 3
3 7
4 2
5 19
6 6
7 5
8 12
9 4
10 28
11 71
12 10
13 17
14 9
15 20
16 8
17 13
18 40
19 41
20 95
21 16
22 26
23 11
24 15
25 30
26 14
27 21
28 56
29 109
30 57
31 359
32 125
33 25
34 38
35 18
36 24
37 31
38 44
39 22
40 32
41 61
42 77
43 29
44 143
45 78
46 445
47 73
48 162
49 36
50 54
51 27
52 35
53 23
54 45
55 62
56 33
57 46
58 84
59 43
60 104
61 179
62 42
63 185
64 105
65 545
66 98
67 181
68 208
69 51
70 75
71 503
72 39
73 59
74 50
75 34
76 63
77 85
78 48
79 103
80 64
81 114
82 60
83 37

List of values

[1, 3, 7, 2, 19, 6, 5, 12, 4, 28, 71, 10, 17, 9, 20, 8, 13, 40, 41, 95, 16, 26, 11, 15, 30, 14, 21, 56, 109, 57, 359, 125, 25, 38, 18, 24, 31, 44, 22, 32, 61, 77, 29, 143, 78, 445, 73, 162, 36, 54, 27, 35, 23, 45, 62, 33, 46, 84, 43, 104, 179, 42, 185, 105, 545, 98, 181, 208, 51, 75, 503, 39, 59, 50, 34, 63, 85, 48, 103, 64, 114, 60, 37]