MathGroup Archive 2001

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

Search the Archive

Re: Combinations

  • To: mathgroup at
  • Subject: [mg30788] Re: Combinations
  • From: macJL <macJL at>
  • Date: Wed, 19 Sep 2001 00:16:27 -0400 (EDT)
  • References: <9nh2jh$ml$>
  • Sender: owner-wri-mathgroup at

Combinations:    C[n_,m_]:=Binomial[n,m]   (n>m>=0, n,m: Integers)

Permutations:    P[n_,m_]:=Binomial[n,m]*Factorial[m]

(for n>m>=0, n,m: Integers)

In article <9nh2jh$ml$1 at>, Dana <ng_only at> wrote:

>Hello.  I have Mathematica 4.1
>In a Program like Excel, or a hand-held calculator, one can return the
>number of combinations and permutations.
>However, I can not find an equivalent function in Mathematica.
>For example, Permutations[ ] returns a long list of all the "Actual"
>I am looking for just the final number.
>If there is one, could you include 'how' you found it.  I have looked
>I know DiscreteMath`Combinatorica` has some stuff in it, but the Help system
>appears not to explain many of them.
>I can write a custom function, but I am curious to find out if this function
>is built in to Mathematica.
>I hope the answer is not to take the Length[ ]  of a rather long list.
>TIA.  Dana
>(I posted this question a month ago, but it never showed up in the
>newsgroup, or in the archives.
>I hope I am not doing something wrong.)

  • Prev by Date: Re: Summing list subsets
  • Next by Date: Re: Help w/ Mathematica: simple stuff
  • Previous by thread: Re: Combinations
  • Next by thread: Re: Combinations