Computes all possible combinations of
n objects taken
k at a
a number less than or equal to
Returns a matrix containing the possible combinations of
k at a time.
Combinations(5,2) # The columns in the matrix list the values of the 10 possible # combinations of 5 things taken 2 at a time.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.