Daily

Random

Practice set

Baltic Way 1996 · Problem 6

Number Theory

Let a,b,c,da, b, c, d be positive integers such that ab=cda b=c d. Prove that a+b+c+da+b+c+d is not prime.

Change pool

When you’re ready

Review material becomes available with the next Daily.

Review

Topics

Divisibility and factorization · GCD and LCM

Solutions

Solution 1

Solution: As ab=cda b = c d, we get a(a+b+c+d)=(a+c)(a+d)a(a + b + c + d) = (a + c)(a + d). If a+b+c+da + b + c + d were a prime, then it would be a factor in either a+ca + c or a+da + d, which are both smaller than a+b+c+da + b + c + d.

Solution 2

Solution: Let r=gcd⁡(a,c)r = \operatorname{gcd}(a, c) and s=gcd⁡(b,d)s = \operatorname{gcd}(b, d). Let a=a′ra = a' r, b=b′sb = b' s, c=c′rc = c' r and d=d′sd = d' s. Then a′b′=c′d′a' b' = c' d'. But gcd⁡(a′,c′)=1\operatorname{gcd}(a', c') = 1 and gcd⁡(b′,d′)=1\operatorname{gcd}(b', d') = 1, so we must have a′=d′a' = d' and b′=c′b' = c'. This gives

a+b+c+d=a′r+b′s+c′r+d′s=a′r+b′s+b′r+a′s=(a′+b′)(r+s).a + b + c + d = a' r + b' s + c' r + d' s = a' r + b' s + b' r + a' s = (a' + b')(r + s).

Since a′a', b′b', rr and ss are positive integers, a+b+c+da + b + c + d is not a prime.

Contest context

Results from Baltic Way 1996

10 teams

Mean score
3.4 / 5
Scores of 4 or 5
7 / 10
Estonia
1 / 5

Score distribution

02
11
20
30
42
55
All team scores
TeamScore
Poland5 / 5
Latvia5 / 5
Sweden5 / 5
Denmark5 / 5
St. Petersburg5 / 5
Finland0 / 5
Norway4 / 5
Lithuania4 / 5
Estonia1 / 5
Iceland0 / 5