Skip to content

A080049

OEIS Lean4

Operation count to create all permutations of n distinct elements using Algorithm L (lexicographic permutation generation) from Knuth’s The Art of Computer Programming, Vol. 4, chapter 7.2.1.2. Sequence gives number of interchange operations in step L4.

offset: 2
codomain: ℕ