MathGroup Archive 2007

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

Search the Archive

Re: Combination List

Bruno Campanini wrote:
> "Jean-Marc Gulliet" <jeanmarc.gulliet at> wrote in message 
> news:f58bk7$6ve$1 at
>> I believe the last line is a typo (otherwise your request does not make
>> any sense).
> Yes it is.
> Thank you Jean-Marc and thanks to the other fellows.
> I got a number of good solutions to my question.
> May I go on...
> What if I can have one or more repeated elements in subsets?
> That is the number of combinations of 3 elements out of 4
> - with one or more duplicated elements - is Binomial[4+3-1,3] = 20
> How can I get the list?
> Bruno

You should investigate the package Combinatorica. For instance, from the 
  documentation center


or from the web

is a good place to start with it.


  • Prev by Date: Rules for $Assumptions changed in v6.0 ???
  • Next by Date: Re: How change frame width in Framed object?
  • Previous by thread: Re: Combination List
  • Next by thread: Re: Combination List