# Combinations with Repetition

Given a set of **n** elements, the combinations with repetition are different groups formed by the **k** elements of a subset such that:

The order of the elements does not matter.

The elements are repeated.

#### Examples

There are five different types of bottles in a wine cellar. How many ways can four bottles be chosen from the cellar?

The order of the elements does not matter.

The elements are repeated.

Subject

Site