The triangle with integer sides five, twelve and thirteen has area thirty, a multiple of six. Is that an accident? This original UKMT-style proof starts with a primitive integer right triangle, meaning that its three side lengths have no common factor greater than one. It then extends the conclusion to every integer right triangle by scaling.
Need help choosing a next step? Scan the contact QR code below or contact Hanlin on WeChat. Send UKMT-PRIMITIVE-1128 and tell us your school year and question.
Rule out two odd legs in a primitive triple
Write a squared plus b squared equals c squared. If both legs were odd, their squares would each leave remainder one modulo four, making c squared leave remainder two, which is impossible for a square. Both legs cannot be even in a primitive triple either. Exactly one leg is even, the other is odd, and the hypotenuse is odd.
Show that the even leg contains a factor of four
Let b be the even leg. Odd squares leave remainder one modulo eight, so c squared minus a squared is divisible by eight. That difference equals b squared. If b were twice an odd number, its square would leave remainder four modulo eight. Hence b must be divisible by four, a stronger statement than merely saying it is even.
Find a factor of three in at least one leg
A square leaves remainder zero or one modulo three. If neither leg were divisible by three, both squares would leave remainder one and their sum would leave remainder two. No square does that. Therefore at least one leg is divisible by three. It does not matter for the area proof whether that is the even leg or the odd one.
Combine the factors in the area formula
The product ab is divisible by four and by three, hence by twelve. The right triangle's area is ab/2, so its area is divisible by six. Dividing by two must be included in the final argument: proving only that ab is divisible by six would not by itself prove that the area is a multiple of six.
Remove the primitive restriction through scaling
If an integer right triangle is not primitive, divide all three sides by their greatest common divisor h to obtain a primitive integer triple. Its area is already a multiple of six. Scaling its sides back by h multiplies area by h squared, preserving divisibility by six. Thus the conclusion covers the original triangle as well.
Check an example without confusing it with the proof
For sides five, twelve and thirteen, the area is five times twelve divided by two, or thirty. The example agrees with the result, but the modular argument explains why every case works. Official UKMT resources are linked separately; the proof here is original practice in combining necessary remainder conditions with a complete final conclusion.
Continue reading: UKMT SMC Reasoning Practice: Square Remainders Can Prove an Integer Equation Impossible.
Contact Hanlin
Planning a first attempt or reviewing a topic you find difficult? Scan the QR code and send UKMT-PRIMITIVE-1128. 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
