# Combination

## Selection of items from a set / From Wikipedia, the free encyclopedia

#### Dear Wikiwand AI, let's keep it short by simply answering these key questions:

Can you list the top facts and stats about Combination?

Summarize this article for a 10 year old

In mathematics, a **combination** is a selection of items from a set that has distinct members, such that the order of selection does not matter (unlike permutations). For example, given three fruits, say an apple, an orange and a pear, there are three combinations of two that can be drawn from this set: an apple and a pear; an apple and an orange; or a pear and an orange. More formally, a *k*-combination of a set *S* is a subset of *k* distinct elements of *S*. So, two combinations are identical if and only if each combination has the same members. (The arrangement of the members in each set does not matter.) If the set has *n* elements, the number of *k*-combinations, denoted by $C(n,k)$ or $C_{k}^{n}$, is equal to the binomial coefficient

${\binom {n}{k}}={\frac {n(n-1)\dotsb (n-k+1)}{k(k-1)\dotsb 1}},$

which can be written using factorials as $\textstyle {\frac {n!}{k!(n-k)!}}$ whenever $k\leq n$, and which is zero when $k>n$. This formula can be derived from the fact that each *k*-combination of a set *S* of *n* members has $k!$ permutations so $P_{k}^{n}=C_{k}^{n}\times k!$ or $C_{k}^{n}=P_{k}^{n}/k!$.^{[1]} The set of all *k*-combinations of a set *S* is often denoted by $\textstyle {\binom {S}{k}}$.

A combination is a combination of *n* things taken *k* at a time *without repetition*. To refer to combinations in which repetition is allowed, the terms *k*-combination with repetition, *k*-multiset,^{[2]} or *k*-selection,^{[3]} are often used.^{[4]} If, in the above example, it were possible to have two of any one kind of fruit there would be 3 more 2-selections: one with two apples, one with two oranges, and one with two pears.

Although the set of three fruits was small enough to write a complete list of combinations, this becomes impractical as the size of the set increases. For example, a poker hand can be described as a 5-combination (*k* = 5) of cards from a 52 card deck (*n* = 52). The 5 cards of the hand are all distinct, and the order of cards in the hand does not matter. There are 2,598,960 such combinations, and the chance of drawing any one hand at random is 1 / 2,598,960.