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.

A257802 Permutation of natural numbers: a(1) = 1, a(lucky(n)) = oddprime(a(n-1)), a(unlucky(n)) = not_an_oddprime(1+a(n)).

Table of values

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

List of values

[1, 2, 3, 4, 6, 8, 5, 10, 7, 14, 9, 16, 11, 12, 17, 22, 15, 25, 18, 20, 23, 26, 33, 24, 13, 36, 27, 30, 34, 38, 31, 48, 19, 35, 21, 51, 47, 39, 44, 49, 54, 45, 29, 66, 28, 50, 32, 70, 59, 65, 37, 55, 62, 68, 75, 63, 42, 90, 40, 69, 46, 94, 41, 81, 88, 52, 61, 76, 83, 85, 92, 100, 53, 86, 101, 58, 120, 56, 67, 93, 64]