Basic Combinatorics

Table of contents
  1. Permutation
    1. Permutation without repetition
    2. Permutation with repetition
  2. Combination
    1. Combination without repetition
    2. Combination with repetition

Permutation

A permutation is an arrangement of objects in a specific order.

Permutation without repetition

If repetition is not allowed, then the number of permutations of n objects taken r at a time is

nPr=n!(nr)!

Permutation with repetition

If repetition is allowed, then the number of permutations of n objects taken r at a time is nr.


Combination

A combination is a selection of objects where order does not matter.

Combination without repetition

If repetition is not allowed, then the number of combinations of n objects taken r at a time is

nCr=n!r!(nr)!

Combination with repetition

If repetition is allowed, then the number of combinations of n objects taken r at a time is

r+n1Cr=(r+n1)!r!(n1)!