Combinatorica Package >

KSubsets

KSubsets[l, k]
gives all subsets of set l containing exactly k elements, ordered lexicographically.
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team