permut()

Read(3021) Label: number of permutations,

Description:

Return the number of permutations.

Syntax:

permut(n,k)

Note:

The number of ways of rearranging the k elements picked from a set of n different objects.

Parameter:

n

An integer that is the number of the objects

k

An integer that is the number of the objects in each permutation

Return value:

The number of permutations

Example:

permut(5,4)

120