MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Combination List


On Jun 18, 2007, at 7:09 AM, Bruno Campanini wrote:

> 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[{...}]
> ???

Subsets[Range[4],{3}]


  • Prev by Date: v6 GraphicsGrid with PlotLabel
  • Next by Date: Re: Re: A question about RegionFunction in ver. 6.0
  • Previous by thread: Combination List
  • Next by thread: Re: Combination List