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.

A288971 Number of key comparisons to sort all n! permutations of n elements by the optimal quadral-pivot quicksort.

Original entry on oeis.org

0, 0, 2, 16, 112, 848, 7008, 63648, 635040, 6915168, 81757440, 1044161280, 14334076800, 210595524480
Offset: 0

Views

Author

Daniel Krenn, Jun 20 2017

Keywords

Comments

The 4 pivot elements are chosen from fixed indices (e.g. the last 4 elements). The "optimal" strategy minimizes, after the choice of the pivots is done, the expected partitioning cost.

Crossrefs

Extensions

a(9)-a(13) from Melanie Siebenhofer, Feb 05 2018