permutationa
Number of permutations with repetition allowed.
Syntax
Section titled “Syntax”v = permutationa(number, number_chosen)Description
Section titled “Description”Returns n^k — the number of ordered selections of k items from n when repetition is allowed.
Example
Section titled “Example”permutationa(3, 2) % 9 (3^2)See also
Section titled “See also”permut— Number of ordered selections (permutations) ofkfromn.