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.

A255422 Permutation of natural numbers: a(1) = 1 and for n > 1, if n is k-th ludic number larger than 1 [i.e., n = A003309(k+1)], a(n) = nthprime(a(k)), otherwise, when n is k-th nonludic number [i.e., n = A192607(k)], a(n) = nthcomposite(a(k)), where nthcomposite = A002808, nthprime = A000040.

Table of values

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

List of values

[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 20, 21, 22, 24, 19, 25, 23, 26, 27, 28, 29, 32, 33, 34, 36, 30, 38, 35, 31, 39, 40, 42, 37, 44, 41, 48, 49, 50, 43, 52, 45, 55, 51, 46, 47, 56, 57, 60, 54, 63, 58, 68, 53, 69, 70, 62, 74, 64, 59, 77, 72, 65, 61, 66, 78, 80, 84, 76, 71, 87, 81]