For Euclid 2027, a repeated-operation question is best attacked by testing a preserved quantity before simulating every move. An invariant must remain unchanged after every legal move, not merely after two or three convenient ones. CEMC’s official Euclid Contest page lists the 2027 paper on 6 April 2027 in North and South America and 7 April 2027 elsewhere, with the school ordering deadline set at 11 March 2027; the contest has 10 questions, a mix of final-answer-only and full-solution questions, 2.5 hours and 100 marks. Those format facts matter because a preservation proof is exactly the kind of full-solution writing the paper can reward. The diagnostic below is a teaching method, not an official marking rule.
What counts as an invariant in a repeated-operation problem?
An invariant is a quantity attached to the current state that has the same value after every allowed operation. In a process question, the state might be a multiset of numbers, a board configuration, a set of counters, or a list of remainders. The operation changes the state; the invariant does not change. The proof obligation is therefore stronger than noticing a pattern: you must show that for every legal choice of the objects involved, the candidate quantity is preserved.
CEMC describes the final Euclid questions as some of the most complex and challenging among its contests, helping participants build perseverance. That is a reason to use a structural check rather than a long simulation. A simulation can suggest a candidate; it cannot establish that the candidate survives every move.
Invariant versus monovariant: what each one can prove
A monovariant changes in only one direction. It can prove that a process cannot return to an earlier state, or that a value must eventually stop changing. It cannot prove that a final value has a fixed parity, remainder, or total. The table below separates the roles.
| Candidate quantity | What it can establish | What it cannot establish | Quick test |
|---|---|---|---|
| Exact sum | Final total only if the operation preserves total | Parity or shape of the final state | Compare sum before and after one legal move |
| Sum modulo 2 | Parity invariant for difference replacement | Exact final value | Compute the change modulo 2 |
| Product parity | Sometimes tracks whether an even number remains | A general invariant without proof | Start with {1,2,3}; erase 2 and 3, write 1: product parity changes |
| Maximum element | A one-way bound if the operation never increases it | A fixed final value | Check whether the maximum can fall but never rise |
| Residue modulo m | Divisibility or remainder facts | Other residues unless separately tested | Test two legal moves with different residues |
For example, under the difference operation used below, where all current numbers remain non-negative, the maximum element never increases: replacing non-negative a and b by |a-b| cannot produce a number larger than the larger of a and b. That is a monovariant. It does not tell you whether the final number is odd. The parity of the sum does.

Worked teaching illustration: parity of the sum
Teaching illustration, not an actual Euclid problem. Start with the multiset {1,2,3,4,5}. At each move, erase two numbers and write their absolute difference. After four moves, one number remains. Prove that the final number is odd.
Let the current multiset be S, and let Q(S) be the sum of its elements modulo 2. Suppose one legal move erases a and b and inserts |a-b|. The new sum satisfies
Q(S’) ≡ Q(S) – a – b + |a-b| (mod 2).
Because |a-b| has the same parity as a-b, the change is congruent to -a-b+a-b = -2b, which is 0 modulo 2. Therefore the parity of the sum is unchanged after every legal move. The initial sum is 1+2+3+4+5 = 15, which is odd. After four moves the state has one number n, and its sum is n. Since the parity never changed, n is odd. The argument does not determine n; it determines only its parity.
This is a complete preservation proof because a and b were arbitrary. Checking two moves, such as erasing 1 and 2 and then erasing 4 and 5, would only suggest the candidate. The algebra is what covers every move. For a neighbouring full-solution skill, see Euclid Sequences: Proving a Recursive Formula Holds Beyond the First Terms.
How to test a candidate quantity before writing the proof
Use a four-part diagnostic. First, define the state precisely: what are the objects, what counts as a move, and when does the process stop? Second, name the candidate quantity and the modulus or comparison you will use. Third, test it on two different legal moves, especially a move that removes an extreme value and a move that creates a zero or a repeated value. Fourth, write the general change formula for arbitrary objects, not for the numbers you tested.
A candidate that fails one legal move is not an invariant. Product parity fails on {1,2,3}: erase 2 and 3 and write 1, giving {1,1}; the product changes from 6 to 1, so its parity changes from even to odd. That is a concrete rejection, not a proof about every state. A candidate that survives two tests has only passed two tests. It still needs the general preservation step.
The modulus should make the change expression collapse. Sum modulo 2 works above because the absolute value and the signed difference have the same parity. If you choose modulo 3 or modulo 4 without checking the algebra, you may write a true-looking line that does not actually show preservation. The safe order is: choose the modulus, compute the change symbolically, simplify, and only then state the conclusion.
How to write the preservation step clearly
A clean write-up has four sentences. First: “Let S be the state after some number of moves, and let Q(S) be [the candidate quantity].” Second: “Suppose a legal move replaces a and b by [the new object].” Third: “Then Q(S’)-Q(S) = [expression], which is [zero or the required congruence] for every allowed a and b.” Fourth: “Therefore Q is unchanged after every legal move.”
Do not skip from the numerical examples to “the pattern continues.” The phrase “for every allowed a and b” is the load-bearing part. Hanlin Courses’ 17 October 2026 article “2027 Euclid Mathematics Contest Registration Open! The Mathematical Evidence Admissions Officers Can Actually Read” (originally published in Chinese) describes the process-mark mechanism as rewarding a clear logical chain even when the final answer is wrong and penalising answer-only work even when the answer is correct; treat that as a coaching observation, with the official CEMC page remaining the source for contest format and dates. If your final answer is out of reach, a correct invariant deduction can still be useful; see Euclid Partial Solutions: Making a Useful Deduction When the Final Answer Is Out of Reach.
Common errors in repeated-operation problems
- Mistaking a monovariant for an invariant. “The maximum never increases” is not “the maximum is fixed.” A one-way statement cannot prove a final parity.
- Testing only convenient moves. A candidate may survive moves that keep an even number present, then fail on a move that removes the last even number.
- Forgetting that the final object may not equal the original sum. The sum is preserved only if the operation preserves it; the final single number equals the final sum, not automatically the initial sum.
- Using the wrong modulus. A congruence modulo 2 does not give a conclusion modulo 4. Write the modulus beside every line.
- Replacing |a-b| by a-b in an exact equation. The two have the same parity, not the same value. Use the absolute value in exact sums and the parity fact only after reducing modulo 2.
These errors are easy to catch with a written checklist. They are harder to catch after a page of numerical simulation has made a changing quantity look stable.
A practice routine for Euclid-style process questions
Take one process problem and list five candidate quantities before solving: exact sum, sum modulo 2, product parity, maximum or minimum, and one residue modulo 3 or 4. For each candidate, try to reject it with a concrete legal move. Record the state before the move, the state after the move, and the candidate values. Only the candidates that survive should receive an algebra attempt.
Then write the preservation step in the four-sentence format above. Finish by checking whether the conclusion answers the actual question: a fixed parity does not give the final number, and a one-way bound does not give an exact value. This routine is more useful than memorising a list of invariant types because it forces you to test the operation you are actually given.
Preparing a solution for review
If you ask a teacher or a Hanlin preparation reviewer to discuss one process solution, bring the statement copied accurately, your candidate quantity, the two legal moves you tested, and the exact algebra line where you claim preservation. Also mark one move whose legality you are unsure about. A useful review can then separate an invalid invariant from a missing case or an unclear write-up. This is preparation for a consultation conversation, not a promise of a contest score. For self-marking after practice, the protocol in How to Mark Your Own Euclid Paper: A Self-Scoring Protocol for Papers With No Solution Set helps you judge whether the preservation step is actually present rather than merely implied.

Frequently Asked Questions
Does every Euclid repeated-operation question need an invariant?
No. Some process questions need a monovariant, a construction, or a counting argument. The diagnostic here applies when the question asks what must remain fixed or what final value is forced.
Can I call a quantity invariant if it changes on only one legal move?
No. One legal move that changes the quantity is enough to reject it as an invariant. It may still be a monovariant if it changes in only one direction, but that supports a different conclusion.
Is checking two moves enough to prove preservation?
No. Two moves can suggest a candidate or reveal a failure, but the proof must cover every allowed choice of objects. The preservation step needs an argument for arbitrary a and b.