Combinatorics

Maths of Combinatorics

AND

OR

Binomial Theorem

Binomial Theorem

Binomial Coefficient

Binomial Coefficient

Pascal's triangle

  • The entry in the nth row and kth column of Pascal's triangle is denoted

n choose k

Pascal's rule

  • Each number is the sum of the two numbers directly above it.

Pascal's rule

Algorithms

Combination Generation

No Repetitions
  • Use array index for combination generation
With Repetitions

Reference