UKMT SMC Reasoning Practice: Square Remainders Can Prove an Integer Equation Impossible

Readers interested in the UKMT Senior Mathematical Challenge and further mathematical reasoning can practise both finding an answer and explaining why other answers are impossible. This original exercise uses a small remainder table to cover infinitely many integers. It is independent practice, not a copied UKMT paper or a claim about a particular year's questions.

Need help choosing a next step? Scan the contact QR code below or contact Hanlin on WeChat. Send UKMT-SQUAREMOD-1105 and tell us your school year and question.

Classify every integer square

An integer is either even or odd. If it is even, write it as 2k; its square is 4k2, leaving remainder zero when divided by four. If it is odd, write it as 2k + 1; its square is 4k(k + 1) + 1, leaving remainder one.

These arguments include negative integers as well as positive ones. We have proved a complete classification: an integer square can leave only remainder 0 or 1 modulo four.

Apply the table to a sum

Adding two squares can therefore produce remainder 0, 1 or 2: the possibilities are 0 + 0, 0 + 1, 1 + 0 and 1 + 1. Remainder 3 never appears.

Now ask whether integers a and b can satisfy a2 + b2 = 123. Since 123 leaves remainder 3 on division by four, no such pair exists. A large search through possible a and b is unnecessary.

Separate an obstruction from a construction

The number 122 leaves remainder 2, so this remainder test does not rule it out. Indeed, 112 + 12 = 122 gives a solution. The explicit pair proves possibility; the remainder alone did not provide it.

Consider 6 as a contrast. It also leaves remainder 2, but the only nonnegative squares no greater than 6 are 0, 1 and 4. No sum of two of these is 6. Passing a necessary condition is not automatically sufficient.

Practise writing the reason, not only the verdict

A complete explanation identifies the possible square remainders, adds them, and compares the target remainder. Saying only that 123 is odd misses the point: some odd numbers, such as 5 = 12 + 22, do work.

For further practice, choose a target with remainder 3 and explain its impossibility without listing pairs. Then choose a target that passes the test and search for a construction or another obstruction. Use UKMT's official papers for level-appropriate practice and its current information for participation routes.

Continue reading: UKMT Number Reasoning: Find the Largest Square Tile with a Common Divisor.

Contact Hanlin

Planning a first attempt or reviewing a topic you find difficult? Scan the QR code and send UKMT-SQUAREMOD-1105. Include your school year, country or competition region, experience and the question you want to discuss.

Scan to contact Hanlin on WeChat. Send UKMT-SQUAREMOD-1105.

Contact Hanlin on WeChat

On your phone, use the button or save the QR image and scan it within WeChat.

Official information and further reading: Source 1

Online Customer Service
Contact Customer Service