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.

A128756 Permutation sequence related to lucky numbers A000959: starting with the integers, for n = 1, 2, 3, ... swap the n-th and the (n-g)-th element, where g = A000959(n+1) - A000959(n) - 1.

Table of values

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

List of values

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