Manuals/calci/COMBINATIONS

From ZCubes Wiki
Revision as of 02:57, 13 March 2017 by Jayaram (talk | contribs)
Jump to navigation Jump to search
COMBINATIONS (Array,HowMany)


  • is the set of numbers.
  • is the number of choices.

Description

  • This function shows the combination of the given numbers.
  • A combination is a selection of all or part of a set of objects, without regard to the order in which objects are selected.
  • In , is the set of numbers and is the described number of choice.
  • The number of ways of picking k unordered outcomes from n possibilities.
  • Also known as the binomial coefficient or choice number and read "n choose k" .
  • .
  • Here COMBINATIONS shows the choices of the selected objects.

Examples

1.COMBINATIONS([3,8,12],2)

3 8
3 12
8 12

2.COMBINATIONS([10,18,300,23,192],3)

10 18 300
10 18 23
10 18 192
10 300 23
10 300 192
10 23 192
18 300 23
18 300 192
18 23 192
300 23 192


See Also

References

Combinations