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.

A257727 Permutation of natural numbers: a(1) = 1, a(oddprime(n)) = 1 + 2*a(n), a(not_an_oddprime(n)) = 2*a(n-1).

Table of values

n a(n)
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 10
10 12
11 9
12 14
13 11
14 16
15 20
16 24
17 13
18 18
19 15
20 28
21 22
22 32
23 17
24 40
25 48
26 26
27 36
28 30
29 21
30 56
31 25
32 44
33 64
34 34
35 80
36 96
37 19
38 52
39 72
40 60
41 29
42 42
43 23
44 112
45 50
46 88
47 33
48 128
49 68
50 160
51 192
52 38
53 41
54 104
55 144
56 120
57 58
58 84
59 49
60 46
61 27
62 224
63 100
64 176
65 66
66 256
67 37
68 136
69 320
70 384
71 31
72 76
73 57
74 82
75 208
76 288
77 240
78 116
79 45

List of values

[1, 2, 3, 4, 5, 6, 7, 8, 10, 12, 9, 14, 11, 16, 20, 24, 13, 18, 15, 28, 22, 32, 17, 40, 48, 26, 36, 30, 21, 56, 25, 44, 64, 34, 80, 96, 19, 52, 72, 60, 29, 42, 23, 112, 50, 88, 33, 128, 68, 160, 192, 38, 41, 104, 144, 120, 58, 84, 49, 46, 27, 224, 100, 176, 66, 256, 37, 136, 320, 384, 31, 76, 57, 82, 208, 288, 240, 116, 45]