|
[Date Index]
[Thread Index]
[Author Index]
Re: Combination List
- To: mathgroup at smc.vnet.net
- Subject: [mg77884] Re: Combination List
- From: "Sem" <sarner2006-sem at yahoo.it>
- Date: Tue, 19 Jun 2007 06:34:04 -0400 (EDT)
- References: <f55qci$k58$1@smc.vnet.net>
Hi,
you may take a look at DiscreteMath`Combinatorica` package;
KSubsets[list, k] is what you need.
Sem
"Bruno Campanini" <BC at gmail.com> news:f55qci$k58$1 at smc.vnet.net...
>I know combinations of 4 elements taken 3 by 3 is 4,
> that is Binomial[4,3] = 4
> How can I get the list:
> 1 2 3
> 1 2 4
> 1 3 4
> 1 4 2
>
> The same way I get permuations list from Permutations[{...}]
> ???
>
> Bruno
>
Prev by Date:
Re: Combination List
Next by Date:
MatrixPlot: frame ticks starting with 0?
Previous by thread:
Re: Combination List
Next by thread:
Re: Combination List
|