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.

A268532 Decimal representation of permutations of lengths 1, 2, 3, ... arranged first by number of inversions and then lexicographically.

Table of values

n a(n)
1 1
2 12
3 21
4 123
5 132
6 213
7 231
8 312
9 321
10 1234
11 1243
12 1324
13 2134
14 1342
15 1423
16 2143
17 2314
18 3124
19 1432
20 2341
21 2413
22 3142
23 3214
24 4123
25 2431
26 3241
27 3412
28 4132
29 4213
30 3421
31 4231
32 4312
33 4321
34 12345
35 12354
36 12435
37 13245
38 21345
39 12453

List of values

[1, 12, 21, 123, 132, 213, 231, 312, 321, 1234, 1243, 1324, 2134, 1342, 1423, 2143, 2314, 3124, 1432, 2341, 2413, 3142, 3214, 4123, 2431, 3241, 3412, 4132, 4213, 3421, 4231, 4312, 4321, 12345, 12354, 12435, 13245, 21345, 12453]