HOME WEB NEWS IMAGES CLASSIFIEDS YELLOW PAGESPOLLS - SURVEYS WIKI COUNTRIES PHOTOS US UK INDIA
Avoo.com provides meta search results from various sources

Combination


Google


News, World News by www.WorldOfNews.com
 Run On Guns As Owners Fear New Regulations - CBSNews 
 Amar files nomination for RS - indiainfo.com 
 CC you real soon - NewYorkDailyNews 
  STEELERS 23 REDSKINS 6 - TheWashingtonPost 
 Depressed Youths Benefit From Therapy, Medication - NPR 
 My Own Shu Uemura Cleansing Oil. Finally. - Glam 
 Schwarzenegger unveils plan for steep sales tax increase - EnglishPeople.com 
 How To: Make Recyled Inside Out Pillows - Glam 
 How To: Make Recycled Inside Out Pillows - Glam 
 Lala.com: Your Music, On Demand, Anywhere - CBSNews 
More >>

1

In combinatorial mathematics, a combination is an un-ordered collection of unique sizes. (An ordered collection is called a permutation.) Given S, the set of all possible unique elements, a combination is a subset of the elements of S. The order of the elements in a combination is not important (two lists with the same elements in different orders are considered to be the same combination). Also, the elements cannot be repeated in a combination (every element appears uniquely once); this is often referred to as "without replacement/repetition". This is because combinations are defined by the elements contained in them, thus the set {1,1,2} is the same as {2,1,1}. For example, from a 52-card deck any 5 cards can form a valid combination (a hand). The order of the cards doesn\'t matter and there can be no repetition of cards.

A k-combination (or k-subset) is a subset with k elements. The number of k-combinations (each of size k) from a set S with n elements (size n) is the binomial coefficient (also known as the "choose function"):

C^k_n = {n \choose k} = \frac{n!}{k!(n-k)!}.

As an example, the number of five-card hands possible from a standard fifty-two card deck is:

{52 \choose 5} = \frac{n!}{k!(n-k)!} = \frac{52!}{5!(52-5)!} = 2598960.

A combination is a special case of a partition of a set; specifically, a partition into two sets of size k and n − k.

Since it is impractical to calculate n! if the value of n is very large, a more efficient algorithm is

{n \choose k} = \frac { ( n - 0 ) }{ (k - 0) } \times \frac { ( n - 1 ) }{ (k - 1) } \times \frac { ( n - 2 ) }{ (k - 2) } \times \frac { ( n - 3 ) }{ (k - 3) } \times \cdots \times \frac { ( n - (k - 1) ) }{ (k - (k - 1)) }.

Example:

{52 \choose 5} = \frac { 52 }{ 5 } \times \frac { 51 }{ 4 } \times \frac { 50 }{ 3 } \times \frac { 49 }{ 2 } \times \frac { 48 }{ 1 } = 2598960.

See also

External links

This article is licensed under the GNU Free Documentation License. It uses material from Wikipedia


Advertise with Us | Search Marketing | Help | Suggest a Site | Privacy Policy
© 2008 www.avoo.com. All rights reserved.