Counting

Fundamental Counting

Lists

An ordered arrangement of the elements of some set S

Permutations

A list containing the elements of a set

A permutation Pn:a1a2...an can be interpreted as a function

L=1,2,3... = identity permutation (the order doesn't change)

Number of full permutations of a set S = |S|!

Permutations of size k

Circle Permutations (starting positions don't matter)

Permutations where k of the n elements are indistinguishable

Combinations

Combinations with sets of distinct elements

n!(nk)!k!=(nk)=nCk=nPkk!

If we have k groups n!n1!n2!nk!=(nn1)(nn1n2)(nn1nk1nk)

Division Rule

Multisets

Counting Theorems