Re: Combinations
- To: mathgroup at smc.vnet.net
- Subject: [mg30784] Re: [mg30769] Combinations
- From: BobHanlon at aol.com
- Date: Wed, 19 Sep 2001 00:16:23 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
In a message dated 2001/9/9 8:59:25 PM, ng_only at hotmail.com writes: >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" >permutations. >I am looking for just the final number. >If there is one, could you include 'how' you found it. I have looked >everywhere. >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. > The functions for number of permuations and combinations are called Factorial and Binomial. Bob Hanlon Chantilly, VA USA