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.

A026142 Lexicographically earliest permutation of the positive integers such that for n >= 2, |a(n)-n| = [(a(n)+1)/2].

Table of values

n a(n)
1 1
2 4
3 2
4 8
5 3
6 12
7 14
8 5
9 6
10 20
11 7
12 24
13 26
14 9
15 10
16 32
17 11
18 36
19 38
20 13
21 42
22 44
23 15
24 16
25 50
26 17
27 18
28 56
29 19
30 60
31 62
32 21
33 22
34 68
35 23
36 72
37 74
38 25
39 78
40 80
41 27
42 28
43 86
44 29
45 30
46 92
47 31
48 96
49 98
50 33
51 34
52 104
53 35
54 108
55 110
56 37
57 114
58 116
59 39
60 40
61 122
62 41
63 126
64 128
65 43
66 132

List of values

[1, 4, 2, 8, 3, 12, 14, 5, 6, 20, 7, 24, 26, 9, 10, 32, 11, 36, 38, 13, 42, 44, 15, 16, 50, 17, 18, 56, 19, 60, 62, 21, 22, 68, 23, 72, 74, 25, 78, 80, 27, 28, 86, 29, 30, 92, 31, 96, 98, 33, 34, 104, 35, 108, 110, 37, 114, 116, 39, 40, 122, 41, 126, 128, 43, 132]