Maths Olympiad Prep

Library / /44 of 62

Algebra Difficulty 6.1 National Olympiad Prove it Ukraine

Determine all positive integers nn such that number NN is also integer, where
N=2112+1+4+121+4+2222+2+4+222+4++2nn2+n+4+n2n+4 N = \frac{2 \cdot 1}{\sqrt{1^2 + 1 + 4 + \sqrt{1^2 - 1 + 4}}} + \frac{2 \cdot 2}{\sqrt{2^2 + 2 + 4 + \sqrt{2^2 - 2 + 4}}} + \dots + \frac{2n}{\sqrt{n^2 + n + 4 + \sqrt{n^2 - n + 4}}}
(Anikushyn A., Rublyov B.)

Solution

Let us note that
2kk2+k+4+k2k+4=(k2+k+4k2k+4)2k(k2+k+4)(k2k+4)==k2+k+4k2k+4=k2+k+4(k1)2+(k1)+4. \frac{2k}{\sqrt{k^2 + k + 4} + \sqrt{k^2 - k + 4}} = \frac{(\sqrt{k^2 + k + 4} - \sqrt{k^2 - k + 4})2k}{(k^2 + k + 4) - (k^2 - k + 4)} = \\ = \sqrt{k^2 + k + 4} - \sqrt{k^2 - k + 4} = \sqrt{k^2 + k + 4} - \sqrt{(k-1)^2 + (k-1) + 4}.
And thus
N=(64)+(106)+(1610)++(n2+n+4(n1)2+(n1)+4)==n2+n+44=n2+n+42. N = (\sqrt{6} - \sqrt{4}) + (\sqrt{10} - \sqrt{6}) + (\sqrt{16} - \sqrt{10}) + \dots + (\sqrt{n^2 + n + 4} - \sqrt{(n-1)^2 + (n-1) + 4}) = \\ = \sqrt{n^2 + n + 4} - \sqrt{4} = \sqrt{n^2 + n + 4} - 2.
It means that NN is integer if and only if n2+n+4n^2 + n + 4 is a perfect square.
Since n2<n2+n+4<n2+4n+4=(n+2)2n^2 < n^2 + n + 4 < n^2 + 4n + 4 = (n + 2)^2, then for every positive integer nn we obtain n2+n+4=(n+1)2=n2+2n+1n^2 + n + 4 = (n + 1)^2 = n^2 + 2n + 1. And thus n=3n = 3.

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

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