|
|
|
|
combinations with repeated elements
|
(Definition)
|
|
Definition 1 A $k$ -combination with repeated elements chosen within the set $X=\{x_1,x_2,\ldots x_n\}$ is a multiset with cardinality $k$ having $X$ as the underlying set.
Note 1 The definition is based on the multiset concept and therefore the order of the elements within the combination is irrelevant.
Note 2 The definition generalizes the concept of combination with distinct elements.
Lemma 1 Given $n,k \in \{0,1,2,\ldots\},n \ge k$ , the following formula holds: $$ \binom{n+1}{k+1}=\sum_{i=k}^n\binom{i}{k}. $$
Theorem 1 The number $C'_{n,k}$ of the $k$ -combinations with repeated elements is given by the formula: $$ C'_{n,k}=\binom{n+k-1}{k}. $$
Proof. The proof is given by finite induction.
The proof is trivial for $k=1$ , since no repetitions can occur and the number of $1$ -combinations is $n=\binom{n}{1}$ .
Let's then prove the formula is true for $k+1$ , assuming it holds for $k$ . The $k+1$ -combinations can be partitioned in $n$ subsets as follows:
- combinations that include $x_1$ at least once;
- combinations that do not include $x_1$ , but include $x_2$ at least once;
- combinations that do not include $x_1$ and $x_2$ , but include $x_3$ at least once;
- ...
- combinations that do not include $x_1$ , $x_2$ ,... $x_{n-2}$ but include $x_{n-1}$ at least once;
- combinations that do not include $x_1$ , $x_2$ ,... $x_{n-2}$ , $x_{n-1}$ but include $x_n$ only.
The number of the subsets is: $$C'_{n,k}+C'_{n-1,k}+C'_{n-2,k}+\ldots +C'_{2,k}+C'_{1,k}$$ which, by the inductive hypothesis and the lemma, equalizes: $$ \binom{n+k-1}{k}+\binom{n+k-2}{k}+\binom{n+k-3}{k}+\ldots +\binom{k+1}{k}+\binom{k}{k}=\sum_{i=k}^{n+k-1}\binom{i}{k}=\binom{n+k}{k+1}. $$ 
|
"combinations with repeated elements" is owned by kfgauss70.
|
|
(view preamble | get metadata)
Cross-references: inductive hypothesis, subsets, proof, number, Pascal's rule, application, formula, combination, order, cardinality, multiset
This is version 5 of combinations with repeated elements, born on 2007-12-31, modified 2008-12-07.
Object id is 10167, canonical name is CombinationsWithRepeatedElements.
Accessed 1132 times total.
Classification:
| AMS MSC: | 05A10 (Combinatorics :: Enumerative combinatorics :: Factorials, binomial coefficients, combinatorial functions) |
|
|
|
|
|
|
Pending Errata and Addenda
|
|
|
|
|
|
|
|
|
|
|