- Function Permutation(n, m)
Permutation
The function Permutation
computes the number of permutations of
length \(m\) in \(n\) items.
Permutation(
n, ! (input) integer expression
m ! (input) integer expression
)
Arguments
- n
An integer numerical expression \(\geq 0\).
- m
An integer numerical expression in the range \(0,\dots,n\).
Return Value
The function
Permutation
returns \(m!\cdot{\binom{n}{m}}\), the number of permutations of length m in a given number of items n.
See also
Combinatoric functions are discussed in full detail in Combinatoric functions.