Start with the positive integers eighty-four and thirty. Whenever they differ, replace the larger by the larger minus the smaller. Stop when they are equal. Must the process stop, and what pair remains? This original SASMO-style exercise combines a preserved quantity with a decreasing quantity. Neither idea by itself supplies the complete argument.
Need help choosing a next step? Scan the contact QR code below or contact Hanlin on WeChat. Send SASMO-SUBTRACTION-1130 and tell us your school year and question.
Check a few moves to understand the rule
The initial pair (84,30) becomes (54,30), then (24,30), then (24,6). The larger entry is always replaced, so both entries remain positive while they differ. Subtracting in the wrong direction could produce a negative value and would be a different process. The stop rule also avoids subtracting equal values to create zero.
Identify the common-divisor invariant
A number divides both a and b exactly when it divides both a-b and b. One direction follows by subtraction, and the reverse by adding b back. Hence replacing the larger by its difference preserves the greatest common divisor. Initially gcd(84,30)=6, so every later pair has greatest common divisor six as well.
Prove that the process cannot continue forever
When a is larger than b, the sum changes from a+b to a, decreasing by the positive integer b. The analogous statement holds when b is larger. The sum remains a positive integer, so it cannot decrease strictly forever. Since the rule allows another move whenever the entries differ, termination must occur at an equal pair.
Use the invariant at the stopping point
If the final pair is (t,t), its greatest common divisor is t. The preserved gcd is six, so t must be six. This determines the final values without needing to guess every subtraction. Continuing the sample from (24,6) through (18,6), (12,6) and (6,6) confirms the predicted endpoint.
See why an invariant alone is incomplete
Knowing that the gcd remains six would not alone prove the process stops. Many hypothetical processes can preserve something while cycling forever. Here the decreasing positive-integer sum rules out cycling. Conversely, proving termination without the gcd would show that some equal pair occurs, but would not identify its value as efficiently.
Connect the reasoning to a faster method
The Euclidean division algorithm groups many repeated subtractions into a remainder step while preserving the same common divisors. The present process is slower but makes the invariant and termination argument visible. Official organiser information is linked below; the numbers and explanation are original learning material, not a reproduced contest problem or a prediction of a student's result.
Continue reading: SASMO-Style Reasoning: Why 31 Numbers from 1 to 60 Force a Divisible Pair.
Contact Hanlin
Planning a first attempt or reviewing a topic you find difficult? Scan the QR code and send SASMO-SUBTRACTION-1130. Include your school year, country or competition region, experience and the question you want to discuss.

On your phone, use the button or save the QR image and scan it within WeChat.
Official information and further reading: Source 1
