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.

A246378 Permutation of natural numbers: a(1) = 1, a(2n) = nthcomposite(a(n)), a(2n+1) = nthprime(a(n)), where nthcomposite = A002808, nthprime = A000040.

Table of values

n a(n)
1 1
2 4
3 2
4 9
5 7
6 6
7 3
8 16
9 23
10 14
11 17
12 12
13 13
14 8
15 5
16 26
17 53
18 35
19 83
20 24
21 43
22 27
23 59
24 21
25 37
26 22
27 41
28 15
29 19
30 10
31 11
32 39
33 101
34 75
35 241
36 51
37 149
38 114
39 431
40 36
41 89
42 62
43 191
44 40
45 103
46 82
47 277
48 33
49 73
50 54
51 157
52 34
53 79
54 58
55 179
56 25
57 47
58 30
59 67
60 18
61 29
62 20
63 31
64 56
65 167
66 134
67 547
68 102
69 379
70 304
71 1523
72 72
73 233

List of values

[1, 4, 2, 9, 7, 6, 3, 16, 23, 14, 17, 12, 13, 8, 5, 26, 53, 35, 83, 24, 43, 27, 59, 21, 37, 22, 41, 15, 19, 10, 11, 39, 101, 75, 241, 51, 149, 114, 431, 36, 89, 62, 191, 40, 103, 82, 277, 33, 73, 54, 157, 34, 79, 58, 179, 25, 47, 30, 67, 18, 29, 20, 31, 56, 167, 134, 547, 102, 379, 304, 1523, 72, 233]