Permutations nPr

Calculates the number of ways to arrange r items chosen from n, nPr = n × (n−1) × … × (n−r+1), where the order matters.