Maths Olympiad Prep

Library / /22 of 61

Number theory Difficulty 5.4 AIME, harder Prove it Ibero-American Mathematical Olympiad

Problem:

Let p(m,n)p(m, n) be the polynomial 2m26mn+5n22 m^{2} - 6 m n + 5 n^{2}. The range of pp is the set of all integers kk such that k=p(m,n)k = p(m, n) for some integers mm, nn. Find which members of {1,2,,100}\{1,2, \ldots, 100\} are in the range of pp. Show that if hh and kk are in the range of pp, then so is hkh k.

Solution

Solution:

We have p(m,n)=(m2n)2+(mn)2p(m, n) = (m - 2 n)^{2} + (m - n)^{2}, so p(2ab,ab)=a2+b2p(2 a - b, a - b) = a^{2} + b^{2}. Hence the range of pp is just the sums of two squares.

(a2+b2)(c2+d2)=(acbd)2+(ad+bc)2\left(a^{2} + b^{2}\right)\left(c^{2} + d^{2}\right) = (a c - b d)^{2} + (a d + b c)^{2}, which establishes that if hh and kk are in the range, then so is hkh k.

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.