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.

A246380 Permutation of natural numbers: a(1) = 1, a(2n) = nthcomposite(a(n)), a(2n-1) = nthprime(a(A064989(2n-1)-1)), where nthprime = A000040, nthcomposite = A002808, and A064989(n) shifts the prime factorization of n one step towards smaller primes.

Table of values

n a(n)
1 1
2 4
3 2
4 9
5 7
6 6
7 23
8 16
9 3
10 14
11 13
12 12
13 43
14 35
15 17
16 26
17 37
18 8
19 101
20 24
21 5
22 22
23 19
24 21
25 53
26 62
27 83
28 51
29 79
30 27
31 233
32 39
33 191
34 54
35 149
36 15
37 103
38 134
39 11
40 36
41 47
42 10
43 151
44 34
45 41
46 30
47 29
48 33
49 73
50 75
51 241
52 86
53 113
54 114
55 89
56 72
57 1153
58 108
59 443
60 40
61 593
62 296
63 547
64 56
65 167
66 245
67 173
68 76
69 563
70 194
71 1553
72 25

List of values

[1, 4, 2, 9, 7, 6, 23, 16, 3, 14, 13, 12, 43, 35, 17, 26, 37, 8, 101, 24, 5, 22, 19, 21, 53, 62, 83, 51, 79, 27, 233, 39, 191, 54, 149, 15, 103, 134, 11, 36, 47, 10, 151, 34, 41, 30, 29, 33, 73, 75, 241, 86, 113, 114, 89, 72, 1153, 108, 443, 40, 593, 296, 547, 56, 167, 245, 173, 76, 563, 194, 1553, 25]