The Lehmer code. A complete translation from permutation to decimal, by way of the factoradic, for a permutation of size 4. Each permutation is mapped to a single unique decimal representation. Two additional translations from permutation to factoradic are shown in Additional file 1: Figure S2.
Magis and Price BMC Bioinformatics 2012 13:227 doi:10.1186/1471-2105-13-227