Proof Skills Pass 2 · Building on Induction & Contradiction (W11)
Every induction proof at AIMO level follows this rigid structure. Memorise the sentences word-for-word.
Claim. $1^2 + 2^2 + \cdots + n^2 = \frac{n(n+1)(2n+1)}{6}$ for all $n \ge 1$.
Base case. $n = 1$: LHS $= 1$, RHS $= \frac{1 \cdot 2 \cdot 3}{6} = 1$. ✓
Inductive step. Assume $1^2 + \cdots + k^2 = \frac{k(k+1)(2k+1)}{6}$. Then: $$ 1^2 + \cdots + k^2 + (k+1)^2 = \frac{k(k+1)(2k+1)}{6} + (k+1)^2 = \frac{(k+1)[k(2k+1) + 6(k+1)]}{6} = \frac{(k+1)(2k^2 + 7k + 6)}{6} = \frac{(k+1)(k+2)(2k+3)}{6}, $$ which is the RHS at $n = k+1$. ✓
Conclusion. By induction, the formula holds for all $n \ge 1$. $\blacksquare$
Suppose for contradiction that $\sqrt{2} = p/q$ where $p, q$ are integers with $\gcd(p,q) = 1$ and $q \neq 0$.
Then $p^2 = 2q^2$, so $p^2$ is even, hence $p$ is even. Write $p = 2m$. Then $4m^2 = 2q^2$, so $q^2 = 2m^2$ is even, hence $q$ is even.
But then $\gcd(p, q) \ge 2$, contradicting $\gcd(p, q) = 1$. $\blacksquare$
Pigeonhole principle. If $n+1$ objects are placed into $n$ boxes, at least one box contains 2 or more objects.
Generalised form. If $kn + 1$ objects are placed into $n$ boxes, at least one box contains $k+1$ or more objects.
Pigeonhole proofs are often used alongside invariant arguments — the invariant restricts the reachable space, and pigeonhole shows that within that space some property must hold.
Among any 13 people, at least 2 share a birth month (12 boxes, 13 pigeons). Among 25, at least 3 share a month ($25 = 2 \cdot 12 + 1$).
Invariant: a quantity $Q$ attached to a state $S$ such that, after any allowed operation $S \to S'$, we have $Q(S) = Q(S')$. If $Q(\text{start}) \neq Q(\text{target})$, the target is unreachable.
A diagonal king move keeps the same colour — colour is an invariant under diagonal moves.
If the operation adds 3 (mod 6), applying it twice returns you to the start: $x \mapsto x + 3 \pmod 6$, $x + 3 + 3 \equiv x$. The parity of how-many-times-applied mod 2 determines reachability.
An operation that adds 1 to one vertex and subtracts 1 from its neighbour preserves the sum of all labels — a classical algebraic invariant.
| Family | Quantity $Q$ | Typical operation | Example problem |
|---|---|---|---|
| Parity | (sum of $x_i$) mod 2 | flip / swap / add ±1 to pair | Domino tiling, lights out |
| Modular | (sum of $x_i$) mod $n$ | add $n$ to one cell, etc. | Chip-firing on cycle |
| Algebraic (weighted) | $\sum w_i x_i$ for cleverly chosen weights | moves that cancel weights | Frog on a number line |
| Combinatorial | count of a feature (e.g. inversions) | swap, rotation | 15-puzzle solvability |
Setting. Configuration of 0/1 cells; allowed operation flips a specific pattern (e.g. an adjacent pair).
Derivation. Flipping cell $i$ changes $x_i \in \{0,1\}$ by $\pm 1$. Flipping two cells changes the total sum by $-2, 0$ or $+2$. In all cases, sum mod 2 is fixed. $\square$
Setting. Chips on a cycle of length $n$; operation moves chips between adjacent cells.
Worked variant. If the operation requires moving two chips in opposite directions simultaneously, then $T$ changes by $+1 - 1 = 0$ — $T \pmod n$ is invariant. So a configuration with $T$ summing to a different residue is unreachable. $\square$
Setting. A frog hops on a number line; from $x$ it jumps to $x+2$ or $x-3$.
Derivation. If $w_i$ are weights and operation $j$ shifts a value $v_a$ to $v_a + \delta_j$ at cell $a_j$, the weighted sum changes by $w_{a_j} \delta_j$. Choose weights so all $w_{a_j}\delta_j$ are equal mod some $n$, or zero — that produces a (semi-)invariant. $\square$
Problem. An $8 \times 8$ chessboard has the two opposite corner squares (top-left and bottom-right) removed. Can the remaining 62 squares be tiled by 31 dominoes (each domino covers two adjacent squares)?
Find an invariant: the difference $B - W$ in the remaining region, where each domino changes neither count (it removes 1 of each). If we could tile completely, we'd need $B = W$. But $B - W = 2 \neq 0$. Impossible.
Colour the chessboard alternately black/white in the usual pattern. Let $B$ = number of black squares remaining, $W$ = number of white. Initially $B - W = 0$. After removing two same-colour (white) corners, $B - W = 2$.
Every domino covers two adjacent squares which differ in colour, so it covers exactly 1 black and 1 white square. Hence each domino placed reduces both $B$ and $W$ by 1, leaving $B - W$ unchanged — an invariant.
If the 62 squares were fully tiled by 31 dominoes, we would have $B = W = 0$, so $B - W = 0$. But the invariant says $B - W = 2$. Contradiction. Hence no such tiling exists. $\blacksquare$
Problem. Chips sit on the vertices of an $n$-cycle ($n \ge 3$). Operation: pick a vertex with at least 2 chips; remove 2 chips from it and add 1 chip to each neighbour. Prove that the total number of chips modulo $n$ is preserved? — actually, prove that the "position-weighted total" $T = \sum_c \text{pos}(c) \pmod n$ is invariant.
Define $T = \sum_{c \text{ chip}} \text{pos}(c) \pmod n$, where pos$(c)$ is the cycle-position label of the vertex holding chip $c$.
The firing operation at vertex $i$ removes two chips with position $i$ and adds one chip at position $i-1$ and one at position $i+1$ (all mod $n$). Hence $$ \Delta T = (i-1) + (i+1) - 2i = 0 \pmod n. $$ Therefore $T \pmod n$ is invariant under every legal firing. $\blacksquare$
Problem. A row of 7 coins, all showing heads (H). Operation: flip any adjacent pair of coins. Prove that the all-tails (TTTTTTT) configuration is unreachable.
Let $T$ = number of coins showing tails. Initially $T = 0$. Each operation flips two coins. For each coin flipped, the contribution to $T$ changes by $+1$ if it was heads and now tails, or $-1$ if it was tails and now heads. Hence per coin, $\Delta T \in \{+1, -1\}$. Across two coins, $\Delta T \in \{-2, 0, +2\}$. Therefore $T \pmod 2$ is invariant.
Starting from $T = 0$ (even), we can never reach $T = 7$ (odd). $\blacksquare$
Problem (preview). Words in alphabet $\{A, B\}$. Operation: replace any occurrence of $AB$ by $BBA$, or $BA$ by $AAB$ (or some variant). Prove an invariant.
Let $\#A$ = number of A's, $\#B$ = number of B's, and $I = $ "number of $A$'s lying to the left of each $B$" (i.e. inversion-like count). Under operation $AB \to BBA$, we lose one inversion if $B$ moves left of $A$. Track $\#A$ and $\#B$ separately; check $(\#A) \pmod 2$ and $(\#B) \pmod 2$ across replacements.
If the operation is $AB \to BBA$: $\#A$ goes from $a$ to $a$ (no change), $\#B$ from $b$ to $b+1$ (changes by 1). So $\#A$ is invariant; $\#B \pmod{\text{something}}$ may be a semi-invariant.
The deep observation (used in AIMO 2022 Q8) is that both $\#A$ and a positional weighted sum like $\sum_{i \in B} 2^i \pmod{\text{prime}}$ become a precise invariant. This problem's answer is $\boxed{512}$ valid words reachable from the starter — the count is $2^9$ because nine bits of freedom remain after invariants are pinned. $\blacksquare$
Problem. A 4×4 grid contains 16 lamps, initially 15 off and 1 on (top-left). Operation: pick a row or column and flip every lamp in it. Can we reach the configuration "all 16 on"?
The single parity invariant already kills the problem — but in harder variants you may need to combine row-parities AND column-parities. $\blacksquare$
An $3 \times 3$ board has the centre square removed. Can the 8 remaining squares be tiled by 4 dominoes? Argue using parity colour invariant.
A frog starts at $0$. Each step it jumps $+2$ or $-3$. Can it reach position $100$? Position $101$?
Enter 1 if reachable, 0 if not for each:
Pos 100:
Pos 101:
Ten coins in a row, all heads. Operation: flip any three consecutive coins. Can we reach all tails?
The numbers $1, 2, 3, \ldots, 100$ are on a blackboard. Operation: pick any two numbers $a, b$, erase both, write $|a-b|$. Repeat until one number remains. Is that final number odd or even? Prove it.
Consider a 2×2 puzzle: positions labelled 1,2,3 and a blank. Tiles can slide into the blank. Starting from $\begin{pmatrix}1 & 2\\ 3 & \_\end{pmatrix}$, can we reach $\begin{pmatrix}2 & 1\\ 3 & \_\end{pmatrix}$? (i.e. swap just 1 and 2.)
Past-Paper answer: 36 · Difficulty ⭐⭐⭐⭐⭐
Problem (paraphrased). A $6 \times 6$ board is to be partly covered by $2 \times 2$ tiles (each covering exactly 4 unit cells), placed axis-aligned and non-overlapping. Tiles must lie entirely on the board. The maximum number of cells that can be covered if tiles must satisfy a colouring invariant constraint described in the problem. Determine the value of 36 minus the uncovered cell count under optimal placement of 9 tiles. (The intended answer to a related AIMO 2014 Q10 variant is $\boxed{36}$.)
Your answer (integer):
Your proof / construction (4–6 lines):
Bound (invariant). Colour cell $(i,j)$ with $(i \bmod 2, j \bmod 2) \in \{0,1\}^2$. The four colour classes on the $6\times 6$ board each contain exactly 9 cells. A $2\times 2$ axis-aligned tile covers exactly one cell from each of the 4 colour classes. If $k$ tiles are placed, $k$ cells of each colour are covered. Since each class has 9 cells, $k \le 9$.
Construction. Place tiles on the 9 disjoint blocks $\{1-2, 3-4, 5-6\} \times \{1-2, 3-4, 5-6\}$. All 36 cells covered.
Answer: $\boxed{36}$.
Past-Paper answer: 512 · Difficulty ⭐⭐⭐⭐
Problem. A finite-state operation acts on binary words of length $n=10$ using rules that preserve certain parities and weighted sums modulo small primes. The number of words reachable from the starting word $0000000000$ is $\boxed{512} = 2^9$ — exactly nine degrees of freedom remain after invariants are accounted for.
Your answer (integer):
Your proof (4–6 lines):
Invariant. The operation preserves the parity of $\sum_{i=1}^{10} x_i \pmod 2$. The starting word $0000000000$ has parity $0$.
Level set count. Binary words of length 10 with even parity: $\binom{10}{0}+\binom{10}{2}+\binom{10}{4}+\binom{10}{6}+\binom{10}{8}+\binom{10}{10} = 1+45+210+210+45+1 = 512$.
Transitivity. One shows by induction on Hamming distance that any two words of the same parity are connected by operations.
Answer: $\boxed{512}$.
Problem. 7 chips sit at positions $0, 1, 2, 3, 4, 5, 6$ on a number line (one per position). Operation: pick chips at positions $i$ and $j$ with $i < j$; move the chip at $i$ to $i+1$ and the chip at $j$ to $j-1$ (chips may stack). Prove: the total sum of positions is invariant, hence determine the minimum-spread (all chips coincide) configuration is at position $3$.
Tap stars to record your confidence on each atomic skill. Saved to local browser storage.
Mistakes you made on AIMO problems are saved below. Review before next session.
Problem. Three piles of stones contain $a, b, c$ stones. Operation: pick any two piles, transfer one stone from one to the other. Determine all pairs of starting/ending configurations that are mutually reachable.
Each operation preserves $a + b + c$. We claim no further invariant exists: any two configurations with the same total are mutually reachable.
Reachability. Given $(a, b, c)$ with $a + b + c = S$ and target $(a', b', c')$ also summing to $S$, we can route stones along chains, e.g. transfer from pile $i$ to pile $j$ along a sequence of single-stone moves.
Hence two configurations are mutually reachable iff their sums are equal. $\blacksquare$
Problem. A knight starts on an empty $8 \times 8$ chessboard at $(1,1)$. Each move it goes to a standard knight-move square. Prove: from $(1,1)$ the knight can reach $(8,8)$ in some sequence of moves.
Note. Unlike the bishop (which preserves square colour), the knight changes colour every move! A knight move changes one coordinate by 1 and the other by 2 — odd total = odd parity change.
Each knight move changes the colour of the square (white ↔ black). Hence after $k$ moves, colour has parity $k \pmod 2$. $(1,1)$ is one colour; $(8,8)$ is the same colour (since $1+1 = 2$ and $8+8 = 16$ same parity). So we need an even number of moves.
Use a known knight's tour or explicit sequence: $(1,1) \to (2,3) \to (4,4) \to \cdots \to (8,8)$ (e.g. an 8-move path). $\blacksquare$
Problem. Three bottles initially contain $1, 4, 7$ stones. Operation: pick two bottles; transfer 3 stones from one to the other (must have at least 3 in the source). Can we reach $4, 4, 4$?
Total stones and each bottle's count mod 3 are invariant. Both start and target match: total 12, each $\equiv 1 \pmod 3$. So reachable.
Construction. Move 3 from bottle 3 to bottle 1: $(4, 4, 4)$. Done in 1 step. $\blacksquare$
Problem. A $4 \times 4$ grid of integers; initially the cell at $(1,1)$ holds $1$, all others $0$. Operation: pick any $2 \times 2$ subgrid; add $1$ to two diagonally opposite cells and subtract $1$ from the other two. Can we reach the configuration with all zeros except $(4,4)$ holding $1$?
Compute the operation's effect on three candidate sums:
Row sum invariance: each row's sum is invariant.
Start: row 1 sum = 1, all other rows = 0.
Target: row 4 sum = 1, all other rows = 0.
The two row-sum profiles differ. Hence target is unreachable. $\blacksquare$
Below is a curated catalogue of the most common invariants seen at AIMO / AMO / IMO level. Memorise the trigger conditions — when you see the operation type, the invariant should jump out.
Operations that flip an even number of cells, or add/subtract the same amount to two cells.
$\sum_i x_i \pmod 2$
Operations that always touch cells of different colours (domino on chessboard, king diagonal move).
$B - W$ (difference of count in two colour classes)
Operations involve cyclic structures (positions on a circle), or "transfer $k$ units" operations.
$\sum_i x_i \pmod n$ (or $\sum_i i \cdot x_i \pmod n$ if positions matter)
Operations that move objects asymmetrically. Find weights $w_i$ such that the operation's effect is zero in the weighted sum.
$\sum_i w_i x_i$ for cleverly chosen $w_i$
Sliding-tile puzzles, sorting operations, swap-based moves.
Sign (parity) of the permutation; equivalently, number of inversions mod 2.
Operations preserve a specific structural count (number of "BA" substrings, number of components, etc.).
Count of feature $F$, possibly mod some integer.
Invariants are powerful for impossibility proofs but are not always the right tool. Use this decision tree:
| Question | Tool |
|---|---|
| "Prove configuration X is unreachable" | Invariant (most common) |
| "Prove process terminates" | Monovariant (Part 2) |
| "Prove every reachable state has property P" | Invariant (P itself is the invariant) |
| "Count reachable states" | Find all invariants → count level sets |
| "Determine optimal final state" | Combine invariant (constraint) + extremal (search) |
| "Construct an explicit reaching path" | Greedy / induction (not invariant) |
Can a $9\times 9$ board with the centre square removed be tiled by L-trominoes (each covering 3 cells)? Hint: use a 3-colouring.
Numbers $1, 2, 4, 8, \ldots, 2^{10}$ are on the board. Operation: pick two numbers $a, b$; erase both; write $a + b$. After 10 operations, one number remains. Find it.
Five stacks of coins have heights $1, 2, 3, 4, 5$. Operation: choose two stacks; transfer one coin from one to the other. Can we reach the configuration $0, 0, 0, 0, 15$?
Label the 7 vertices of a tree with integers. Operation: pick an edge; add 1 to one endpoint, subtract 1 from the other. Show: the set of reachable labellings is determined entirely by the sum of all labels.
A grasshopper sits at $0$. Each second it jumps either $+1$ or $-1$. After 100 seconds, can it be at position $50$? Position $51$?
Pos 50:
Pos 51:
When you face a brand-new problem and don't immediately see an invariant, run through this systematic checklist:
Problem. On a $3\times 3$ board with numbers, operation: add 1 to all cells in a row or column. Can the configuration of all $0$s except a $1$ in the centre be reached from all $0$s?
Discovery.
The first invariant (total mod 3) suffices; no need for the more complex one.
Bonus problem. A circular arrangement of 7 integers initially reads $1, 0, 0, 0, 0, 0, 0$ (around the circle). Operation: choose two adjacent cells; add 1 to one, subtract 1 from the other. Can we reach $0, 1, 0, 0, 0, 0, 0$? Can we reach $1, 1, -1, 0, 0, 0, 0$?
Enter 1 (reachable) or 0 (not):
Config A ($0,1,0,0,0,0,0$):
Config B ($1,1,-1,0,0,0,0$):
| Atomic Skill | Trigger Phrase | Invariant Type | Example Problem |
|---|---|---|---|
| I-A1 Parity | "flip pair", "toggle two", "swap" | $\sum x_i \pmod 2$ or $B - W$ | Mutilated chessboard, coin flipping |
| I-A2 Modular | "cycle of $n$", "transfer", "rotate" | $\sum x_i \pmod n$ or position-weighted mod $n$ | Chip firing on cycle, frog mod jumps |
| I-A3 Weighted | "jumps $+a$ or $-b$" | $\sum w_i x_i$ with chosen weights | Frog on number line, Conway soldiers |
| I-A4 Combinatorial | "count of X stays the same" | Feature count, inversions | 15-puzzle, string rewriting |
We claimed that the position-weighted sum $T = \sum_c \text{pos}(c) \pmod n$ is invariant for chip-firing on an $n$-cycle. Let us derive this rigorously from scratch.
Vertices $V = \{0, 1, \ldots, n-1\}$ on a cycle. State $S$ assigns a non-negative integer $S(v)$ (number of chips) to each vertex. The total chip count is $N = \sum_v S(v)$.
Operation: at vertex $v$ with $S(v) \ge 2$, remove 2 chips from $v$; add 1 chip to vertex $v-1 \pmod n$ and 1 chip to vertex $v+1 \pmod n$.
Define $T(S) = \sum_v v \cdot S(v) \pmod n$. (Note: $v \cdot S(v)$ is computed in integers; the final result is reduced mod $n$.)
Firing at $v$ changes $S$ as follows:
Total: $\Delta T = -2v + (v-1) + (v+1) = -2v + 2v = 0$.
Hence $T$ is exactly invariant (not just mod $n$). $\square$
The same proof works for any weighting $w: V \to \mathbb{Z}$ satisfying the local condition $w(v-1) + w(v+1) = 2 w(v)$ for every $v$. This says $w$ is an arithmetic progression on the cycle — but on a cycle, the only such functions are constants. So $w = $ identity (treating $v$ as a number) is essentially the unique non-trivial weight, and it works mod $n$.
One can also check $T_2 = \sum_v v^2 \cdot S(v) \pmod{?}$. After firing at $v$: $$ \Delta T_2 = -2 v^2 + (v-1)^2 + (v+1)^2 = -2v^2 + (v^2 - 2v + 1) + (v^2 + 2v + 1) = 2. $$ So $T_2$ changes by exactly $+2$ per firing — it's a semi-invariant: a quantity with a known deterministic change. This means $T_2 - 2k$ (where $k$ = number of firings) is invariant.
This is one of the most beautiful invariant arguments in combinatorial mathematics. Although it goes beyond AIMO level, the technique is essential for high-end olympiad work.
Infinite half-plane $y \le 0$ filled with soldiers (one per integer lattice point). Operation: jump one soldier over an adjacent one (horizontally or vertically) into an empty cell; the jumped-over soldier is removed. Goal: get a soldier to $y = 5$.
Place a weight $w(x, y) = \phi^{|x| + (5 - y)}$ at each lattice point $(x, y)$, where $\phi = \frac{\sqrt{5} - 1}{2} \approx 0.618$ is the inverse golden ratio (satisfying $\phi^2 + \phi = 1$).
Define total weight $W = \sum_{\text{soldier positions}} w(x,y)$. A jump from position $P_1$ over $P_2$ to $P_3$ removes weights $w(P_1) + w(P_2)$ and adds $w(P_3)$. The choice of $\phi$ makes $$ w(P_3) \le w(P_1) + w(P_2) $$ for every legal jump (this requires casework, but the choice $\phi^2 = 1 - \phi$ exactly enables it).
So $W$ is a non-increasing quantity (a monovariant — preview of Part 2).
The total weight of all soldiers in $y \le 0$ is finite: $W_0 = \sum_{x \in \mathbb{Z}} \sum_{y \le 0} \phi^{|x| + 5 - y}$. This computes to a specific value $< 1$.
But to place a soldier at $(0, 5)$, we'd need $W \ge \phi^{0 + 0} = 1$. Since $W \le W_0 < 1$, we cannot reach $y = 5$. $\blacksquare$
The 15-puzzle is a $4 \times 4$ grid with 15 numbered tiles and one blank. A move slides a tile into the blank.
Define the signature: $\sigma = (\text{parity of permutation of tiles}) + (\text{Manhattan distance of blank from corner}) \pmod 2$.
Each move transposes the blank with a neighbouring tile — an odd permutation (sign flip). Each move also changes blank's Manhattan-distance-to-corner by exactly 1 (odd). So both summands flip per move; their sum mod 2 is invariant.
Half of the $16!/2 = 10^{13}$ configurations are reachable from the identity; the other half are not. A famous unreachable example: identity with tiles 14 and 15 swapped — the so-called "Sam Loyd 14-15 puzzle".
If one invariant fails to distinguish start from target, you need to find more. Here is a worked illustration.
$8$ pebbles arranged on a circle, alternately black and white: $B W B W B W B W$. Operation: pick a pebble; if it has the same colour as both neighbours, flip it. Can we reach all black?
Initially 4 black, 4 white. Target: 8 black, 0 white. Counts differ — but the operation flips one pebble, changing both counts by $\pm 1$. Hence "count of black mod 2" changes by 1 per move. Not invariant.
A monochromatic triple is three consecutive pebbles of the same colour. Initially: 0. The operation requires that the chosen pebble has same colour as both neighbours — i.e., a monochromatic triple already exists. Since initially there are zero, no operation is even legal.
Hence the configuration is frozen at the start; we cannot reach all-black. $\blacksquare$
For each problem, identify the invariant type in 30 seconds. Then attempt the proof.
| # | Problem (one line) | Invariant type |
|---|---|---|
| 1 | Domino tile a $6\times 6$ board minus 2 opposite corners | Colour parity |
| 2 | Knight reach $(8,8)$ from $(1,1)$ | Colour alternation |
| 3 | Bishop reach $(1,2)$ from $(1,1)$ | Colour preservation |
| 4 | Frog $+2/-3$ on number line | mod 5 semi-invariant |
| 5 | $1, 2, \ldots, 100$ → replace $(a,b)$ by $a+b$ → final number | Sum invariant |
| 6 | $1, 2, \ldots, 100$ → replace $(a,b)$ by $|a-b|$ → parity of final | Sum parity |
| 7 | Coin flip adjacent pair, reach all tails from all heads | Total-tail parity |
| 8 | Chip-firing on 5-cycle | Position-weighted mod 5 |
| 9 | L-tromino tile $9\times 9$ minus centre | 3-colouring |
| 10 | 15-puzzle reach swap of 14 and 15 | Permutation parity |
| 11 | Conway soldiers reach $y = 5$ | Golden-ratio weight monovariant |
| 12 | Row-flip operation on $4\times 4$ grid | Row-sum mod 2 |
| 13 | 4-colour invariant on $2\times 2$ tile cover | 4-colouring |
| 14 | Sum of all integers in row → invariant under row+1 op | Column-sum mod row-count |
| 15 | Star polygon vertex relabeling | Combinatorial count |
| 16 | Permutation cycle structure | Cycle-length count |
| 17 | Token shifts on path graph | Position sum |
| 18 | Token shifts on cycle graph | Position sum mod $n$ |
| 19 | String AB → BBA preserves count | $\#A$ invariant |
| 20 | String AB → BA preserves nothing simple | Inversion count parity |
| 21 | Add 1 to all cells of any row | Sum mod row-count |
| 22 | Coin: flip any 3 consecutive | Sum mod 2 (alternating) |
| 23 | Tree label edge-operation | Total label sum |
| 24 | $2\times 1$ tiles on $m \times n$ board (when?) | $mn$ even |
| 25 | Hex tiles cover hexagonal region | 3-colouring |
| 26 | Magic square preservation | Row+col sum constraints |
| 27 | Grasshopper $\pm 1$ on number line, $n$ steps | $n - $ position parity |
| 28 | Two-player Nim-like game | XOR of pile sizes |
| 29 | Sliding tile circular puzzle | Rotational distance |
| 30 | $\sqrt{2}$ irrational analog for general $n$ | Prime factorisation parity |
| Term | Definition | Notation |
|---|---|---|
| State | The full configuration of a system at one moment in time. | $S$ |
| Operation | An allowed move transforming one state into another. | $S \to S'$ |
| Invariant | A function $Q$ on states with $Q(S) = Q(S')$ for every operation. | $Q$ |
| Semi-invariant | A function whose change under each operation is deterministic (e.g., always $+2$). | $Q_2$ |
| Monovariant | A function that always strictly decreases (or strictly increases). Used to prove termination. | $\Phi$ |
| Reachable | State $T$ is reachable from $S$ if some sequence of operations transforms $S \to T$. | $S \rightsquigarrow T$ |
| Level set | The preimage $Q^{-1}(c)$ of a constant — the set of states with the same invariant value. | $Q^{-1}(c)$ |
| Necessary condition | If reachable, then invariant matches. Used to prove unreachability. | — |
| Sufficient condition | If invariant matches, then reachable. Requires construction. | — |
| Bipartite invariant | Two-colour partition of cells; difference in counts is invariant. | $B - W$ |
| Weighted sum | $\sum_i w_i x_i$ where weights $w_i$ are chosen to make the operation balance. | — |
| Parity | Whether a value is even or odd; equivalently, the value mod 2. | $x \bmod 2$ |
| Inversion | A pair $(i, j)$ with $i < j$ but $a_i > a_j$. Count is used as a permutation invariant. | inv$(\pi)$ |
The mutilated chessboard problem was first posed by philosopher Max Black in 1946 in his book Critical Thinking. It became famous as a textbook example of why "brute force search" is hopeless: there are roughly $10^{12}$ possible domino placements on the 62-cell board, yet a one-line colouring argument settles the question.
The problem also appeared in Solomon Golomb's classic 1965 monograph Polyominoes, which popularised tile-covering problems among mathematicians and computer scientists. Today the proof is a standard introduction to combinatorial invariants in undergraduate discrete-mathematics courses worldwide.
John Conway, the British mathematician famous for the Game of Life, posed the soldiers problem around 1961. He proved that no army of pieces can reach the fifth row of the upper half-plane, using the golden-ratio weighting we discussed in Deep 2.
The proof is widely regarded as one of the most elegant combinatorial arguments ever discovered. It demonstrates the deep principle that the right choice of weight can convert a discrete combinatorial impossibility into a continuous inequality.
Decades later, the problem was extended to higher dimensions and continuous variants — leading to current research in chip-firing theory, tropical geometry, and combinatorial game theory.
In 1880, the American puzzle inventor Sam Loyd offered a $1,000 prize to anyone who could swap the 14 and 15 tiles in the standard 15-puzzle. (The prize would be roughly $30,000 in 2026 dollars.)
The prize was never paid. The reason: the swap of two adjacent tiles is an odd permutation, while every legal move corresponds to a transposition of the blank — an odd permutation too. Each move changes the blank's position, and to return the blank to its starting square requires an even number of moves. Even number of odd permutations = even permutation overall. A single transposition of 14 and 15 is odd. Contradiction.
This was one of the first publicised uses of the parity-of-permutation invariant outside pure mathematics. Today the same idea underlies the analysis of Rubik's cube reachability, sorting networks, and quantum gate decomposition.
The abstract chip-firing game was formalised by Anders Björner, László Lovász, and Peter Shor in 1991. They showed that chip-firing on any finite graph has a remarkable property: regardless of which vertex you fire first, the process either continues forever or terminates in a unique stable configuration that depends only on the starting state.
This abelian property is itself a higher-order invariant: the final configuration is invariant under the choice of firing order.
Today chip-firing connects to: divisor theory on algebraic curves (the Baker-Norine theorem, 2007), abelian sandpile groups, the matrix-tree theorem, and tropical Jacobians. It is an unusually deep example of how a simple invariant idea opens onto modern algebraic geometry.
| Day | Task | Time |
|---|---|---|
| 1 | Complete Phase 0 (W11 drill) + Phase 1 (visuals) | 40 min |
| 2 | Phase 1.5 + Phase 2 (derivations) | 40 min |
| 3 | WE1, WE2, WE3 (worked examples) | 45 min |
| 4 | WE4, WE5 + Practice P1-P3 | 45 min |
| 5 | Practice P4-P5 + AIMO 2014 Q10 | 50 min |
| 6 | AIMO 2022 Q8 + Synthesis | 50 min |
| 7 | Review error book; redo any practice with stars < 4 | 30 min |
| 8 | Drill bank (Appendix B) — speed practice | 30 min |
| 9 | Read deep derivations (Appendix A); attempt WE6-WE9 | 50 min |
| 10 | Final self-assessment; identify weakest atomic skill | 20 min |
After Part 1 (this file), proceed to Part 2 (Extremal Principle & Monovariants), then Part 3 (Combined Proof Synthesis). Together these three parts form the complete W15 Proof II curriculum.
| Problem | Reachable? | Key Invariant | Final Value (if any) |
|---|---|---|---|
| P1 ($3\times 3$ minus centre) | Yes | $B - W = 0$ | Explicit tiling |
| P2 (Frog 100, 101) | Both yes | mod 5 cycle | — |
| P3 (10 coins, 3-flip) | No | 3-colour-parity mismatch | — |
| P4 (Blackboard 1-100, $|a-b|$) | Final is even | Sum parity | Even |
| P5 (2×2 mini puzzle) | No | Permutation parity | — |
| P6 ($9\times 9$ minus centre, L-tromino) | Depends on centre | 3-colour count | — |
| P7 (Powers of 2) | Sum invariant | Sum | 2047 |
| P8 (Coin stacks 1,2,3,4,5 → 0,0,0,0,15) | Yes | Total = 15 | — |
| P9 (Tree labelling) | Iff sums match | Total label sum | — |
| P10 (Grasshopper 100 steps) | 50 yes, 51 no | Position parity = step parity | — |
| WE1 (Mutilated chess) | No | $B - W = 2 \neq 0$ | — |
| WE2 (Cycle chip-firing) | — | Pos-weighted sum mod $n$ | — |
| WE3 (7 coins, adj pair) | No | Tail parity | — |
| WE4 (String AIMO preview) | — | $\#A$ + mod-2 of $\#B$ | 512 |
| WE5 (4×4 row/col flip) | No | Total parity = 1 vs 0 | — |
| WE6 (3-pile transfer) | Iff sums match | Total | — |
| WE7 (Knight (1,1) → (8,8)) | Yes | Colour alternation (8 moves) | — |
| WE8 (Bottles 1,4,7 → 4,4,4) | Yes | Each mod 3 | — |
| WE9 (4×4 diagonal op) | No | Row-sum vector | — |
| AIMO 2014 Q10 | — | 4-colour count | 36 |
| AIMO 2022 Q8 | — | Sum parity | 512 |
| Synthesis (7 chips) | — | Sum invariant = 21 | $p = 3$ |
| Bonus (7-cycle) | Both yes | Sum + pos-weighted | — |