Functions

nPr

Supported By

Syntax

the nPr of ( n , r )

nPr ( n , r )

N and r yield integers, numbers, or complexes.

Description

The nPr function returns the number of permutations where n is the number of things to choose from and r is the number of things chosen.

The formula for the nPr function is:

nPr(n,r) = fact(n) / fact(n-r)

The nPr function is faster and more accurate than using the above formula.

If both arguments are integers or numbers, a number is returned. If either argument is a complex, a complex is returned.

Synonym

pick

See Also

nCr, choose