Skip to main content
OlympiadHQ

Browse · MathNet

Print

49th International Mathematical Olympiad Spain

number theory

Problem

In the coordinate plane consider the set of all points with integer coordinates. For a positive integer , two distinct points will be called -friends if there is a point such that the area of the triangle is equal to . A set will be called a -clique if every two points in are -friends. Find the least positive integer for which there exists a -clique with more than 200 elements.
Solution
To begin, let us describe those points which are -friends of the point . By definition, satisfies this condition if and only if there is a point such that . (This is a well-known formula expressing the area of triangle when is the origin.)

To say that there exist integers for which , is equivalent to saying that the greatest common divisor of and is also a divisor of . Summing up, a point is a -friend of if and only if divides .

Translation by a vector with integer coordinates does not affect -friendship; if two points are -friends, so are their translates. It follows that two points , , , are -friends if and only if the point is a -friend of ; i.e., if .

Let be a positive integer which does not divide . We claim that a -clique cannot have more than elements.

Indeed, all points can be divided into classes determined by the remainders that and leave in division by . If a set has more than elements, some two points , , , necessarily fall into the same class. This means that and . Hence where . And since does not divide , also does not divide . Thus and are not -friends and the set is not a -clique.

Now let be the least positive integer which does not divide . Write for the moment and consider the set of all points with . There are of them. If , are two distinct points in then both differences are integers less than and at least one of them is positive. By the definition of , every positive integer less than divides . Therefore (if nonzero) divides , and the same is true of . So is divisible by , meaning that are -friends. Thus is a -clique.

It follows that the maximum size of a -clique is , with defined as above. We are looking for the minimum such that .

By the definition of , is divisible by the numbers , but not by itself. If then . Trying to hit we get a contradiction immediately ( would have to be divisible by and , but not by ).

So let us try . Then is divisible by the numbers , hence also by their least common multiple , but not by . And since is not a multiple of , we infer that is the least with .

Finally, observe that if then must be divisible by the least common multiple of , which is equal to . Then , yielding .

In conclusion, the least with the required property is equal to .
Final answer
180180

Techniques

Greatest common divisors (gcd)Least common multiples (lcm)Pigeonhole principleCartesian coordinates