A counting solution should explain why every permitted object appears once. One helpful technique is to fix a feature that controls the restriction. For even numbers, the last digit is a natural place to start.
Need help choosing a next step? Scan the contact QR code below or contact Hanlin on WeChat. Send UKMT CASES 1017 and tell us your school year and question.
Read all the restrictions
Form a two-digit even number using digits 1, 2, 3, 4 and 5, with no repeated digit. The last digit must be 2 or 4. These are separate cases because a number has only one last digit.
There is no zero in the available set, so a leading zero is not an issue here. A different digit set might require an additional restriction on the first position.
Count within each case
If the last digit is 2, the first digit can be 1, 3, 4 or 5. The four numbers are 12, 32, 42 and 52. If the last digit is 4, the first digit can be 1, 2, 3 or 5, giving 14, 24, 34 and 54.
The total is 4 + 4 = 8. The cases cover all even endings available, and no number appears in both lists.
Change one condition
If repetition is allowed, each last-digit case has five possible first digits. The count becomes 5 + 5 = 10. The additional numbers are 22 and 44.
This comparison is a check on the restriction, not merely a second answer. Removing the no-repetition rule should add exactly the previously excluded repeated-digit numbers in this example.
Explain why a shortcut works
You could calculate 2 × 4 = 8 directly for the original problem: two choices of even last digit and four remaining choices of first digit. That multiplication works because the number of first-digit choices is four in each case.
For a more complicated restriction, the case sizes may differ. Count them separately before combining them. This original example is for learning casework; use UKMT's official collections to select appropriate challenge papers and read their current instructions.
Continue reading: UKMT Problem Solving: A Colouring Trick for Domino Puzzles.
Contact Hanlin
Planning a first attempt or reviewing a topic you find difficult? Scan the QR code and send UKMT CASES 1017. 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
