Calculating Permutation Coefficient

This is a companion discussion topic for the original entry at http://iq.opengenus.org/permutation-coefficient/