permut
Number of ordered selections (permutations) of k from n.
Syntax
Section titled “Syntax”v = permut(number, number_chosen)Description
Section titled “Description”Returns n! / (n-k)! — the number of ways to arrange k items from n distinct items where order matters and items don’t repeat.
Example
Section titled “Example”permut(10, 3) % 720See also
Section titled “See also”permutationa— Number of permutations with repetition allowed.combin— Number of unordered selections (combinations) ofkfromn.