combin()

Read(3394) Label: combinations, integer, number,

Description:

Return the number of combinations.

Syntax:

combin(n,k)

Note:

The number of ways of picking k elements from n objects.

Parameter:

n

An integer that is the number of given objects.

k

An integer that is the number of elements you want to pick from the given set of objects.

Return value:

Number

Example:

combin(8,2)

Get 2 from 8 items each time and there are altogether 28 combinations.