chickadee » statistics » permutations

permutations n kprocedure

returns the number of ways to select k items from n, where the order does matter.