Permutations with Repetition

The number of -permutations of a set of objects with repetition allowed is

Combinations with Repetition

There are -combinations from a set with elements when repetition of elements is allowed.

Each -combination of a set with elements when repetition is allowed can be represented by a list of bars and stars. The bars are used to mark off different cells, with the -th cell containing a star for each time the -th element of the set occurs in the combination. For instance, a -combination of a set with four elements is represented with three bars and six stars. Here

represents the combination containing exactly two of the first element, one of the second element, none of the third element and three of the fourth element of the set.

Therefore, the total number of such combinations is

Permutations with Indistinguishable Objects

The number of different permutations of objects, where there are indistinguishable objects of type , indistinguishable objects of type , ..., and indistinguishable objects of type , is

Distributing Objects into Boxes

The number of ways to distribute distinguishable objects into distinguishable boxes so that objects are placed into box , equals