permutations A small C++ library to encode/decode permutations as integers. This library allows you to take a sequence of 64b integers and represent the sequence as a single, big integer. The algorithm used is known as Lehmer encoding.