← Back

Combinatorics Explorer

Counting principles, Pascal's patterns, and partition theory.

Combinatorics & Enumeration Handbook

Mathematical Principles & Theorems

Enumerative combinatorics studies configurations and counting. Permutations without replacement \(P(n, k) = \frac{n!}{(n-k)!}\), Combinations \(\binom{n}{k} = \frac{n!}{k!(n-k)!}\), Catalan numbers \(C_n = \frac{1}{n+1}\binom{2n}{n}\) (counting Dyck paths and binary trees), Stirling numbers of the second kind \(S(n, k) = \frac{1}{k!}\sum_{j=0}^k (-1)^{k-j}\binom{k}{j}j^n\), and Derangements \(!n = n!\sum_{i=0}^n \frac{(-1)^i}{i!} \approx \lfloor \frac{n!}{e} + \frac{1}{2} \rfloor\).

Operating Instructions

  • Select an enumeration formula (Permutations, Combinations, Catalan, Stirling, Derangements).
  • Enter parameters \(n\) and \(k\) into the numeric value boxes.
  • Click Calculate to view exact arbitrary-precision integer results.
  • Inspect the breakdown cards for combinatorial interpretations and recurrence equations.

Perms & Combs

Permutations P(n,r) and Combinations C(n,r)

P(n,r) ordered
C(n,r) unordered
Multiset C(n+r-1,r)
n!
r!
(n-r)!