Permutations & Combinations – Rapid Review
Fundamental Principle of Counting
Rule of Sum: if a task can be done in ways or ways (exclusive), total .
Rule of Product: if Stage-1 has outcomes and Stage-2 (following it) has , total .
Factorial Basics
; .
Recursive: .
Permutations
Distinct objects, order matters: .
All objects: .
Repetition allowed: .
With identical items: (where groups have alike).
“Always together” (string method): if specified stick together inside total ⇒ .
Combinations
Order irrelevant: .
Key identities: ; ; biggest term is .
Restrictions:
• Exclude fixed objects ⇒ . • Include fixed objects ⇒ .Identical items: choosing any number from identical objects gives ways.
Division into Groups
Split distinct items into two unequal groups: .
Two equal groups of each: .
into three unequal: ; equal each ⇒ .
Into equal unlabeled boxes, distinct items: (multiply by if boxes labeled).
Circular Arrangements
distinct objects around a table: (clockwise ≠ anticlockwise).
If a necklace/garland (mirror same) ⇒ .
of around a circle: (or if reflections identical).
Non-Negative/Positive Integer Solutions
For :
Non-negative: .
Positive: .
Derangements (nothing in own place)
Number with items: .
Inclusion–Exclusion (two sets version)
.
General: alternately add/subtract intersections of increasing size.
Linear (Unit-Coefficient) Equations
Distributing identical objects to persons (none can be <0): same formula as non-negative solutions.
Prime-Exponent in (Legendre)
.
Divisors of an Integer
If then:
Number of divisors: .
Sum of divisors: .
Pairs of factors: half this count (adjust for perfect square).
Coprime factor-pairs: where is number of distinct primes.
Useful Digit/Divisibility Checks (4-digit examples)
Even ⇒ last digit even; divisible by ⇒ digit-sum multiple of ; by ⇒ even and digit-sum multiple of , etc.
Quick Sum Formulas for All Numbers with Given Digits
Using digits (distinct):
Each digit appears times in each place.
Sum of all numbers length : .
Multinomial Coefficient
Number of ways to put labeled items into boxes of sizes equals coefficient of in .
Standard Shortcuts
No two selected objects adjacent in a line of ⇒ choose gaps: (multiply by if persons distinct).
Arrange W-balls and R-balls so that no two Rs touch (distinct balls): (omit factorials for identical sets).
These formulas cover almost every “last-minute” question on counting, permutations–combinations, circular arrangements, distributions, and factorial exponents.