Daily

Random

Practice set

Baltic Way 1995 · Problem 5

Number Theory

Let a<b<ca<b<c be three positive integers. Prove that among any 2c2 c consecutive positive integers there exist three different numbers x,y,zx, y, z such that abca b c divides xyzx y z.

Change pool

When you’re ready

Review material becomes available with the next Daily.

Review

Topics

GCD and LCM · Divisibility and factorization

Solutions

Solution

Solution: First we show that among any bb consecutive numbers there are two different numbers xx and yy such that abab divides xyxy. Among the bb consecutive numbers there is clearly a number x′x' divisible by bb, and a number y′y' divisible by aa. If x′≠y′x' \neq y', we can take x=x′x = x' and y=y′y = y', and we are done. Now assume that x′=y′x' = y'. Then x′x' is divisible by ee, the least common multiple of aa and bb. Let d=gcd⁡(a,b)d = \gcd(a, b). As a<ba < b, we have d≤12bd \leq \frac{1}{2} b. Hence there is a number z′≠x′z' \neq x' among the bb consecutive numbers such that z′z' is divisible by dd. Hence x′z′x' z' is divisible by dede. But de=abde = ab, so we can take x=x′x = x' and y=z′y = z'.

Now divide the 2c2c consecutive numbers into two groups of cc consecutive numbers. In the first group, by the above reasoning, there exist distinct numbers xx and yy such that abab divides xyxy. The second group contains a number zz divisible by cc. Then abcabc divides xyzxyz.

Contest context

Results from Baltic Way 1995

9 teams

Mean score
2.9 / 5
Scores of 4 or 5
3 / 9
Estonia
3 / 5

Score distribution

01
11
22
32
40
53
All team scores
TeamScore
Poland5 / 5
Latvia0 / 5
Sweden1 / 5
Lithuania3 / 5
Denmark5 / 5
Finland5 / 5
St. Petersburg2 / 5
Estonia3 / 5
Iceland2 / 5