Functions

nCr

Supported By

Syntax

the nCr of ( n , r )

nCr ( n , r )

N and r yield integers, numbers, or complexes.

Description

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

The formula for the nCr function is:

nCr(n,r) = fact(n) / (fact(r) * fact(n-r))

The nCr 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

choose

See Also

nPr, pick