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.

A079752 Operation count to create all permutations of n distinct elements using the "streamlined" version of Algorithm L (lexicographic permutation generation) from Knuth's The Art of Computer Programming, Vol. 4, chapter 7.2.1.2. Sequence gives number of times the search for an element exchangeable with a_j has to be started.

Table of values

n a(n)
3 0
4 2
5 13
6 82
7 579
8 4638
9 41749
10 417498
11 4592487
12 55109854
13 716428113
14 10029993594
15 150449903923
16 2407198462782
17 40922373867309
18 736602729611578
19 13995451862619999
20 279909037252399998
21 5878089782300399977

List of values

[0, 2, 13, 82, 579, 4638, 41749, 417498, 4592487, 55109854, 716428113, 10029993594, 150449903923, 2407198462782, 40922373867309, 736602729611578, 13995451862619999, 279909037252399998, 5878089782300399977]