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.

A320588 Derangements of {1,2,...,n} (n >= 2) in lexicographic order.

Table of values

n a(n)
2 21
3 231
4 312
5 2143
6 2341
7 2413
8 3142
9 3412
10 3421
11 4123
12 4312
13 4321
14 21453
15 21534
16 23154
17 23451
18 23514
19 24153
20 24513
21 24531
22 25134
23 25413
24 25431
25 31254
26 31452
27 31524
28 34152
29 34251
30 34512
31 34521
32 35124
33 35214
34 35412
35 35421
36 41253
37 41523
38 41532
39 43152
40 43251
41 43512

List of values

[21, 231, 312, 2143, 2341, 2413, 3142, 3412, 3421, 4123, 4312, 4321, 21453, 21534, 23154, 23451, 23514, 24153, 24513, 24531, 25134, 25413, 25431, 31254, 31452, 31524, 34152, 34251, 34512, 34521, 35124, 35214, 35412, 35421, 41253, 41523, 41532, 43152, 43251, 43512]