Error Messages/40811
Warning message
The first parameter, «k», of Function Combinations(k, n) cannot be larger than the second parameter, «n».
Cause
You have probably inverted the order of the parameters to Combinations. How many sets of size 3 are there among a collection of 5 elements? That would be Combinations(3, 5)
. Mathematical notation for combination often appear as
- [math]\displaystyle{ \left( \begin{array}{c} n \\ k \end{array} \right) }[/math] or [math]\displaystyle{ _nC_r }[/math]
which becomes Combinations(k, n)
in Analytica.
Remedies
Change the parameters to the Combinations function so that the «k» parameter is less than or equal to «n».
See Also
Comments
Enable comment auto-refresher