Testing several integers may suggest a pattern, but a proof should explain every permitted n. This original UKMT proof exercise finds gcd(n^2+1,n+1) for positive integers n. The goal is a short complete argument, not a claim that the expression comes from an official challenge paper.
Need help choosing a next step? Scan the contact QR code below or contact Hanlin on WeChat. Send UKMT-EN-EUCLIDEAN-GCD-PARITY-PROOF-1119 and tell us your school year and question.
Experiment without treating examples as proof
For n=1 the two numbers are 2 and 2, giving gcd 2. For n=2 they are 5 and 3, giving gcd 1. For n=3 they are 10 and 4, giving gcd 2. This suggests that the answer depends on whether n is odd or even. Examples help choose a direction, but there are infinitely many n, so a repeated numerical pattern cannot finish the argument.
Subtract a carefully chosen multiple
The identity n^2+1=(n-1)(n+1)+2 shows that the remainder on division by n+1 is 2. Any common divisor of n^2+1 and n+1 must therefore divide 2. Conversely, any divisor of both n+1 and 2 divides (n-1)(n+1)+2 as well. These two directions establish the equality gcd(n^2+1,n+1)=gcd(n+1,2), rather than just an upper bound.
Finish the parity argument
If n is even, n+1 is odd, so its gcd with 2 is 1. If n is odd, n+1 is even, so its gcd with 2 is 2. Hence the original gcd is exactly 1 for even n and exactly 2 for odd n. This is stronger than saying the gcd is at most 2: the parity check identifies which value actually occurs.
Check the common logical shortcuts
Showing that both original numbers are even when n is odd does not by itself rule out a gcd of 4 or larger. The remainder identity supplies that missing restriction. Similarly, showing that both are odd for even n would not prove that they are coprime; two odd numbers can share an odd factor. Again, the fact that every common divisor divides 2 is what closes the argument.
Try an extension with the same structure
Replace n^2+1 by n^2+3. Subtracting (n-1)(n+1) now leaves 4, so the gcd becomes gcd(n+1,4). The answer can be 1, 2 or 4 depending on the remainder of n+1 modulo 4. Work out the full case split and test one example of each value. This extension shows why a useful proof method is more valuable than memorising the original alternating sequence of answers.
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-EN-EUCLIDEAN-GCD-PARITY-PROOF-1119. 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
