← All 70 questions
Question 41·Emmanuel College·year not stated·Invariant-insight question — trivial computation once the move is seen as (a+1)(b+1) - 1, but the order-independence proof must name associativity, not 'symmetry'; standard first-round material
An invariant under a repeated erasing move: reading a+b+ab as (a+1)(b+1)-1 and transporting the whole game into multiplication
10–14 minutes at interview pace
Live video, shared whiteboard. Everything under BOARD is written with the pen; everything under SAY is spoken over it, at the same time. Never write a line in silence, and never say a line you have not put on the board.
The numbers 1,2,3,…,2026 are written on a blackboard. In each step, you are allowed to choose any two numbers a and b, erase them, and write the value a+b+ab in their place. After 2025 steps, only a single number remains. Prove that this final number is independent of the order of choices, and find its value.
Answer: 2027!−1 — a 5825-digit integer starting 537240130505 and ending in 505 nines

The whiteboard, beat by beat

1 · Orient · beat 1 of 9

Name the process before touching a choice

Start: 2026 numbers 1,2,…,2026
One move: choose a,b, erase, write a+b+ab
2026→2025→⋯→12025 moves
Orders: ∏m=22026(m2) -- 11030 digits, no case-check
Plan: invariant ⇒ final value
What you say, out loud

Let me describe the process before making any choice. Two thousand and twenty-six numbers on the board; a move erases two numbers and writes a plus b plus a b in their place. The count of numbers drops by exactly one per move, so every play lasts exactly 2025 moves and ends with one number; that part is just counting.

The hard claim is that the survivor does not depend on which pairs I chose, in which grouping, at any step. I can already see I cannot check this case by case: at a board of m numbers there are m choose 2 first moves, so the number of distinct orders is the product of m-choose-2 down the levels; I computed that count: it has eleven thousand and thirty digits.

So the question forces the invariant approach: find something every move preserves, and let the final number be pinned by it.

Why this beat exists: The key-points page frames this as the invariant principle — converting an unknown operation into a standard algebraic one. Naming the size of the order tree first is what makes the invariant route necessary, not merely elegant.
2 · Set up · beat 2 of 9

One algebraic sighting, written as a falsifiable prediction

Shape: a+b+ab+1=(a+1)(b+1)
Move: a⊕︎b=(a+1)(b+1)−1
Invariant Π=∏x∈board(x+1): each move keeps Π
Prediction: every order ends at Π−1=2⋅3⋯2027−1=2027!−1.
Refutation: one contrary final value
What you say, out loud

Here is the sighting I want to commit to on paper: add 1 to the written value and it factors; a plus b plus a b plus 1 is a plus 1 times b plus 1. The move is one away from a product, and that one is going to do all the work.

So my candidate invariant is the product, over every board number, of that number plus one. A move deletes a and b, removing the factors a plus 1 and b plus 1, and writes the merged number, contributing one more factor, the written value plus 1, which is exactly the product of the two factors it replaced. Nothing else on the board was touched, so the product should never change. That is the conjecture; it is cheap to state and cheap to kill.

And it has a concrete falsifiable consequence: when a single number F is left, F plus 1 equals the invariant, which is 2 times 3 times onward up to 2027, that is 2027 factorial, so every possible order ends at exactly 2027 factorial minus 1. A single enumerated game that ends elsewhere refutes both the invariance and the value; and I am about to try to refute it, exhaustively, on small boards.

Why this beat exists: Prediction before verification, and an explicit kill criterion. This is the rhythm the examiner reads: name, conjecture, expose to falsification.
3 · Draw · beat 3 of 9

The structural diagram: same move, two languages

Transport ϕ(x)=x+1: ϕ(a⊕︎b)=ϕ(a)ϕ(b)
In ϕ: board {2,3,…,2027}, a move is × -- Π untouched
∏k=22027k=2027!any merge order
One move, two languagesa, berase, writea+b+abx -> x+1x -> x+1a+1, b+1multiply(a+1)(b+1)Right box = product of left box:(a+b+ab)+1 = (a+1)(b+1)so prod(x+1) never changes
The diagram proves the transport: with phi(x) = x+1 the printed erasing move on the top row becomes ordinary multiplication on the bottom row, so the product of (x+1) over the board is untouched by every move — and any order of play must end at 2·3·…·2027 minus 1.
What you say, out loud

Let me draw the conjecture instead of restating it. Top row is the game exactly as printed: the pair a, b is erased and a plus b plus a b is written. Bottom row is the same scene after relabelling every number x as x plus 1.

The dashed arrows say the diagram commutes: the number you write and then relabel, a plus b plus a b plus 1, is the same as the relabelled pair multiplied, a plus 1 times b plus 1. The move in the top language IS a multiplication in the bottom language.

Once you see the diagram, the order question stops being a question: in the bottom world the board is just 2 through 2027 being folded by ordinary multiplication, and any complete folding gives the product 2027 factorial, because multiplication can be done in any order; translating back, each label drops 1, and the single survivor is 2027 factorial minus 1.

Why this beat exists: The drawing here is a commutative diagram, not a picture of numbers: it proves the transport claim phi(a⊕b) = phi(a)phi(b) on the page, which is the one step everything else rests on.
4 · Compute · beat 4 of 9

The value, with exact-integer forensics

Πstart=∏k=12026(k+1)=2⋅3⋯2027=2027!⟹F+1=Πend=2027!
 F=2027!−1 
5825 digits: 537240130505…, 505 trailing nines
Trailing nines = trailing zeros of 2027!: ⌊20275⌋+⌊202725⌋+⌊2027125⌋+⌊2027625⌋=405+81+16+3=505 ✓
Exact integer, not estimates
What you say, out loud

Now the value. The invariant at the start is the product of k plus 1 for k from 1 to 2026, which is 2 times 3 times everything up to 2027, exactly 2027 factorial. With one number left, the invariant reads F plus 1, so F is 2027 factorial minus 1.

I am not going to say approximately ten to the something from memory. I computed the integer: it has five thousand eight hundred and twenty-five digits, it opens 537240130505, and it ends in a solid block of five hundred and five nines.

That last fact has its own independent check. The trailing nines come from the trailing zeros of 2027 factorial; the number of trailing zeros is the number of fives, by Legendre: floor of 2027 over 5 is 405, over 25 is 81, over 125 is 16, over 625 is 3, total 505. The exact string count and the formula agree; subtracting 1 turns each of those zeros into a nine.

Why this beat exists: The guide's rule: any magnitude or digit count on the board must be computed, not estimated. Two independent derivations of the 505 — the exact integer and Legendre's formula — are written side by side.
5 · Check numerically · beat 5 of 9

Exhaustive enumeration of every order, n = 2..6

Brute force n=2..6: every order, 1+3+18+180+2700=2902 games
n23456#orders13181802700#distinct finals11111value5231197195039
Every value is (n+1)!−1: 5=3!−1, 23=4!−1, 119=5!−1, 719=6!−1, 5039=7!−1. Contradicting outcomes: 0.
n = 3: three orders, one outcome1, 2, 3erase 1,2 -> 5erase 1,3 -> 7erase 2,3 -> 11final: 23 = 4!-1for n=2..6 all 2902 sequences: 1 outcome each
Brute force at n = 3: every way of choosing the first erased pair — and every way of finishing — lands on 23. The same enumeration engine run at n = 2,4,5,6, all 2902 completed games, found exactly one distinct final value per n, each equal to (n+1)! − 1.
What you say, out loud

Before asserting anything about order-independence, let the brute force run. For each n from 2 to 6 I generated every merge sequence of the list 1 to n; at every board position, every choice of two numbers, recursively to the end. Not a few sample orders: all of them, one to three to eighteen, one hundred and eighty, two thousand seven hundred sequences; 2902 completed games.

Each n produced exactly one distinct final value: 5, 23, 119, 719, 5039. The tree you can see drawn for n equals 3 is the whole world of that game: erase the 1 and 2, or the 1 and 3, or the 2 and 3, and all three doors close on 23.

And each single outcome is 1 less than the factorial of n plus 1, so the prediction survived the kill test: zero contradicting outcomes across 2902 games. The same run at n equals 2026 would have to visit a number of orders with eleven thousand and thirty digits, which is precisely why the invariant, not the enumeration, is the proof.

Why this beat exists: Enumeration used as falsification, not as illustration: the distinct-final-values row is the falsification channel, and it reports 1 everywhere — with the neighbour fact that different orders do produce different intermediate boards (only the end value is forced).
6 · Justify · beat 6 of 9

The order-independence proof: the two algebraic laws

Commutativity: a⊕︎b=b⊕︎a
table {1,…,12}2: 144/144 agree, 0 violations
Associativity: (a⊕︎b)⊕︎c=a⊕︎(b⊕︎c)
both =a+b+c+ab+ac+bc+abc
table {1,…,8}3: 512/512 agree, 0 violations
commutative + associative ⇒ free bracketing
every play = fold 1⊕︎2⊕︎⋯⊕︎2026
Verified by code, not prose: ϕ(a⊕︎b)=ϕ(a)ϕ(b)
20000 seeded random pairs: failures 0
What you say, out loud

Here is the actual proof that the final number cannot depend on the order. Independence needs two things: you can swap the two numbers inside one erase, that is commutativity, and you can change which merges happen before which, that is associativity, because changing the order of moves changes the bracketing of the expression.

Both hold for this rule. Commutativity is visible in a plus b plus a b being symmetric in a and b, and I tabled it over all one hundred forty-four pairs from 1 to 12 with no exceptions. Associativity is the real content: both ways of combining three numbers expand to the same seven-term polynomial, a plus b plus c plus a b plus a c plus b c plus a b c, and the table over all five hundred twelve triples in 1 to 8 agreed everywhere.

With those two laws, any sequence of moves is a complete bracketing of the move run down 1 then 2 and onward to 2026, and commutativity plus associativity say all bracketings compute the same value. That is order-independence proved for the printed rule, at any n, with no case analysis.

Underneath it sits the transport claim: the move on a and b, plus 1, equals a plus 1 times b plus 1. I did not wave at it; I ran it as code over twenty thousand seeded random pairs and got zero failures. One counterexample would have collapsed the whole structure, so the check was live.

Why this beat exists: The guide's demand for this beat class: an independent structural route with a stated kill criterion. Naming both laws explicitly is what distinguishes a proof from a vibe — the |a-b| trap followup sharpens it further.
7 · Cross-check · beat 7 of 9

Second, independent route to the number: play the real game

seed 412026, list 1,…,2026, final = 2027!−1
Audit every move: ∏x∈board(x+1)=2027! (2025 checks)
⌊log10⁡(2027!)⌋+1=⌊5824.730168…⌋+1=5825=the exact digit count ✓
What you say, out loud

Cross-check by brute reality. I played the actual game in code with a fixed seed: two thousand and twenty-five random pair choices on the true list 1 through 2026, applying the printed rule exactly. The survivor is bit-identical to the closed form 2027 factorial minus 1; that is the process itself agreeing with the theory, not the theory agreeing with itself.

During that play I re-audited the invariant after every single move: the product of number-plus-1 across the whole current board must still equal 2027 factorial. Two thousand and twenty five audits, zero drift; the move preserves the invariant exactly, as claimed.

And the size got a third opinion: summing log base 10 of the factors of 2027 factorial gives 5824.730168 to more places, so the digit count says 5825; and the exact integer has exactly 5825 digits. Different machinery, same number, twice in a row.

Why this beat exists: Random play with a fixed seed, not Monte Carlo statistics: this is a deterministic verification of a deterministic invariant. No error bars are quoted because none are being estimated.
8 · Conclude and generalise · beat 8 of 9

The answer, the family it belongs to, and where the mechanism dies

 F=2027!−1 for every order of choices 
Any a1,…,an ends at ∏i(ai+1)−1; 1,…,n gives (n+1)!−1
Boundary: associativity, not commutativity
|a−b|: commutative, {1,2,3} ends 0 or 2 (2 finals)
Bonus: a⊕︎0=a, 0 is identity; Π sees factor 0+1=1
What you say, out loud

So the answer: the final number is 2027 factorial minus 1, an exact 5825-digit integer, and it is independent of every choice made along the way, because the move is multiplication in disguise: relabel x as x plus 1 and the move becomes a product, and the product of number-plus-1 over the board is a true invariant.

The year number was camouflage. Start with 1 to n and the survivor is the factorial of n plus 1 minus 1; my enumeration table is exactly the small rows of that statement; and for an arbitrary list, entry by entry, the same proof returns the product of each entry plus 1, minus one.

Where does the mechanism break? Say it out loud: commutativity alone would not have been enough. The erasing rule absolute difference is perfectly commutative, yet the same enumeration engine on the list 1, 2, 3 reaches two different outcomes, 0 or 2, depending on order. It is associativity that frees the bracketing; here both laws hold, and that is the whole theorem in one sentence.

One structural extra: 0 is an identity element for this move, since a plus 0 plus a times 0 is just a, and that is exactly consistent with the invariant seeing it as the factor one. A sign the relabelling is the right lens rather than a lucky trick.

Why this beat exists: Answer, generalisation, failure boundary, and an internal-consistency bonus: the closing moves the guide requires, with the counterexample enumerated rather than asserted.
9 · Only if invited · beat 9 of 9

The one-parameter family hiding behind the +1

a⊕︎λb:=a+b+λab⟷ϕλ(x)=1+λx:  ϕλ(a⊕︎λb)=ϕλ(a)ϕλ(b)
Family: enumerate 1..5, λ=1,2,3 gives 719, 5197, 19413
matches (∏k=15(1+λk)−1)/λ
λ=0: addition; product invariant → sum invariant
What you say, out loud

If you would like one layer deeper: today's rule is a member of a family. For any constant lambda, the move a plus b plus lambda times a b becomes multiplication under the relabelling that sends x to 1 plus lambda x. The plus-one trick was not a magic step; it is the case lambda equals 1 of a standard linear substitution.

I ran the same exhaustive engine at lambda equals 2 and lambda equals 3 on the list 1 to 5: single outcomes 5197 and 19413, each exactly matching the closed form, the product of 1 plus lambda k, minus 1, divided by lambda. The proof travels with the change; the examiner could have set any year and any lambda.

And lambda equals 0 gives erase-two-write-the-sum, where the invariant is the plain sum of the board. I would offer that as the epilogue: the task is really about recognising which algebraic law a made-up operation is secretly obeying.

Why this beat exists: Going here unprompted reads as showing off; when invited, it shows the candidate extracted the general principle from the specific trick — and the claim is carried by enumeration, not by prose.

Where the interviewer pushes next

“Is commutativity alone enough to prove order-independence?”
What you say, out loud

No, and this is where most home-grown invariant proofs quietly fail. Commutativity says nothing about which pair you erase when; order-independence quantifies over every regrouping, and that is associativity.

My counterexample uses the same enumeration engine with the rule absolute difference: erase 1 and 2 to get 1, then the difference of 1 and 3 gives 2; but erase 2 and 3 to get 1, then the difference of 1 and 1 gives 0. A perfectly commutative rule whose final value depends on the order.

For a plus b plus a b, both bracketings expand to a plus b plus c plus a b plus a c plus b c plus a b c, so re-grouping is free, and that identity is exactly what the 2902 agreeing games witnessed at small n.

Swap within one erase ⟺ commutativity
Re-time the merges ⟺ associativity
g(a,b)=|a−b|:commutative; 1,2,3 ends at 0 or 2.
“Would the proof break if the blackboard started with a different set of numbers?”
What you say, out loud

Nothing in the argument used 1 through 2026 specifically. The invariant is the product of number-plus-1 over whatever sits on the board; the survivor is that product minus 1, for any starting list.

I ran the brute force on two different lists to be sure: the list 0,1,2,3 ends at 23 in all 18 orders, and the list 2,3,5 ends at 71 in all 3 orders, both matching the product of x plus 1, minus 1. Note 0,1,2,3 finishing at the same 23 as 1,2,3: the zero contributes the factor 0 plus 1 is just 1, invisible to the invariant.

That is also why the year is a red herring: whatever n the examiner writes, the answer is 1 less than the factorial of n plus 1; the same computation at n of 2025 would end at 2026 factorial minus 1.

Any list: ∏i(ai+1)−1
{0,1,2,3}: 18 orders, 23=1⋅2⋅3⋅4−1
{2,3,5}: 3 orders, 71=3⋅4⋅6−1
“Can you compress the whole proof to what you would write in the margin?”
What you say, out loud

Three sentences. The product of number-plus-1 over the board never changes, because each move replaces two factors by their own product. One number F remains, so F plus 1 equals the starting product 2 times 3 times onward to 2027, which is 2027 factorial, and F is 2027 factorial minus 1; a value the choices cannot move.

Everything else, the 2902-game enumeration, the digit forensics, the lambda family, is how I earn the right to write that margin line, not part of the proof itself.

Π=∏x∈board(x+1):one move: (a+1)(b+1)↦(a+b+ab)+1=(a+1)(b+1)
One number F left ⇒ F+1=Πstart=2⋅3⋯2027=2027! ⇒ F=2027!−1.
“Why exactly 2025 steps — is that number forced?”
What you say, out loud

Forced by counting, not by the rule's algebra: every move erases two numbers and writes one, so the count drops by exactly one per move, and getting from 2026 numbers to 1 takes 2025 moves for every possible play. 'After 2025 steps' names when the game ends, not a choice.

The number of ways to play, by contrast, is the product over m from 2 to 2026 of m-choose-2; I computed it has 11030 digits. Order-independence is the claim that all of them collapse onto the one number 2027 factorial minus 1, and only the invariant can prove that.

Each move −2+1=−1: 2026→1, 2025 moves
Orders: ∏m=22026(m2) — computed: a 11030-digit integer.

Traps on this question

  • Declaring order-independence 'by symmetry': commutativity alone does not allow re-bracketing — the rule |a-b| is commutative yet its final value on {1,2,3} is 0 or 2 depending on order (both outcomes enumerated).
  • Tracking the product of the board entries themselves instead of the entries plus one: ab is not a+b+ab; the invariant is Π(x+1), and the missing +1 is the entire problem.
  • Forgetting to subtract 1 at the end: the invariant gives F+1 = 2027!, so the answer is 2027! − 1 — writing 2027! is an off-by-one on the finishing line of an otherwise complete proof.
  • Quoting a magnitude for 2027! − 1 from memory or Stirling: every figure here was computed exactly — 5825 digits, leading digits 537240130505, and 505 trailing nines, cross-checked against Legendre's count of the fives in 2027!.
  • Claiming the theorem after two sample orders agree: agreement of two plays out of an 11030-digit number of orders is evidence, not proof — the proof is the invariance of Π, and the enumeration is there to falsify, not to illustrate.

What gets written on the assessor’s form

  • The candidate spotted a+b+ab = (a+1)(b+1) − 1 immediately and wrote the move-invariant Π(x+1) down before playing any order.
  • They stated the closed form (n+1)! − 1 as an explicit falsifiable prediction and ran it through a genuinely exhaustive enumeration for n = 2..6 (2902 sequences, 0 contradicting outcomes).
  • Their order-independence argument named both laws — commutativity and associativity — with a symbolic expansion, computed tables (144 pairs, 512 triples, 0 violations), and the |a-b| counterexample isolating which law does the work.
  • They reproduced 2027! − 1 by an independent route: a seeded random play of the full game with the invariant audited at every one of the 2025 moves, and the digit count 5825 checked two ways.
  • They closed by generalising (any start list ends at Π(x+1) − 1; the family a+b+λab) and by locating the boundary where the mechanism fails.