UKMT Proof Practice: Trap an Integer Expression between Consecutive Squares

Checking many integers can suggest that an expression is never a square, but a gap between consecutive squares supplies a proof. This original example also shows why a domain restriction matters: a statement true for positive integers can acquire exceptions when zero and negative integers are allowed.

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

Locate the expression above a familiar square

Let n be a positive integer and consider n squared + n + 1. It is greater than n squared because n+1 is positive. This gives a lower square immediately. The next square is (n+1) squared = n squared + 2n + 1, so the remaining task is to compare the expression with that upper square.

Prove that the next square is strictly larger

Subtracting n squared + n + 1 from (n+1) squared leaves n, which is positive. Therefore n squared is strictly less than the expression, which is strictly less than (n+1) squared. There is no integer square strictly between squares of consecutive nonnegative integers. Thus the expression is not square for any positive integer n.

Check the boundary values separately

At n = 0, the expression equals one, which is a square. At n = -1 it also equals one. These values do not contradict the positive-integer proof, because they were outside its stated domain. Neglecting them would make an attempted all-integer conclusion false even though every line of the positive-case inequality was correct.

Reduce more negative values to the positive case

For n no greater than -2, put m = -n-1. Then m is a positive integer, and n squared + n + 1 = m squared + m + 1. The positive-case argument applies to m, excluding every such n. Consequently the expression is square for an integer n exactly when n is zero or minus one.

Use the method beyond this example

The crucial step is finding the correct neighbouring squares and checking strictness at each boundary. An approximation such as square root of the expression being near n+1/2 is not itself a proof that it is nonintegral. In UKMT-style written reasoning, display both inequalities, explain why consecutive squares leave no possible integer root, and separate boundary cases rather than relying on a long list of numerical trials.

Continue reading: UKMT SMC Practice: An Integer Average Can Still Fail a Consecutive-Number Test.

Contact Hanlin

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

Scan to contact Hanlin on WeChat. Send UKMT-INTEGER-EXPRESSION-1117.

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