MathGroup Archive 2007

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

Search the Archive

Re: Combination List

  • To: mathgroup at
  • Subject: [mg77993] Re: Combination List
  • From: Jean-Marc Gulliet <jeanmarc.gulliet at>
  • Date: Thu, 21 Jun 2007 05:37:16 -0400 (EDT)
  • Organization: The Open University, Milton Keynes, UK
  • References: <f55qci$k58$> <f58bk7$6ve$> <f5arsg$9aq$>

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