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.

A079756 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 interchanges in reversal step.

Table of values

n a(n)
3 0
4 0
5 4
6 29
7 215
8 1734
9 15630
10 156327
11 1719637
12 20635688
13 268264004
14 3755696121
15 56335441899
16 901367070474
17 15323240198170
18 275818323567179
19 5240548147776545
20 104810962955531052
21 2201030222066152272

List of values

[0, 0, 4, 29, 215, 1734, 15630, 156327, 1719637, 20635688, 268264004, 3755696121, 56335441899, 901367070474, 15323240198170, 275818323567179, 5240548147776545, 104810962955531052, 2201030222066152272]