Maths Olympiad Prep

Track / Stage 6 / 113 of 400 #1593 of 2444

Problem 1593

National Olympiad, first round
Geometry Difficulty 6.1 Prove it Bulgarian Mathematical Olympiad · Bulgaria

Let aa, bb, cc and dd be positive integers such that there are exactly 20042004 ordered pairs (x,y)(x, y), x,y(0,1)x, y \in (0,1), for which ax+bya x + b y and cx+dyc x + d y are integers. If (a,c)=6(a, c) = 6, find (b,d)(b, d).

This one wants a proof. Work it on paper, then read the official solution and mark yourself. Be honest about it: the record is only any use to you if it is.

Next problem →

Official solution

Solution:
Suppose first that adbca d \neq b c. The set of points (ax+by,cx+dy)(a x + b y, c x + d y), x,y(0,1)x, y \in (0,1), coincides with the interior of the parallelogram with vertices A=(0,0)A = (0, 0), B=(a,c)B = (a, c), C=(b,d)C = (b, d) and D=(a+b,c+d)D = (a + b, c + d). Its area SS equals adbc|a d - b c|. The Pick formula implies that S=n+m21S = n + \frac{m}{2} - 1, where nn (respectively mm) denotes the number of lattice points (i.e., with integer coordinates) in the interior (respectively on the boundary) of the parallelogram. Set e=(a,c)e = (a, c), f=(b,d)f = (b, d), a=ea1a = e a_1, c=ec1c = e c_1, b=fb1b = f b_1 and d=fd1d = f d_1. The interior points of the side ABA B have coordinates (ax,cx)(a x, c x), x(0,1)x \in (0,1). Thus the number of such lattice points is e1e - 1. Analogously, the number of the interior lattice points on BDB D, CDC D and ACA C equals f1f - 1, e1e - 1 and f1f - 1, respectively. Consequently m2=e+f\frac{m}{2} = e + f and the first condition of the problem can be written as
efa1d1b1c1=2003+e+f e f\left|a_1 d_1 - b_1 c_1\right| = 2003 + e + f
Since e=(a,c)=6e = (a, c) = 6, it follows that ff divides 2009=72412009 = 7^2 \cdot 41 and 6f6 f divides 2009+f2009 + f. This is possible only for f=1,7,49f = 1, 7, 49. For each of these values of ff the numbers e=6e = 6, a1=1+2009+f6fa_1 = 1 + \frac{2009 + f}{6 f}, b1=c1=d1=1b_1 = c_1 = d_1 = 1 satisfy (1) and hence (b,d)=1,7(b, d) = 1, 7 or 4949.

Suppose now that ad=bca d = b c. It is easy to see that a1=b1a_1 = b_1 and c1=d1c_1 = d_1. For x(0,1e)x \in \left(0, \frac{1}{e}\right) set y=1xef<1fy = \frac{1 - x e}{f} < \frac{1}{f}. Then ax+by=a1a x + b y = a_1 and cx+dy=c1c x + d y = c_1 are integers, and ex+fy=1e x + f y = 1. It follows that in this case there are infinitely many pairs (x,y)(x, y) satisfying (1), a contradiction.

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