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.

A079750 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 comparisons required to find j in step L2.2'.

Table of values

n a(n)
3 0
4 4
5 25
6 156
7 1099
8 8800
9 79209
10 792100
11 8713111
12 104557344
13 1359245485
14 19029436804
15 285441552075
16 4567064833216
17 77640102164689
18 1397521838964420
19 26552914940323999
20 531058298806480000
21 11152224274936080021

List of values

[0, 4, 25, 156, 1099, 8800, 79209, 792100, 8713111, 104557344, 1359245485, 19029436804, 285441552075, 4567064833216, 77640102164689, 1397521838964420, 26552914940323999, 531058298806480000, 11152224274936080021]