permut()

Read(265) 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.

Parameters:

n

An integer that is the number of the objects

k

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

Retrun value:

The number of permutations

Example:

permut(5,4)

120