Maths Olympiad Prep

Library / Berkeley Math Circle Monthly Contest 4 /8 of 22

Berkeley Math Circle Monthly Contest 4

Algebra Difficulty 4.9 AIME Prove it United States

Problem:

A natural number nn is chosen between two consecutive square numbers. The smaller square is obtained by subtracting kk from nn, and the larger one is obtained by adding ℓ\ell to nn. Prove that the number n−kℓn-k \ell is the square of an integer.

Solution

Solution:

Let n−k=x2n-k = x^{2} and n+ℓ=(x+1)2n+\ell = (x+1)^{2}. Then k=n−x2k = n - x^{2} and ℓ=(x+1)2−n\ell = (x+1)^{2} - n. We express everything in terms of nn and xx:
n−kℓ=n−(n−x2)((x+1)2−n)=n+(x2−n)(x2+2x+1−n)=n+(x2−n)((x2−n)+2x+1)=n+(x2−n)2+2x(x2−n)+x2−n=(x2−n)2+2x(x2−n)+x2=(x2−n+x)2. \begin{aligned} n - k \ell & = n - \left(n - x^{2}\right)\left((x+1)^{2} - n\right) \\ & = n + \left(x^{2} - n\right)\left(x^{2} + 2x + 1 - n\right) \\ & = n + \left(x^{2} - n\right)\left(\left(x^{2} - n\right) + 2x + 1\right) \\ & = n + \left(x^{2} - n\right)^{2} + 2x\left(x^{2} - n\right) + x^{2} - n \\ & = \left(x^{2} - n\right)^{2} + 2x\left(x^{2} - n\right) + x^{2} \\ & = \left(x^{2} - n + x\right)^{2}. \end{aligned}
This is the square of an integer.

Want a route through all this instead of an archive? The track puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.