Concepts8

MathIntermediate

Linearity of Expectation Applications

Linearity of expectation says the expected value of a sum equals the sum of expected values, even if the variables are dependent.

#linearity of expectation#indicator variables#expected inversions+12
MathAdvanced

Pólya Enumeration

Pólya Enumeration Theorem generalizes Burnside’s Lemma by turning counting under symmetry into a polynomial substitution problem.

#pólya enumeration#cycle index#burnside lemma+12
MathIntermediate

Probability Fundamentals

Probability quantifies uncertainty by assigning numbers between 0 and 1 to events in a sample space.

#probability#sample space#conditional probability+12
MathAdvanced

Stirling Numbers of First Kind

Stirling numbers of the first kind count permutations by their number of cycles and connect power polynomials to rising/falling factorials.

#stirling numbers of the first kind#unsigned cycle numbers#signed stirling numbers+12
MathIntermediate

Catalan Numbers

Catalan numbers count many 'non-crossing' and 'well-formed' structures like balanced parentheses, binary trees, Dyck paths, and triangulations of a convex polygon.

#catalan numbers#balanced parentheses#dyck paths+12
MathIntermediate

Inclusion-Exclusion Principle

The Inclusion-Exclusion Principle (IEP) corrects overcounting by alternately adding and subtracting sizes of intersections of sets.

#inclusion-exclusion#derangements#surjections+12
MathIntermediate

Stars and Bars

Stars and Bars counts the ways to distribute n identical items into k distinct bins using combinations.

#stars and bars#combinatorics#binomial coefficient+12
⚙️AlgorithmIntermediate

Digit DP

Digit DP is a dynamic programming technique for counting or aggregating values over all integers in a range that satisfy a digit-based property.

#digit dp#dynamic programming#tight constraint+12