PERMUT (Primitive Spread Function) returns the number of possible permutations for a specified number of items.
SYNTAX:
PERMUT(value1,value2)
REMARKS:
Specify the number of items using the value1 argument. Specify the number of items in each possible permutation using the value2 argument. Both arguments must be positive integers, and the value1 argument must be greater than 0.
A permutation is any set or subset of items where internal order is significant. Contrast with combinations (the COMBIN function).
The number of permutations is calculated as follows:
EXAMPLES:
PERMUT(B3,5)
PERMUT(C4,B2)
PERMUT(8,2)=56
PERMUT(100,3)=970200