|
Combinations without repetition
|
|
Returns number of combinations without repetition for given number of objects.
syntax
Combinations(number_all_objects; number_chosen_objects)
number_all_objects (n) - number of all objects
number_chosen_objects (k) - number objects in combination
returns
integer number >= 0
info
- fractional number are converted into integer,
- number_all_objects must be greater than number_chosen_objects.
Formula of this function: n!/(k!*(n-k)!)
example
Combinations(10;3) = 120
example 2
How much of two-persons groups can be create using 8 persons?
Combinations(8;2) = 28 groups.