combin() Function

Function

combin( n, m )

Calculates the number of unique ways to choose m elements from a pool of n elements.

Parameters

Keyword Type Description

n

Integer

The number of elements that can be chosen from.

m

Integer

The number of elements that will be chosen from the pool of n elements.

Returns

Decimal

Examples

You can experiment with this function in the test box below.

Test Input

combin(4,2) returns 6

Open in Github Built: Fri, Sep 17, 2021 (04:05:09 PM)

On This Page

FEEDBACK