Preface

This book is a continuation Mathematical Olympiads 1995-1996: Olympiad
Problems from Around the World, published by the American Mathemat-
ics Competitions. It contains solutions to the problems from 25 national
and regional contests featured in the earlier pamphlet, together with se-
lected problems (without solutions) from national and regional contests
given during 1997.
This collection is intended as practice for the serious student who
wishes to improve his or her performance on the USAMO. Some of the
problems are comparable to the USAMO in that they came from na-
tional contests. Others are harder, as some countries first have a national
olympiad, and later one or more exams to select a team for the IMO. And
some problems come from regional international contests (“mini-IMOs”).
Different nations have different mathematical cultures, so you will find
some of these problems extremely hard and some rather easy. We have
tried to present a wide variety of problems, especially from those countries
that have often done well at the IMO.
Each contest has its own time limit. We have not furnished this in-
formation, because we have not always included complete contests. As a
rule of thumb, most contests allow a time limit ranging between one-half
to one full hour per problem.
Thanks to Walter Mientka for his continuing support of this project,
and to the students of the 1997 Mathematical Olympiad Summer Program
for their help in preparing solutions.
The problems in this publication are copyrighted. Requests for repro-
duction permissions should be directed to:
Dr. Walter Mientka
Secretary, IMO Advisory Broad
1740 Vine Street
Lincoln, NE 68588-0658, USA.
Contents
1 1996 National Contests:
Problems and Solutions 3
1.1 Bulgaria . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.2 Canada . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
1.3 China . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
1.4 Czech and Slovak Republics . . . . . . . . . . . . . . . . . . 17
1.5 France . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
1.6 Germany . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
1.7 Greece . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
1.8 Iran . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
1.9 Ireland . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
1.10 Italy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
1.11 Japan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
1.12 Poland . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
1.13 Romania . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
1.14 Russia . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
1.15 Spain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
1.16 Turkey . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
1.17 United Kingdom . . . . . . . . . . . . . . . . . . . . . . . . 84
1.18 United States of America . . . . . . . . . . . . . . . . . . . 89
1.19 Vietnam . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
2 1996 Regional Contests:
Problems and Solutions 100
2.1 Asian Pacific Mathematics Olympiad . . . . . . . . . . . . . 100
2.2 Austrian-Polish Mathematics Competition . . . . . . . . . . 103
2.3 Balkan Mathematical Olympiad . . . . . . . . . . . . . . . . 108
2.4 Czech-Slovak Match . . . . . . . . . . . . . . . . . . . . . . 110
2.5 Iberoamerican Olympiad . . . . . . . . . . . . . . . . . . . . 114
2.6 St. Petersburg City Mathematical Olympiad . . . . . . . . 118
3 1997 National Contests:
Problems 131
3.1 Austria . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
3.2 Bulgaria . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
3.3 Canada . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
3.4 China . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
1
3.5 Colombia . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
3.6 Czech and Slovak Republics . . . . . . . . . . . . . . . . . . 140
3.7 France . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
3.8 Germany . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
3.9 Greece . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
3.10 Hungary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
3.11 Iran . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
3.12 Ireland . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
3.13 Italy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
3.14 Japan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
3.15 Korea . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
3.16 Poland . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
3.17 Romania . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
3.18 Russia . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
3.19 South Africa . . . . . . . . . . . . . . . . . . . . . . . . . . 161
3.20 Spain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
3.21 Taiwan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
3.22 Turkey . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
3.23 Ukraine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
3.24 United Kingdom . . . . . . . . . . . . . . . . . . . . . . . . 167
3.25 United States of America . . . . . . . . . . . . . . . . . . . 168
3.26 Vietnam . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
4 1997 Regional Contests:
Problems 170
4.1 Asian Pacific Mathematics Olympiad . . . . . . . . . . . . . 170
4.2 Austrian-Polish Mathematical Competition . . . . . . . . . 171
4.3 Czech-Slovak Match . . . . . . . . . . . . . . . . . . . . . . 173
4.4 Hungary-Israel Mathematics Competition . . . . . . . . . . 174
4.5 Iberoamerican Mathematical Olympiad . . . . . . . . . . . 175
4.6 Nordic Mathematical Contest . . . . . . . . . . . . . . . . . 177
4.7 Rio Plata Mathematical Olympiad . . . . . . . . . . . . . . 178
4.8 St. Petersburg City Mathematical Olympiad (Russia) . . . 179
2
1 1996 National Contests:
Problems and Solutions
1.1 Bulgaria
1. Prove that for all natural numbers n ≥ 3 there exist odd natural
numbers x
n
, y
n
such that 7x
2
n
+y
2
n
= 2
n
.
Solution: For n = 3 we have x
3
= y
3
= 1. Now suppose that
for a given natural number n we have odd natural numbers x
n
, y
n
such that 7x
2
n
+ y
2
n
= 2
n
; we shall exhibit a pair (X, Y ) such that
7X
2
+Y
2
= 2
n+1
. In fact,
7
_
x
n
±y
n
2
_
2
+
_
7x
n
∓y
n
2
_
2
= 2(7x
2
n
+y
2
n
) = 2
n+1
.
One of (x
n
+y
n
)/2 and [x
n
−y
n
[/2 is odd (as their sum is the larger
of x
n
and y
n
, which is odd), giving the desired pair.
2. The circles k
1
and k
2
with respective centers O
1
and O
2
are exter-
nally tangent at the point C, while the circle k with center O is
externally tangent to k
1
and k
2
. Let be the common tangent of k
1
and k
2
at the point C and let AB be the diameter of k perpendicular
to . Assume that O and A lie on the same side of . Show that the
lines AO
2
, BO
1
, have a common point.
Solution: Let r, r
1
, r
2
be the respective radii of k, k
1
, k
2
. Also let
M and N be the intersections of AC and BC with k. Since AMB
is a right triangle, the triangle AMO is isosceles and
∠AMO = ∠OAM = ∠O
1
CM = ∠CMO
1
.
Therefore O, M, O
1
are collinear and AM/MC = OM/MO
1
= r/r
1
.
Similarly O, N, O
2
are collinear and BN/NC = ON/NO
2
= r/r
2
.
Let P be the intersection of with AB; the lines AN, BM, CP con-
cur at the orthocenter of ABC, so by Ceva’s theorem, AP/PB =
(AM/MC)(CN/NB) = r
2
/r
1
. Now let D
1
and D
2
be the intersec-
tions of with BO
1
and AO
2
. Then CD
1
/D
1
P = O
1
C/PB =
r
1
/PB, and similarly CD
2
/D
2
P = r
2
/PA. Thus CD
1
/D
1
P =
CD
2
/D
2
P and D
1
= D
2
, and so AO
2
, BO
1
, have a common point.
3
3. Let a, b, c be real numbers and let M be the maximum of the function
y = [4x
3
+ ax
2
+ bx + c[ in the interval [−1, 1]. Show that M ≥ 1
and find all cases where equality occurs.
Solution: For a = 0, b = −3, c = 0, we have M = 1, with the
maximum achieved at −1, −1/2, 1/2, 1. On the other hand, if M < 1
for some choice of a, b, c, then
(4x
3
+ax
2
+bx +c) −(4x
3
+ 3x)
must be positive at −1, negative at −1/2, positive at 1/2, and
negative at 1, which is impossible for a quadratic function. Thus
M ≥ 1, and the same argument shows that equality only occurs for
(a, b, c) = (0, −3, 0). (Note: this is a particular case of the minimum
deviation property of Chebyshev polynomials.)
4. The real numbers a
1
, a
2
, . . . , a
n
(n ≥ 3) form an arithmetic progres-
sion. There exists a permutation a
i
1
, a
i
2
, . . . , a
i
n
of a
1
, a
2
, . . . , a
n
which is a geometric progression. Find the numbers a
1
, a
2
, . . . , a
n
if
they are all different and the largest of them is equal to 1996.
Solution: Let a
1
< a
2
< < a
n
= 1996 and let q be the ratio of
the geometric progression a
i
1
, . . . a
i
n
; clearly q ,= 0, ±1. By reversing
the geometric progression if needed, we may assume [q[ > 1, and so
[a
i
1
[ < [a
i
2
[ < < [a
i
n
[. Note that either all of the terms are
positive, or they alternate in sign; in the latter case, the terms of
either sign form a geometric progression by themselves.
There cannot be three positive terms, or else we would have a three-
term geometric progression a, b, c which is also an arithmetic pro-
gression, violating the AM-GM inequality. Similarly, there cannot
be three negative terms, so there are at most two terms of each sign
and n ≤ 4.
If n = 4, we have a
1
< a
2
< 0 < a
3
< a
4
and 2a
2
= a
1
+ a
3
,
2a
3
= a
2
+a
4
. In this case, q < −1 and the geometric progression is
either a
3
, a
2
, a
4
, a
1
or a
2
, a
3
, a
1
, a
4
. Suppose the former occurs (the
argument is similar in the latter case); then 2a
3
q = a
3
q
3
+ a
3
and
2a
3
+a
3
q +a
3
q
2
, giving q = 1, a contradiction.
We deduce n = 3 and consider two possibilities. If a
1
< a
2
<
0 < a
3
= 1996, then 2a
2
= a
2
q
2
+ a
2
q, so q
2
+ q − 2 = 0 and
4
q = −2, yielding (a
1
, a
2
, a
3
) = (−3992, −998, 1996). If a
1
< 0 <
a
2
< a
3
= 1996, then 2a
2
= a
2
q + a
2
q
2
, so again q = −2, yielding
(a
1
, a
2
, a
3
) = (−998, 499, 1996).
5. A convex quadrilateral ABC is given for which ∠ABC +∠BCD <
180

. The common point of the lines AB and CD is E. Prove that
∠ABC = ∠ADC if and only if
AC
2
= CD CE −AB AE.
Solution: Let C
1
be the circumcircle of ADE, and let F be its
second intersection with CA. In terms of directed lengths, we have
AC
2
= CD CE +AB AE if and only if
AB AE = AC
2
−CD CE = CA
2
−CA AF = AC AF,
that is, if and only if B, C, E, F are concyclic. But this happens if
and only if ∠EBC = ∠EFC, and
∠EFC = ∠EFA = π −∠ADE = ∠CDA
(in directed angles modulo π), so B, C, E, F are concyclic if and only
if ∠ABC = ∠ADC (as undirected angles), as desired.
6. Find all prime numbers p, q for which pq divides (5
p
−2
p
)(5
q
−2
q
).
Solution: If p[5
p
−2
p
, then p[5 −2 by Fermat’s theorem, so p = 3.
Suppose p, q ,= 3; then p[5
q
− 2
q
and q[5
p
− 2
p
. Without loss of
generality, assume p > q, so that (p, q − 1) = 1. Then if a is an
integer such that 2a ≡ 5 (mod q), then the order of a mod q divides
p as well as q −1, a contradiction.
Hence one of p, q is equal to 3. If q ,= 3, then q[5
3
− 2
3
= 9 13, so
q = 13, and similarly p ∈ ¦3, 13¦. Thus the solutions are (p, q) =
(3, 3), (3, 13), (13, 3).
7. Find the side length of the smallest equilateral triangle in which
three discs of radii 2, 3, 4 can be placed without overlap.
Solution: A short computation shows that discs of radii 3 and 4
can be fit into two corners of an equilateral triangle of side 11

3 so
5
as to just touch, and that a disc of radius 2 easily fits into the third
corner without overlap. On the other hand, if the discs of radii 3
and 4 fit into an equilateral triangle without overlap, there exists a
line separating them (e.g. a tangent to one perpendicular to their
line of centers) dividing the triangle into a triangle and a (possibly
degenerate) convex quadrilateral. Within each piece, the disc can be
moved into one of the corners of the original triangle. Thus the two
discs fit into the corners without overlap, so the side length of the
triangle must be at least 11

3.
8. The quadratic polynomials f and g with real coefficients are such
that if g(x) is an integer for some x > 0, then so is f(x). Prove that
there exist integers m, n such that f(x) = mg(x) +n for all x.
Solution: Let f(x) = ax
2
+ bx + c and g(x) = px
2
+ qx + r;
assume without loss of generality p > 0 and q = 0 (by the change
of variable x → x − q/(2p)). Let k be an integer such that k > s
and t =
_
(k −s)/p > q/(2p). Since g(t) = k is an integer, so is
f(t) = a(k −s)/p +bt +c, as is
f

k + 1 −s
p
_
−f

k −s
p
_
=
b

p
1

k + 1 −s −

k −s
+
a
p
.
This tends to a/p as k increases, so a/p must be an integer; moreover,
b must equal 0, or else the above expression will equal a/p plus a
small quantity for large k, which cannot be an integer. Now put
m = a/p and n = c −ms; then f(x) = mg(x) +n.
9. The sequence ¦a
n
¦

n=1
is defined by
a
1
= 1, a
n+1
=
a
n
n
+
n
a
n
, n ≥ 1.
Prove that for n ≥ 4, ¸a
2
n
| = n.
Solution: We will show by induction that

n ≤ a
n
≤ n/

n −1
for n ≥ 1, which will imply the claim. These inequalities clearly
hold for n = 1, 2, 3. Now assume the inequality for some n. Let
f
n
(x) = x/n +n/x. We first have for n ≥ 3,
a
n+1
= f
n
(a
n
) ≥ f
n
_
n

n −1
_
=
n

n −1
>

n + 1.
6
On the other hand, using that a
n
> (n −1)/

n −2 (which we just
proved), we get for n ≥ 4,
a
n+1
= f
n
(a
n
) < f
n
_
n −1

n −2
_
=
(n −1)
2
+n
2
(n −2)
(n −1)n

n −2
<

n + 2.
10. The quadrilateral ABCD is inscribed in a circle. The lines AB
and CD meet at E, while the diagonals AC and BD meet at F.
The circumcircles of the triangles AFD and BFC meet again at H.
Prove that ∠EHF = 90

.
Solution: (We use directed angles modulo π.) Let O be the
circumcenter of ABCD; then
∠AHB = ∠AHF+∠FHB = ∠ADF+∠FCB = 2∠ADB = ∠AOB,
so O lies on the circumcircle of AHB, and similarly on the circum-
circle of CHD. The radical axes of the circumcircles of AHB, CHD
and ABCD concur; these lines are AB, CD and HO, so E, H, O are
collinear. Now note that
∠OHF = ∠OHC+∠CHF = ∠ODC+∠CBF =
π
2
−∠CAD+∠CBD,
so ∠EHF = ∠OHF = π/2 as desired. (Compare IMO 1985/5.)
11. A 7 7 chessboard is given with its four corners deleted.
(a) What is the smallest number of squares which can be colored
black so that an uncolored 5-square (Greek) cross cannot be
found?
(b) Prove that an integer can be written in each square such that
the sum of the integers in each 5-square cross is negative while
the sum of the numbers in all squares of the board is positive.
Solution:
(a) The 7 squares
(2, 5), (3, 2), (3, 3), (4, 6), (5, 4), (6, 2), (6, 5)
7
suffice, so we need only show that 6 or fewer will not suffice.
The crosses centered at
(2, 2), (2, 6), (3, 4), (5, 2), (5, 6), (6, 4)
are disjoint, so one square must be colored in each, hence 5
or fewer squares do not suffice. Suppose exactly 6 squares are
colored. Then none of the squares (1, 3), (1, 4), (7, 2) can be col-
ored; by a series of similar arguments, no square on the perime-
ter can be colored. Similarly, (4, 3) and (4, 5) are not covered,
and by a similar argument, neither is (3, 4) or (5, 4). Thus the
center square (4, 4) must be covered.
Now the crosses centered at
(2, 6), (3, 3), (5, 2), (5, 6), (6, 4)
are disjoint and none contains the center square, so each con-
tains one colored square. In particular, (2, 2) and (2, 4) are not
colored. Replacing (3, 3) with (2, 3) in the list shows that (3, 2)
and (3, 4) are not colored. Similar symmetric arguments now
show that no squares besides the center square can be covered,
a contradiction. Thus 7 squares are needed.
(b) Write −5 in the 7 squares listed above and 1 in the remaining
squares. Then clearly each cross has negative sum, but the total
of all of the numbers is 5(−7) + (45 −7) = 3.
8
1.2 Canada
1. If α, β, γ are the roots of x
3
−x −1 = 0, compute
1 −α
1 +α
+
1 −β
1 +β
+
1 −γ
1 +γ
.
Solution: The given quantity equals
2
_
1
α + 1
+
1
β + 1
+
1
γ + 1
_
−3.
Since P(x) = x
3
−x−1 has roots α, β, γ, the polynomial P(x−1) =
x
3
−3x
2
+2x−1 has roots α+1, β+1, γ +1. By a standard formula,
the sum of the reciprocals of the roots of x
3
+ c
2
x
2
+ c
1
x + c
0
is
−c
1
/c
0
, so the given expression equals 2(2) −3 = 1.
2. Find all real solutions to the following system of equations:
4x
2
1 + 4x
2
= y
4y
2
1 + 4y
2
= z
4z
2
1 + 4z
2
= x.
Solution: Define f(x) = 4x
2
/(1 + 4x
2
); the range of f is [0, 1),
so x, y, z must lie in that interval. If one of x, y, z is zero, then all
three are, so assume they are nonzero. Then f(x)/x = 4x/(1 +
4x
2
) is at least 1 by the AM-GM inequality, with equality for x =
1/2. Therefore x ≤ y ≤ z ≤ x, and so equality holds everywhere,
implying x = y = z = 1/2. Thus the solutions are (x, y, z) =
(0, 0, 0), (1/2, 1/2, 1/2).
3. Let f(n) be the number of permutations a
1
, . . . , a
n
of the integers
1, . . . , n such that
(i) a
1
= 1;
(ii) [a
i
−a
i+1
[ ≤ 2, i = 1, . . . , n −1.
9
Determine whether f(1996) is divisible by 3.
Solution: Let g(n) be the number of permutations of the desired
form with a
n
= n. Then either a
n−1
= n − 1 or a
n−1
= n − 2; in
the latter case we must have a
n−2
= n−1 and a
n−3
= n−3. Hence
g(n) = g(n−1) +g(n−3) for n ≥ 4. In particular, the values of g(n)
modulo 3 are g(1) = 1, 1, 1, 2, 0, 1, 0, 0, . . . repeating with period 8.
Now let h(n) = f(n) −g(n); h(n) counts permutations of the desired
form where n occurs in the middle, sandwiched between n−1 and n−
2. Removing n leaves an acceptable permutation, and any acceptable
permutation on n−1 symbols can be so produced except those ending
in n−4, n−2, n−3, n−1. Hence h(n) = h(n−1)+g(n−1)−g(n−4) =
h(n−1)+g(n−2); one checks that h(n) modulo 3 repeats with period
24.
Since 1996 ≡ 4 (mod 24), we have f(1996) ≡ f(4) = 4 (mod 3), so
f(1996) is not divisible by 3.
4. Let ´ABC be an isosceles triangle with AB = AC. Suppose that
the angle bisector of ∠B meets AC at D and that BC = BD+AD.
Determine ∠A.
Solution: Let α = ∠A, β = (π −α)/4 and assume AB = 1. Then
by the Law of Sines,
BC =
sin α
sin 2β
, BD =
sin α
sin 3β
, AD =
sin β
sin 3β
.
Thus we are seeking a solution to the equation
sin(π −4β) sin 3β = (sin(π −4β) + sin β) sin 2β.
Using the sum-to-product formula, we rewrite this as
cos β −cos 7β = cos 2β −cos 6β + cos β −cos 3β.
Cancelling cos β, we have cos 3β − cos 7β = cos 2β − cos 6β, which
implies
sin 2β sin 5β = sin 2β sin 4β.
Now sin 5β = sin 4β, so 9β = π and β = π/9.
10
5. Let r
1
, r
2
, . . . , r
m
be a given set of positive rational numbers whose
sum is 1. Define the function f by f(n) = n −

m
k=1
¸r
k
n| for each
positive integer n. Determine the minimum and maximum values of
f(n).
Solution: Of course ¸r
k
n| ≤ r
k
n, so f(n) ≥ 0, with equality for
n = 0, so 0 is the minimum value. On the other hand, we have
r
k
n −¸r
k
n| < 1, so f(n) ≤ m−1. Here equality holds for n = t −1
if t is the least common denominator of the r
k
.
11
1.3 China
1. Let H be the orthocenter of acute triangle ABC. The tangents from
A to the circle with diameter BC touch the circle at P and Q. Prove
that P, Q, H are collinear.
Solution: The line PQ is the polar of A with respect to the circle,
so it suffices to show that A lies on the pole of H. Let D and E
be the feet of the altitudes from A and B, respectively; these also
lie on the circle, and H = AD ∩ BE. The polar of the line AD
is the intersection of the tangents AA and DD, and the polar of
the line BE is the intersection of the tangents BB and EE. The
collinearity of these two intersections with C = AE∩BD follows from
applying Pascal’s theorem to the cyclic hexagons AABDDE and
ABBDEE. (An elementary solution with vectors is also possible
and not difficult.)
2. Find the smallest positive integer K such that every K-element sub-
set of ¦1, 2, . . . , 50¦ contains two distinct elements a, b such that a+b
divides ab.
Solution: The minimal value is k = 39. Suppose a, b ∈ S are such
that a +b divides ab. Let c = gcd(a, b), and put a = ca
1
, b = cb
1
, so
that a
1
and b
1
are relatively prime. Then c(a
1
+b
1
) divides c
2
a
1
b
1
,
so a
1
+ b
1
divides ca
1
b
1
. Since a
1
and b
1
have no common factor,
neither do a
1
and a
1
+b
1
, or b
1
and a
1
+b
1
. In short, a
1
+b
1
divides
c.
Since S ⊆ ¦1, . . . , 50¦, we have a +b ≤ 99, so c(a
1
+b
1
) ≤ 99, which
implies a
1
+ b
1
≤ 9; on the other hand, of course a
1
+ b
1
≥ 3. An
exhaustive search produces 23 pairs a, b satisfying the condition:
a
1
+b
1
= 3 (6, 3), (12, 6), (18, 9), (24, 12),
(30, 15), (36, 18), (42, 21), (48, 24)
a
1
+b
1
= 4 (12, 4), (24, 8), (36, 12), (48, 16)
a
1
+b
1
= 5 (20, 5), (40, 10), (15, 10), (30, 20), (45, 30)
a
1
+b
1
= 6 (30, 6)
a
1
+b
1
= 7 (42, 7), (35, 14), (28, 21)
a
1
+b
1
= 8 (40, 24)
a
1
+b
1
= 9 (45, 36)
12
Let M = ¦6, 12, 15, 18, 20, 21, 24, 35, 40, 42, 45, 48¦ and T = ¦1, . . . , 50¦−
M. Since each pair listed above contains an element of M, T does
not have the desired property. Hence we must take k ≥ [T[ +1 = 39.
On the other hand, from the 23 pairs mentioned above we can select
12 pairs which are mutually disjoint:
(6, 3), (12, 4), (20, 5), (42, 7), (24, 8), (18, 9),
(40, 10), (35, 14), (30, 15), (48, 16), (28, 21), (45, 36).
Any 39-element subset must contain both elements of one of these
pairs. We conclude the desired minimal number is k = 39.
3. Let f : R →R be a function such that for all x, y ∈ R,
f(x
3
+y
3
) = (x +y)(f(x)
2
−f(x)f(y) +f(y)
2
). (1)
Prove that for all x ∈ R, f(1996x) = 1996f(x).
Solution: Setting x = y = 0 in the given equation, we have
f(0) = 0. Setting y = 0, we find f(x
3
) = xf(x)
2
, or equivalently,
f(x) = x
1/3
f(x
1/3
)
2
. (2)
In particular, x and f(x) always have the same sign, that is, f(x) ≥ 0
for x ≥ 0 and f(x) ≤ 0 for x ≤ 0.
Let S be the set
S = ¦a > 0 : f(ax) = af(x)∀x ∈ R¦.
Clearly 1 ∈ S; we will show a
1/3
∈ S whenever a ∈ S. In fact,
axf(x)
2
= af(x
3
) = f(ax
3
) = f((a
1/3
x)
3
) = a
1/3
f(a
1/3
x)
2
and so
[a
1/3
f(x)]
2
= f(a
1/3
x)
2
.
Since x and f(x) have the same sign, we conclude f(a
1/3
x) = a
1/3
f(x).
Now we show that a, b ∈ S implies a +b ∈ S:
f((a +b)x) = f((a
1/3
x
1/3
)
3
+ (b
1/3
x
1/3
)
3
)
= (a
1/3
+b
1/3
)[f(a
1/3
x
1/3
)
2
−f(a
1/3
x
1/3
)f(b
1/3
x
1/3
) +f(b
1/3
x
1/3
)
2
]
= (a
1/3
+b
1/3
)(a
2/3
−a
1/3
b
1/3
+b
2/3
)x
1/3
f(x
1/3
)
2
= (a +b)f(x).
13
By induction, we have n ∈ S for each positive integer n, so in par-
ticular, f(1996x) = 1996f(x) for all x ∈ R.
4. Eight singers participate in an art festival where m songs are per-
formed. Each song is performed by 4 singers, and each pair of singers
performs together in the same number of songs. Find the smallest
m for which this is possible.
Solution: Let r be the number of songs each pair of singers per-
forms together, so that
m
_
4
2
_
= r
_
8
2
_
and so m = 14r/3; in particular, m ≥ 14. However, m = 14 is indeed
possible, using the arrangement
¦1, 2, 3, 4¦ ¦5, 6, 7, 8¦ ¦1, 2, 5, 6¦ ¦3, 4, 7, 8¦
¦3, 4, 5, 6¦ ¦1, 3, 5, 7¦ ¦2, 4, 6, 8¦ ¦1, 3, 6, 8¦
¦2, 4, 5, 7¦ ¦1, 4, 5, 8¦ ¦2, 3, 6, 7¦ ¦1, 4, 6, 7¦
¦1, 2, 7, 8¦ ¦2, 3, 5, 8¦.
5. Suppose n ∈ N, x
0
= 0, x
i
> 0 for i = 1, 2, . . . , n, and

n
i=1
x
i
= 1.
Prove that
1 ≤
n

i=1
x
i

1 +x
0
+ +x
i−1


x
i
+ +x
n
<
π
2
.
Solution: The left inequality follows from the fact that
_
1 +x
0
+x
1
+ +x
i−1

x
1
+ +x
n

1
2
(1+x
0
+ +x
n
) = 1,
so that the middle quantity is at least

x
i
= 1. For the right
inequality, let
θ
i
= arcsin(x
0
+ +x
i
) (i = 0, . . . , n)
so that
_
1 +x
0
+x
1
+ +x
i−1

x
i
+ +x
n
= cos θ
i−1
14
and the desired inequality is
n

i=1
sin θ
i
−sin θ
i−1
cos θ
i−1
<
π
2
.
Now note that
sin θ
i
−sin θ
i−1
= 2 cos
θ
i

i−1
2
sin
θ
i
−θ
i−1
2
< cosθ
i−1

i
−θ
i−1
),
using the facts that θ
i−1
< θ
i
and that sin x < x for x > 0, so that
n

i=1
sin θ
i
−sin θ
i−1
cos θ
i−1
<
n

i=1
θ
i
−θ
i−1
= θ
n
−θ
0
<
π
2
,
as claimed.
6. In triangle ABC, ∠C = 90

, ∠A = 30

and BC = 1. Find the
minimum of the length of the longest side of a triangle inscribed in
ABC (that is, one such that each side of ABC contains a different
vertex of the triangle).
Solution: We first find the minimum side length of an equilateral
triangle inscribed in ABC. Let D be a point on BC and put x =
BD. Then take points E, F on CA, AB, respectively, such that
CE =

3x/2 and BF = 1 − x/2. A calculation using the Law of
Cosines shows that
DF
2
= DE
2
= EF
2
=
7
4
x
2
−2x + 1 =
7
4
_
x −
4
7
_
2
+
3
7
.
Hence the triangle DEF is equilateral, and its minimum possible
side length is
_
3/7.
We now argue that the minimum possible longest side must occur for
some equilateral triangle. Starting with an arbitrary triangle, first
suppose it is not isosceles. Then we can slide one of the endpoints
of the longest side so as to decrease its length; we do so until there
are two longest sides, say DE and EF. We now fix D, move E so
as to decrease DE and move F at the same time so as to decrease
EF; we do so until all three sides become equal in length. (It is fine
15
if the vertices move onto the extensions of the sides, since the bound
above applies in that case as well.)
Hence the mininum is indeed
_
3/7, as desired.
16
1.4 Czech and Slovak Republics
1. Prove that if a sequence ¦G(n)¦

n=0
of integers satisfies
G(0) = 0,
G(n) = n −G(G(n)) (n = 1, 2, 3, . . .),
then
(a) G(k) ≥ G(k −1) for any positive integer k;
(b) no integer k exists such that G(k −1) = G(k) = G(k + 1).
Solution:
(a) We show by induction that G(n) −G(n −1) ∈ ¦0, 1¦ for all n.
If this holds up to n, then
G(n + 1) −G(n) = 1 +G(G(n −1)) −G(G(n)).
If G(n − 1) = G(n), then G(n + 1) − G(n) = 1; otherwise,
G(n − 1) and G(n) are consecutive integers not greater than
n, so G(G(n)) − G(G(n − 1)) ∈ ¦0, 1¦, again completing the
induction.
(b) Suppose that G(k − 1) = G(k) = G(k + 1) + A for some k, A.
Then
A = G(k + 1) = k + 1 −G(G(k)) = k + 1 −G(A)
and similarly A = k − G(A) (replacing k + 1 with k above), a
contradiction.
Note: It can be shown that G(n) = ¸nw| for w = (

5 −1)/2.
2. Let ABC be an acute triangle with altitudes AP, BQ, CR. Show
that for any point P in the interior of the triangle PQR, there exists
a tetrahedron ABCD such that P is the point of the face ABC at
the greatest distance (measured along the surface of the tetrahedron)
from D.
17
Solution: We first note that if S is the circumcircle of an acute
triangle KLM, then for any point X ,= S inside the triangle, we
have
min¦XK, XL, XM¦ < SK = SL = SM,
since the discs centered at K, L, M whose bounding circles pass
through S cover the entire triangle.
Fix a point V in the interior of the triangle PQR; we first assume
the desired tetrahedron exists and determine some of its properties.
Rotate the faces ABD, BCD, CAD around their common edges with
face ABC into the plane ABC, so that the images D
1
, D
2
, D
3
of D
lie outside of triangle ABC. We shall choose D so that triangle
D
1
D
2
D
3
is acute, contains triangle ABC and has circumcenter V ;
this suffices by the above observation.
In other words, we need a point D such that AV is the perpendicu-
lar bisector of D
1
D
3
, BV that of D
1
D
2
, and CV that of D
2
D
3
. We
thus need ∠D
1
D
2
D
3
= π − ∠BV C and so on. Since V lies inside
PQR, the angle BV C is acute, and so ∠D
1
D
2
D
3
is fixed and acute.
We may then construct an arbitrary triangle D

1
D

2
D

3
similar to
the unknown triangle D
1
D
2
D
3
, let V

be its circumcenter, and con-
struct points A

, B

, C

on the rays from V through the midpoints of
D

3
D

1
, D

1
D

2
, D

2
D

3
, respectively, so that triangles A

B

C

and ABC
are similar. We can also ensure that the entire triangle A

B

C

lies
inside D

1
D

2
D

3
. Then folding up the hexagon A

D

1
B

D

2
C

D

3
along
the edges of triangle A

B

C

produces a tetrahedron similar to the
required tetrahedron.
3. Given six three-element subsets of a finite set X, show that it is
possible to color the elements of X in two colors such that none of
the given subsets is all in one color.
Solution: Let A
1
, . . . , A
6
be the subsets; we induct on the number
n of elements of X, and there is no loss of generality in assuming
n ≥ 6. If n = 6, since
_
6
3
_
= 20 > 2 6, we can find a three-element
subset Y of X not equal to any of A
1
, . . . , A
6
or their complements;
coloring the elements of Y in one color and the other elements in the
other color meets the desired condition.
18
Now suppose n > 6. There must be two elements u, v of X such
that ¦u, v¦ is not a subset of any A
i
, since there are at least
_
7
2
_
= 21
pairs, and at most 63 = 18 lie in an A
i
. Replace all occurrences of
u and v by a new element w, and color the resulting elements using
the induction hypothesis. Now color the original set by giving u and
v the same color given to w.
4. An acute angle XCY and points A and B on the rays CX and
CY , respectively, are given such that [CX[ < [CA[ = [CB[ < [CY [.
Show how to construct a line meeting the ray CX and the segments
AB, BC at the points K, L, M, respectively, such that
KA Y B = XA MB = LA LB ,= 0.
Solution: Suppose K, L, M have already been constructed. The
triangles ALK and BY L are similar because ∠LAK = ∠Y BL and
KA/LA = LB/Y B. Hence ∠ALK = ∠BY L. Similarly, from the
similar triangles ALX and BML we get ∠AXL = ∠MLB. We
also have ∠MLB = ∠ALK since M, L, K are collinear; we conclude
∠LY B = ∠AXL. Now
∠XLY = ∠XLB+∠BLY = ∠XAL+∠AXL+∠ABM−∠LY B = 2∠ABC.
We now construct the desired line as follows: draw the arc of points
L such that ∠XLY = 2∠ABC, and let L be its intersection with
AB. Then construct M on BC such that ∠BLM = ∠AXL, and let
K be the intersection of LM with CA.
5. For which integers k does there exist a function f : N →Z such that
(a) f(1995) = 1996, and
(b) f(xy) = f(x) +f(y) +kf(gcd(x, y)) for all x, y ∈ N?
Solution: Such f exists for k = 0 and k = −1. First take x = y in
(b) to get f(x
2
) = (k + 2)f(x). Applying this twice, we get
f(x
4
) = (k + 2)f(x
2
) = (k + 2)
2
f(x).
19
On the other hand,
f(x
4
) = f(x) +f(x
3
) +kf(x) = (k + 1)f(x) +f(x
3
)
= (k + 1)f(x) +f(x) +f(x
2
) +kf(x) = (2k + 2)f(x) +f(x
2
)
= (3k + 4)f(x).
Setting x = 1995 so that f(x) ,= 0, we deduce (k + 2)
2
= 3k + 4,
which has roots k = 0, −1. For k = 0, an example is given by
f(p
e
1
1
p
e
n
n
) = e
1
g(p
1
) + +e
n
g(p
n
),
where g(5) = 1996 and g(p) = 0 for all primes p ,= 5. For k = 1, an
example is given by
f(p
e
1
1
p
e
n
n
) = g(p
1
) + +g(p
n
).
6. A triangle ABC and points K, L, M on the sides AB, BC, CA, re-
spectively, are given such that
AK
AB
=
BL
BC
=
CM
CA
=
1
3
.
Show that if the circumcircles of the triangles AKM, BLK, CML
are congruent, then so are the incircles of these triangles.
Solution: We will show that ABC is equilateral, so that AKM, BLK, CML
are congruent and hence have the same inradius. Let R be the com-
mon circumradius; then
KL = 2Rsin A, LM = 2Rsin B, MK = 2Rsin C,
so the triangles KLM and ABC are similar. Now we compare areas:
[AKM] = [BLK] = [CLM] =
2
9
[ABC],
so [KLM] =
1
3
[ABC] and the coefficient of similarity between KLM
and ABC must be
_
1/3. By the law of cosines applied to ABC and
AKM,
a
2
= b
2
+c
2
−2bc cos A
1
3
a
2
=
_
2p
3
_
2
+
_
c
3
_
2
−2
2b
3
c
3
cos A.
20
From these we deduce a
2
= 2b
2
− c
2
, and similarly b
2
= 2c
2
− a
2
,
c
2
= 2a
2
− b
2
. Combining these gives a
2
= b
2
= c
2
, so ABC is
equilateral, as desired.
21
1.5 France
1. Let ABC be a triangle and construct squares ABED, BCGF, ACHI
externally on the sides of ABC. Show that the points D, E, F, G, H, I
are concyclic if and only if ABC is equilateral or isosceles right.
Solution: Suppose D, E, F, G, H, I are concyclic; the perpendic-
ular bisectors of DE, FG, HI coincide with those of AB, BC, CA,
respectively, so the center of the circle must be the circumcenter O
of ABC. By equating the distances OD and OF, we find
(cos B + 2 sin B)
2
+ sin
2
B = (cos C + 2 sin C)
2
= sin
2
C.
Expanding this and cancelling like terms, we determine
sin
2
B + sin Bcos B = sin
2
C + sin C cos C.
Now note that
2(sin
2
θ + sin θ cos θ) = 1 −cos 2θ + sin θ = 1 +

2 sin(2θ −π/4).
Thus we either have B = C or 2B−π/4+2C−π/4 = π, or B+C =
3π/4. In particular, two of the angles must be equal, say A and B,
and we either have A = B = C, so the triangle is equilaterla, or
B + (π −2B) = 3π/4, in which case A = B = π/4 and the triangle
is isosceles right.
2. Let a, b be positive integers with a odd. Define the sequence ¦u
n
¦
as follows: u
0
= b, and for n ∈ N,
u
n+1
=
_
1
2
u
n
if u
n
is even
u
n
+a otherwise.
(a) Show that u
n
≤ a for some n ∈ N.
(b) Show that the sequence ¦u
n
¦ is periodic from some point on-
wards.
Solution:
(a) Suppose u
n
> a. If u
n
is even, u
n+1
= u
n
/2 < u
n
; if u
n
is odd,
u
n+2
= (u
n
+ a)/2 < u
n
. Hence for each term greater than
22
a, there is a smaller subsequent term. These form a decreas-
ing subsequence which must eventually terminate, which only
occurs once u
n
≤ a.
(b) If u
m
≤ a, then for all n ≥ m, either u
n
≤ a, or u
n
is even
and u
n
≤ 2a, by induction on n. In particular, u
n
≤ 2a for all
m ≥ n, and so some value of u
n
eventually repeats, leading to
a periodic sequence.
choose
3. (a) Find the minimum value of x
x
for x a positive real number.
(b) If x and y are positive real numbers, show that x
y
+y
x
> 1.
Solution:
(a) Since x
x
= e
x log x
and e
x
is an increasing function of x , it
suffices to determine the minimum of xlog x. This is easily done
by setting its derivative 1+log x to zero, yielding x = 1/e. The
second derivative 1/x is positive for x > 0, so the function is
everywhere convex, and the unique extremum is indeed a global
minimum. Hence x
x
has minimum value e
−1/e
.
(b) If x ≥ 1, then x
y
≥ 1 for y > 0, so we may assume 0 < x, y < 1.
Without loss of generality, assume x ≤ y; now note that the
function f(x) = x
y
+y
x
has derivative f

(x) = x
y
log x +y
x−1
.
Since y
x
≥ x
x
≥ x
y
for x ≤ y and 1/x ≥ −log x, we see that
f

(x) > 0 for 0 ≤ x ≤ y and so the minimum of f occurs with
x = 0, in which case f(x) = 1; since x > 0, we have strict
inequality.
4. Let n be a positive integer. We say a positive integer k satisfies the
condition C
n
if there exist 2k distinct positive integers a
1
, b
1
, . . .,
a
k
, b
k
such that the sums a
1
+b
1
, . . . , a
k
+b
k
are all distinct and less
than n.
(a) Show that if k satisfies the condition C
n
, then k ≤ (2n −3)/5.
(b) Show that 5 satisfies the condition C
14
.
(c) Suppose (2n−3)/5 is an integer. Show that (2n−3)/5 satisfies
the condition C
n
.
23
(a) If k satisfies the condition C
n
, then
1 + 2 + + 2k ≤ (n −1) + (n −2) + + (n −k),
or k(2k + 1) ≤ k(2n − k − 1)/2, or 4k + 2 ≤ 2n − k − 1, or
5k ≤ 2n −3.
(b) We obtain the sums 9, 10, 11, 12, 13 as follows:
9 = 7 + 2, 10 = 6 + 4, 11 = 10 + 1, 12 = 9 + 3, 13 = 8 + 5.
(c) Imitating the above example, we pair 2k with 1, 2k −1 with 3,
and so on, up to 2k −(k −1)/2 with k (where k = (2n −3)/5),
giving the sums 2k + 1, . . . , n −1. Now we pair 2k −(k + 1)/2
with 2, 2k −(k +3)/2 with 4, and so on, up to k +1 with k −1,
giving the sums from (5k + 1)/2 to 2k.
24
1.6 Germany
1. Starting at (1, 1), a stone is moved in the coordinate plane according
to the following rules:
(i) From any point (a, b), the stone can move to (2a, b) or (a, 2b).
(ii) From any point (a, b), the stone can move to (a −b, b) if a > b,
or to (a, b −a) if a < b.
For which positive integers x, y can the stone be moved to (x, y)?
Solution: It is necessary and sufficient that gcd(x, y) = 2
s
for some
nonnegative integer s. We show necessity by noting that gcd(p, q) =
gcd(p, q − p), so an odd common divisor can never be introduced,
and noting that initially gcd(1, 1) = 1.
As for sufficiency, suppose gcd(x, y) = 2
s
. Of those pairs (p, q) from
which (x, y) can be reached, choose one to minimize p+q. Neither p
nor q can be even, else one of (p/2, q) or (p, q/2) is an admissible pair.
If p > q, then (p, q) is reachable from ((p +q)/2, q), a contradiction;
similarly p < q is impossible. Hence p = q, but gcd(p, q) is a power
of 2 and neither p nor q is even. We conclude p = q = 1, and so
(x, y) is indeed reachable.
2. Suppose S is a union of finitely many disjoint subintervals of [0, 1]
such that no two points in S have distance 1/10. Show that the total
length of the intervals comprising S is at most 1/2.
Solution: Cut the given segment into 5 segments of length 1/5.
Let AB be one of these segments and M its midpoint. Translate
each point of AM by the vector

MB. No colored point can have a
colored image, so all of the colored intervals of AB can be placed in
MB without overlap, and their total length therefore does not exceed
1/10. Applying this reasoning to each of the 5 segments gives the
desired result.
3. Each diagonal of a convex pentagon is parallel to one side of the
pentagon. Prove that the ratio of the length of a diagonal to that of
its corresponding side is the same for all five diagonals, and compute
this ratio.
25
Solution: Let CE and BD intersect in S, and choose T on AB
with CT | BD. Clearly S lies inside the pentagon and T lies outside.
Put d = AB, c = AE, and s = SC/AB; then the similar triangles
SCD and ABE give SC = sd and SD = sc. The parallelograms
ABSE, ATCE, BTCS give SE = d, TC = c, BT = sd. From the
similar triangles ESD and ATC we get SD/TC = SE/TA, and so
sc/c = d/(d+sd). We conclude s is the positive root of s(1+s) = 1,
which is s = (

5 −1)/2.
Finally, we determine EC = d(1+s) and the ratio EC/AB = 1+s =
(1 +

5)/2, and the value is clearly the same for the other pairs.
4. Prove that every integer k > 1 has a multiple less than k
4
whose
decimal expansion has at most four distinct digits.
Solution: Let n be the integer such that 2
n−1
≤ k < 2
n
. For
n ≤ 6 the result is immediate, so assume n > 6.
Let S be the set of nonnegative integers less than 10
n
whose decimal
digits are all 0s or 1s. Since [S[ = 2
n
> k, we can find two elements
a < b of S which are congruent modulo k, and b − a only has the
digits 8, 9, 0, 1 in its decimal representation. On the other hand,
b −a ≤ b ≤ 1 + 10 + + 10
n−1
< 10
n
< 16
n−1
≤ k
4
,
hence b −a is the desired multiple.
26
1.7 Greece
1. In a triangle ABC the points D, E, Z, H, Θ are the midpoints of the
segments BC, AD, BD, ED, EZ, respectively. If I is the point of
intersection of BE and AC, and K is the point of intersection of
HΘ and AC, prove that
(a) AK = 3CK;
(b) HK = 3HΘ;
(c) BE = 3EI;
(d) the area of ABC is 32 times that of EΘH.
Solution: Introduce oblique coordinates with B = (0, 0), C =
(24, 0), A = (0, 24). We then compute D = (12, 0), E = (6, 12),
Z = (6, 0), H = (9, 6), Θ = (6, 6), I = (8, 16), K = (18, 6), from
which the relations AK = 3CK, HK = 3HΘ, BE = 3EI are
evident. As for EΘH, it has base ΘH whose length is half that of
ZD, and ZD is 1/4 as long as BC, so ΘH = 1/8BC. The altitude
from E to ΘH is 1/4 the altitude from A to BC, so we conclude the
area of EΘH is 1/32 times that of ABC.
2. Let ABC be an acute triangle, AD, BE, CZ its altitudes and H its
orthocenter. Let AI, AΘ be the internal and external bisectors of
angle A. Let M, N be the midpoints of BC, AH, respectively. Prove
that
(a) MN is perpendicular to EZ;
(b) if MN cuts the segments AI, AΘ at the points K, L, then KL =
AH.
Solution:
(a) The circle with diameter AH passes through Z and E, and
so ZN = ZE. On the other hand, MN is a diameter of the
nine-point circle of ABC, and Z and E lie on that circle, so
ZN = ZE implies that ZE ⊥ MN.
(b) As determined in (a), MN is the perpendicular bisector of seg-
ment ZE. The angle bisector AI of ∠EAZ passes through
27
the midpoint of the minor arc EZ, which clearly lies on MN;
therefore this midpoint is K. By similar reasoning, L is the
midpoint of the major arc EZ. Thus KL is also a diameter of
circle EAZ, so KL = MN.
3. Given 81 natural numbers whose prime divisors belong to the set
¦2, 3, 5¦, prove there exist 4 numbers whose product is the fourth
power of an integer.
Solution: It suffices to take 25 such numbers. To each number,
associate the triple (x
2
, x
3
, x
5
) recording the parity of the exponents
of 2, 3, and 5 in its prime factorization. Two numbers have the same
triple if and only if their product is a perfect square. As long as there
are 9 numbers left, we can select two whose product is a square; in
so doing, we obtain 9 such pairs. Repeating the process with the
square roots of the products of the pairs, we obtain four numbers
whose product is a fourth power. (See IMO 1985/4.)
4. Determine the number of functions f : ¦1, 2, . . . , n¦ → ¦1995, 1996¦
which satsify the condition that f(1) +f(2) + +f(1996) is odd.
Solution: We can send 1, 2, . . . , n −1 anywhere, and the value of
f(n) will then be uniquely determined. Hence there are 2
n−1
such
functions.
28
1.8 Iran
1. Prove the following inequality for positive real numbers x, y, z:
(xy +yz +zx)
_
1
(x +y)
2
+
1
(y +z)
2
+
1
(z +x)
2
_

9
4
.
Solution: After clearing denominators, the given inequality be-
comes

sym
4x
5
y −x
4
y
2
−3x
3
y
3
+x
4
yz −2x
3
y
2
z +x
2
y
2
z
2
≥ 0,
where the symmetric sum runs over all six permutations of x, y, z. (In
particular, this means the coefficient of x
3
y
3
in the final expression
is -6, and that of x
2
y
2
z
2
is 6.)
Recall Schur’s inequality:
x(x −y)(x −z) +y(y −z)(y −x) +z(z −x)(z −y) ≥ 0.
Multiplying by 2xyz and collecting symmetric terms, we get

sym
x
4
yz −2x
3
y
2
z +x
2
y
2
z
2
≥ 0.
On the other hand,

sym
(x
5
y −x
4
y
2
) + 3(x
5
y −x
3
y
3
) ≥ 0
by two applications of AM-GM; combining the last two displayed
inequalities gives the desired result.
2. Prove that for every pair m, k of natural numbers, m has a unique
representation in the form
m =
_
a
k
k
_
+
_
a
k−1
k −1
_
+ +
_
a
t
t
_
,
where
a
k
> a
k−1
> > a
t
≥ t ≥ 1.
29
Solution: We first show uniqueness. Suppose m is represented
by two sequences a
k
, . . . , a
t
and b
k
, . . . , b
t
. Find the first position in
which they differ; without loss of generality, assume this position is
k and that a
k
> b
k
. Then
m ≤
_
b
k
k
_
+
_
b
k
−1
k −1
_
+ +
_
b
k
−k + 1
1
_
<
_
b
k
+ 1
k
_
≤ m,
a contradiction.
To show existence, apply the greedy algorithm: find the largest a
k
such that
_
a
k
k
_
≤ m, and apply the same algorithm with m and k
replaced by m−
_
a
k
k
_
and k − 1. We need only make sure that the
sequence obtained is indeed decreasing, but this follows because by
assumption, m <
_
a
k
+1
m
_
, and so m−
_
a
k
k
_
<
_
a
k
k−1
_
.
3. In triangle ABC, we have ∠A = 60

. Let O, H, I, I

be the circum-
center, orthocenter, incenter, and excenter opposite A, respectively,
of ABC. Let B

and C

be points on the segments AC and AB such
that AB = AB

and AC = AC

. Prove that:
(a) The eight points B, C, H, O, I, I

, B

, C

are concyclic.
(b) If OH intersects AB and AC at E and F, respectively, the
perimeter of triangle AEF equals AB +AC.
(c) OH = [AB −AC[.
Solution:
(a) The circle through B, C, H consists of all points P such that
∠BPC = ∠BHC = 180

− ∠CAB = 120

(as directed an-
gles mod 180

). Thus O lies on this circle, as does I because
∠BIC = 90

+
1
2
∠A = 30

. Note that the circle with diam-
eter II

passes through B and C (since internal and external
angle bisectors are perpendicular). Hence I

also lies on the cir-
cle, whose center lies on the internal angle bisector of A. This
means reflecting B and C across this bisector gives two more
points B

, C

on the circle.
(b) Let R be the circumradius of triangle ABC. The reflection
across AI maps B and C to B

and C

, and preserves I. By
30
(a), the circle BCHO is then preserved, and hence H maps to
O. In other words, AHO is isosceles with AH = AO = R and
∠HAO = [β −γ[, writing β for ∠B and γ for ∠C.
In particular, the altitude of AHO has length Rcos β − γ and
so the equilateral triangle AEF has perimeter

3Rcos(β−γ) = 2Rsin(β+γ) cos(β−γ) = 2R(sin β+sin γ) = AB+AC.
(c) We use a, b, c to denote the lengths of BC, CA, AB. By a stan-
dard computation using vectors, we find OH
2
= 9R
2
−(a
2
+b
2
+
c
2
), but since a = 2Rsin 60

, we have OH
2
= 2a
2
−b
2
−c
2
. By
the Law of Cosines, a
2
= b
2
+c
2
−bc, so OH
2
= b
2
+c
2
−2bc =
(b −c)
2
, and so OH = [b −c[.
4. Let ABC be a scalene triangle. The medians from A, B, C meet
the circumcircle again at L, M, N, respectively. If LM = LN, prove
that 2BC
2
= AB
2
+AC
2
.
Solution: Let G be the centroid of triangle ABC; then trian-
gles NLG and AGL are similar, so LN/AC = LG/CG. Similarly
LM/AB = GL/BG. Thus if LM = LN, then AB/AC = BG/CG.
Using Stewart’s theorem to compute the lengths of the medians, we
have
AB
2
AC
2
=
2AB
2
+ 2BC
2
−AC
2
2AC
2
+ 2BC
2
−AB
2
which reduces to (AC
2
−AB
2
)(2BC
2
−AB
2
−AC
2
) = 0. Since the
triangle is scalene, we conclude 2BC
2
= AB
2
+AC
2
.
5. The top and bottom edges of a chessboard are identified together,
as are the left and right edges, yielding a torus. Find the maximum
number of knights which can be placed so that no two attack each
other.
Solution: The maximum is 32 knights; if the chessboard is al-
ternately colored black and white in the usual fashion, an optimal
arrangement puts a knight on each black square. To see that this
cannot be improved, suppose that k knights are placed. Each knight
attacks 8 squares, but no unoccupied square can be attacked by more
than 8 knights. Therefore 8k ≤ 8(64 −k), whence k ≤ 32.
31
6. Find all nonnegative real numbers a
1
≤ a
2
≤ . . . ≤ a
n
satisfying
n

i=1
a
i
= 96,
n

i=1
a
2
i
= 144,
n

i=1
a
3
i
= 216.
Solution: Adding or removing zeroes has no effect, so we may
assume the a
i
are positive. By Cauchy-Schwarz,
(a
1
+ +a
n
)(a
3
1
+ +a
3
n
) ≥ (a
2
1
+ +a
2
n
).
Since 96 216 = 144
2
, we have equality, so the sequences a
1
, , a
n
and a
3
1
, , a
3
n
are proportional, so that a
1
= = a
n
= a. Now
na = 96, na
2
= 144 so that a = 3/2, n = 32.
7. Points D and E lie on sides AB and AC of triangle ABC such
that DE[[BC. Let P be an arbitrary point inside ABC. The lines
PB and PC intersect DE at F and G, respectively. If O
1
is the
circumcenter of PDG and O
2
is the circumcenter of PFE, show
that AP ⊥ O
1
O
2
.
Solution: (Note: angles are directed modulo π.) Let M be the
second intersection of AB with the circumcircle of DPG, and let
N be the second intersection of N with the circumcircle of EPF.
Now ∠DMP = ∠DGP by cyclicity, and ∠DGP = ∠BCP by par-
allelism, so ∠DMP = ∠BCP and the points B, C, P, M are con-
cyclic. Analogously, B, C, P, N are concyclic. Therefore the points
B, C, M, N are concyclic, so ∠DMN = ∠BCN. Again by parallels,
∠BCN = ∠DEN, so the points D, E, M, N are concyclic.
We now apply the radical axis theorem to the circumcircles of DGP,
EPF, and DEMN to conclude that DM ∩ EN = A lies on the
radical axis of the circles PDG and PEF, so AP ⊥ O
1
O
2
as desired.
8. Let P(x) be a polynomial with rational coefficients such that
P
−1
(Q) ⊆ Q. Show that P is linear.
Solution: By a suitable variable substitution and constant factor,
we may assume P(x) is monic and has integer coefficients; let P(0) =
c
0
. If p is a sufficiently large prime, the equation P(x) = p + c
0
has a single real root, which by assumption is rational and which we
32
may also assume is positive (since P has positive leading coefficient).
However, by the rational root theorem, the only rational roots of
P(x) − p − c
0
can be ±1 and ±p. Since the root must be positive
and cannot be 1 for large p, we have P(p) −p −c
0
= 0 for infinitely
many p, so P(x) = x +c
0
is linear.
9. For S = ¦x
1
, x
2
, . . . , x
n
¦ a set of n real numbers, all at least 1, we
count the number of reals of the form
n

i=1

i
x
i
,
i
∈ ¦0, 1¦
lying in an open interval I of length 1. Find the maximum value of
this count over all I and S.
Solution: The maximum is
_
n
n/2
_
, achieved by taking x
i
= 1 +
i/(n + 1). To see that this cannot be improved, note that for any
permutation σ of ¦1, . . . , n¦, at most one of the sets ¦σ(1), . . . , σ(i)¦
for i = 1, . . . , n has sum lying in I. Thus if T is the set of subsets
whose sum lies in I, we have

t∈T
t!(n −t)! ≤ n! ⇔

t∈T
_
n
t
_
−1
≤ 1.
In particular, we have [T[ ≤
_
n
n/2
_
.
33
1.9 Ireland
1. For each positive integer n, find the greatest common divisor of n!+1
and (n + 1)!.
Solution: If n+1 is composite, then each prime divisor of (n+1)!
is a prime less than n, which also divides n! and so does not divide
n! + 1. Hence f(n) = 1. If n + 1 is prime, the same argument
shows that f(n) is a power of n + 1, and in fact n + 1[n! + 1 by
Wilson’s theorem. However, (n + 1)
2
does not divide (n + 1)!, and
thus f(n) = n + 1.
2. For each positive integer n, let S(n) be the sum of the digits in the
decimal expansion of n. Prove that for all n,
S(2n) ≤ 2S(n) ≤ 10S(2n)
and show that there exists n such that S(n) = 1996S(3n).
Solution: It is clear that S(a + b) ≤ S(a) + S(b), with equality if
and only if there are no carries in the addition of a and b. Therefore
S(2n) ≤ 2S(n). Similarly S(2n) ≤ 5S(10n) = 5S(n). An example
with S(n) = 1996S(3n) is 133 35 (with 5968 threes).
3. Let f : [0, 1] →R be a function such that
(i) f(1) = 1,
(ii) f(x) ≥ 0 for all x ∈ [0, 1],
(iii) if x, y and x +y all lie in [0, 1], then f(x +y) ≥ f(x) +f(y).
Prove that f(x) ≤ 2x for all x ∈ K.
Solution: If y > x, then f(y) ≥ f(x) +f(y −x), so f is increasing.
We note that f(2
−k
) ≤ 2
−k
by induction on k (with base case k = 0),
as 2f(2
−k
) ≤ f(2
−(k−1)
). Thus for x > 0, let k be the positive integer
such that 2
−k
< x < 2
−(k−1)
; then f(x) ≤ f(2
−(k−1)
) ≤ 2
−(k−1)
<
2x. Since f(0) +f(1) ≤ f(1), we have f(0) = 0 and so f(x) ≤ 2x in
all cases.
34
4. Let F be the midpoint of side BC of triangle ABC. Construct
isosceles right triangles ABD and ACE externally on sides AB and
AC with the right angles at D and E, respectively. Show that DEF
is an isosceles right triangle.
Solution: Identifying A, B, C with numbers on the complex plane,
we have F = (B + C)/2, D = B + (A − B)r, E = A + (C − A)r,
where r = (1 + i)/2. Then E − F = A(1 − i)/2 − B/2 + Ci/2 and
D−F = A(1 +i)/2 −Bi/2 −C/2; in particular, D−F = i(E −F)
and so DEF is an isosceles right triangle.
5. Show, with proof, how to dissect a square into at most five pieces in
such a way that the pieces can be reassembled to form three squares
no two of which have the same area.
Solution: We dissect a 7 7 square into a 2 2 square A, a 3 3
square B, and three pieces C, D, E which form a 6 6 square, as
shown below.
C C C C C A A
C C C C C A A
C C C C C D D
C C C C C D D
C C C C B B B
C C C C B B B
E E E E B B B
6. Let F
n
denote the Fibonacci sequence, so that F
0
= F
1
= 1 and
F
n+2
= F
n+1
+F
n
for n ≥ 0. Prove that
(i) The statement “F
n+k
− F
n
is divisible by 10 for all positive
integers n” is true if k = 60 and false for any positive integer
k < 60;
(ii) The statement “F
n+t
− F
n
is divisible by 100 for all positive
integers n” is true if t = 300 and false for any positive integer
t < 300.
Solution: A direct computation shows that the Fibonacci sequence
has period 3 modulo 2 and 20 modulo 5 (compute terms until the
initial terms 0, 1 repeat, at which time the entire sequence repeats),
35
yielding (a). As for (b), one computes that the period mod 4 is 6.
The period mod 25 turns out to be 100, which is awfully many terms
to compute by hand, but knowing that the period must be a multiple
of 20 helps, and verifying the recurrence F
n+8
= tF
n+4
+F
n
, where t
is an integer congruent to 2 modulo 5, shows that the period divides
100; finally, an explicit computation shows that the period is not 20.
7. Prove that for all positive integers n,
2
1/2
4
1/4
(2
n
)
1/2
n
< 4.
Solution: It suffices to show


n=1
n/2
n
= 2:

n=1
n
2
n
=

n=1

k=n
1
2
k
=

n=1
1
2
n−1
= 2.
8. Let p be a prime number and a, n positive integers. Prove that if
2
p
+ 3
p
= a
n
,
then n = 1.
Solution: If p = 2, we have 2
2
+3
2
= 13 and n = 1. If p > 2, then
p is odd, so 5 divides 2
p
+3
p
and so 5 divides a. Now if n > 1, then
25 divides a
n
and 5 divides
2
p
+ 3
p
2 + 3
= 2
p−1
−2
p−2
3 + + 3
p−1
≡ p2
p−1
(mod 5),
a contradiction if p ,= 5. Finally, if p = 5, then 2
5
+ 3
5
= 753 is not
a perfect power, so n = 1 again.
9. Let ABC be an acute triangle and let D, E, F be the feet of the
altitudes from A, B, C, respectively. Let P, Q, R be the feet of the
perpendiculars from A, B, C to EF, FD, DE, respectively. Prove
that the lines AP, BQ, CR are concurrent.
Solution: It is a routine exercise to show that each of AP, BQ, CR
passes through the circumcenter of ABC, so they all concur.
36
10. On a 59 rectangular chessboard, the following game is played. Ini-
tially, a number of discs are randomly placed on some of the squares,
no square containing more than one disc. A turn consists of moving
all of the discs subject to the following rules:
(i) each disc may be moved one square up, down, left, or right;
(ii) if a disc moves up or down on one turn, it must move left or
right on the next turn, and vice versa;
(iii) at the end of each turn, no square can contain two or more
discs.
The game stops if it becomes impossible to complete another turn.
Prove that if initially 33 discs are placed on the board, the game
must eventually stop. Prove also that it is possible to place 32 discs
on the board so that the game can continue forever.
Solution: If 32 discs are placed in an 8 4 rectangle, they can all
move up, left, down, right, up, etc. To show that a game with 33
discs must stop, label the board as shown:
1 2 1 2 1 2 1 2 1
2 3 2 3 2 3 2 3 2
1 2 1 2 1 2 1 2 1
2 3 2 3 2 3 2 3 2
1 2 1 2 1 2 1 2 1
Note that a disc on 1 goes to a 3 after two moves, a disc on 2 goes to
a 1 or 3 immediately, and a disc on 3 goes to a 2 immediately. Thus
if k discs start on 1 and k > 8, the game stops because there are not
enough 3s to accommodate these discs. Thus we assume k ≤ 8, in
which case there are at most 16 squares on 1 or 3 at the start, and
so at least 17 on 2. Of these 17, at most 8 can move onto 3 after
one move, so at least 9 end up on 1; these discs will not all be able
to move onto 3 two moves later, so the game will stop.
37
1.10 Italy
1. Among triangles with one side of a given length and with given
area S, determine all of those for which the product of the lengths
of the three altitudes is maximum.
Solution: Let A, B be two fixed points with AB = , and vary
C along a line parallel to AB at distance 2S/. The product of the
altitudes of ABC is 8S
3
divided by the lengths of the three sides, so
it suffices to minimize AC BC, or equivalently to maximize sin C.
Let D be the intersection of the perpendicular bisector of AB with
the line through C. If ∠D is not acute, the optimal triangles are
clearly those with a right angle at C.
Suppose ∠D is acute and C ,= D, and assume C is on the same
side of the perpendicular bisector of AB as B: we show ∠D ≥ ∠C,
and so the optimal triangle is ABD. The triangles DAC and DBC
have equal base and height, so equal altitude. However, AC > BC
since ∠CAB > ∠CBA, so sin ∠DAC < sin ∠DBC, and since the
former is acute, we have ∠DAC < ∠DBC. Adding ∠CAB+∠ABD
to both sides, we get ∠DAB + ∠DBA < ∠CAB + ∠CBA, and so
∠ADB > ∠ACB, as claimed.
2. Prove that the equation a
2
+b
2
= c
2
+3 has infinitely many integer
solutions ¦a, b, c¦.
Solution: Let a be any odd number, let b = (a
2
− 5)/2 and
c = (a
2
−1)/2. Then
c
2
−b
2
= (c +b)(c −b) = a
2
−3.
3. Let A and B be opposite vertices of a cube of edge length 1. Find
the radius of the sphere with center interior to the cube, tangent to
the three faces meeting at A and tangent to the three edges meeting
at B.
Solution: Introduce coordinates so that A = (0, 0, 0), B = (1, 1, 1)
and the edges are parallel to the coordinate axes. If r is the radius
of the sphere, then (r, r, r) is its center, and (r, 1, 1) is the point of
tangency of one of the edges at B. Therefore r
2
= 2(1 −r)
2
, giving
38
r
2
− 4r + 2 = 0 and so r = 2 −

2 (the other root puts the center
outside of the cube).
4. Given an alphabet with three letters a, b, c, find the number of words
of n letters which contain an even number of a’s.
Solution: If there are 2k occurences of a, these can occur in
_
n
2k
_
places, and the remaining positions can be filled in 2
n−2k
ways. So
the answer is

k
_
n
2k
_
2
n−2k
. To compute this, note that
(1 +x)
n
+ (1 −x)
n
= 2

k
_
n
2k
_
x
2k
,
so the answer is
1
2
2
n
[(1 + 1/2)
n
+ (1 −1/2)
n
] =
1
2
(3
n
+ 1).
5. Let C be a circle and A a point exterior to C. For each point P on
C, construct the square APQR, where the vertices A, P, Q, R occur
in counterclockwise order. Find the locus of Q as P runs over C.
Solution: Take the circle to be the unit circle in the complex
plane. Then (Q−P)i = A −P, so Q = A + (1 −i)P. We conclude
the locus of Q is the circle centered at A whose radius is the norm
of 1 −i, namely

2.
6. Whas is the minimum number of squares that one needs to draw on
a white sheet in order to obtain a complete grid with n squares on
a side?
Solution: It suffices to draw 2n−1 squares: in terms of coordinates,
we draw a square with opposite corners (0, 0) and (i, i) for 1 ≤ i ≤ n
and a square with opposite corners (i, i) and (n, n) for 1 ≤ i ≤ n−1.
To show this many squares are necessary, note that the segments
from (0, i) to (1, i) and from (n−1, i) to (n, i) for 0 < i < n all must
lie on different squares, so surely 2n−2 squares are needed. If it were
possible to obtain the complete grid with 2n−2 squares, each of these
segments would lie on one of the squares, and the same would hold
39
for the segments from (i, 0) to (i, 1) and from (i, n − 1) to (i, n) for
0 < i < n. Each of the aforementioned horizontal segments shares a
square with only two of the vertical segments, so the only possible
arrangements are the one we gave above without the square with
corners (0, 0) and (n, n), and the 90

rotation of this arrangement,
both of which are insufficient. Hence 2n −1 squares are necessary.
40
1.11 Japan
1. Consider a triangulation of the plane, i.e. a covering of the plane
with triangles such that no two triangles have overlapping interiors,
and no vertex lies in the interior of an edge of another triangle.
Let A, B, C be three vertices of the triangulation and let θ be the
smallest angle of the triangle ´ABC. Suppose no vertices of the
triangulation lie inside the circumcircle of ´ABC. Prove there is a
triangle σ in the triangulation such that σ ∩ ´ABC ,= ∅ and every
angle of σ is greater than θ.
Solution: We may assume θ = ∠A. The case where ABC belongs
to the triangulation is easy, so assume this is not the case. If BC
is an edge of the triangulation, one of the two triangles bounded
by BC has common interior points with ABC, and this triangle
satisfies the desired condition. Otherwise, there is a triangle BEF
in the triangulation whose interior intersects BC. Since EF crosses
BC at an interior point, ∠BEF < ∠BAF < ∠BAC, so triangle
BEF satisfies the desired condition.
2. Let m and n be positive integers with gcd(m, n) = 1. Compute
gcd(5
m
+ 7
m
, 5
n
+ 7
n
).
Solution: Let s
n
= 5
n
+ 7
n
. If n ≥ 2m, note that
s
n
= s
m
s
n−m
−5
m
7
m
s
n−2m
,
so gcd(s
m
, s
n
) = gcd(s
m
, s
n−2m
).. Similarly, if m < n < 2m, we
have gcd(s
m
, s
n
) = gcd(s
m
, s
2m−n
). Thus by the Euclidean al-
gorithm, we conclude that if m + n is even, then gcd(s
m
, s
n
) =
gcd(s
1
, s
1
) = 12, and if m+n is odd, then gcd(s
m
, s
n
) = gcd(s
0
, s
1
) =
2.
3. Let x > 1 be a real number which is not an integer. For n =
1, 2, 3, . . ., let a
n
= ¸x
n+1
| − x¸x
n
|. Prove that the sequence ¦a
n
¦
is not periodic.
Solution: Assume, on the contrary, that there exists p > 0 such
that a
p+n
= a
n
for every n. Since ¸x
n
| → ∞ as n → ∞, we have
41
¸x
n+p
| − ¸x
n
| > 0 for some n; then setting a
n+p
= a
n
and solving
for x, we get
x =
¸x
n+p+1
| −¸x
n+1
|
¸x
n+p
| −¸x
n
|
and so x is rational.
Put y = x
p
and
b
m
=
p−1

k=0
x
p−k−1
a
mp+k
= ¸x
mp+p
| −x
p
¸x
m
r| = ¸y
m+1
| −y¸y
m
|.
Since a
p+n
= a
p
, we have b
m+1
= b
m
, and y is also a rational
number which is not an integer. Now put c
m
= ¸y
m+1
− y
m
|; then
c
m+1
= yc
m
= y
m
c
1
. This means c
m
cannot be an integer for large
m, a contradiction.
4. Let θ be the maximum of the six angles between the edges of a
regular tetrahedron and a given plane. Find the minimum value of
θ over all positions of the plane.
Solution: Assume the edges of the tetrahedron Γ = ABCD have
length 1. If we place the tetrahedron so that AC and BC are parallel
to the horizontal plane H, we obtain θ = 45

, and we shall show this
is the minimum angle.
Let a, b, c, d be the projections of A, B, C, D to the horizontal plane
H, and
1
, . . . ,
6
the projections of the edges L
1
, . . . , L
6
. Since the
angle between L
i
and H has cosine , it suffices to consider the
shortest
i
.
If a, b, c, d form a convex quadrilateral with largest angle at a, then
one of ab or ad is at most 1/

2 since bd ≤ 1. Otherwise, it is easily
shown that one of the
i
originating from the vertex inside the convex
hull has length at most 1/

3.
5. Let q be a real number with (1 +

5)/2 < q < 2. For a number n
with binary representation
n = 2
k
+a
k−1
2
k−1
+ +a
1
2 +a
0
with a
i
∈ ¦0, 1¦, we define p
n
as follows:
p
n
= q
k
+a
k−1
q
k−1
+ +a
1
q +a
0
.
42
Prove that there exist infinitely many positive integers k for which
there does not exist a positive integer l such that p
2k
< p
l
< p
2k+1
.
Solution: Define the sequence a
n
as follows:
a
2m
=
m

k=0
2
2k
, a
2m+1
=
m

k=0
2
2k+1
.
We will show that k = a
n
satisfies the given condition by induction
on n. The cases n = 0, 1 follow by noting
1 < q < q + 1 < q
2
< q
2
+ 1 < q
2
+q < q
2
+q + 1
and p
l
≥ q
p
≥ q
3
> q
2
+q = p
6
for l ≥ 8.
Now suppose n ≥ 2, assume the induction hypothesis, and suppose
by way of contradiction that there exists l such that p
2a
n
< p
l
<
p
2a
n
+1
. The argument falls into six cases, which we summarize in a
table. The first column gives the conditions of the case, the second
gives a lower bound for p
2a
n
, the third is always equal to p
l
, and the
fourth gives an upper bound for p
2a
n
+1
; from these a contradiction
to the induction hypothesis will become evident.
n even, l = 2r + 1 qp
2a
n−1
+ 1 qp
r
+ 1 qp
2a
n−1
+1
+ 1
n even, l = 4r q
2
p
2a
n−2
q
2
p
r
q
2
p
2a
n−1
+1
n even, l = 4r + 2 q
2
p
2a
n−2
+q q
2
p
r
+q q
2
p
2a
n−2
+1
+q
n odd, l = 2r qp
2a
n−1
qp
r
qp
2a
n−1
+1
n even, l = 4r + 1 q
2
p
2a
n−2
+ 1 q
2
p
r
+ 1 q
2
p
2a
n−2
+1
+ 1
n even, l = 4r + 3 q
2
p
2a
n−2
+q + 1 q
2
p
r
+q + 1 q
2
p
2a
n−2
+1
+q + 1.
43
1.12 Poland
1. Find all pairs (n, r), with n a positive integer and r a real number,
for which the polynomial (x + 1)
n
−r is divisible by 2x
2
+ 2x + 1.
Solution: Let t = (−1 +i)/2 be one of the roots of 2x
2
+ 2x + 1;
then (x + 1)
n
− r is divisible by 2x
2
+ 2x + 1 for r real if and only
if (t + 1)
n
= r. Since the argument of t + 1 is π/4, this is possible
if and only if n = 4m, in which case (t + 1)
4
m = (−4)
m
. Hence
(4m, (−4)
m
) are the only solutions.
2. Let ABC be a triangle and P a point inside it such that ∠PBC =
∠PCA < ∠PAB. The line PB cuts the circumcircle of ABC at B
and E, and the line CE cuts the circumcircle of APE at E and F.
Show that the ratio of the area of the quadrilateral APEF to the
area of the triangle ABP does not depend on the choice of P.
Solution: Note that ∠AEP = ∠AEB = ∠ACB = ∠CBP, so the
lines AE and CP are parallel. Thus [APE] = [ACE] and [APEF] =
[ACF]. Now note that ∠AFC = π−∠EPA = ∠APB and ∠ACF =
∠ACE = ∠ABE. Therefore triangles ACF and ABP are similar
and [ACF]/[AB] = (AC/AB)
2
independent of the choice of P.
3. Let n ≥ 2 be a fixed natural number and let a
1
, a
2
, . . . , a
n
be posi-
tive numbers whose sum is 1. Prove that for any positive numbers
x
1
, x
2
, . . . , x
n
whose sum is 1,
2

i<j
x
i
x
j

n −2
n −1
+
n

i=1
a
i
x
2
i
1 −a
i
,
and determine when equality holds.
Solution: The left side is 1 −

i
x
2
i
, so we can rewrite the desired
result as
1
n −1

n

i=1
x
2
i
1 −a
i
.
By Cauchy-Schwarz,
_
n

i=1
x
2
i
1 −a
i
__
n

i=1
(1 −a
i
)
_

_
n

i=1
x
i
_
2
= 1.
44
Since

i
(1 −a
i
) = n −1, we have the desired result.
4. Let ABCD be a tetrahedron with ∠BAC = ∠ACD and ∠ABD =
∠BDC. Show that edges AB and CD have the same length.
Solution: Assume AB ,= CD. Draw the plane through AC bi-
secting the dihedral angle formed by the planes ABC and ACD,
then draw a line in that plane perpendicular to AC through the
midpoint O of AC. Now let B

and D

be the images of B and D,
respectively, under the half-turn around the line ; by assumption,
B

,= D and D

,= B. Since ∠BAC = ∠ACD, B

lies on CD and
D

lies on AB. Now note that the quadrilateral BB

D

D has to-
tal angular sum 2π. However, a nonplanar quadrilateral always has
total angular sum less than 2π (divide it into two triangles, which
each have angular sum π, and apply the spherical triangle inequality
∠ABC +∠CBD > ∠ABD), so the lines AB and CD are coplanar,
contradicting the assumption that ABCD is a tetrahedron.
5. For a natural number k, let p(k) denote the smallest prime number
which does not divide k. If p(k) > 2, define q(k) to be the product
of all primes less than p(k), otherwise let q(k) = 1. Consider the
sequence
x
0
= 1, x
n+1
=
x
n
p(x
n
)
q(x
n
)
n = 0, 1, 2, . . . .
Determine all natural numbers n such that x
n
= 111111.
Solution: An easy induction shows that, if p
0
, p
1
, . . . are the primes
in increasing order and n has base 2 representation c
0
+2c
1
+4c
2
+ ,
then x
n
= p
c
0
0
p
c
1
1
. In particular, 111111 = 3 7 11 13 37 =
p
1
p
3
p
4
p
5
p
10
, so x
n
= 111111 if and only if n = 2
10
+2
5
+2
4
+2
3
+2
1
=
1082.
6. From the set of all permutations f of ¦1, 2, . . . , n¦ that satisfy the
condition
f(i) ≥ i −1 i = 1, 2, . . . , n,
one is chosen uniformly at random. Let p
n
be the probability that
the chosen permutation f satisfies
f(i) ≤ i + 1 i = 1, 2, . . . , n.
45
Find all natural numbers n such that p
n
> 1/3.
Solution: We have p
n
> 1/3 for n ≤ 6. Let c
n
be the number
of permutations of the first type. For such a permutation, either
f(1) = 1, or f(2) = 1. In the first case, ignoring 1 gives a valid per-
mutation of ¦2, . . . , n¦; in the latter case, we get a valid permutation
of ¦2, . . . , n¦ by identifying 1 and 2 together. Hence c
n
= 2c
n−1
and
so c
n
= 2
n−1
since c
1
= 1.
Let d
n
be the number of permutations of the second type. For such
a permutation, either f(n) = n or f(n) = n − 1. In the first case,
ignoring n gives a valid permutation of ¦1, . . . , n −1¦. In the latter
case, we must have f(n − 1) = n, so ignoring n and n − 1 gives a
valid permutation of ¦1, . . . , n − 2¦. Thus d
n
= d
n−1
+ d
n−2
, and
the initial conditions d
1
= 1, d
2
= 2 yield d
n
= F
n+1
, the n + 1-st
Fibonacci number.
It is easily shown (using the formula for F
n
or by induction) that
c
n
/d
n
< 1/3 for n ≥ 7. Hence the desired n are 1, . . . , 6.
46
1.13 Romania
1. Let n > 2 be an integer and f : R
2
→R be a function such that for
any regular n-gon A
1
A
2
. . . A
n
,
f(A
1
) +f(A
2
) + +f(A
n
) = 0.
Prove that f is the zero function.
Solution: We identify R
2
with the complex plane and let ζ =
e
2πi/n
. Then the condition is that for any z ∈ C and any positive
real t,
n

j=1
f(z +tζ
j
) = 0.
In particular, for each of k = 1, . . . , n, we have
n

j=1
f(z −ζ
k

j
) = 0.
Summing over k, we have
n

m=1
n

k=1
f(z −(1 −ζ
m

k
) = 0.
For m = n the inner sum is nf(z); for other m, the inner sum again
runs over a regular polygon, hence is 0. Thus f(z) = 0 for all z ∈ C.
2. Find the greatest positive integer n for which there exist n nonneg-
ative integers x
1
, x
2
, . . . , x
n
, not all zero, such that for any sequence

1
,
2
, . . . ,
n
of elements of ¦−1, 0, 1¦, not all zero, n
3
does not divide

1
x
1
+
2
x
2
+. . . +
n
x
n
.
Solution: The statement holds for n = 9 by choosing 1, 2, 2
2
, . . . , 2
8
,
since in that case
[
1
+ +
9
2
8
[ ≤ 1 + 2 + + 2
8
< 9
3
.
However, if n = 10, then 2
10
> 10
3
, so by the pigeonhole principle,
there are two subsets A and B of ¦x
1
, . . . , x
10
¦ whose sums are con-
gruent modulo 10
3
. Let
i
= 1 if x
i
occurs in A but not in B, −1 if
x
i
occurs in B but not in A, and 0 otherwise; then

i
x
i
is divisible
by n
3
.
47
3. Let x, y be real numbers. Show that if the set
¦cos(nπx) + cos(nπy)[n ∈ N¦
is finite, then x, y ∈ Q.
Solution: Let a
n
= cos nπx and b
n
= sin nπx. Then
(a
n
+b
n
)
2
+ (a
n
−b
n
)
2
= 2(a
2
n
+b
2
n
) = 2 + (a
2n
+b
2n
).
If ¦a
n
+b
n
¦ is finite, it follows that ¦a
n
−b
n
¦ is also a finite set, and
hence that ¦a
n
¦ is finite, since
a
n
=
1
2
[(a
n
+b
n
) + (a
n
−b
n
)],
and similarly ¦b
n
¦ is finite. In particular, a
m
= a
n
for some m < n,
and so (n −m)πx is an integral multiple of π. We conclude x and y
are both rational.
4. Let ABCD be a cyclic quadrilateral and let M be the set of incenters
and excenters of the triangles BCD, CDA, DAB, ABC (for a total
of 16 points). Show that there exist two sets of parallel lines K and
L, each consisting of four lines, such that any line of K∪L contains
exactly four points of M.
Solution: Let T be the midpoint of the arc AB of the circumcircle
of ABC, I the incenter of ABC, and I
B
, I
C
the excenters of ABC
opposite B and C, respectively. We first show TI = TA = TB =
TI
C
. Note that
∠TAI = ∠TAB+∠BAI = (∠C+∠A)/2 = ∠ICA+∠IAC = ∠TAI,
so TI = TA, and similarly TI = TB. Moreover, in the right triangle
AI
C
I, ∠AI
C
T = π/2 − ∠AIT = π/2 − ∠TAI = ∠TAI
C
, so TA =
TI
C
also.
We next show that the midpoint U of I
B
I
C
is also the midpoint of
the arc BAC. Note that the line I
B
I
C
bisects the exterior angles of
ABC at A, so the line I
B
I
C
passes through the midpoint V of the
arc BAC. Considering the right triangles I
B
BI
C
and I
B
CI
C
, we
48
note BU = (I
B
I
C
)/2 = CU, so U lies on the perpendicular bisector
of BC, which suffices to show U = V . (Note that I
B
and I
C
lie on
the same side of BC as A, so the same is true of U.)
Let E, F, G, H be the midpoints of the arcs AB, BC, CD, DA. Let
I
A
, I
B
, I
C
, I
D
be the incenters of the triangles BCD, CDA, DAB,
ABC, respectively. Let A
B
, A
C
, A
D
be the excenters of BCD oppo-
site B, C, D, respectively, and so on.
By the first observation, I
C
I
D
C
D
D
C
is a rectangle with center E,
and the diagonals, which contain the points C and D, have length
2EA = 2EB. Similarly, we obtain rectangles centered at F, G, H.
Now consider the excenters of the form X
Y
, where X and Y are
opposite vertices in ABCD. We shall prove the claim with
K = ¦B
C
C
B
, I
C
I
B
, I
D
I
A
, A
D
D
A
¦, L = ¦A
B
B
A
, I
A
I
B
, I
C
I
D
, C
D
D
C
¦.
Consider the rectangle B
C
I
D
B
A
P, where P is an unknown point.
From the second observation above, the midpoint K of diagonal
B
A
B
C
is the midpoint of arc CDA, so it lies on the internal bisector
BK of triangle ABC. Again by the first observation, we conclude
M = D
A
, so D
A
lies on the lines B
C
C
B
and B
A
A
B
, and so on,
proving the claim.
5. Given a ∈ R and f
1
, f
2
, . . . , f
n
: R →R additive functions such that
f
1
(x)f
2
(x) f
n
(x) = ax
n
for all x ∈ R. Prove that there exists
b ∈ R and i ∈ ¦1, 2, . . . , n¦ such that f
i
(x) = bx for all x ∈ R.
Solution: Let c
i
= f
i
(1). Then for any integer x,
n

i=1
f
i
(1 +mx) =
n

i=1
[c
i
+mf
i
(x)] = a(1 +mx)
n
.
First suppose a ,= 0, in which case c
i
,= 0 for all i. Then we have an
equality of polynomials in T:
n

i=1
[c
i
+f
i
(x)T] = a(1 +xT)
n
,
and so by unique factorization, c
i
+f
i
(x)T = b
i
(1+xT) for some real
number b
i
. Equating coefficients gives b
i
= c
i
and f
i
(x) = b
i
x = c
i
x
for all x.
49
Now suppose a = 0; we shall show that f
i
is identically zero for
some i. Assume on the contrary that there exist a
i
for all i such
that f
i
(a
i
) ,= 0. Let
x
m
= a
1
+ma
2
+ +m
n−1
a
m
for any integer m. Then
0 =
n

i=1
f
i
(x
m
) =
n

i=1
[f
i
(a
1
) +f
i
(a
2
)m+ +f
i
(a
n
)m
n−1
].
Hence for some i, the polynomial f
i
(a
1
)+f
i
(a
2
)m+ +f
i
(a
n
)m
n−1
is identically zero, contradicting the fact that f
i
(a
i
) ,= 0. Thus for
some i, f
i
(x) = 0 for all x, proving the claim with b = 0.
6. The sequence ¦a
n
¦
n≥2
is defined as follows: if p
1
, p
2
, . . . , p
k
are the
distinct prime divisors of n, then a
n
= p
−1
1
+p
−1
2
+. . . +p
−1
k
. Show
that for any positive integer N ≥ 2,
N

n=2
a
2
a
3
a
n
< 1.
Solution: It is easily seen that
n

k=2
a
k
=
n

k=2
_
1
p
1
+
1
p
2
+ +
1
p
k
_
=

p≤n
1
p
_
n
p
_
.
On the other hand, we have the inequalities

p≤n
1
p
_
n
p
_

p≤n
n
p
2
< n
_
1
4
+

k=1
1
(2k + 1)
2
_
<
n
4
_

k=1
1
k(k + 1)
_
=
n
2
.
50
Thus

n
k=2
a
k
< n/2 for all n ≥ 2. Now using the AM-GM inequal-
ity,
a
2
a
3
a
n
<
_
a
2
+a
3
+ +a
n
n −1
_
n−1
<
1
2
n−1
_
1 +
1
n −1
_
n−1
<
e
2
n−1
<
3
2
n−1
.
Adding these inequalities,

n=2
a
2
a
n
<
1
2
+
1
6
+
1
12
+
1
60
+ 3
_
1
2
5
+
1
2
6
+
_
=
46
60
+
3
2
5
_
1 +
1
2
+
_
=
46
60
+
6
32
< 1.
7. Let n ≥ 3 be an integer and x
1
, x
2
, . . . , x
n−1
nonnegative integers
such that
x
1
+x
2
+. . . +x
n−1
= n
x
1
+ 2x
2
+. . . + (n −1)x
n−1
= 2n −2.
Find the minimum of the sum
F(x
1
, . . . , x
n−1
) =
n−1

k=1
kx
k
(2n −k).
Solution: The desired sum can be written as 2n(2n−2)−

n−1
k=1
k
2
x
k
.
Now note
n−1

k=1
k
2
x
k
=
n−1

k=1
x
k
+(k−1)(k+1)x
k
≤ n+n

k=1
n −1(k−1)x
k
= n+n(2n−2−n) = n
2
−n.
Hence the quantity in question is at most 2n(2n − 2) − (n
2
− n) =
3n
2
−3n, with equality for x
1
= n−1, x
2
= = x
n−2
= 0, x
n−1
= 1.
8. Let n, r be positive integers and A a set of lattice points in the plane,
such that any open disc of radius r contains a point of A. Show that
for any coloring of the points of A using n colors, there exist four
points of the same color which are the vertices of a rectangle.
51
Solution: Consider a square of side length L = 4nr
2
with sides par-
allel to the coordinate axes. One can draw (2nr)
2
= 4n
2
r
2
disjoint
disks of radius r inside the square, hence such a square contains at
least 4n
2
r
2
points of A. The lattice points in A lie on L−1 = 4nr
2
−1
vertical lines; by the pigeonhole principle, some vertical line contais
n + 1 points of A. Again by the pigeonhole principle, two of these
points are colored in the same color.
Now consider an infinite horizontal strip made of ribbons of side
length L; some two of them have two points in the same position in
the same color, and these four points form the vertices of a rectangle.
9. Find all prime numbers p, q for which the congruence
α
3pq
≡ α(mod 3pq)
holds for all integers α.
Solution: Without loss of generality assume p ≤ q; the unique so-
lution will be (11, 17), for which one may check the congruence using
the Chinese Remainder Theorem. We first have 2
3pq
≡ 2 (mod 3),
which means p and q are odd. In addition, if α is a primitive root
mod p, then α
3pq−1
≡ 1 (mod p) implies that p−1 divides 3pq −1 as
well as 3pq −1−3q(p−1) = 3q −1, and conversely that q −1 divides
3p −1. If p = q, we now deduce p = q = 3, but 4
27
≡ 1 (mod 27), so
this fails. Hence p < q.
Since p and q are odd primes, q ≥ p + 2, so (3p − 1)/(q − 1) < 3.
Since this quantity is an integer, and it is clearly greater than 1, it
must be 2. That is, 2q = 3p + 1. On the other hand, p − 1 divides
3q − 1 = (9p + 1)/2 as well as (9p + 1) − (9p − 9) = 10. Hence
p = 11, q = 17.
10. Let n ≥ 3 be an integer and p ≥ 2n − 3 a prime. Let M be a
set of n points in the plane, no three collinear, and let f : M →
¦0, 1, . . . , p −1¦ be a function such that:
(i) only one point of M maps to 0, and
(ii) if A, B, C are distinct points in M and k is the circumcircle of
52
the triangle ABC, then

P∈M∩k
f(P) ≡ 0 (mod p).
Show that all of the points of M lie on a circle.
Solution: Let X be the point mapping to 0. We first show that if
every circle through X and two points of M contains a third point
of M, then all of the points of M lie on a circle. Indeed, consider
an inversion with center at X. Then the image of M − ¦X¦ has
the property that the line through any two of its points contains a
third point; it is a standard result that this means the points are
collinear. (Otherwise, find a triangle ABC minimizing the length of
the altitude AH; there is another point N on BC, but then either
ABN or ACN has a shorter altitude than AH, contradiction.)
Now suppose the points of M do not lie on a circle. By the above,
there exists a circle passing through M and only two points A, B of
M. Let f(A) = i, so that by the hypothesis, f(B) = p −i. Let a be
the number of circles passing through X, A and at least one other
point of M, let b be the number of circles passing through X, B
and at least one other point of M, and let S be the sum of f(P)
over all P in M. By adding the relations obtained from the circles
through X and A, we get S + (a − 1)i ≡ 0 (mod p), and similarly,
S +(b−1)(p−i) ≡ 0 (mod p). Therefore a+b−2 ≡ 0 (mod p); since
a+b ≤ 2n+4 < p, we have a+b = 2 and so a = b = 1, contradicting
the assumption that the points do not all lie on a circle.
11. Let x
1
, x
2
, . . . , x
n
, x
n+1
be positive reals such that x
1
+x
2
+ +x
n
=
x
n+1
. Prove that
n

i=1
_
x
i
(x
n+i
−x
i
) ≤
¸
¸
¸
_
n

i=1
x
n+1
(x
n+1
−x
i
).
Solution: First note that
n

i=1
x
n+1
(x
n+1
−x
i
) = nx
2
n+1
−x
n+1
n

i=1
x
i
= (n −1)x
n+1
.
53
Hence the given inequality may be rewritten as
n

i=1
¸
1
n −1
x
i
x
n+1
_
1 −
x
i
x
n+1
_
≤ 1
On the other hand, by the arithmetic-geometry mean inequality, the
left side is at most
n

i=1
x
i
2x
n+i
+
1 −x
i
/x
n+1
2(n −1)
=
1
2
+
(n −1)
2(n −1)
= 1.
12. Let x, y, z be real numbers. Prove that the following conditions are
equivalent.
(i) x, y, z > 0 and
1
x
+
1
y
+
1
z
≤ 1.
(ii) For every quadrilateral with sides a, b, c, d, a
2
x+b
2
y+c
2
z > d
2
.
Solution: To show (i) implies (ii), note that
a
2
x +b
2
y +c
2
z ≥ (a
2
x +b
2
y +c
2
z)
_
1
x
+
1
y
+
1
x
_
≥ (a +b +c)
2
> d
2
,
using Cauchy-Schwarz after the first inequality.
To show (i) implies (ii), first note that if x ≤ 0, we may take a
quadrilateral of sides a = n, b = 1, c = 1, d = n and get y + z >
n
2
(1 − x), a contradiction for large n. Thus x > 0 and similarly
y > 0, z > 0. Now use a quadrilateral of sides 1/x, 1/y, 1/z and
1/x + 1/y + 1/z −1/n, where n is large. We then get
x
x
2
+
y
y
2
+
z
z
2
>
_
1
x
+
1
y
+
1
z

1
n
_
2
.
Since this holds for all n, we may take the limit as n →∞ and get
1
x
+
1
y
+
1
z

_
1
x
+
1
y
+
1
z

1
n
_
2
,
and hence 1/x + 1/y + 1/z ≤ 1.
54
13. Let n be a positive integer and D a set of n concentric circles
in the plane. Prove that if the function f : D → D satisfies
d(f(A), f(B)) ≥ d(A, B) for all A, B ∈ D, then d(f(A), f(B)) =
d(A, B) for every A, B ∈ D.
Solution: Label the circles D
1
, . . . , D
n
in increasing order of ra-
dius, and let r
i
denote the radius of D
i
. Clearly the maximum of
d(A, B) occurs when A and B are antipodal points on D. Let ABCD
be the vertices of a square inscribed in D
n
; then f(A) and f(C) are
antipodal, as are f(B) and f(D). In addition, each of the minor arcs
f(A)f(B) and f(B)f(C) must be at least a quarter arc, thus f(B)
bisects one of the semicircles bounded by f(A) and f(C), and f(D)
bisects the other. Now if P is any point on the minor arc AB, then
the arcs f(P)f(A) and f(P)f(B), which are at least as long as the
arcs PA and PB, add up to the quarter arc f(P)f(B). We conclude
f is isometric on D
n
.
Since f is clearly injective and is now bijective on D
n
, f maps D
1

. . . ∪ D
n−1
into itself. Thus we may repeat the argument to show
that f is isometric on each D
i
. To conclude, it suffices to show that
distances between adjacent circles, say D
1
and D
2
, are preserved.
This is easy; choose a square ABCD on D
1
and let A

, B

, C

, D

be
the points on D
2
closest to A, B, C, D, respectively. Then A

B

C

D

also form a square, and the distance from A to C

is the maximum
between any point on D
1
and any point on D
3
. Hence the eight
points maintain their relative position under f, which suffices to
prove isometry.
14. Let n ≥ 3 be an integer and X ⊆ ¦1, 2, . . . , n
3
¦ a set of 3n
2
elements.
Prove that one can find nine distinct numbers a
1
, . . . , a
9
in X such
that the system
a
1
x +a
2
y +a
3
z = 0
a
4
x +a
5
y +a
6
z = 0
a
7
x +a
8
y +a
9
z = 0
has a solution (x
0
, y
0
, z
0
) in nonzero integers.
Solution: Label the elements of X in increasing order x
1
< <
x
3n
2, and put
X
1
= ¦x
1
, . . . , x
n
2¦, X
2
= ¦x
n
2
+1
, . . . , x
2n
2¦, X
3
= ¦x
2n
2
+1
, . . . , x
3n
2¦.
55
Define the function f : X
1
X
2
X
3
→X X as follows:
f(a, b, c) = (b −a, c −b).
The domain of f contains n
6
elements. The range of f, on the other
hand, is contained in the subset of X X of pairs whose sum is at
most n
3
, a set of cardinality
n
3
−1

k=1
k =
n
3
(n
3
−1)
2
<
n
6
2
.
By the pigeonhole principle, some three triples (a
i
, b
i
, c
i
) (i = 1, 2, 3)
map to the same pair, in which case x = b
1
− c
1
, y = c
1
− a
1
, z =
a
1
−b
1
is a solution in nonzero integers. Note that a
i
cannot equal b
j
since X
1
and X
2
and so on, and that a
1
= a
2
implies that the triples
(a
1
, b
1
, c
1
) and (a
2
, b
2
, c
2
) are identical, a contradiction. Hence the
nine numbers chosen are indeed distinct.
56
1.14 Russia
1. Which are there more of among the natural numbers from 1 to
1000000, inclusive: numbers that can be represented as the sum
of a perfect square and a (positive) perfect cube, or numbers that
cannot be?
Solution: There are more numbers not of this form. Let n =
k
2
+m
3
, where k, m, n ∈ N and n ≤ 1000000. Clearly k ≤ 1000 and
m ≤ 100. Therefore there cannot be more numbers in the desired
form than the 100000 pairs (k, m).
2. The centers O
1
, O
2
, O
3
of three nonintersecting circles of equal radius
are positioned at the vertices of a triangle. From each of the points
O
1
, O
2
, O
3
one draws tangents to the other two given circles. It is
known that the intersection of these tangents form a convex hexagon.
The sides of the hexagon are alternately colored red and blue. Prove
that the sum of the lengths of the red sides equals the sum of the
lengths of the blue sides.
Solution: Let A, B, C, D, E, F be the vertices of the hexagon in
order, with A on the tangents to O
1
, C on the tangents to O
2
, and
E on the tangents to O
3
. Since the given circles have equal radius,
X
1
O
2
= O
1
Y
2
, Y
1
O
3
= O
2
Z
2
, Z
1
O
1
= O
3
X
2
or
X
1
A+AB +BO
2
= O
1
B +BC +CY
2
,
Y
1
C +CD +DO
3
= O
2
D +DE +EZ
2
,
Z
1
E +EF +FO
1
= O
3
F +FA+AX
2
.
Adding these equations and noting that
X
1
A = AX
2
, Y
1
C = CY
2
, Z
1
E = EZ
2
,
(as these segments are tangents to a circle from a single point) and
BO
2
= O
1
B, DO
3
= O
2
D, FO
1
= O
3
F
57
(since the circles have equal radii), we get
AB +CD +EF = BC +DE +FA,
as desired.
Note: The analogous statement is also true in the case where the
hexagon has reflex angles at B, D, F. In both cases, we also have
the equality AB CD EF = BC DE FA, or equivalently, the lines
AD, BE, CF concur. Moreover, the latter statement remains true
even if the assumption of equal radii is removed, and this fact leads
to a proof of Brianchon’s Theorem.
3. Let x, y, p, n, k be natural numbers such that
x
n
+y
n
= p
k
.
Prove that if n > 1 is odd, and p is an odd prime, then n is a power
of p.
Solution: Let m = gcd(x, y). Then x = mx
1
, y = my
1
and by
virtue of the given equation, m
n
(x
n
1
+ y
n
1
) = p
k
, and so m = p
α
for
some nonnegative integer α. It follows that
x
n
1
+y
n
1
= p
k−n
α
. (1)
Since n is odd,
x
n
1
+y
n
1
x
1
+y
1
= x
n−1
1
−x
n−2
1
y
1
+x
n−3
1
y
2
1
− −x
1
y
n−2
1
+y
n−1
1
.
Let A denote the right side of the equation. By the condition p > 2,
it follows that at least one of x
1
, y
1
is greater than 1, so since n > 1,
A > 1.
From (1) it follows that A(x
1
+ y
1
) = p
k−n
α
, so since x
1
+ y
1
> 1,
and A > 1, both of these numbers are divisible by p; moreover,
x
1
+y
1
= p
β
for some natural number β. Thus
A = x
n−1
1
−x
n−2
1
(p
β
−x
1
) + −x
1
(p
β
−x
1
)
n−2
+ (p
β
−x
1
)
n−1
= nx
n−1
1
+Bp.
58
Since A is divisible by p and x
1
is relatively prime to p, it follows
that n is divisible by p.
Let n = pq. Then x
pq
+y
pq
= p
k
or (x
p
)
q
+(y
p
)
q
= p
k
. If q > 1, then
by the same argument, p divides q. If q = 1, then n = p. Repeating
this argument, we deduce that n = p

for some natural number .
4. In the Duma there are 1600 delegates, who have formed 16000 com-
mittees of 80 persons each. Prove that one can find two committees
having no fewer than four common members.
First Solution: Suppose any two committees have at most three
common members. Have two deputies count the possible ways to
choose a chairman for each of three sessions of the Duma. The first
deputy assumes that any deputy can chair any session, and so gets
1600
3
possible choices. The second deputy makes the additional re-
striction that all of the chairmen belong to a single committee. Each
of the 16000 committees yields 80
3
choices, but this is an overcount;
each of the 16000(16000 −1)/2 pairs of committees give at most 3
3
overlapping choices. Since the first deputy counts no fewer possibil-
ities than the second, we have the inequality
1600
3
≥ 16000 80
3

16000 15999
2
3
3
.
However,
16000 80
3

16000 15999
2
3
3
> 16000 80
3

16000 15999
2
4
2
2
=
16000 4
3
4
+ 2
13
10
6
−2
12
10
6
> 2
12
10
6
= 1600
3
.
We have a contradiction.
Second Solution: Suppose we have N committees such that no
two have more than three common members. For each deputy we
write down all of the unordered pairs of committees she belongs to.
If a person deputy to K committees, she gives rise to K(K − 1)/2
pairs.
59
Let K
1
, . . . , K
1600
be the number of committees that deputies 1, . . . , 1600
belong to (under some labeling of the deputies). The total number
of pairs written down is
K
1
(K
1
−1)
2
+. . . +
K
1600
(K
1600
−1)
2
=
K
2
1
+. . . +K
2
1600
2

K
1
+. . . +K
1600
2

1
2
_
(K
1
+. . . +K
1600
)
2
1600
−(K
1
+. . . +K
1600
)
_
=
1
2
_
(80N)
2
1600
−80N
_
=
1
2
N(4N −80)
since K
1
+. . . +K
1600
= 80N.
Since no two committees have more than three common members,
the total number of pairs written cannot exceed 3N(N−1)/2. Hence
N(4N − 80)/2 ≤ 3N(N − 1)/2, i.e. N ≤ 77. In particular, if N =
16000, this cannot be the case.
5. Show that in the arithmetic progression with first term 1 and ratio
729, there are infinitely many powers of 10.
Solution: We will show that for all natural numbers n, 10
81n
−1
is divisible by 729. In fact, 10
81n
−1 = (10
81
)
n
−1
n
= (10
81
−1) A,
and
10
81
−1 = 9 . . . 9
. ¸¸ .
81
= 9 . . . 9
. ¸¸ .
9
10 . . . 01
. ¸¸ .
8
10 . . . 01
. ¸¸ .
8
. . . 10 . . . 01
. ¸¸ .
8
= 9 1 . . . 1
. ¸¸ .
9
10 . . . 01
. ¸¸ .
8
10 . . . 01
. ¸¸ .
8
. . . 10 . . . 01
. ¸¸ .
8
.
The second and third factors are composed of 9 units, so the sum of
their digits is divisible by 9, that is, each is a multiple of 9. Hence
10
81
−1 is divisible by 9
3
= 729, as is 10
81n
−1 for any n.
6. In the isosceles triangle ABC (AC = BC) point O is the circumcen-
ter, I the incenter, and D lies on BC so that lines OD and BI are
perpendicular. Prove that ID and AC are parallel.
60
First Solution: If the given triangle is equilateral (i.e. O = I) the
statement is obvious. Otherwise, suppose O lies between I and C.
Draw the altitude CE and note that
∠EIB = 90


1
2
∠ABC and ∠ODB = 90


1
2
∠ABC,
so ∠OIB + ∠ODB = 180

, that is, the points B, I, O, D lie on a
circle. Thus ∠IDB = ∠IOB (both angles are inscribed in arc IB),
but ∠IOB =
1
2
∠AOB = ∠ACB. Therefore ∠IDB = ∠ACB, and
so ID[[AC. The argument is similar in the cases where I lies between
O and C.
Second Solution: Extend the angle bisector BI to meet the cir-
cumcircle at E. Next extend the line ED to meet the circumcircle at
F. Let G and K be the intersections of ED with AF and the altitude
CH, respectively. The line OD contains the diameter perpendicular
to EB, and so DE = DB, i.e. the triangle EDB is isosceles and
∠DEB = ∠DBE. But then ∠DEB = ∠ABE, hence EF[[AB and
EF ⊥ CI. By inscribed angles,
∠CEF = ∠IEF = ∠CFE = ∠IFE,
so ECFI is a rhombus. Thus CK = KI, and (by the symmetry
of G and D across CH) GK = KD. This means GKDI is also a
rhombus and CG[[DI.
7. Two piles of coins lie on a table. It is known that the sum of the
weights of the coins in the two piles are equal, and for any natural
number k, not exceeding the number of coins in either pile, the sum
of the weights of the k heaviest coins in the first pile is not more
than that of the second pile. Show that for any natural number x,
if each coin (in either pile) of weight not less than x is replaced by a
coin of weight x, the first pile will not be lighter than the second.
Solution: Let the first pile have n coins of weights x
1
≥ x
2

≥ x
n
, and let the second pile have m coins of weights y
1

y
2
≥ ≥ y
m
, where x
1
≥ ≥ x
s
≥ x ≥ x
s+1
≥ ≥ x
n
and y
1
≥ ≥ y
t
≥ x ≥ y
t+1
≥ ≥ y
m
. (If there are no
61
coins of weight greater than x, the result is clear.) We need to
show that xs + x
s+1
+ + x
n
≥ xt + y
t+1
+ + y
m
. Since
x
1
+ +x
n
= y
1
+. . . +y
m
= A, this inequality can be equivalently
written
xs + (A−x
1
− −x
m
) ≥ xt + (A−y
1
−. . . −y
t
),
which in turn can be rewritten
x
1
+. . . +x
s
+x(t −s) ≤ y
1
+. . . +y
t
,
which is what we will prove.
If t ≥ s, then
x
1
+. . . +x
s
+x(t −s) = (x
1
+. . . +x
s
) + (x + +x)
. ¸¸ .
t−s
≤ (y
1
+. . . +y
s
) + (y
s+1
+. . . +y
t
),
since x
1
+ . . . + x
s
≤ y
1
+ . . . + y
s
(from the given condition) and
y
s+1
≥ . . . ≥ y
t
≥ x.
If t < s, then x
1
+. . . +x
s
+x(t −s) ≤ y
1
+. . . +y
t
is equivalent to
x
1
+. . . +x
s
≤ y
1
+. . . +y
t
+ (x +. . . +x)
. ¸¸ .
t−s
.
The latter inequality follows from the fact that
x
1
+. . . +x
s
≤ y
1
+. . . +y
s
= (y
1
+. . . +y
t
) + (y
t+1
+. . . +y
s
)
and y
s
≤ . . . ≤ y
t+1
≤ x.
8. Can a 5 7 checkerboard be covered by L’s (figures formed from a
22 square by removing one of its four 11 corners), not crossing its
borders, in several layers so that each square of the board is covered
by the same number of L’s?
First Solution: No such covering exists. Suppose we are given
a covering of a 5 7 checkerboard with L’s, such that every cell is
covered by exactly k L’s. Number the rows 1, . . . , 5 and the columns
1, . . . , 7, and consider the 12 squares lying at the intersections of odd-
numbered rows with odd-numbered columns. Each of these cells is
62
coverd by k L’s, so at least 12k L’s must be used in total. But these
cover 3 12k > 35k cells in total, a contradiction.
Second Solution: Color the cells of the checkerboard alternately
black and white, so that the corners are all black. In each black
square we write the number −2, and in each white square 1. Note
that the sum of the numbers in the cells covered by each L is non-
negative, and consequently if we are given a covering of the board
in k layers, the sum over each L of the numbers covered by that
L is nonnegative. But if this number is S and s is the sum of the
numbers on the board, then
S = ks = k(−2 12 + 23 1) = −k < 0.
We have a contradiction.
Note: It is proved analogously that a covering of the desired form
does not exist if the checkerboard has dimensions 3 (2n + 1) or
5 5. The 2 3 board can be covered by one layer of two L’s, the
5 9 by one layer of 15 L’s, and the 2 2 by three layers using four
L’s. Combining these three coverings, it is not hard to show that all
remaining mn boards (m, n ≥ 2) can be covered.
9. Points E and F are given on side BC of convex quadrilateral ABCD
(with E closer than F to B). It is known that ∠BAE = ∠CDF and
∠EAF = ∠FDE. Prove that ∠FAC = ∠EDB.
Solution: By the equality of angles EAF and FDE, the quadri-
lateral AEFD is cyclic. Therefore ∠AEF +∠FDA = 180

. By the
equality of angles BAE and CDF we have
∠ADC +∠ABC = ∠FDA+∠CDF +∠AEF −∠BAE = 180

.
Hence the quadrilateral ABCD is cyclic, so ∠BAC = ∠BDC. It
follows that ∠FAC = ∠EDB.
10. On a coordinate plane are placed four counters, each of whose centers
has integer coordinates. One can displace any counter by the vector
joining the centers of two of the other counters. Prove that any two
63
preselected counters can be made to coincide by a finite sequence of
moves.
Solution:
Lemma 1 If three counters lie on a line and have integer coordi-
nates, then we can make any two of them coincide.
Proof: Let A and B be the counters between which the smallest
of the three pairwise distances occurs, and let C be the other one.
By repeatedly moving C either by the vector AB or its reverse, we
can put C on the segment AB, thus decreasing the minimum of the
pairwise distances. Since the points have integer coordinates, repeat-
ing this process must eventually bring the minimum distance down
to zero. If the desired counters coincide, we are done; otherwise,
the one that coincides with the third counter can be moved to the
location of the other one. 2
Project the counters onto one of the axes. The projections behave
like counters, in that if a counter is displaced by a vector, its pro-
jection is displaced by the projection of the vector. As described
in the lemma, we can make the projections of our chosen counters
coincide, using one of the remaining counters as the third counter.
We can now make a third projection coincide with these by treating
our chosen counters as one. (That is, each time we displace one,
we displace the other by the same amount.) Now our two chosen
counters and one more lie on a line perpendicular to the axis, and
by the lemma we can make the desired counters coincide.
11. Find all natural numbers n, such that there exist relatively prime
integers x and y and an integer k > 1 satisfying the equation 3
n
=
x
k
+y
k
.
Solution: The only solution is n = 2.
Let 3
n
= x
k
+y
k
, where x, y are relatively prime integers with x > y,
k > 1, and n a natural number. Clearly neither x nor y is a multiple
of 3. Therefore, if k is even, x
k
and y
k
are congruent to 1 mod 3, so
their sum is congruent to 2 mod 3, and so is not a power of 3.
If k is odd and k > 1, then 3
n
= (x + y)(x
k−1
− . . . + y
k−1
). Thus
x + y = 3
m
for some m ≥ 1. We will show that n ≥ 2m. Since 3[k
64
(see the solution to Russia 3), by putting x
1
= x
k/3
and y
1
= y
k/3
we may assume k = 3. Then x
3
+y
3
= 3
m
and x+y = 3
n
. To prove
the inequality n ≥ 2m, it suffices to show that x
3
+y
3
≥ (x+y)
2
, or
x
2
−xy +y
2
≥ x +y. Since x ≥ y + 1, x
2
−x = x(x −1) ≥ xy, and
(x
2
−x +xy) + (y
2
−y) ≥ y(y −1) ≥ 0, and the inequality n ≥ 2m
follows.
From the identity (x +y)
3
−(x
3
+y
3
) = 3xy(x +y) it follows that
3
2m−1
−3
n−m−1
= xy.
But 2m− 1 ≥ 1, and n − m− 1 ≥ n − 2m ≥ 0. If strict inequality
occurs in either place in the last inequality, then 3
2m−1
−3
n−m−1
is
divisible by 3 while xy is not. Hence n −m−1 = n −2m = 0, and
so m = 1, n = 2 and 3
2
= 2
3
+ 1
3
.
Note: The inequality x
2
− xy + y
2
≥ x + y can alternatively be
shown by noting that
x
2
−xy +y
2
−x −y = (x −y)
2
+ (x −1)(y −1) −1 ≥ 0,
since (x −y)
2
≥ 1.
12. Show that if the integers a
1
, . . . , a
m
are nonzero and for each k =
0, 1, . . . , m (n < m−1),
a
1
+a
2
2
k
+a
3
3
k
+. . . +a
m
m
k
= 0,
then the sequence a
1
, . . . , a
m
contains at least n +1 pairs of consec-
utive terms having opposite signs.
Solution: We may assume a
m
> 0, since otherwise we may mul-
tiply each of the numbers by −1. Consider the sequence b
1
, . . . , b
m
,
where b
i
=

n
j=0
c
j
i
j
for an arbitrary sequence of real numbers
c
0
, . . . , c
n
. From the given condition
m

i=1
a
i
b
i
=
m

i=1
a
i
n

j=0
c
j
i
j
=
n

j=0
c
j
n

i=1
a
i
i
j
= 0.
Suppose now that the sequence a
1
, . . . , a
m
has k pairs of neighbors
that differ in sign, where k < n + 1, and let i
1
, . . . , i
k
be the indices
65
of the first members of these pairs. Let b
i
= f(i) = (i − x
1
)(i −
x
2
) . . . (i − x
k
), where x

= i

+ 1/2 (i = 1, 2, . . . , k). The function
f changes sign only at the points x
1
, . . . , x
k
, and so b
i
and b
i+1
have different signs if and only one of the x

falls between them,
which means i = i

. We deduce that the sequences a
1
, . . . , a
m
and
b
1
, . . . , b
m
have the same pairs of neighbors of opposite sign. Since
a
m
and b
m
are positive, we have that a
i
and b
i
have the same sign
for i = 1, . . . , m, and so

m
i=1
a
i
b
i
> 0, a contradiction.
13. At the vertices of a cube are written eight pairwise distinct natural
numbers, and on each of its edges is written the greatest common
divisor of the numbers at the endpoints of the edge. Can the sum of
the numbers written at the vertices be the same as the sum of the
numbers written at the edges?
Solution: This is not possible. Note that if a and b are natural
numbers with a > b, then gcd(a, b) ≤ b and gcd(a, b) ≤ a/2. It
follows that if a ,= b, then gcd(a, b) ≤ (a + b)/3. Adding 12 such
inequalities, corresponding to the 12 edges, we find that the desired
condition is only possible if gcd(a, b) = (a+b)/3 in each case. But in
this case the larger of a and b is twice the smaller; suppose a = 2b.
Consider the numbers c and d assigned to the vertices of the other
endpoints of the other two edges coming out of the vertex labeled a.
Each of these is either half of or twice a. If at least one is less than
a, it equals b; otherwise, both are equal. Either option contradicts
the assumption that the numbers are distinct.
14. Three sergeants and several solders serve in a platoon. The sergeants
take turns on duty. The commander has given the following orders:
(a) Each day, at least one task must be issued to a soldier.
(b) No soldier may have more than two task or receive more than
one tasks in a single day.
(c) The lists of soldiers receiving tasks for two different days must
not be the same.
(d) The first sergeant violating any of these orders will be jailed.
Can at least one of the sergeants, without conspiring with the others,
give tasks according to these rules and avoid being jailed?
66
Solution: The sergeant who goes third can avoid going to jail.
We call a sequence of duties by the first, second and third sergeants
in succession a round. To avoid going to jail, the third sergeant on
the last day of each round gives tasks to precisely those soldiers who
received one task over the previous two days. (Such soldiers exist by
the third condition.) With this strategy, at the end of each cycle each
soldier will have received either two tasks or none, and the number
of the latter will have decreased. It will end up, at some point, that
all of the soldiers have received two tasks, and the first sergeant will
go to jail.
15. A convex polygon is given, no two of whose sides are parallel. For
each side we consider the angle the side subtends at the vertex far-
thest from the side. Show that the sum of these angles equals 180

.
Solution: Denote by P
a
the vertex of the polygon farthest from
the line containing side a. Choose an arbitrary point O in the plane.
We call the two vertical angles, consisting of all lines through O
and parallel to the segment P
a
Q for some Q on side a, the angles
corresponding to side a.
We prove first that the angles corresponding to different sides do
not overlap. Let a ray with vertex O lie inside one of the angles
corresponding to a. The line parallel to this ray passing through
P
a
intersects side a at some interior point A. Draw through P
a
the
line b parallel to the line c containing side a. From the convexity
of the polygon and the definition of P
a
, it follows that the polygon
lies in the strip bounded by b and c. Moreover, since the polygon
has no parallel sides, P
a
is the only vertex of the polygon lying
on b. Therefore the segment P
a
A is strictly longer than any other
segment formed as the intersection of the polygon with a line parallel
to . If lay inside the angle corresponding to another side b, then
contrary to this conclusion, the longest such segment would be P
b
B
for some B, and hence this cannot occur. In other words, the angles
corresponding to a and b do not overlap.
We now prove that the angles we have constructed cover the entire
plane. Suppose this were not the case. Then there would exist some
angle with vertex O not covered by any of the angles constructed.
67
Choose within this angle a ray m, not parallel to any side or diagonal
of the polygon. Of all of the segments formed by intersecting the
polygon with a line parallel to m, choose the one of maximum length.
Clearly one of its vertices must be a vertex P of the polygon, while
the other lies on some side a. Draw the line c through P parallel to
the line b containing a. If one of the sides adjacent to P did not lie
inside the strip bounded by b and c, then we could have found a line
parallel to m intersecting the polygon in a segment longer than PA.
Consequently, our polygon lies within the strip bounded by b and c,
from which we deduce that P is the farthest vertex from the line b
containing side a. This means m lies in the angle corresponding to
a, contradicting our choice of m.
We thus conclude that our constructed angles cover the plane with-
out overlap, and hence the sum of their measures is 360

. To finish
the proof, simply note that the sum of the desired angles is half that
of the constructed angles.
16. Goodnik writes 10 numbers on the board, then Nogoodnik writes 10
more numbers, all 20 of the numbers being positive and distinct. Can
Goodnik choose his 10 numbers so that no matter what Nogoodnik
writes, he can form 10 quadratic trinomials of the form x
2
+px +q,
whose coefficients p and q run through all of the numbers written,
such that the real roots of these trinomials comprise exactly 11 val-
ues?
Solution: We will prove that Goodnik can choose the numbers
1/4, 1/2, 1, 2, 5, 5
2
, 5
4
, 5
8
, 5
16
, 5
32
.
Lemma 1 (a) If a > 4 and a > b, then the trinomial x
2
+ ax + b
has two distinct real roots.
(b) If a < 4 and b > 0, then at least one of the trinomials x
2
+ax+
b, x
2
+bx +a does not have real roots.
Proof: The first part is obvious, since the discriminant D = a
2

4b > 4a − 4b > 0. For the second part, note that if b ≤ a, then
b
2
−4a < 0, while if b > a, then a
2
−4b < 0. 2
68
Lemma 2 Suppose 0 < a < b < c < d and both of the trinomials
x
2
+ dx + a and x
2
+ cx + b have two real roots. Then all four of
these roots are distinct.
Proof: Suppose the contrary, that these trinomials have a common
root x
0
. Then x
2
0
+ dx
0
+ a = 0 = x
2
0
+ cx
0
+ b and consequently
x
0
= (b − a)/(d − c) > 0. But if x
0
> 0, then x
2
0
+ dx
0
+ a > 0, a
contradiction. 2
Suppose Goodnik has written the aforementioned numbers. Con-
sider all of Nogoodnik’s numbers which are greater than 4. If there
are an odd number of them, add to them any of Nogoodnik’s other
numbers. Call these numbers distinguished.
Add to the distinguished numbers members of the set ¦5, 5
2
, 5
4
, 5
8
,
5
16
, 5
32
¦ so that the total number of distinguished numbers is 12;
if the powers of 5 do not suffice, add any of Nogoodnik’s remaining
numbers to make a total of 12. From the unused powers of 5 make
trinomials x
2
+px +q with p < q, which have negative discriminant
and hence no real roots.
Let n
1
, . . . , n
12
be the 12 distinguished numbers in increasing order.
Now form from them the 6 trinomials x
2
+n
12
x+n
1
, . . . , x
2
+n
7
x+n
6
.
By the construction of the 12 distinguished numbers, at least 6 are
greater than 4. Hence by Lemma 1, each of these trinomials has two
distinct real roots. By Lemma 2, all of these roots are distinct. Hence
we have 12 distinct real roots of the “distinguished” trinomials.
Consider the trinomial x
2
+ 2x + 1, whose unique root is −1. If
this number occurs among the roots of the distinguished trinomials,
we declare the corresponding trinomial “bad”. If not, declare an
arbitrary distinguised trinomial to be bad. Remove the bad trino-
mial, and from its coefficients and the numbers 1/2 and 1/4 form
(by Lemma 1) two trinomials without real roots. Now the number
of distinct real roots of the trinomials constructed so far is 11.
There may be some of Nogoodnik’s numbers left; all except possibly
one must be less than 4 (one may equal 4). By Lemma 1, we form
trinomials from these with no real roots.
17. Can the number obtained by writing the numbers from 1 to n in
order (n > 1) be the same when read left-to-right and right-to-left?
69
Solution: This is not possible. Suppose N = 123 321 is an m-
digit symmetric number, formed by writing the numbers from 1 to
n in succession. Clearly m > 18. Also let A and B be the numbers
formed from the first and last k digits, respectively, of N, where
k = ¸m/2|. Then if 10
p
is the largest power of 10 dividing A, then
n < 2 10
p+1
, that is, n has at most p + 2 digits. Moreover, A and
B must contain the fragments
99 . . . 9
. ¸¸ .
p
1 00 . . . 0
. ¸¸ .
p
1 and 1 00 . . . 0
. ¸¸ .
p
1 99 . . . 9
. ¸¸ .
p
,
respectively, which is impossible.
18. Several hikers travel at fixed speeds along a straight road. It is known
that over some period of time, the sum of their pairwise distances
is monotonically decreasing. Show that there is a hiker, the sum of
whose distances to the other hikers is monotonically decreasing over
the same period.
Solution: Let n be the number of hikers, who we denote P
1
, . . . , P
n
.
Let V
ij
be the rate of approach between P
i
and P
j
(this is negative
if they are getting further apart). Note that V
ij
never increases, and
can only decrease once: it changes sign if P
i
and P
j
meet.
By the given condition, at the end of the period in question the sum
of the pairwise speeds must be positive:

1≤i<j≤n
V
ij
> 0.
Since V
ij
= V
ji
, we have (putting V
ii
= 0)
n

j=1
n

i=1
V
ij
= 2

1≤i<j≤n
V
ij
> 0.
Hence for some j,

n
i=1
V
ij
> 0. Since V
ij
cannot increase over time,
the sum of the distances from P
j
to the other hikers is decreasing
throughout the period.
70
19. Show that for n ≥ 5, a cross-section of a pyramid whose base is a
regular n-gon cannot be a regular (n + 1)-gon.
Solution: Suppose the regular (n + 1)-gon B
1
. . . B
n+1
is a cross-
section of the pyramid SA
1
. . . A
n
, whose base A
1
. . . A
n
is a regular
n-gon. We consider three cases: n = 5, n = 2k − 1 (k > 3) and
n = 2k (k > 2).
Since the pyramid has n + 1 faces, one side of the section must lie
on each face. Therefore without loss of generality, we may assume
that the points B
1
, . . . , B
n+1
lie on the edges of the pyramid.
(a) n = 5. Since in the regular hexagon B
1
. . . B
6
the lines B
2
B
3
,
B
5
B
6
and B
1
B
4
are parallel, while the planes A
2
SA
3
and A
1
SA
5
pass through B
2
B
3
and B
5
B
6
, respectively, the line ST (T =
A
1
A
5
∩A
2
A
3
) along which these planes meet is parallel to these
lines, i.e. ST[[B
1
B
4
. Draw the plane containing ST and B
1
B
4
.
This plane intersects the plane of the base of the pyramid in
the line B
1
A
4
, which must pass through the intersection of the
line ST with the plane of the base, that is, through T. Hence
the lines A
1
A
5
, A
4
B
1
and A
2
A
3
pass through a single point.
It is proved analogously that the lines A
1
A
2
, A
3
B
6
and A
4
A
5
also meet in a point. From this it follows that A
4
B
1
and A
3
B
6
are axes of symmetry of the regular pentagon A
1
. . . A
5
, which
means their intersection O is the center of this pentagon. Now
note that if Q is the center of the regular hexagon B
1
. . . B
6
,
then the planes SA
3
B
6
, SA
4
B
1
and SB
2
B
5
intersect in the
line SQ. Consequently, the lines A
3
B
6
, A
4
B
1
and A
2
A
5
must
intersect in a point, namely the intersection of line SQ with the
plane of the base. This means the diagonal A
2
A
5
of the regular
pentagon A
1
. . . A
5
must pass through its center O, which is
impossible.
(b) n = 2k−1 (k > 3). Analogously to the first case one shows that
since in the regular 2k-gon B
1
. . . B
2k
the lines B
1
B
2
, B
k+1
B
k+2
,
and B
k
B
k+3
are parallel, then the lines A
1
A
2
, A
k+1
A
k+2
and
A
k
A
k+3
must intersect in a point, which is impossible, since in
the regular (2k −1)-gon A
1
. . . A
2k−1
, A
k+1
A
k+2
[[A
k
A
k+3
, but
the lines A
1
A
2
and A
k+1
A
k+2
are not parallel.
(c) n = 2k (k > 2). Analogously to the preceding cases, the lines
71
A
1
A
2
, A
k+1
A
k+2
and A
k
A
k+3
are parallel, and hence the lines
B
1
B
2
, B
k+1
B
k+2
and B
k
B
k+3
must meet in a point, which is
impossible, since B
k+1
B
k+2
[[B
k
B
k+3
, while the lines B
1
B
2
and
B
k+1
B
k+2
are not parallel.
Note: For n = 3, 4, the statement of the problem is not true. For
examples, consider a regular tetrahedron having a square as a cross-
section, and a square pyramid whose lateral faces are equilateral
triangles, which has a regular pentagon as a cross-section.
Also, the presented solution may be more concisely expressed using
central projection, and the property that under central projection,
the images of lines passing through a single point (or parallel) are
lines passing through a single point (or parallel). It suffices to project
the cross-section of the pyramid onto the plane of the base with
center the vertex of the pyramid.
20. Do there exist three natural numbers greater than 1, such that the
square of each, minus one, is divisible by each of the others?
Solution: Such integers do not exist. Suppose a ≥ b ≥ c satisfy the
desired condition. Since a
2
−1 is divisible by b, the numbers a and
b are relatively prime. Hence the number c
2
− 1, which is divisible
by a and b, must be a multiple of ab, so in particular c
2
− 1 ≥ ab.
But a ≥ c and b ≥ c, so ab ≥ c
2
, a contradiction.
21. In isosceles triangle ABC (AB = BC) one draws the angle bisector
CD. The perpendicular to CD through the center of the circumcircle
of ABC intersects BC at E. The parallel to CD through E meets
AB at F. Show that BE = FD.
Solution: We use directed angles modulo π. Let O be the circum-
circle of ABC, and K the intersection of BO and CD. From the
equality of the acute angles BOE and DCA having perpendicular
sides, it follows that ∠BOE = ∠KCE (CD being an angle bisec-
tor), which means the points K, O, E, C lie on a circle. From this it
follows that ∠OKE = ∠OCE; but ∠OCE = ∠OBE, so OB = OC,
and hence ∠BKE = ∠KBE, or in other words BE = KE. More-
over, ∠BKE = ∠KBE = ∠KBA, and so KE[[AB. Consequently,
72
FEKD is a parallelogram and DF = KE. Therefore, DF = KE =
BE as desired.
22. Does there exist a finite set M of nonzero real numbers, such that
for any natural number n a polynomial of degree no less than n with
coefficients in M, all of whose roots are real and belong to M?
Solution: Such a set does not exist. Suppose on the contrary
that M = ¦a
1
, a
2
, . . . , a
n
¦ satisfies the desired property. Let m =
min¦[a
1
[, . . . , [a
n
[¦ and M = max¦[a
1
[, . . . , [a
n
[¦; the condition im-
plies M ≥ m > 0.
Consider the polynomial P(x) = b
k
x
k
+ + b
1
x + b
0
, all of whose
coefficients b
0
, . . . , b
k
and roots x
1
, . . . , x
k
lie in M. By Vieta’s the-
orem,

b
k−1
b
k
= x
1
+. . . +x
k
x
1
x
2
+x
1
x
3
+. . . +x
k−1
x
k
=
b
k−2
b
k
and so
x
2
1
+. . . +x
2
k
=
b
2
k−1
b
2
k
−2
b
k−2
b
k
.
It follows that
km
2
≤ x
2
1
+. . . +x
2
k
=
b
2
k−1
b
2
k
−2
b
k−2
b
k

M
2
m
2
+ 2
M
m
.
Hence k ≤ M
2
/m
4
+ 2M/m
3
, contradicting the fact that P may
have arbitrarily large degree.
23. The numbers from 1 to 100 are written in an unknown order. One
may ask about any 50 numbers and find out their relative order.
What is the fewest questions needed to find the order of all 100
numbers?
Solution: Five questions are needed. To determine the order
of a
1
, . . . , a
100
in the sequence, it is necessary that each of the pairs
(a
i
, a
i+1
) (i = 1, ..., 99) occur together in at least one question, or else
73
the two sequences a
1
, . . . , a
i
, a
i+1
, . . . , a
n
and a
1
, . . . , a
i+1
, a
i
, . . . , a
n
will give the same answers. We will show that for any two questions,
there can arise a situation where including all pairs of consecutive
numbers not already included requires at least three questions. Let
k
1
, . . . , k
50
be the sequence (in order) of numbers about which the
first question was asked, and k

1
, . . . , k

50
the corresponding sequence
for the second question. We will construct a sequence a
1
, . . . , a
100
for
which we cannot, given two more questions, uniquely determine the
order of the terms. We consider a situation where all of the numbers
named in the first two questions appear in the answers in the very
same places.
For our desired sequence we shall choose a set with
k
i
, k

i
∈ ¦a
2i−1
, a
2i
¦, i = 1, . . . , 50
and moreover, for each quadruple (a
4m−3
, a
4m−2
, a
4m−1
, a
4m
) (m =
1, . . . , 25), in the first two questions there is no comparison of a
consecutive pair from this quadruple. We will show that such a set
exists. Let X be the set of numbers not named in the first two
questions. For each of the four cases
1 : k
2m−1
= k

2m−1
, k
2m
= k

2m
2 : k
2m−1
= k

2m−1
, k
2m
,= k

2m
3 : k
2m−1
,= k

2m−1
, k
2m
,= k

2m
4 : k
2m−1
,= k

2m−1
, k
2m
= k

2m
,
we construct the quadruple (a
4m−3
, a
4m−2
, a
4m−1
, a
4m
) in the fol-
lowing manner:
1 : (k
2m−1
, ∗, ∗, k
2m
),
2 : (k
2m−1
, ∗, k
2m
, k

2m
)
3 : (k
2m−1
, k

2m−1
, k
2m
, k

2m
)
4 : (k
2m−1
, k

2m−1
, ∗, k
2m
),
where in place of a ∗ we may choose any number in X not occuring
in the previously constructed quadruples.
Hence we have shown that after any two questions, a situation is
possible where no pair (a
i
, a
i+1
) occurs for i not a multiple of 4.
74
Each of the 100 numbers occurs in at least one of the nonincluded
pairs, and so must appear in one of the remaining questions.
Suppose that in the given situation, all remaining pairs can be in-
cluded in two questions; then each of the 100 numbers must appear
in exactly one of these questions. Considering the quadruples of the
form (a
4i−3
, a
4i−2
, a
4i−1
, a
4i
) (i = 1, . . . , 25), we notice that if one
of the numbers in the quadruple appears in some question, then the
remaining three numbers must also appear in the question (or else
not all of the pairs of consecutive numbers in the quadruple would be
included). But then the number of numbers in one question would
have to be a multiple of 4, which 50 is not, giving a contradiction.
Hence 4 questions do not suffice in general. We now show that 5
questions suffice. We ask the first question about M
1
= ¦1, . . . , 50¦,
and the second about M
2
= ¦51, . . . , 100¦. The set M
3
consists of
the 25 leftmost numbers from each of M
1
and M
2
, while M
4
consists
of the 25 rightmost numbers from each of M
1
and M
2
. Clearly the
answer to the third question locates the first 25 numbers, and the
answer to the fourth question locates the last 25. The fifth question,
asked about the other 50 numbers, completely determines the order.
75
1.15 Spain
1. The natural numbers a and b are such that
a + 1
b
+
b + 1
a
is an integer. Show that the greatest common divisor of a and b is
not greater than

a +b.
Solution: Let d = gcd(a, b) and put a = md and b = nd. Then we
have (md +1)/nd +(nd +1)/md = (m
2
d +m+n
2
d +n)/mnd is an
integer, so that in particular, d divides m
2
d +m+n
2
d +n and also
m + n. However, this means d ≤ m + n, and so d ≤
_
d(m+n) =

a +b.
2. Let G be the centroid of the triangle ABC. Prove that if AB+GC =
AC +GB, then ABC is isosceles.
Solution: Let a, b, c be the lengths of sides BC, CA, AB, respec-
tively. By Stewart’s theorem and the fact that Gtrisects each median
(on the side further from the vertex), we deduce
9GB
2
= 2a
2
+ 2c
2
−b
2
, 9GC
2
= 2a
2
+ 2b
2
−c
2
.
Now assume b > c. Assuming AB +GC = AC +GB, we have
3(b −c) =
_
2a
2
+ 2b
2
−c
2

_
2a
2
+ 2c
2
−b
2
=
3(b
2
−c
2
)

2a
2
+ 2b
2
−c
2
+

2a
2
+ 2c
2
−b
2
<
3(b
2
−c
2
)
_
2(b −c)
2
+ 2b
2
−c
2
+
_
2(b −c)
2
+ 2c
2
−b
2
since a
2
> (b − c)
2
by the triangle inequality. However, 2(b − c)
2
+
2b
2
−c
2
= (2b −c)
2
, so we have
3(b −c) <
3(b
2
−c
2
)
2b −c +[2c −b[
.
If b ≤ 2c then the two sides are equal, a contradiction. If b > 2c we
get 9(b −c)
2
< 3(b
2
−c
2
); upon dividing off 3(b −c) and rearranging,
we get 2b < 4c, again a contradiction. Thus we cannot have b > c
or similarly b < c, so b = c.
76
3. Let a, b, c be real numbers. Consider the functions
f(x) = ax
2
+bx +c, g(x) = cx
2
+bx +a.
Given that
[f(−1)[ ≤ 1, [f(0)[ ≤ 1, [f(1)[ ≤ 1,
show that for −1 ≤ x ≤ 1,
[f(x)[ ≤
5
4
and [g(x)[ ≤ 2.
Solution: We may assume a > 0, so that f is convex; then
f(−1), f(1) ≤ 1 implies f(x) ≤ 1 for −1 ≤ x ≤ 1, so it suffices
to look at the point t where f takes its minimum. If t is not in
the interval, we have f(x) ≥ −1, so assume it is; without loss of
generality, we may assume t ≥ 0.
We now consider two cases. First suppose t ≤ 1/2. In this case
f(−1) ≥ f(1) ≥ f(0), so it suffices to impose the conditions f(−1) ≤
1, f(0) ≥ −1. If we write f(x) = a(x−t)
2
+k, we have 2 ≥ f(−1) −
f(0) = a(2t +1), so a ≤ 2/(2t +1). Then f(0) ≥ −1 means at
2
+k ≥
−1, so
k ≥ −1 −at
2
≥ −1 −
2t
2
2t + 1
= −1 −
2t
2 + 1/t
,
which is decreasing in t (the numerator of the fraction is increasing,
the denominator is decreasing and there is a minus sign in front).
Thus k ≥ 5/4.
Now suppose t ≥ 1/2. In this case f(−1) ≥ f(0) ≥ f(1), so the
relevant conditions are f(−1) ≤ 1, f(1) ≥ −1. If we write f(x) =
a(x − t)
2
+ k, we have 2 ≥ f(−1) − f(1) = 2at, so a ≤ 1/t. Then
f(1) ≥ −1 means a(1 −t)
2
+k ≥ −1, so
k ≥ −1 −a(1 −t)
2
≥ −1 −
(1 −t)
2
t
= −1 −
(1 −t)
t/(1 −t)
which is increasing in t (similar reasoning). Thus k ≥ 5/4.
We move on to g. We assume c > 0 and that the minimum of
g occurs in [0, 1]. Assuming g(−1), g(1) ≤ 1, we again need only
77
determine the minimum of g. Writing g(x) = c(x −t)
2
+k, we have
c ≤ 1 and c(1 −t)
2
+k ≥ −1, so
k ≥ −1 −c(1 −t)
2
≥ −1 −(1 −t)
2
≥ −2.
4. Find all real solutions of the equation
_
x
2
−p + 2
_
x
2
−1 = x
for each real value of p.
Solution: Squaring both sides, we get
x
2
= 5x
2
−4 −p + 4
_
(x
2
−p)(x
2
−1).
Isolating the radical and squaring again, we get
16(x
2
−p)(x
2
−1) = (4x
2
−p −4)
2
,
which reduces to (16 −8p)x
2
= p
2
−8p + 16. Since x ≥ 0 (it is the
sum of two square roots), we have
x =
[p −4[

16 −8p
if a solution exists. We need only determine when this value actually
satisfies. Certainly we need p ≤ 2. In that case plugging in our
claimed value of x and multiplying through by

16 −8p gives
[3p −4[ + 2[p[ = 4 −p.
If p ≥ 4/3 this becomes 6p = 8, or p = 4/3; if 0 ≤ p ≤ 4/3 this holds
identically; if p ≤ 0 this becomes 4p = 0, or p = 0. We conclude
there exists a solution if and only if 0 ≤ p ≤ 4/3, in which case it is
the solution given above.
5. At Port Aventura there are 16 secret agents. Each agent is watching
one or more other agents, but no two agents are both watching each
other. Moreover, any 10 agents can be ordered so that the first is
watching the second, the second is watching the third, etc., and the
last is watching the first. Show that any 11 agents can also be so
ordered.
78
Solution: We say two agents are partners if neither watches the
other. First note that each agent watches at least 7 others; if an agent
were watching 6 or fewer others, we could take away 6 agents and
leave a group of 10 which could not be arranged ina circle. Similarly,
each agent is watched by at least 7 others. Hence each agent is allied
with at most one other.
Given a group of 11 agents, there must be one agent x who is not
allied with any of the others in the group (since allies come in pairs).
Remove that agen t and arrange the other 10 in a circle. The removed
agent watches at least one of the other 10 and is watched by at least
one. Thus there exists a pair u, v of agents with u watching v,
u watching x and x watching v (move around the circle until the
direction of the arrow to x changes); thus x can be spliced into the
loop between u and v.
6. A regular pentagon is constructed externally on each side of a regular
pentagon of side 1. This figure is then folded and the two edges
meeting at each vertex of the original pentagon but not belonging
to the original pentagon are glued together. Determine the volume
of water that can be poured into the resulting container without
spillage.
Solution: The figure formed by the water is a prismatoid of height
equal to the vertical component of one of the glued edges. To determine
this component, introducte a coordinate system centered at one of the
base vertices, such that (cos 36, sin 36, 0) and (−cos 36, sin 36, 0) are two
vertices. (All angles are measured in degrees.) The third vertex adjacent
to this one has coordinates (0, y, z) for some y, z with z > 0, y
2
+ z
2
= 1
and y cos 36 = cos 108 (this being the dot product of the vectors of the
two edges ). Therefore
y =
cos 108
cos 36
=
(1 −

5)/4
(1 +

5)/4
and z = 2 5
1/4
/(1 +

5).
Now we must determine the areas of the bases of the prismatoid. The
area of the lower base is the area of a regular pentagon of side 1, which is
5/4 cot 36. The area of the upper base is the area of a regular pentagon
79
in which the circumradius has been increased by y, namely 5/4 cot 36(1 +
y sin 36)
2
. The volume is the height times the average of the bases, namely
5
5/4
2(1 +

5)
cot 36(1 + cos 108 tan 36)
2
≈ 0.956207.
80
1.16 Turkey
1. Let
1996

n=1
_
1 +nx
3
n
_
= 1 +a
1
x
k
1
+a
2
x
k
2
+. . . +a
m
x
k
m
,
where a
1
, a
2
, . . . , a
m
are nonzero and k
1
< k
2
< . . . < k
m
. Find
a
1996
.
Solution: Note that k
i
is the number obtained by writing i in
base 2 and reading the result as a number in base 3, and a
i
is the
sum of the exponents of the powers of 3 used. In particular, 1996 =
2
10
+ 2
9
+ 2
8
+ 2
7
+ 2
6
+ 2
3
+ 2
2
, so
a
1996
= 10 + 9 + 8 + 7 + 6 + 3 + 2 = 45.
2. In a parallelogram ABCD with ∠A < 90

, the circle with diameter
AC meets the lines CB and CD again at E and F, respectively, and
the tangent to this circle at A meets BD at P. Show that P, F, E
are collinear.
Solution: Without loss of generality, suppose B, D, P occur in
that order along BD. Let G and H be the second intersections of
AD and AB with the circle. By Menelaos’s theorem, it suffices to
show that
CE BP DF
EB PD FC
= 1.
First note that
BP
AB
AD
DP
=
sin ∠BAP
sin ∠APB
sin ∠APD
sin ∠DAP
=
sin ∠BAP
sin ∠DAP
.
Since AP is tangent to the circle, ∠BAP = ∠HAP = π −∠HCA =
π −∠FAC; similarly, ∠DAP = ∠GCA = ∠EAC. We conclude
BP
AB
AD
DP
=
sin ∠FAC
sin ∠EAC
=
FC
EC
.
Finally we note that DF/BE = DA/AB because the right triangles
AFD and AEB have the same angles at B and D and are thus
similar. This proves the claim.
81
3. Given real numbers 0 = x
1
< x
2
< . . . < x
2n
< x
2n+1
= 1 with
x
i+1
−x
i
≤ h for 1 ≤ i ≤ 2n, show that
1 −h
2
<
n

i=1
x
2i
(x
2i+1
−x
2i−1
) <
1 +h
2
.
Solution: The difference between the middle quantity and 1/2 is
the difference between the sum of the areas of the rectangles bounded
by the lines x = x
2i−1
, x = x
2i+1
, y = 0, y = x
2i
and the triangle
bounded by the lines y = 0, x = 1, x = y. The area contained in the
rectangles but not the triangle is a union of triangles of total base
less than 1 and height at most h, as is the area contained in the
triangle but not the rectangles. Hence the sum differs from 1/2 by
at most h/2, as desired.
4. In a convex quadrilateral ABCD, triangles ABC and ADC have
the same area. Let E be the the intersection of AC and BD,
and let the parallels through E to the lines AD, DC, CB, BA meet
AB, BC, CD, DA at K, L, M, N, respectively. Compute the ratio of
the areas of the quadrilaterals KLMN and ABCD.
Solution: The triangles EKL and DAC are homothetic, so the
ratio of their areas equals (EK/AD)(EL/CD) = (BE/BD)
2
= 1/4,
since B and D are equidistant from the line AC. Similarly the ratio
of the areas of EMN and BCA is 1/4, so the union of the triangles
EKL and EMN has area 1/4 that of ABCD.
As for triangle EKN, its base KN is parallel to BD and half as
long, so its area is one-fourth that of ABD. Similarly EML has
area one-fourth that of BCD, and so the union of the two triangles
EKN and EML has area one-fourth that of ABCD, and so the
quadrilateral KLMN has area one-half that of ABCD.
5. Find the maximum number of pairwise disjoint sets of the form
S
a,b
= ¦n
2
+an +b : n ∈ Z¦ with a, b ∈ Z.
Solution: Only two such sets are possible, for example, with
(a, b) = (0, 0) and (0, 2) (since 2 is not a difference of squares). There
is no loss of generality in assuming a ∈ ¦0, 1¦ by a suitable shift of
82
n, and the sets generated by (0, a) and (1, b) have the common value
(a − b)
2
+ a = (a − b)
2
+ (a − b) + b. Thus we have a = 0 or a = 1
universally.
First suppose a = 0. If b −c ,≡ 2 (mod 4), then (0, b) and (0, c) give
a common value because b −c is a difference of squares; clearly this
precludes having three disjoint sets. Now suppose a = 1. If b −c is
even, we can find x, y such that b − c = (x + y + 1)(x − y), and so
x
2
+ x + b = y
2
+ y + c; again, this precludes having three disjoint
sets.
6. For which ordered pairs of positive real numbers (a, b) is the limit of
every sequence ¦x
n
¦ satisfying the condition
lim
n→∞
(ax
n+1
−bx
n
) = 0
zero?
Solution: This holds if and only if b < a. If b > a, the sequence
x
n
= (b/a)
n
satisfies the condition but does not go to zero; if b = a,
the sequence x
n
= 1 + 1/2 + + 1/n does likewise. Now suppose
b < a. If L and M are the limit inferior and limit superior of the
given sequence, the condition implies M ≤ (b/a)L; since L ≤ M,
we have M ≤ (b/a)M, and so L, M ≥ 0. Similarly, the condition
implies L ≥ (b/a)M, and since M ≥ L, we have L ≥ (b/a)L, so
L, M ≤ 0; therefore L = M = 0 and the sequence converges to 0.
83
1.17 United Kingdom
1. Consider the pair of four-digit positive integers
(M, N) = (3600, 2500).
Notice that M and N are both perfect squares, with equal digits in
two places, and differing digits in the remaining two places. More-
over, when the digits differ, the digit in M is exactly one greater
than the corresponding digit in N. Find all pairs of four-digit posi-
tive integers (M, N) with these properties.
Solution: If M = m
2
and N = n
2
, then
(m+n)(m−n) ∈ ¦11, 101, 110, 1001, 1010, 1100¦.
Since M and N are four-digit numbers, we must have 32 ≤ n < m ≤
99, and so 65 ≤ m+n ≤ 197. Moreover, m+n and m−n are both
odd or both even, so 11, 110 and 1010 lead to no solutions. From
this we get exactly five acceptable factorizations:
101 = (m+n)(m−n) = 101 1
1001 = (m+n)(m−n) = 143 7
1001 = (m+n)(m−n) = 91 11
1001 = (m+n)(m−n) = 77 13
1100 = (m+n)(m−n) = 110 10
giving the solutions
(M, N) = (2601, 2500), (5625, 4624), (2601, 1600), (2025, 1024), (3600, 2500).
2. A function f defined on the positive integers satisfies f(1) = 1996
and
f(1) +f(2) + +f(n) = n
2
f(n) (n > 1).
Calculate f(1996).
Solution: An easy induction will show that
f(n) =
2 1996
n(n + 1)
.
84
Namely,
f(n) =
1
n
2
−1
_
3992
1 2
+ +
3992
(n −1)n
_
=
3992
n
2
−1
_
1 −
1
2
+
1
2

1
3
+ +
1
n −1

1
n
_
=
3992
(n + 1)(n −1)
_
1 −
1
n
_
=
3992
(n + 1)(n −1)
n −1
n
=
3992
n(n + 1)
.
In particular, f(1996) = 2/1997.
3. Let ABC be an acute triangle and O its circumcenter. Let S denote
the circle through A, B, O. The lines CA and CB meet S again
at P and Q, respectively. Prove that the lines CO and PQ are
perpendicular.
Solution: The angles ∠PAB and ∠BQP are supplementary, so
∠BQP = ∠CAB (as directed angles mod π). In other words, the
line PQ makes the same angle with the line CQ as the tangent to
the circumcircle of ABC through C. Hence PQ is parallel to the
tangent, so perpendicular to OC.
4. Define
q(n) =
_
n
¸

n|
_
(n = 1, 2, . . .).
Determine all positive integers n for which q(n) > q(n + 1).
Solution: We have q(n) > q(n+1) if and only if n+1 is a perfect
square. Indeed, if n + 1 = m
2
, then
q(n) =
_
m
2
−1
m−1
_
= m+ 1, q(n + 1) =
_
m
2
m
_
= m.
On the other hand, for n = m
2
+d with 0 ≤ d ≤ 2m,
q(n) =
_
m
2
+d
m
_
= m+
_
d
m
_
which is nondecreasing.
85
5. Let a, b, c be positive real numbers.
(a) Prove that 4(a
3
+b
3
) ≥ (a +b)
3
.
(b) Prove that 9(a
3
+b
3
+c
3
) ≥ (a +b +c)
3
.
Solution: Both parts follow from the Power Mean inequality: for
r > 1 and x
1
. . . , x
n
positive,
_
x
r
1
+ +x
r
n
n
_
1/r

x
1
+ +x
n
n
,
which in turn follows from Jensen’s inequality applied to the convex
function x
r
.
6. Find all solutions in nonnegative integers x, y, z of the equation
2
x
+ 3
y
= z
2
.
Solution: If y = 0, then 2
x
= z
2
−1 = (z +1)(z −1), so z +1 and
z − 1 are powers of 2. The only powers of 2 which differ by 2 are 4
and 2, so (x, y, z) = (3, 0, 3).
If y > 0, then 2
x
is a quadratic residue modulo 3, hence x is even.
Now we have 3
y
= z
2
− 2
x
= (z + 2
x/2
)(z − 2
x/2
). The factors
are powers of 3, say z + 2
x/2
= 3
m
and z − 2
x/2
= 3
n
, but then
3
m
−3
n
= 2
x/2+1
. Since the right side is not divisible by 3, we must
have n = 0 and
3
m
−1 = 2
x/2+1
.
If x = 0, we have m = 1, yielding (x, y, z) = (0, 1, 2). Otherwise,
3
m
−1 is divisible by 4, so mis even and 2
x/2+1
= (3
m/2
+1)(3
m/2
−1).
The two factors on the right are powers of 2 differing by 2, so they
are 2 and 4, giving x = 4 and (x, y, z) = (4, 2, 5).
7. The sides a, b, c and u, v, w of two triangles ABC and UV W are
related by the equations
u(v +w −u) = a
2
,
v(w +u −v) = b
2
,
w(u +v −w) = c
2
.
86
Prove that ABC is acute, and express the angles U, V, W in terms
of A, B, C.
Solution: Note that
a
2
+b
2
−c
2
= w
2
−u
2
−v
2
+ 2uv = (w +u −v)(w −u +v) > 0
by the triangle inequality, so cos C > 0. By this reasoning, all of the
angles of triangle ABC are acute. Moreover,
cos C =
a
2
+b
2
−c
2
2ab
=
_
(w +u −v)(w −u +v)
4uv
=
_
w
2
−u
2
−v
2
+ 2uv
4uv
=
1

2

1 −cos U
from which we deduce cos U = 1−2 cos
2
A = cos(π−2A). Therefore
U = π −2A, and similarly V = π −2B, W = π −2C.
8. Two circles S
1
and S
2
touch each other externally at K; they also
touch a circle S internally at A
1
and A
2
, respectively. Let P be one
point of intersection of S with the common tangent to S
1
and S
2
at
K. The line PA
1
meets S
1
again at B
1
, and PA
2
meets S
2
again at
B
2
. Prove that B
1
B
2
is a common tangent to S
1
and S
2
.
Solution: It suffices to show that ∠B
2
B
1
O
1
= ∠B
1
B
2
O
2
= π/2,
where O
1
and O
2
are the centers of S
1
and S
2
, respectively. By
power-of-a-point, PA
1
PB
1
= PK
2
= PA
2
PB
2
, so triangles
PA
1
A
2
and PB
2
B
1
are similar. Therefore ∠PB
1
B
2
= ∠PA
2
A
1
=
1
2
∠POA
1
, where O is the center of S.
Now note that the homothety at A
1
carrying S
1
to S takes O
1
to
O and B
1
to P, so ∠POA
1
= ∠B
1
O
1
A
1
. From this we deduce
∠PB
1
B
2
= ∠B
1
O
1
N, where N is the midpoint of A
1
B
1
. Finally,
∠B
2
B
1
O
1
= π −∠PB
1
B
2
−∠O
1
B
1
N = π/2,
as desired.
87
9. Find all solutions in positive real numbers a, b, c, d to the following
system of equations:
a +b +c +d = 12
abcd = 27 +ab +ac +ad +bc +bd +cd.
Solution: The first equation implies abcd ≤ 81 by the arithmetic-
geometric mean inequality, with equality holding for a = b = c =
d = 3. Again by AM-GM,
abcd ≥ 27 + 6(abcd)
1/2
.
However, x
2
− 6x − 27 ≥ 0 for x ≤ −3 or x ≥ 9, so (abcd)
1/2
≥ 9,
hence abcd ≥ 81. We conclude abcd = 81, and hence a = b = c =
d = 3.
88
1.18 United States of America
1. Prove that the average of the numbers nsin n

(n = 2, 4, 6, . . . , 180)
is cot 1

.
Solution: All arguments of trigonometric functions will be in
degrees. We need to prove
2 sin 2 + 4 sin 4 + + 178 sin 178 = 90 cot 1, (2)
which is equivalent to
2 sin 2sin 1+2(2 sin 4sin 1)+ +89(2 sin 178sin 1) = 90 cos 1. (3)
Using the identity 2 sin a sin b = cos(a −b) −cos(a +b), we find
2 sin 2 sin 1 + 2(2 sin 4 sin 1) + + 89(2 sin 178 sin 1)
= (cos 1 −cos 3) + 2(cos 3 −cos 5) + + 89(cos 177 −cos 179)
= cos 1 + cos 3 + cos 5 + + cos 175 + cos 177 −89 cos 179
= cos 1 + (cos 3 + cos 177) + + (cos 89 + cos 91) −89 cos 179
= cos 1 + 89 cos 1 = 90 cos 1,
so (1) is true.
Note: An alternate solution involves complex numbers. One ex-
presses sin n as (e
πin/180
−e
−πin/180
)/(2i) and uses the fact that
x + 2x
2
+ +nx
n
= (x + +x
n
) + (x
2
+ +x
n
) + +x
n
=
1
x −1
[(x
n+1
−x) + (x
n+1
−x
2
) +
+ (x
n+1
−x
n
)]
=
nx
n+1
x −1

x
n+1
−x
(x −1)
2
.
2. For any nonempty set S of real numbers, let σ(S) denote the sum of
the elements of S. Given a set A of n positive integers, consider the
collection of all distinct sums σ(S) as S ranges over the nonempty
subsets of A. Prove that this collection of sums can be partitioned
89
into n classes so that in each class, the ratio of the largest sum to
the smallest sum does not exceed 2.
Solution: Let A = ¦a
1
, a
2
, . . . , a
n
¦ where a
1
< a
2
< < a
n
.
For i = 1, 2, . . . , n let s
i
= a
1
+ a
2
+ + a
i
and take s
0
= 0. All
the sums in question are less than or equal to s
n
, and if σ is one of
them, we have
s
i−1
< σ ≤ s
i
(1)
for an appropriate i. Divide the sums into n classes by letting C
i
denote the class of sums satisfying (1). We claim that these classes
have the desired property. To establish this, it suffices to show that
(1) implies
1
2
s
i
< σ ≤ s
i
. (2)
Suppose (1) holds. The inequality a
1
+ a
2
+ + a
i−1
= s
i−1
< σ
shows that the sum σ contains at least one addend a
k
with k ≥ i.
Then since then a
k
≥ a
i
, we have
s
i
−σ < s
i
−s
i−1
= a
i
≤ a
k
≤ σ,
which together with σ ≤ s
i
implies (2).
Note: The result does not hold if 2 is replaced by any smaller
constant c. To see this, choose n such that c < 2 − 2
−(n−1)
and
consider the set ¦1, . . . , 2
n−1
¦. If this set is divided into n subsets,
two of 1, . . . , 2
n−1
, 1 + + 2
n−1
must lie in the same subset, and
their ratio is at least (1 + + 2
n−1
)/(2
n−1
) = 2 −2
−(n−1)
> c.
3. Let ABC be a triangle. Prove that there is a line (in the plane of
triangle ABC) such that the intersection of the interior of triangle
ABC and the interior of its reflection A

B

C

in has area more
than 2/3 the area of triangle ABC.
First Solution: In all of the solutions, a, b, c denote the lengths
of the sides BC, CA, AB, respectively, and we assume without loss
of generality that a ≤ b ≤ c.
Choose to be the angle bisector of ∠A. Let P be the intersection of
with BC. Since AC ≤ AB, the intersection of triangles ABC and
90
A

B

C

is the disjoint union of two congruent triangles, APC and
APC

. Considering BC as a base, triangles APC and ABC have
equal altitudes, so their areas are in the same ratio as their bases:
Area(APC)
Area(ABC)
=
PC
BC
.
Since AP is the angle bisector of ∠A, we have BP/PC = c/b, so
PC
BC
=
PC
BP +PC
=
1
c/b + 1
.
Thus it suffices to prove
2
c/b + 1
>
2
3
. (1)
But 2b ≥ a + b > c by the triangle inequality, so c/b < 2 and thus
(1) holds.
Second Solution: Let the foot of the altitude from C meet AB
at D. We will use the notation [XY Z] to denote the area of triangle
XY Z.
First suppose [BDC] > (1/3)[ABC]. In this case we reflect through
CD. If B

is the image of B, then BB

C lies in ABC and the area
of the overlap is at least 2/3[ABC].
Now suppose [BDC] ≤ (1/3)[ABC]. In this case we reflect through
the bisector of ∠A. If C

is the image of C, then triangle ACC

is
contained in the overlap, and [ACC

] > [ADC] ≥ 2/3[ABC].
Note: Let T denote the figure given by the intersection of the
interior of triangle ABC and the interior of its reflection in . Yet
another approach to the problem involves finding the maximum at-
tained for Area(T)/Area(ABC) by taking from the family of lines
perpendicular to AB. By choosing the best alternative between the
angle bisector at C and the optimal line perpendicular to AB, one
can ensure
Area(T)
Area(ABC)
>
2
1 +

2
= 2(

2 −1) = 0.828427, . . .
and this constant is in fact the best possible.
91
4. An n-term sequence (x
1
, x
2
, . . . , x
n
) in which each term is either 0
or 1 is called a binary sequence of length n. Let a
n
be the number of
binary sequences of length n containing no three consecutive terms
equal to 0, 1, 0 in that order. Let b
n
be the number of binary
sequences of length n that contain no four consecutive terms equal
to 0, 0, 1, 1 or 1, 1, 0, 0 in that order. Prove that b
n+1
= 2a
n
for all
positive integers n.
First Solution: We refer to the binary sequences counted by (a
n
)
and (b
n
) as “type A” and “type B”, respectively. For each binary
sequence (x
1
, x
2
, . . . , x
n
) there is a corresponding binary sequence
(y
0
, y
1
, . . . , y
n
) obtained by setting y
0
= 0 and
y
i
= x
1
+x
2
+ +x
i
mod 2, i = 1, 2, . . . , n. (2)
(Addition mod 2 is defined as follows: 0 + 0 = 1 + 1 = 0 and
0 + 1 = 1 + 0 = 1.) Then
x
i
= y
i
+y
i−1
mod 2, i = 1, 2, . . . , n,
and it is easily seen that (1) provides a one-to-one correspondence be-
tween the set of all binary sequences of length n and the set of binary
sequences of length n +1 in which the first term is 0. Moreover, the
binary sequence (x
1
, x
2
, . . . , x
n
) has three consecutive terms equal
to 0, 1, 0 in that order if and only if the corresponding sequence
(y
0
, y
1
, . . . , y
n
) has four consecutive terms equal to 0, 0, 1, 1 or 1, 1,
0, 0 in that order, so the first is of type A if and only if the second
is of type B. The set of type B sequences of length n + 1 in which
the first term is 0 is exactly half the total number of such sequences,
as can be seen by means of the mapping in which 0’s and 1’s are
interchanged.
Second Solution: The expression 2a
n−1
−a
n
counts the number
of type A sequences of length n − 1 that do not remain of type A
when 0 is attached, or in other words the number of type A sequences
of length n −1 ending in 0, 1. Since a type A sequence followed by
1 is still of type A, this number in turn equals the number of type A
sequences of length n −2 ending in 0. However, this number can be
viewed as the number of type A sequences of length n−2, minus the
92
number of such sequences ending in 1. There are as many type A
sequences of length n −2 ending in 1 as there are type A sequences
of length n − 3, again since every type A sequence remains type A
when 1 is added. We conclude that 2a
n−1
− a
n
= a
n−2
− a
n−3
, or
equivalently
a
n
= 2a
n−1
−a
n−2
+a
n−3
.
We also note the initial values a
0
= 1, a
1
= 2, a
2
= 4.
Similarly, the expression 2b
n−1
− b
n
counts the number of type B
sequences of length n −1 ending in 0,0,1 or 1,1,0. Since adding 1 to
a type B sequence ending in 0, or 0 to a type B sequence ending in
1, yields another type B sequence, this number is the same as the
number of type B sequences of length n −2 ending in 0,0 or 1,1, or
equivalently the number not ending in 0,1 or 1,0. As in the type A
case, we note that each type B sequence of length n −3 generates a
unique type B sequence of length n−2 ending in 0, 1 or 1, 0, and so
2b
n−1
−b
n
= b
n−2
−b
n−3
. Since b
1
= 2, b
2
= 4, b
4
= 8, we conclude
by induction that b
n+1
= 2a
n
for all n.
5. Triangle ABC has the following property: there is an interior point P
such that ∠PAB = 10

, ∠PBA = 20

, ∠PCA = 30

, and ∠PAC =
40

. Prove that triangle ABC is isosceles.
First Solution: All angles will be in degrees. Let x = ∠PCB.
Then ∠PBC = 80 −x. By the Law of Sines,
1 =
PA
PB
PB
PC
PC
PA
=
sin ∠PBA
sin ∠PAB
sin ∠PCB
sin ∠PBC
sin ∠PAC
sin ∠PCA
=
sin 20 sin xsin 40
sin 10 sin(80 −x) sin 30
=
4 sin xsin 40 cos 10
sin(80 −x)
.
The identity 2 sin a cos b = sin(a −b) + sin(a +b) now yields
1 =
2 sin x(sin 30 + sin 50)
sin(80 −x)
=
sin x(1 + 2 cos 40)
sin(80 −x)
,
so
2 sin xcos 40 = sin(80 −x) −sin x = 2 sin(40 −x) cos 40.
93
This gives x = 40 − x and thus x = 20. It follows that ∠ACB =
50 = ∠BAC, so triangle ABC is isosceles.
Second Solution: Let D be the reflection of A across the line
BP. Then triangle APD is isosceles with vertex angle
∠APD = 2(180 −∠BPA) = 2(∠PAB+∠ABP) = 2(10 +20) = 60,
and so is equilateral. Also, ∠DBA = 2∠PBA = 40. Since ∠BAC =
50, we have DB ⊥ AC.
Let E be the intersection of DB with CP. Then
∠PED = 180 −∠CED = 180 −(90 −∠ACE) = 90 + 30 = 120
and so ∠PED + ∠DAP = 180. We deduce that the quadrilateral
APED is cyclic, and therefore ∠DEA = ∠DPA = 60.
Finally, we note that ∠DEA = 60 = ∠DEC. Since AC ⊥ DE,
we deduce that A and C are symmetric across the line DE, which
implies that BA = BC, as desired.
6. Determine (with proof) whether there is a subset X of the integers
with the following property: for any integer n there is exactly one
solution of a + 2b = n with a, b ∈ X.
First Solution: Yes, there is such a subset. If the problem is
restricted to the nonnegative integers, it is clear that the set of inte-
gers whose representations in base 4 contains only the digits 0 and 1
satisfies the desired property. To accommodate the negative integers
as well, we switch to “base −4”. That is, we represent every integer
in the form

k
i=0
c
i
(−4)
i
, with c
i
∈ ¦0, 1, 2, 3¦ for all i and c
k
,= 0,
and let X be the set of numbers whose representations use only the
digits 0 and 1. This X will again have the desired property, once we
show that every integer has a unique representation in this fashion.
To show base −4 representations are unique, let ¦c
i
¦ and ¦d
i
¦ be
two distinct finite sequences of elements of ¦0, 1, 2, 3¦, and let j be
the smallest integer such that c
j
,= d
j
. Then
k

i=0
c
i
(−4)
i
,≡
k

i=0
d
i
(−4)
i
(mod 4
j
),
94
so in particular the two numbers represented by ¦c
i
¦ and ¦d
i
¦ are
distinct. On the other hand, to show that n admits a base −4
representation, find an integer k such that 1 + 4
2
+ + 4
2k
≥ n
and express n +4 + +4
2k−1
as

2k
i=0
c
i
4
i
. Now set d
2i
= c
2i
and
d
2i−1
= 3 −c
2i−1
, and note that n =

2k
i=0
d
i
(−4)
i
.
Second Solution: For any S ⊂ Z, let S

= ¦a+2b[ a, b ∈ S¦. Call
a finite set of integers S = ¦a
1
, a
2
, . . . , a
m
¦ ⊂ Z good if [S

[ = [S[
2
,
i.e., if the values a
i
+ 2a
j
(1 ≤ i, j ≤ m) are distinct. We first
prove that given a good set and n ∈ Z, we can always find a good
superset T of S such that n ∈ T

. If n ∈ S

already, take T = S.
Otherwise take T = S ∪ ¦k, n − 2k¦ where k is to be chosen. Then
put T

= S

∪ Q∪ R, where
Q = ¦3k, 3(n −2k), k + 2(n −2k), (n −2k) + 2k¦
and
R = ¦k + 2a
i
, (n −2k) + 2a
i
, a
i
+ 2k, a
i
+ 2(n −2k)[ 1 ≤ i ≤ m¦.
Note that for any choice of k, we have n = (n −2k) +2k ∈ Q ⊂ T

.
Except for n, the new values are distinct nonconstant linear forms
in k, so if k is sufficiently large, they will all be distinct from each
other and from the elements of S

. This proves that T

is good.
Starting with the good set X
0
= ¦0¦, we thus obtain a sequence
of sets X
1
, X
2
, X
3
, . . . such that for each positive integer j, X
j
is a
good superset of X
j−1
and X

j
contains the jth term of the sequence
1, −1, 2, −2, 3, −3, . . . . It follows that
X =

_
j=0
X
j
has the desired property.
95
1.19 Vietnam
1. Solve the system of equations:

3x
_
1 +
1
x +y
_
= 2
_
7y
_
1 −
1
x +y
_
= 4

2.
Solution: Let u =

x, v =

y, so the system becomes
u +
u
u
2
+v
2
=
2

3
v −
v
u
2
+v
2
=
4

2

7
.
Now let z = u +vi; the system then reduces to the single equation
z +
1
z
= 2
_
1

3
+
2

2

7
i
_
.
Let t denote the quantity inside the parentheses; then
z = t ±
_
t
2
−1
=
1

3
+
2

2

7
i ±
_
2

21
+

2I
_
from which we deduce
u =
_
1

3
±
2

21
_
2
, v =
_
2

2

7
±

2
_
2
.
2. Let ABCD be a tetrahedron with AB = AC = AD and circum-
center O. Let G be the centroid of triangle ACD, let E be the
midpoint of BG, and let F be the midpoint of AE. Prove that OF
is perpendicular to BG if and only if OD is perpendicular to AC.
Solution: We identify points with their vectors originating from
the circumcenter, so that A B = A C = A D and A
2
= B
2
=
96
C
2
= D
2
. Now
(O −F) (B −G) =
1
2
(A+E) (B −G)
=
1
4
[(2A+B +G) (B −G)]
=
1
36
[18A B −6A (A+C +D) + 9B
2
−(A+C +D)
2
]
=
1
36
[2A D −2C D].
Therefore OF ⊥ BF if and only if OD ⊥ AC.
3. Determine, as a function of n, the number of permutations of the set
¦1, 2, . . . , n¦ such that no three of 1, 2, 3, 4 appear consecutively.
Solution: There are n! permutations in all. Of those, we exclude
(n−2)! permutations for each arrangement of 1, 2, 3, 4 into an ordered
triple and one remaining element, or 24(n −2)! in all. However, we
have twice excluded each of the 24(n−3)! permutations in which all
four of 1, 2, 3, 4 occur in a block. Thus the number of permutations
of the desired form is n! −24(n −2)! + 24(n −3)!.
4. Determine all functions f : N →N satisfying (for all n ∈ N)
f(n) +f(n + 1) = f(n + 2)f(n + 3) −1996.
Solution: From the given equation, we deduce
f(n) −f(n + 2) = f(n + 3)[f(n + 2) −f(n + 4)].
If f(1) > f(3), then by induction, f(2m−1) > f(2m+1) for all m >
0, giving an infinite decreasing sequence f(1), f(3), . . . of positive
integers, a contradiction. Hence f(1) ≤ f(3), and similarly f(n) ≤
f(n + 2) for all n.
Now note that
0 = 1996 +f(n) +f(n + 1) −f(n + 2)f(n + 3)
≤ 1996 +f(n + 2) +f(n + 3) −f(n + 2)f(n + 3)
= 1997 −[f(n + 2) −1][f(n + 3) −1].
97
In particular, either f(n+2) = 1 or f(n+3) ≤ 1997, and vice versa.
The numbers f(2m + 1) − f(2m− 1) are either all zero or all posi-
tive, and similarly for the numbers f(2m + 2) − f(2m). If they are
both positive, eventually f(n +2) and f(n +3) both exceed 1997, a
contradiction.
We now split into three cases. If f(2m) and f(2m + 1) are both
constant, we have [f(2m) − 1][f(2m + 1) − 1] = 1997 and so either
f(2m) = 1 and f(2m + 1) = 1997 or vice versa. If f(2m + 1)
is constant but f(2m) is not, then f(2m + 1) = 1 for all m and
f(2m+2) = f(2m)+1997, so f(2m) = 1997(m−1)+f(2). Similarly,
if f(2m) is not constant, then f(2m) = 1 and f(2m+1) = 1997m+
f(1).
5. Consider triangles ABC where BC = 1 and ∠BAC has a fixed
measure α > π/3. Determine which such triangle minimizes the
distance between the incenter and centroid of ABC, and compute
this distance in terms of α.
Solution: If we fix B and C and force A to lie above the line BC,
then A is constrained to an arc. The centroid of ABC is constrained
to the image of that arc under a 1/3 homothety at the midpoint of
BC. On the other hand, the incenter subtends an angle of (π+α)/2
at BC, so it is also constrained to lie on an arc, but its arc passes
through B and C. Since the top of the incenter arc lies above the
top of the centroid arc, the arcs cannot intersect (or else their circles
would intersect four times). Moreover, if we dilate the centroid arc
about the midpoint of BC so that its image is tangent to the incenter
arc at its highest point, the image lies between the incenter arc and
BC.
In other words, the distance from the incenter to the centroid is al-
ways at least the corresponding distance for ABC isosceles. Hence
we simply compute the distance in that case. The incenter makes
an isosceles triangle of vertex angle (π + α)/2, so its altitude is
1/2 cot(π + α)/4. Meanwhile, the distance of the centroid to BC
is 1/3 that of A to BC, or 1/6 cot(α/2). The desired distance is thus
1
2
cot
π +α
4

1
6
cot
α
2
.
98
6. Let a, b, c, d be four nonnegative real numbers satisfying the condi-
tion
2(ab +ac +ad +bc +bd +cd) +abc +abd +acd +bcd = 16.
Prove that
a +b +c +d ≥
2
3
(ab +ac +ad +bc +bd +cd)
and determine when equality occurs.
Solution: For i = 1, 2, 3, define s
i
as the average of the products
of the i-element subsets of ¦a, b, c, d¦. Then we must show
3s
2
+s
3
= 4 ⇒s
1
≥ s
2
.
It suffices to prove the (unconstrained) homogeneous inequality
3s
2
2
s
2
1
+s
3
s
3
1
≥ 4s
3
2
,
as then 3s
2
+s
3
= 4 will imply (s
1
−s
2
)
3
+ 3(s
3
1
−s
3
2
) ≥ 0.
We now recall two basic inequalities about symmetric means of non-
negative real numbers. The first is Schur’s inequality:
3s
3
1
+s
3
≥ 4s
1
s
2
,
while the second,
s
2
1
≥ s
2
is a case of Maclaurin’s inequality s
i+1
i
≥ s
i
i+1
. These combine to
prove the claim:
3s
2
2
s
2
1
+s
3
s
3
1
≥ 3s
2
2
s
2
1
+
s
2
2
s
3
s
1
≥ 4s
3
2
.
Finally, for those who have only seen Schur’s inequality in three
variables, note that in general any inequality involving s
1
, . . . , s
k
which holds for n ≥ k variables also holds for n + 1 variables, by
replacing the variables x
1
, . . . , x
n+1
by the roots of the derivative of
the polynomial (x −x
1
) (x −x
n+1
).
99
2 1996 Regional Contests:
Problems and Solutions
2.1 Asian Pacific Mathematics Olympiad
1. Let ABCD be a quadrilateral with AB = BC = CD = DA. Let
MN and PQ be two segments perpendicular to the diagonal BD and
such that the distance between them is d > BD/2, with M ∈ AD,
N ∈ DC, P ∈ AB, and Q ∈ BC. Show that the perimeter of the
hexagon AMNCQP does not depend on the position of MN and
PQ so long as the distance between them remains constant.
Solution: The lengths of AM, MN, NC are all linear in the dis-
tance between the segments MN and AC; if this distance is h, ex-
trapolating from the extremes MN = AC and M = N = D gives
that
AM +MN +NC = AC +
2AB −AC
BD/2
h.
In particular, if the segments MN and PQ maintain constant total
distance from AC, as they do if their distance remains constant, the
total perimeter of the hexagon is constant.
2. Let m and n be positive integers such that n ≤ m. Prove that
2
n
n! ≤
(m+n)!
(m−n)!
≤ (m
2
+m)
n
.
Solution: The quantity in the middle is (m+n)(m+n−1) (m−
n + 1). If we pair off terms of the form (m + x) and (m + 1 − x),
we get products which do not exceed m(m + 1), since the function
f(x) = (m + x)(m + 1 − x) is a concave parabola with maximum
at x = 1/2. From this the right inequality follows. For the left, we
need only show (m+x)(m+ 1 −x) ≥ 2x for x ≤ n; this rearranges
to (m−x)(m+ 1 +x) ≥ 0, which holds because m ≥ n ≥ x.
3. Let P
1
, P
2
, P
3
, P
4
be four points on a circle, and let I
1
be the incenter
of the triangle P
2
P
3
P
4
, I
2
be the incenter of the triangle P
1
P
3
P
4
, I
3
be the incentre of the triangle P
1
P
2
P
4
, and I
4
be the incenter of the
100
triangle P
1
P
2
P
3
. Prove that I
1
, I
2
, I
3
and I
4
are the vertices of a
rectangle.
Solution: Without loss of generality, assume P
1
, P
2
, P
3
, P
4
occur
on the circle in that order. Let M
12
, M
23
, M
34
, M
41
be the midpoints
of arcs P
1
P
2
, P
2
P
3
, P
3
P
4
, P
4
P
1
, respectively. Then the line P
3
M
1
is
the angle bisector of ∠P
2
P
3
P
1
and so passes through I
4
. Moreover,
the triangle M
12
P
2
I
4
is isosceles because
∠I
4
M
12
P
2
= ∠P
3
P
1
P
2
= π −2∠P
1
P
2
I
4
−2∠M
12
P
2
P
1
= π −2∠M
12
P
2
I
4
.
Hence the circle centered at M passing through P
1
and P
2
also passes
through I
4
, and likewise through I
3
.
From this we determine that the angle bisector of ∠P
3
M
12
P
4
is the
perpendicular bisector of I
3
I
4
. On the other hand, this angle bisector
passes through M
34
, so it is simply the line M
12
M
34
; by symmetry, it
is also the perpendicular bisector of I
1
I
2
. We conclude that I
1
I
2
I
3
I
4
is a parallelogram.
To show that I
1
I
2
I
3
I
4
is actually a rectangle, it now suffices to show
that M
12
M
34
⊥ M
23
M
41
. To see this, simply note that the angle be-
tween these lines is half the sum of the measures of the arcs M
12
M
23
and M
34
M
41
, but these arcs clearly comprise half of the circle.
4. The National Marriage Council wishes to invite n couples to form
17 discussion groups under the following conditions:
(a) All members of the group must be of the same sex, i.e. they are
either all male or all female.
(b) The difference in the size of any two groups is either 0 or 1.
(c) All groups have at least one member.
(d) Each person must belong to one and only one group.
Find all values of n, n ≤ 1996, for which this is possible. Justify
your answer.
Solution: Clearly n ≥ 9 since each of 17 groups must contain at
least one member. Suppose there are k groups of men and 17 − k
101
groups of women; without loss of generality, we assume k ≤ 8. If m
is the minimum number of members in a group, then the number of
men in the groups is at most k(m+1), while the number of women is
at least (k +1)m. As there are the same number as men as women,
we have k(m + 1) ≥ (k + 1)m, so m ≤ k ≤ 8, and the maximum
number of couples is k(k + 1) ≤ 72. In fact, any number of couples
between 9 and 72 can be distributed: divide the men as evenly as
possible into 8 groups, and divide the women as evenly as possible
into 9 groups. Thus 9 ≤ n ≤ 72 is the set of acceptable numbers of
couples.
5. Let a, b and c be the lengths of the sides of a triangle. Prove that

a +b −c +

b +c −a +

c +a −b ≤

a +

b +

c
and determine when equality occurs.
Solution: By the triangle inequality, b + c − a and c + a − b are
positive. For any positive x, y, we have
2(x +y) ≥ x +y + 2

xy = (

x +

y)
2
by the AM-GM inequality, with equality for x = y. Substituting
x = a +b −c, y = b +c −a, we get

a +b −c +

b +c −a ≤ 2

a,
which added to the two analogous inequalities yields the desired
result. Inequality holds for a + b − c = b + c − a = c + a − b, i.e.
a = b = c.
102
2.2 Austrian-Polish Mathematics Competition
1. Let k ≥ 1 be an integer. Show that there are exactly 3
k−1
positive
integers n with the following properties:
(a) The decimal representation of n consists of exactly k digits.
(b) All digits of k are odd.
(c) The number n is divisible by 5.
(d) The number m = n/5 has k odd (decimal) digits.
Solution: The multiplication in each place must produce an even
number of carries, since these will be added to 5 in the next place
and an odd digit must result. Hence all of the digits of m must be
1, 5 or 9, and the first digit must be 1, since m and n have the same
number of decimal digits. Hence there are 3
k−1
choices for m and
hence for n.
2. A convex hexagon ABCDEF satisfies the following conditions:
(a) Opposite sides are parallel (i.e. AB | DE, BC | EF, CD |
FA).
(b) The distances between opposite sides are equal (i.e.
d(AB, DE) = d(BC, EF) = d(CD, FA), where d(g, h) denotes
the distance between lines g and h).
(c) The angles ∠FAB and ∠CDE are right.
Show that diagonals BE and CF intersect at an angle of 45

.
Solution: The conditions imply that A and D are opposite vertices
of a square APDQ such that B, C, E, F lie on AP, PD, DQ, QA,
respectively, and that all six sides of the hexagon are tangent to the
inscribed circle of the square. The diagonals BE and CF meet at
the center O of the square. Let T, U, V be the feet of perpendiculars
from O to AB, BC, CD; then ∠TOB = ∠BOU by reflection across
OB, and similarly ∠UOC = ∠COV . Therefore π/2 = 2∠BOC,
proving the claim.
3. The polynomials P
n
(x) are defined by P
0
(x) = 0, P
1
(x) = x and
P
n
(x) = xP
n−1
(x) + (1 −x)P
n−2
(x) n ≥ 2.
103
For every natural number n ≥ 1, find all real numbers x satisfying
the equation P
n
(x) = 0.
Solution: One shows by induction that
P
n
(x) =
x
x −2
[(x −1)
n
−1].
Hence P
n
(x) = 0 if and only if x = 0 or x = 1 + e
2πik/n
for some
k ∈ ¦1, . . . , n −1¦.
4. The real numbers x, y, z, t satisfy the equalities x+y +z +t = 0 and
x
2
+y
2
+z
2
+t
2
= 1. Prove that
−1 ≤ xy +yz +zt +tx ≤ 0.
Solution: The inner expression is (x + z)(y + t) = −(x + z)
2
, so
the second inequality is obvious. As for the first, note that
1 = (x
2
+z
2
) + (y
2
+t
2
) ≥
1
2
[(x +z)
2
+ (y +t)
2
] ≥ [(x +z)(y +t)[
by two applications of the power mean inequality.
5. A convex polyhedron P and a sphere S are situated in space such
that S intercepts on each edge AB of P a segment XY with AX =
XY = Y B =
1
3
AB. Prove that there exists a sphere T tangent to
all edges of P.
Solution: Let AB and BC be two edges of the polyhedron, so that
the sphere meets AB in a segment XY with AX = XY = Y B and
meets BC in a segment ZW with BZ = ZW = WC. In the plane
ABC, the points X, Y, Z, W lie on the cross-section of the sphere,
which is a circle. Therefore BY BX = BZ BW by power-of-
a-point; this clearly implies AB = BC, and so the center of S is
equidistant from AB and BC. We conclude that any two edges of
P are equidistant from S, and so there is a sphere concentric with
S tangent to all edges.
104
6. Natural numbers k, n are given such that 1 < k < n. Solve the
system of n equations
x
3
i
(x
2
i
+ +x
2
i+k−1
) = x
2
i−1
1 ≤ i ≤ n
in n real unknowns x
1
, . . . , x
n
. (Note: x
0
= x
n
, x
1
= x
n+1
, etc.)
Solution: The only solution is x
1
= x
n
= k
−1/3
. Let L and M
be the smallest and largest of the x
i
, respectively. If M = x
i
, then
kM
3
L
2
≤ x
3
i
(x
2
i
+ +x
2
i+k−1
) = x
2
i−1
≤ M
2
and so M ≤ 1/(kL
2
). Similarly, if L = x
j
, then
kL
3
M
2
≥ x
3
j
(x
2
j
+ +x
2
j+k−1
) = x
2
j−1
≥ L
2
and so L ≥ 1/(kM
2
). Putting this together, we get
L ≥
1
kM
2
≥ kL
4
and so L ≥ k
−1/3
; similarly, M ≤ k
−1/3
. Obviously L ≤ M, so we
have L = M = k
−1/3
and x
1
= = x
n
= k
−1/3
.
7. Show that there do not exist nonnegative integers k and m such that
k! + 48 = 48(k + 1)
m
.
Solution: Suppose such k, m exist. We must have 48[k!, so k ≥ 6;
one checks that k = 6 does not yield a solution, so k ≥ 7. In that
case k! is divisible by 32 and by 9, so that (k! + 48)/48 is relatively
prime to 6, as then is k + 1.
If k + 1 is not prime, it has a prime divisor greater than 3, but
this prime divides k! and not k! + 48. Hence k + 1 is prime, and by
Wilson’s theorem k! +1 is a multiple of k+1. Since k! +48 is as well,
we find k + 1 = 47, and we need only check that 46!/48 + 1 is not a
power of 47. We check that 46!/48 +1 ≡ 29 (mod 53) (by cancelling
as many terms as possible in 46! before multiplying), but that 47 has
order 13 modulo 53 and that none of its powers is congruent to 29
modulo 53.
105
8. Show that there is no polynomial P(x) of degree 998 with real co-
efficients satisfying the equation P(x)
2
− 1 = P(x
2
+ 1) for all real
numbers x.
Solution: The equation implies P(x) = ±P(−x); since P has
even degree, it must be an even polynomial, that is, P(x) = Q(x
2
)
for some polynomial Q of degree 499. Then Q(t)
2
−1 = Q(t
2
+2t+1)
for infinitely many values of t (namely t ≥ 0), so this equation is also
a polynomial identity. However, it implies that Q(t) = ±Q(−2 −t);
if we put R(t) = Q(t −1), we have R(t) = ±R(−t), so that R is an
odd polynomial. In particular, R(0) = 0, so Q(−1) = 0. But now
we find Q(1) = −1, Q(4) = 0, Q(25) = −1, . . .; this process produces
infinitely many zeroes of Q, a contradiction.
9. We are given a collection of rectangular bricks, no one of which is
a cube. The edge lengths are integers. For every triple of positive
integers (a, b, c), not all equal, there is a sufficient supply of ab c
bricks. Suppose that the bricks completely tile a 10 10 10 box.
(a) Assume that at least 100 bricks have been used. Prove that
there exist at least two parallel bricks, that is, if AB is an edge
of one of the bricks, A

B

is an edge of the other and AB | A

B

,
then AB = A

B

.
(b) Prove the same statement with 100 replaced by a smaller num-
ber. The smaller the number, the better the solution.
Solution: We prove the claim with 97 bricks. For each integer up
to 16, we tabulate the number of nonparallel bricks of that volume
(disallowing cubical bricks and bricks with a dimension greater than
10) and their total volume:
Volume 2 3 4 5 6 7 8 9 10 12 14 15 16
Number 3 3 6 3 9 3 9 6 9 15 6 6 12
Total 6 9 24 15 54 21 72 54 90 180 74 90 192
Assuming no two bricks are parallel, the 90 smallest bricks have total
volume 891. The 7 other bricks each have volume at least 18, giving
a total volume of at least 1017, a contradiction.
106
We have not determined the optimal constant (one can improve the
above bound to 96 easily), but we note that an arrangement with 73
nonparallel bricks is possible.
107
2.3 Balkan Mathematical Olympiad
1. Let O and G be the circumcenter and centroid, respectively, of tri-
angle ABC. If R is the circumradius and r the inradius of ABC,
show that
OG ≤
_
R(R −2r).
Solution: Using vectors with origin at O, we note that
OG
2
=
1
9
(A+B +C)
2
=
1
3
R
2
+
2
9
R
2
(cos 2A+ cos 2B + cos 2C).
Hence R
2
− OG
2
= (a
2
+ b
2
+ c
2
)/9. On the other hand, by the
standard area formula K = rs = abc/4R, we have 2rR = abc/(a +
b +c). We now note that
(a
2
+b
2
+c
2
)(a +b +c) ≥ 9abc
by two applications of the AM-GM inequality, so 2rR ≤ R
2
−OG
2
,
proving the claim.
2. Let p > 5 be a prime number and X = ¦p − n
2
[n ∈ N, n
2
< p¦.
Prove that X contains two distinct elements x, y such that x ,= 1
and x divides y.
Solution: Write p = m
2
+ k with k ≤ 2m. If 1 < k < 2m and
k is either odd or a multiple of 4, we can write k = a(2m − a) =
m
2
− (m − a)
2
, and then k[p
2
− (m − a)
2
. If k is even but not a
multiple of 4, write 2k = a(2m − a) and proceed as above, which
still works because 2k < m
2
for p > 5.
We can’t have k = 2m since m
2
+ 2m = m(m + 2) is composite, so
the only case left is p = m
2
+1. In this case let t = 2m = p−(m−1)
2
and write either t or 2t as a difference of squares (m−1)
2
−(m−a)
2
;
this still works because 2t < (m−1)
2
for p ≥ 7.
3. Let ABCDE be a convex pentagon, and let M, N, P, Q, R be the
midpoints of sides AB, BC, CD, DE, EA, respectively. If the seg-
ments AP, BQ, CR, DM have a common point, show that this point
also lies on EN.
108
Solution: Let T be the common point, which we take as the origin
of a vector system. Then AP = 0, or equivalently A(C+D) = 0,
which we may write A C = D A. Similarly, we have B D =
E B, C E = A C, D A = B D. Putting these equalities
together gives E B = C E, or E (B + C) = 0, which means
the line EN also passes through the origin T.
4. Show that there exists a subset A of the set ¦1, 2, . . . , 1996¦ having
the following properties:
(a) 1, 2
1996
−1 ∈ A;
(b) every element of A, except 1, is the sum of two (not necessarily
distinct) elements of A;
(c) A contains at most 2012 elements.
Solution: We state the problem a bit differently: we want to
write down at most 2012 numbers, starting with 1 and ending with
2
1996
−1, such that every number written is the sum of two numbers
previously written. If 2
n
− 1 has been written, then 2
n
(2
n
− 1)
can be obtained by n doublings, and 2
2n
− 1 can be obtained in
one more step. Hence we can obtain 2
2
− 1, 2
4
− 1, . . . , 2
256
− 1
in (1 + 1) + (2 + 1) + + (128 + 1) = 263 steps. In 243 steps,
we turn 2
256
− 1 into 2
499
− 2
243
. Now notice that the numbers
2
243
−2
115
, 2
115
−2
51
, 2
51
−2
19
, 2
19
−2
3
, 2
3
−2
1
, 2
1
−1 have all been
written down; in 6 steps, we now obtain 2
499
−1. We make this into
2
998
−1 in 500 steps, and make 2
1996
−1 in 999 steps. Adding 1 for
the initial 1, we count
1 + 263 + 243 + 6 + 500 + 999 = 2012
numbers written down, as desired.
109
2.4 Czech-Slovak Match
1. Let Z

denote the set of nonzero integers. Show that an integer p > 3
is prime if and only if for any a, b ∈ Z

, exactly one of the numbers
N
1
= a +b −6ab +
p −1
6
, N
2
= a +b + 6ab +
p + 1
6
belongs to Z

.
Solution: If N
1
= 0, then p = (6a −1)(6b −1) is composite; simi-
larly, N
2
= 0 implies p = −(6a+1)(6b+1) is composite. Conversely,
suppose that p is composite. If p ≡ 0, 2, 3 or 4 (mod 6), then N
1
and
N
2
are not integers. Otherwise, all divisors of p are congruent to
±1 (mod 6), so there exist natural numbers c, d such that
p = (6c + 1)(6d + 1)or(6c −1)(6d −1)or(6c + 1)(6d −1).
In the first case, N
2
is not an integer and N
1
= 0 for a = −c, b = −d.
In the second case, N
2
is not an integer and N
1
= 0 for a = c, b = d.
In the third case, N
1
is not an integer and N
2
= 0 for a = c, b = −d.
2. Let M be a nonempty set and ∗ a binary operation on M. That is,
to each pair (a, b) ∈ M M one assigns an element a ∗ b. Suppose
further that for any a, b ∈ M,
(a ∗ b) ∗ b = a and a ∗ (a ∗ b) = b.
(a) Show that a ∗ b = b ∗ a for all a, b ∈ M.
(b) For which finite sets M does such a binary operation exist?
Solution:
(a) First note that [a ∗ (a ∗ b)] ∗ (a ∗ b) = a by the first rule. By
the second rule, we may rewrite the left side as b ∗ (a ∗ b), so
b ∗ (a ∗ b) = a and so b ∗ a = b ∗ [b ∗ (a ∗ b)]. By the second rule,
this equals a ∗ b, so a ∗ b = b ∗ a.
(b) Such sets exist for all finite sets M. Identify M with ¦1, . . . , n¦
and define
a ∗ b = c ⇔a +b +c ≡ 0 (mod n).
It is immediate that the axioms are satisfied.
110
3. A pyramid π is given whose base is a square of side 2a and whose
lateral edges have length a

17. Let M be a point in the interior of
the pyramid, and for each face of π, consider the pyramid similar to π
whose vertex is M and whose base lies in the plane of the face. Show
that the sum of the surface areas of these five pyramids is greater
than or equal to one-fifth the surface area of π, and determine for
which M equality holds.
Solution: All faces of π have the same area S
1
= 4a
2
. The
segments connecting the point M with the vertices of the pyramid
partition π into a quadrilateral pyramid and four tetrahedra. Let
v
1
, . . . , v
5
denote the heights of these five bodies from vertex M;
then the volumes of the bodies sum to the volume of π, which means
5

i=1
1
3
S
1
v
i
=
1
3
S
1
v.
In other words,

v
i
= v. On the other hand, the v
i
are also the
heights of the small pyramids similar to π, so
5

i=1
v
i
v
= 1 =
5

i=1
k
i
=
5

i=1
_
S
i
S
,
where S denotes the surface area of π, S
i
that of the i-th small
pyramid, and k
i
the coefficient of similarity between the i-th pyramid
and π. We conclude
S =
_
5

i=1
_
S
i
_
2
≤ 5
5

i=1
S
i
by the power mean (or Cauchy-Schwarz) inequality. Equality holds
only when all of the S
i
are equal, as are the v
i
, which occurs when
M is the center of the inscribed sphere of the pyramid.
4. Determine whether there exists a function f : Z → Z such that for
each k = 0, 1, . . . , 1996 and for each m ∈ Z the equation f(x) +bx =
m has at least one solution x ∈ Z.
Solution: Each integer y can be written uniquely as 1997m + k
with m ∈ Z and k ∈ ¦0, . . . , 1996¦. Define the function f by f(y) =
111
m−ky; then f(x) +kx = m has the solution x = 1997m+k, so the
condition is satisfied.
5. Two sets of intervals A, B on a line are given. The set A contains
2m−1 intervals, every two of which have a common interior point.
Moreover, each interval in A contains at least two disjoint intervals
of B. Show that there exists an interval in B which belongs to at
least m intervals from A.
Solution: Let α
i
= [a
i
, b
i
] (i = 1, . . . , 2m − 1) be the intervals,
indexed so that a
1
≤ a
2
≤ . . . ≤ a
2m−1
. Choose k ∈ ¦m, . . . , 2m−1¦
to minimize b
k
. By assumption, the interval α
k
contains two disjoint
intervals from B, say β
1
= [c
1
, d
1
] and β
2
= [c
2
, d
2
]. Without loss of
generality, assume
a
k
≤ c
1
< d
1
< c
2
< d
2
≤ b
k
.
If d
1
≤ b
i
for i = 1, 2, . . . , m, then β
1
⊂ α
i
for i = 1, 2, . . . , m,
so β
1
satisfies the desired property. Otherwise, d
1
> b
s
for some
s ∈ ¦1, 2, . . . , m¦. By assumption, c
2
> d
1
> b
s
. Since no two of the
α are disjoint, we have b
s
≥ a
i
for all i, so c
2
> a
i
. On the other
hand, by the choice of k, b
k
≤ b
i
for i = m, . . . , 2m
1
. Therefore
a
i
< c
2
< d
2
≤ b
k
≤ b
i
for each i ∈ ¦m, m + 1, . . . , 2m− 1¦, and so
β
2
has the desired property.
6. The points E and D lie in the interior of sides AC and BC, respec-
tively, of a triangle ABC. Let F be the intersection of the lines
AD and BE. Show that the area of the triangles ABC and ABF
satisfies
S
ABC
S
ABF
=
[AC[
[AE[
+
[BC[
[BD[
−1.
Solution: Let the line parallel to BC through F meet AB at K
and AC at N; let the line parallel to CA through F meet BC at
M and AB at P; let the line parallel to AB through F meet BC
at L and CA at O. Let v
C
and v
F
be the distances of C and F,
respectively, to the line AB. Then
S
ABC
S
ABF
=
v
C
v
F
=
BC
FK
=
BL +LM +MC
FK
.
112
Under the homothety through B carrying F to E, the segment PM
maps to AC. Thus
LM
FK
=
FM
FP
=
EC
AC
=
AC
AE
−1
and similarly
CM
FK
=
NF
FK
=
CD
BD
=
BC
BD
−1.
The required assertion follows by putting this all together and noting
BL = FK.
113
2.5 Iberoamerican Olympiad
1. Let n be a natural number. A cube of side length n can be di-
vided into 1996 cubes whose side lengths are also natural numbers.
Determine the smallest possible value of n.
Solution: Since 1996 > 12
3
, we must have n ≥ 13, and we now
show n = 13 suffices. Inside a cube of edge 13, we place one cube of
edge 5, one cube of length 4, and 2 of length 2, and fill the remainder
with cubes of edge 1. The number of cubes used is
13
3
−(5
3
−1) −(4
3
−1) −2(2
3
−1) = 2197 −124 −63 −2(7) = 1996,
as desired.
2. Let M be the midpoint of the median AD of triangle ABC. The line
BM intersects side AC at the point N. Show that AB is tangent to
the circumcircle of NB if and only if the following equality holds:
BM
BN
=
BC
2
BN
2
.
Solution: First note that (by the Law of Sines in triangles ABM
and AMN)
BM
MN
=
sin ∠MAB
sin ∠ABM
sin ∠MNA
sin ∠NAM
.
Then note that (by the Law of Sines in triangles ABD and ADC)
sin ∠MAB
sin ∠NAM
=
BD
DC
sin ∠ABD
sin ∠DCA
.
By the Law of Sines in triangle BNC,
BC
2
BN
2
=
sin
2
∠BNC
sin
2
∠BCN
;
therefore BM/MN = BC
2
/BN
2
if and only if
sin ∠ABD
sin ∠ABM
=
sin ∠BNC
sin ∠BCN
,
which if we put α = ∠ABM, β = ∠BCN, θ = ∠NBC becomes
sin(α +θ) sin β = sin(β +θ) sin α.
114
Rewriting each side as a difference of cosines and cancelling, this
becomes
cos(α +θ −β) = cos(β −α +θ).
Both angles in this equation are between −π and π, so the angles
are either equal or negatives of each other. The latter implies θ = 0,
which is untrue, so we deduce α = β, and so BM/MN = BC
2
/BN
2
if and only if ∠ABM = ∠BCN, that is, if AB is tangent to the
circumcircle of BNC.
3. We have a square table of k
2
−k + 1 rows and k
2
−k + 1 columns,
where k = p + 1 and p is a prime number. For each prime p, give
a method of distributing the numbers 0 and 1, one number in each
square of the table, such that in each row and column there are
exactly k zeroes, and moreover no rectangle with sides parallel to
the sides of the table has zeroes at all four corners.
Solution: The projective plane of order p is defined as the set of
equivalence classes in the set (Z mod p)
3
−(0, 0, 0) where (a, b, c) is
equivalent to (ma, mb) whenever m is coprime to p. Label the rows
and columns by elements of the projective plane, and place a 1 in
row (a, b, c) and column (d, e, f) if ad+be +cf = 0; then the desired
condition is immediately verified.
Solution: This holds for n = 2, and we prove it in general by
induction on n. Assume the result for n − 1. The fractions newly
added are those with b = n and a relatively prime to n. Those
removed have a + b = n. Now note that the added fractions 1/an
and 1/bn precisely cancel the removed fraction 1/ab, so the sum
remains unchanged.
4. Given a natural number n ≥ 2, consider all of the fractions of the
form
1
ab
, where a and b are relatively prime natural numbers such
that a < b ≤ n and a +b > n. Show that the sum of these fractions
is 1/2.
5. Three counters A, B, C are placed at the corners of an equilateral
triangle of side n. The triangle is divided into triangles of side length
1. Initially all lines of the figure are painted blue. The counters move
115
along the lines, painting their paths red, according to the following
rules:
(i) First A moves, then B, then C, then A, and so on in succesion.
On each turn, each counter moves the full length of a side of
one of the short triangles.
(ii) No counter may retrace a segment already painted red, though
it can stop on a red vertex, even if another counter is already
there.
Show that for all integers n > 0 it is possible to paint all of the
segments red in this fashion.
Solution: The cases n = 1, 2 are trivial; we use them as the base
cases for an inductive proof. We describe the moves for A, under-
standing that the moves for B and C are the same moves rotated
by 2π/3 and 4π/3, respectively. To fix directions, imagine the trian-
gle is oriented with one side parallel to the horizontal and the third
vertex above it, and suppose A starts at the bottom left. We first
move A right for n−1 steps. We then alternate moving it up to the
left and down to the left for a total of 2n − 5 steps. We then trace
a path through the inner triangle of side n − 2 using the induction
hypothesis, ending at another corner. Finally, we follow the unused
edges from that corner, ending three steps later.
6. In the plane are given n distinct points A
1
, . . . , A
n
, and to each point
A
i
is assigned a nonzero real number λ
i
such that (A
i
A
j
)
2
= λ
i

j
for all i ,= j. Show that
(a) n ≤ 4;
(b) If n = 4, then
1
λ
1
+
1
λ
2
+
1
λ
3
+
1
λ
4
= 0.
Solution: For any four points A
i
, A
j
, A
k
, A
m
, we have
A
i
A
2
k
−A
k
A
2
j
= A
i
A
2
m
−A
m
A
2
j
= λ
i
−λ
j
and by an elementary lemma, this means A
i
A
j
is perpendicular to
A
k
A
m
. Since this holds for all permutations of i, j, k, m, we conclude
that A
m
is the orthocenter of triangle A
i
A
j
A
k
, so that in particular
no other points can be given, hence n ≤ 4.
116
Now suppose n = 4; without loss of generality, assume that A
1
A
2
A
3
form an acute triangle inside which A
4
lies. Note that

1
= A
1
A
2
2
+A
1
A
2
3
−A
1
A
2
3
= 2A
1
A
2
A
1
A
3
cos ∠A
3
A
1
A
2
.
Using this and analogous formulae, and that ∠A
1
A
3
A
4
= ∠A
1
A
2
A
4
and ∠A
3
A
1
A
2
= π −∠A
3
A
4
A
2
, we get
λ
1
λ
2
λ
3
λ
4
=
(A
1
A
2
A
1
A
3
cos ∠A
3
A
1
A
2
)(A
1
A
2
A
2
A
4
cos ∠A
1
A
2
A
4
)
(A
3
A
1
A
3
A
4
cos ∠A
1
A
3
A
4
)(A
2
A
4
A
3
A
4
cos ∠A
2
A
4
A
3
)
= −
A
1
A
2
2
A
3
A
4
2
= −
λ
1

2
λ
3

4
.
Therefore 1/λ
1
+ 1/λ
2
+ 1/λ
3
+ 1/λ
4
= 0, as desired.
117
2.6 St. Petersburg City Mathematical Olympiad
1. Several one-digit numbers are written on a blackboard. One can
replace any one of the numbers by the last digit of the sum of all
of the numbers. Prove that the initial collection of numbers can be
recovered by a sequence of such operations.
Solution: At each step, erase the leftmost number and write the
sum on the right, so that (x
1
, . . . , x
n
) becomes (x
2
, . . . , x
n−1
, x
1
+
+x
n
). Since there are finitely many n-tuples, some n-tuple must
repeat, and the first such must be the original configuration, since
each n-tuple (y
1
, . . . , y
n
) comes from a unique n-tuple, namely (y
n

y
1
− −y
n−1
, y
1
, . . . , y
n−1
).
2. Fifty numbers are chosen from the set ¦1, . . . , 99¦, no two of which
sum to 99 or 100. Prove that the chosen numbers must be 50, 51, . . . ,
99.
Solution: In the sequence
99, 1, 98, 2, 97, 3, . . . , 51, 49, 50,
any two adjacent numbers sum to 99 or 100, so both cannot occur.
Grouping the numbers into 49 pairs plus one extra, we see at most
50 numbers can occur, and 50 must be one of them. Since we must
step at least two terms along the list to make the next choice, the
numbers must indeed be 50, 51, . . . , 99. Clearly we maximize the
number of chosen numbers by taking them two apart, and the list
has odd length, so taking 99, 98, . . . , 50 is the only Draw a graph
with ¦1, . . . , 99¦ as vertices, where two numbers are adjacent if they
sum to 99 or 100.
3. Let M be the intersection of the diagonals of the trapezoid ABCD.
A point P such that ∠APM = ∠DPM is chosen on the base BC.
Prove that the distance from C to the line AP is equal to the distance
from B to the line DP.
Solution: Since M lies on the internal angle bisector of angle
∠APD, it lies at the same distance from the lines AP and DP. The
ratio of this distance to the distance from C to AP is AM/AC, while
118
the ratio of this distance to the distance from B to DP is BM/MD.
But AM/MC = BM/MD by similar triangles, so the latter two
distances are indeed the same.
4. In a group of several people, some are acquainted with each other
and some are not. Every evening, one person invites all of his ac-
quaintances to a party and introduces them to each other. Suppose
that after each person has arranged at least one party, some two peo-
ple are still unacquainted. Prove that they will not be introduced at
the next party.
Solution: We claim that two people unacquainted after each per-
son has held at least one party lie in different connected components
of the original (and final) graph of acquaintance. If two people are
connected by a path of length n, they will be connected by a path
of length n − 1 after one person along the path (including either of
the two people at the ends) holds a party, by a path of length n −2
after two of them hold a party, and so on. After each person holds
a party, the two people on the ends will be acquainted.
5. Let M be the intersection of the diagonals of a cyclic quadrilateral,
N the intersections of the lines joining the midpoints of opposite
sides, and O the circumcenter. Prove that OM ≥ ON.
Solution: We use vectors. If A, B, C, D are the vertices of the
quadrilateral in order, then N = (A+B+C+D)/4; in particular, if
E and F are the midpoints of AC and BD, respectively, then N is
the midpoint of EF. The circle with diameter OM passes through E
and F, so OM ≥ OE and OM ≥ OF; moreover, in any triangle, the
median to a side is no longer than the average of the other two sides
(rotate the triangle by π about the foot of the median, so twice the
median becomes a diagonal of a parallelogram, and use the triangle
inequality). Hence OM ≥ ON.
6. Prove that for every polynomial P(x) of degree 10 with integer coeffi-
cients, there is an infinite (in both directions) arithmetic progression
which does not contain P(k) for any integer k.
Solution: Since P is not linear, there exists x such that P(x +
1) − P(x) = n > 1. Since P(t + k) ≡ P(t) (mod k), each value of
119
P is congruent to one of P(x), P(x + 1), . . . , P(x + n − 1) modulo
n. However, since P(x + 1) − P(x) = n, the values of P cover at
most n − 1 distinct residue classes, and so there is an arithmetic
progression of difference n containing no values of P.
7. There are n parking spaces along a one-way road down which n
drivers are traveling. Each driver goes to his favorite parking space
and parks there if it is free; otherwise, he parks at the nearest free
place down the road. If there is no free space after his favorite, he
drives away. How many lists a
1
, . . . , a
n
of favorite parking spaces are
there which permit all of the drivers to park?
Solution: There are (n + 1)
n−1
such lists. To each list of prefer-
ences (a
1
, . . . , a
n
) which allows all drivers to park, associate the list
(b
2
, . . . , b
n
), where b
i
is the difference mod n + 1 between the num-
bers of the space driver i wants and the space the previous driver
took. Clearly any two lists give rise to different sequences of b
i
.
We now argue that any list of b
i
comes from a list of preferences.
Imagine that the n parking spaces are arranged in a circle with an
extra phantom space put in at the end. Put the first driver in any
space, then for i = 2, . . . , n, put driver i in the first available space
after the space b
i
away from the space taken by driver i − 1; this
gives a list of preferences if and only if the one space not taken at
the end is the phantom space. However, by shifting the position of
the first driver, we can always ensure that the phantom space is the
space not taken.
Thus the sequences of b
i
are equal in number to the lists of prefer-
ences, so there are (n + 1)
n−1
of each.
8. Find all positive integers n such that 3
n−1
+ 5
n−1
divides 3
n
+ 5
n
.
Solution: This only occurs for n = 1. Let s
n
= 3
n
+ 5
n
and note
that
s
n
= (3 + 5)s
n−1
−3 5 s
n−2
so s
n−1
must also divide 3 5 s
n−2
. If n > 1, then s
n−1
is coprime
to 3 and 5, so s
n−1
must divide s
n−2
, which is impossible since
s
n−1
> s
n−2
.
120
9. Let M be the midpoint of side BC of triangle ABC, and let r
1
and
r
2
be the radii of the incircles of triangles ABM and ACM. Prove
that r
1
< 2r
2
.
Solution: Recall that the area of a triangle equals its inradius
times half its perimeter. Since ABM and ACM have equal area, we
have
r
1
r
2
=
AC +AM +CM
AB +AM +BM
and it suffices to show AC + AM + CM < 2AB + 2AM + 2BM;
since BM = CM, this simplifies to AC < 2AB + AM + CM. In
fact, by the triangle inequality, AC < AM +CM, so we are done.
10. Several positive integers are written on a blackboard. One can erase
any two distinct integers and write their greatest common divisor and
least common multiple instead. Prove that eventually the numbers
will stop changing.
Solution: If a, b are erased and c < d are written instead, we have
c ≤ min(a, b) and d ≥ max(a, b); moreover, ab = cd. From this we
may conclude a+b ≤ c+d by writing ab+a
2
= cd+a
2
≤ ac+ad (the
latter since (d − a)(c − a) ≤ 0) and dividing both sides by a. Thus
the sum of the numbers never decreases, and it is obviously bounded
(e.g. by n times the product of the numbers, where n is the number
of numbers on the board); hence it eventually stops changing, at
which time the numbers never change.
11. No three diagonals of a convex 1996-gon meet in a point. Prove that
the number of triangles lying in the interior of the 1996-gon and
having sides on its diagonals is divisible by 11.
Solution: There is exactly one such triangle for each choice of six
vertices of the 1996-gon: if A, B, C, D, E, F are the six vertices in
order, the corresponding triangle is formed by the lines AD, BE, CF.
Hence the number of triangles is
_
1996
6
_
; since 1991 is a multiple of
11, so is the number of triangles.
12. Prove that for every polynomial x
2
+px+q with integer coefficients,
there exists a polynomial 2x
2
+ rx + s with integer coefficiets such
121
that the sets of values of the two polynomials on the integers are
disjoint.
Solution: If p is odd, then x
2
+px+q has the same parity as q for
all integers x, and it suffices to choose r even and s of the opposite
parity as q. If p = 2m is even, then x
2
+px+q = (x+m)
2
+(q −m
2
)
which is congruent to q −m
2
or q −m
2
+1 modulo 4. Now it suffices
to choose r even and s congruent to q −m
2
+ 2 modulo 4.
13. In a convex pentagon ABCDE, AB = BC, ∠ABE + ∠DBC =
∠EBD, and ∠AEB + ∠BDC = π. Prove that the orthocenter of
triangle BDE lies on AC.
Solution: By the assumption ∠AEB + ∠BDC = π, there ex-
ists a point F on AC such that ∠AFB = ∠AEB and ∠BFC =
∠BDC; this means F is the second intersection of the circumcircles
of BCD and ABE. The triangle ABC is isosceles, so ∠FCB =
(π −∠ABC)/2. Hence ∠FDB = ∠FCB = π/2 −∠DBE by the as-
sumption ∠ABE +∠DBC = ∠EBD, and so DF ⊥ BE. Similarly
EF ⊥ BD, and so F is the orthocenter of BDE.
14. In a federation consisting of two republics, each pair of cities is linked
by a one-way road, and each city can be reached from each other
city by these roads. The Hamilton travel agency provides n different
tours of the cities of the first republic (visiting each city once and
returning to the starting city without leaving the republic) and m
tours of the second republic. Prove that Hamilton can offer mn such
tours around the whole federation.
Solution: From each pair of tours, we construct a tour of both
republics from which the two original tours can be reconstructed
(so in particular, all such pairs will be distinct). We first look for
cities u, v in the first republic and w, x in the second, such that u
immediately precedes v in the first tour, x immediately precedes w
in the second, and there are roads from u to w and from x to v. In
that case, we may start from v, tour the first republic ending at u,
go to w, tour the second republic ending at x, and return to v. Call
this a “direct” tour; the two original tours can be determined from
122
a direct tour by reading off the cities of either republic in the order
they appear.
Now suppose no direct tour exists; without loss of generality, assume
the number of cities in the second republic does not exceed the num-
ber in the first republic. In this case, whenever u is some number of
cities ahead of v in the first tour, and x is the same number ahead
of w in the second tour, the “parallel” roads uw and vx must point
in the same direction (by repeated application of the above obser-
vation). Since each city is reachable from each other city, given a
vertex v, we can find x immediately preceding w in the second tour
such that there are roads from w to v and from v to x. We now
form an “alternating” tour starting at v by alternately taking roads
parallel to vx and wv; once the second republic is exhausted, we
tour the remaining cities of the first republic in order, returning to
v. The two original tours can be determined from an alternating
tour by reading off the cities of the first republic in the order they
appear, and those of the second republic in the reverse of the order
in which they appear.
15. Sergey found 11 different solutions to the equation f(19x−96/x) = 0.
Prove that if he had tried harder, he could have found at least one
more solution.
Solution: The equation 19x − 96/x = t can be rewritten 19x
2

tx − 96 = 0; since t
2
+ 19 96 > 0, it always has two real roots.
Therefore the number of zeroes of f (if finite) is an even integer, so
Sergey can find at least one more zero.
16. The numbers 1, 2, . . . , 2n are divided into two groups of n numbers.
Prove that the pairwise sums of numbers in each group (the sum of
each number with itself included) have the same remainders upon
division by 2n. (Note: each pair of distinct numbers should be added
twice, and each remainder must occur the same number of times in
the two groups.)
Solution: Let S and T be the groups, and let P(x) =

i∈S
x
i
and
Q(x) =

j∈T
x
j
; the claim amounts to showing
P(x)
2
≡ Q(x)
2
(mod x
2n
−1).
123
This follows by noting that x−1[P(x)−Q(x) since both groups have
the same number of elements, and that x
2n−1
+ +1[P(x) +Q(x)
since each of the numbers 1, . . . , 2n occurs exactly once.
17. The points A

and C

are chosen on the diagonal BD of a parallelo-
gram ABCD so that AA

| CC

. The point K lies on the segment
A

C, and the line AK meets CC

at L. A line parallel to BC is
drawn through K, and a line parallel to BD is drawn through C;
these meet at M. Prove that D, M, L are collinear.
Solution: Let M

and M

be the intersections of DM with MK
and MC, respectively. Since M

K | DA, we have LM

/LD =
LK/LA. Since CK | C

A, we have LK/LA = LC/LC

. Fi-
nally, since CM | C

D, we have LM

/LD = LC/LC

. Therefore
LM

/LD = LM

/LD and so M

= M

= M.
18. Find all quadruples of polynomials P
1
(x), P
2
(x), P
3
(x), P
4
(x) with
real coefficients such that for each quadruple of integers x, y, z, t such
that xy −zt = 1, one has
P
1
(x)P
2
(y) −P
3
(z)P
4
(t) = 1.
Solution: If P
1
(1) = 0, then P
3
(z)P
4
(t) = −1 for each pair of
integers z, t, and so P
3
and P
4
are constant functions; moreover,
P
1
(x)P
2
(y) = 0, so one of P
1
and P
2
is identically zero. Ignoring
such cases, which are easily enumerated, we assume P
i
(1) ,= 0 for all
i.
We first note that P
1
(x)P
2
(1) = P
1
(1)P
2
(x) for all nonzero integers
x, so that P
1
and P
2
are equal up to a scalar factor; similarly, P
3
and
P
4
are equal up to a scalar factor. Now note that P
1
(x)P
2
(ay) =
P
1
(ax)P
2
(y) for all nonzero a, x, y, so that the difference between
the two sides is identically zero as a polynomial in a. In particular,
that means no term in P
1
(x)P
2
(y) has unequal exponent in x and
y, and the same is true of P
1
(x)P
1
(y). On the other hand, if P
1
(x)
has terms of more than one degree, then P
1
(x)P
1
(y) contains a term
with different degrees in x and y. Hence P
1
(x) = cx
k
for some
integer k and some constant c, and similarly P
2
(x) = dx
k
, P
3
(x) =
ex
m
, P
4
(x) = fx
m
.
124
Thus we must determine when cdx
k
y
k
−efz
m
t
m
= 1 whenever xy −
zt = 1 in integers. Clearly k = m since otherwise one of the two
terms on the left dominates the other, and cd = 1 by setting x = y =
1 and z = t = 0, and similarly ef = 1. Now note that (xy)
k
−(zt)
k
=
1 can only happen in general for k = 1, since for k > 1, there are no
consecutive perfect k-th powers. We conclude P
1
(x) = cx, P
2
(x) =
x/c, P
3
(x) = ex, P
4
(x) = x/e for some nonzero real numbers c, e.
19. Two players play the following game on a 100 100 board. The
first player marks a free square, then the second player puts a 1 2
domino down covering two free squares, one of which is marked. This
continues until one player is unable to move. The first player wins if
the entire board is covered, otherwise the second player wins. Which
player has a winning strategy?
Solution: The first player has a winning strategy. Let us say
a position is stable if every square below or to the right of a free
square is free. Then we claim the first player can always ensure that
on his turn, either the position is stable or there is a free square with
exactly one free neighbor (or both).
Let us label the square in the i-th row and j-th column as (i, j), with
(1, 1) in the top left. We call a free square a corner if is not below or
to the right of another free square. Let (a
1
, b
1
), (a
2
, b
2
), . . ., (a
k
, b
k
)
be the corners from top to bottom.
First notice that if (a, b) is a corner such that both (a+1, b −1) and
(a−1, b +1) are nonfree (or off the board), then the first player may
mark (a, b), and however the second player moves, the result will be a
stable position. More generally, if (a, b), (a+1, b−1), , (a+k, b−k)
are corners and (a−1, b+1) and (a+k+1, b−k−1) are both nonfree
or off the board, the first player can be sure to return to a stable
position.
To show this, first note that we cannot have both a = 1 and b −
k = 1, or else the number of nonfree squares would be odd, which
is impossible. Without loss of generality, assume that b − k ,= 1
is not the final corner. The first player now marks (a, b). If the
second player covers (a, b) and (a, b +1), the position is again stable.
Otherwise, the first player marks (a+1, b −1) and the second player
is forced to cover it and (a + 2, b − 1). Then the first player marks
125
(a+2, b−2) and the second player is forced to cover it and (a+3, b−2),
and so on. After (a+k, b−k) is marked, the result is a stable position.
(Note that the assumption b−k ,= 1 ensures that the moves described
do not cross the edge of the board.)
To finish the proof, we need to show that such a chain of corners must
exist. Write the labels (a
1
, b
1
), . . . , (a
k
, b
k
) in a row, and join two
adjacent labels by a segment if they are of the form (a, b), (a+1, b−1).
If two adjacent labels (a, b), (a+i, b−j) are not joined by a segment,
then either i = 1 or j = 1 but not both. If i = 1, draw an arrow
between the labels pointing towards (a + i, b − j); otherwise draw
the arrow the other way. Also draw arrows pointing to (a
1
, b
1
) and
(a
k
, b
k
). There is now one more chain of corners (joined by segments)
than arrows, so some chain has two arrows pointing to it. That chain
satisfies the condition above, so the first player can use it to create
another stable position. Consequently, the first player can ensure
victory.
20. Let BD be the bisector of angle B in triangle ABC. The circumcircle
of triangle BDC meets AB at E, while the circumcircle of triangle
ABD meets BC at F. Prove that AE = CF.
Solution: By power-of-a-point, AEAB = ADAC and CFCB =
CD CA, so AE/CF = (AD/CD)(BC/AB). However, AB/CB =
AD/CD by the angle bisector theorem, so AE = CF.
21. A 10 10 table consists of positive integers such that for every five
rows and five columns, the sum of the numbers at their intersections
is even. Prove that all of the integers in the table are even.
Solution: We denote the first five entries in a row as the “head”
of that row. We first show that the sum of each head is even. We
are given that the sum of any five heads is even; by subtracting two
such sums overlapping in four heads, we deduce that the sum of any
two heads is even. Now subtracting two such relations from a sum
of five heads, we determine that the sum of any head is even.
By a similar argument, the sum of any five entries in a row is even.
By the same argument as above, we deduce that each entry is even.
126
22. Prove that there are no positive integers a and b such that for each
pair p, q of distinct primes greater than 1000, the number ap +bq is
also prime.
Solution: Suppose a, b are so chosen, and let m be a prime greater
than a+b. By Dirichlet’s theorem, there exist infinitely many primes
in any nonzero residue class modulo m; in particular, there exists a
pair p, q such that p ≡ b (mod m), q ≡ −a (mod m), giving ap + bq
is divisible by m, a contradiction.
23. In triangle ABC, the angle A is 60

. A point O is taken inside the
triangle such that ∠AOB = ∠BOC = 120

. The points D and E
are the midpoints of sides AB and AC. Prove that the quadrilateral
ADOE is cyclic.
Solution: Since ∠OBA = 60

− ∠OAB = ∠OAC, the triangles
OAB and OCA are similar, so there is a spiral similarity about O
carrying OAB to OCA. This similarity preserves midpoints, so it
carries D to E, and therefore ∠AOD = ∠COE = 120

− ∠AOE.
We conclude ∠DOE = 120

and so ADOE is cyclic.
24. There are 2000 towns in a country, each pair of which is linked by
a road. The Ministry of Reconstruction proposed all of the possi-
ble assignments of one-way traffic to each road. The Ministry of
Transportation rejected each assignment that did not allow travel
from any town to any other town. Prove that more of half of the
assignments remained.
Solution: We will prove the same statement for n ≥ 6 towns.
First suppose n = 6. In this case there are 2
15
assignments, and an
assignment is rejected only if either one town has road to all of the
others in the same direction, or if there are two sets of three towns,
such that within each town the roads point in a circle, but all of the
roads from one set to the other point in the same direction. There
are 5 2
11
bad assignments of the first kind and 20 8 of the second
kind, so the fraction of good assignments is at least 5/8.
127
For n ≥ 6, we claim that the fraction of good assignments is at least
5
8
n−1

i=6
_
1 −
1
2
i−1
_
.
We show this by induction on n: a good assignment on n − 1 ver-
tices can be extended to a good assignment on n vertices simply by
avoiding having all edges from the last vertex pointing in the same
direction, which occurs in 2 cases out of 2
n−1
.
Now it suffices to show that the above expression is more than 1/2.
In fact,

i=5
_
1 −
1
2
i
_
−1
≤ 1 +

i=5
i −4
2
i
= 1 +
1
2
5

i=0
i + 1
2
i
= 1 +
1
2
5

i=0

k=i
1
2
i
= 1 +
1
2
5

i=0
1
2
i−1
= 1 +
4
2
5
=
9
8
Thus the fraction of good assignments is at least (5/8)(8/9) = 5/9 >
1/2.
25. The positive integers m, n, m, n are written on a blackboard. A
generalized Euclidean algorithm is applied to this quadruple as fol-
lows: if the numbers x, y, u, v appear on the board and x > y, then
x −y, y, u +v, v are written instead; otherwise x, y −x, u, v +u are
written instead. The algorithm stops when the numbers in the first
pair become equal (they will equal the greatest common divisor of
m and n). Prove that the arithmetic mean of the numbers in the
second pair at that moment equals the least common multiple of m
and n.
Solution: Note that xv + yu does not change under the opera-
tion, so it remains equal to 2mn throughout. Thus when the first
128
two numbers both equal gcd(m, n), the sum of the latter two is
2mn/ gcd(m, n) = 2lcm(m, n).
26. A set of geometric figures consists of red equilateral triangles and
blue quadrilaterals with all angles greater than 80

and less than
100

. A convex polygon with all of its angles greater than 60

is
assembled from the figures in the set. Prove that the number of
(entirely) red sides of the polygon is a multiple of 3.
Solution: We first enumerate the ways to decompose various angles
α into sums of 60

angles (T) and angles between 80

and 100

(Q):
60

< α < 180

α = T, 2T, T +Q, 2Q
α = 180

α = 3T, 2Q
α = 360

α = 6T, 3T + 2Q, 4Q
(The range for Q cannot be increased, since 3Q ranges from 240

to 300

; even including the endpoints would allow for additional
combinations above.)
The set of all of the vertices of all of the polygons can be divided
into three categories, namely those which lie in the interior, on an
edge, or at a vertex of the large polygon. The above computation
shows that the number of T angles at interior or edge vertices is a
multiple of 3; since the total number is three times the number of
triangles, we deduce that the number of T angles at vertices of the
large polygon is also a multiple of 3.
Next note that every edge is entirely of one color, since we cannot
have both a T and a Q at a 180

angle. Additionally, no vertex of
the large polygon consists of more than two angles, and a T cannot
occur by itself. All this means that the number of red sides is half
the number of T angles at the vertices, which is a multiple of 3.
27. The positive integers 1, 2, . . . , n
2
are placed in some fashion in the
squares of an nn table. As each number is placed in a square, the
sum of the numbers already placed in the row and column containing
that square is written on a blackboard. Give an arrangement of
the numbers that minimizes the sum of the numbers written on the
blackboard.
129
Solution: Rather than describe the arrangement, we demonstrate
it for n = 4:
1 5 9 13
14 2 6 10
11 15 3 7
8 12 16 4
Note that the sum of the numbers written may also be computed as
the product of each number with the number of empty spaces in its
row and column at the time it was placed.
We now simply note that the contribution from rows is at least that
of the minimal arrangement, and analogously for columns. This is
because we end up multiplying n numbers by each of 0, 1, . . . , n −1.
By the rearrangement inequality, the total is minimizing by multi-
plying 1, . . . , n by n −1, n + 1, . . . , 2n by n −2, and so on.
130
3 1997 National Contests:
Problems
3.1 Austria
1. Solve the system
(x −1)(y
2
+ 6) = y(x
2
+ 1)
(y −1)(x
2
+ 6) = x(y
2
+ 1).
2. Consider the sequence of positive integers which satisfies a
n
= a
2
n−1
+
a
2
n−2
+a
2
n−3
for all n ≥ 3. Prove that if a
k
= 1997 then k ≤ 3.
3. Let k be a positive integer. The sequence a
n
is defined by a
1
= 1, and
a
n
is the n-th positive integer greater than a
n−1
which is congruent
to n modulo k. Find a
n
in closed form. What happens if k = 2?
4. Given a parallelogram ABCD, inscribe in the angle ∠BAD a circle
that lies entirely inside the parallelogram. Similarly, inscribe a circle
in the angle ∠BCD that lies entirely inside the parallelogram and
such that the two circles are tangent. Find the locus of the tangency
point of the circles, as the two circles vary.
131
3.2 Bulgaria
1. Find all real numbers m such that the equation
(x
2
−2mx −4(m
2
+ 1))(x
2
−4x −2m(m
2
+ 1)) = 0
has exactly three different roots.
2. Let ABC be an equilateral triangle with area 7 and let M, N be
points on sides AB, AC, respectively, such that AN = BM. Denote
by O the intersection of BN and CM. Assume that triangle BOC
has area 2.
(a) Prove that MB/AB equals either 1/3 or 2/3.
(b) Find ∠AOB.
3. Let f(x) = x
2
− 2ax − a
2
− 3/4. Find all values of a such that
[f(x)[ ≤ 1 for all x ∈ [0, 1].
4. Let I and G be the incenter and centroid, respectively, of a triangle
ABC with sides AB = c, BC = a, CA = b.
(a) Prove that the area of triangle CIG equals [a −b[r/6, where r
is the inradius of ABC.
(b) If a = c +1 and b = c −1, prove that the lines IG and AB are
parallel, and find the length of the segment IG.
5. Let n ≥ 4 be an even integer and A a subset of ¦1, 2, . . . , n¦. Consider
the sums e
1
x
1
+e
2
x
2
+e
3
x
3
such that:
• x
1
, x
2
, x
3
∈ A;
• e
1
, e
2
, e
3
∈ ¦−1, 0, 1¦;
• at least one of e
1
, e
2
, e
3
is nonzero;
• if x
i
= x
j
, then e
i
e
j
,= −1.
The set A is free if all such sums are not divisible by n.
(a) Find a free set of cardinality ¸n/4|.
(b) Prove that any set of cardinality ¸n/4| + 1 is not free.
132
6. Find the least natural number a for which the equation
cos
2
π(a −x) −2 cos π(a −x) + cos
3πx
2a
cos
_
πx
2a
+
π
3
_
+ 2 = 0
has a real root.
7. Let ABCD be a trapezoid (AB[[CD) and choose F on the segment
AB such that DF = CF. Let E be the intersection of AC and BD,
and let O
1
, O
2
be the circumcenters of ADF, BCF. Prove that the
lines EF and O
1
O
2
are perpendicular.
8. Find all natural numbers n for which a convex n-gon can be di-
vided into triangles by diagonals with disjoint interiors, such that
each vertex of the n-gon is the endpoint of an even number of the
diagonals.
9. For any real number b, let f(b) denote the maximum of the function
¸
¸
¸
¸
sin x +
2
3 + sin x
+b
¸
¸
¸
¸
over all x ∈ R. Find the minimum of f(b) over all b ∈ R.
10. Let ABCD be a convex quadrilateral such that ∠DAB = ∠ABC =
∠BCD. Let H and O denote the orthocenter and circumcenter of
the triangle ABC. Prove that H, O, D are collinear.
11. For any natural number n ≥ 3, let m(n) denote the maximum num-
ber of points lying within or on the boundary of a regular n-gon of
side length 1 such that the distance between any two of the points
is greater than 1. Find all n such that m(n) = n −1.
12. Find all natural numbers a, b, c such that the roots of the equations
x
2
−2ax +b = 0
x
2
−2bx +c = 0
x
2
−2cx +a = 0
are natural numbers.
133
13. Given a cyclic convex quadrilateral ABCD, let F be the intersection
of AC and BD, and E the intersection of AD and BC. Let M, N
be the midpoints of AB, CD. Prove that
MN
EF
=
1
2
¸
¸
¸
¸
AB
CD

CD
AB
¸
¸
¸
¸
.
14. Prove that the equation
x
2
+y
2
+z
2
+ 3(x +y +z) + 5 = 0
has no solutions in rational numbers.
15. Find all continuous functions f : R →R such that for all x ∈ R,
f(x) = f
_
x
2
+
1
4
_
.
16. Two unit squares K
1
, K
2
with centers M, N are situated in the plane
so that MN = 4. Two sides of K
1
are parallel to the line MN, and
one of the diagonals of K
2
lies on MN. Find the locus of the mid-
point of XY as X, Y vary over the interior of K
1
, K
2
, respectively.
17. Find the number of nonempty subsets of ¦1, 2, . . . , n¦ which do not
contain two consecutive numbers.
18. For any natural number n ≥ 2, consider the polynomial
P
n
(x) =
_
n
2
_
+
_
n
5
_
x +
_
n
8
_
x
2
+ +
_
n
3k + 2
_
x
k
,
where k = ¸
n−2
3
|.
(a) Prove that P
n+3
(x) = 3P
n+2
(x) −3P
n+1
(x) + (x + 1)P
n
(x).
(b) Find all integers a such that 3

(n−1)/2| divides P
n
(a
3
) for all
n ≥ 3.
19. Let M be the centroid of triangle ABC.
(a) Prove that if the line AB is tangent to the circumcircle of the
triangle AMC, then
sin ∠CAM + sin ∠CBM ≤
2

3
.
134
(b) Prove the same inequality for an arbitrary triangle ABC.
20. Let m, n be natural numbers and m + i = a
i
b
2
i
for i = 1, 2, . . . , n,
where a
i
and b
i
are natural numbers and a
i
is squarefree. Find all
values of n for which there exists m such that a
1
+a
2
+ +a
n
= 12.
21. Let a, b, c be positive numbers such that abc = 1. Prove that
1
1 +a +b
+
1
1 +b +c
+
1
1 +c +a

1
2 +a
+
1
2 +b
+
1
2 +c
.
22. Let ABC be a triangle and M, N the feet of the angle bisectors of
B, C, respectively. Let D be the intersection of the ray MN with
the circumcircle of ABC. Prove that
1
BD
=
1
AD
+
1
CD
.
23. Let X be a set of cardinality n + 1 (n ≥ 2). The ordered n-
tuples (a
1
, a
2
, . . . , a
n
) and (b
1
, b
2
, . . . , b
n
) of distinct elements of X
are called separated if there exist indices i ,= j such that a
i
= b
j
.
Find the maximal number of n-tuples such that any two of them are
separated.
135
3.3 Canada
1. How many pairs (x, y) of positive integers with x ≤ y satisfy gcd(x, y) =
5! and lcm(x, y) = 50!?
2. Given a finite number of closed intervals of length 1, whose union
is the closed interval [0, 50], prove that there exists a subset of the
intervals, any two of whose members are disjoint, whose union has
total length at least 25. (Two intervals with a common endpoint are
not disjoint.)
3. Prove that
1
1999
<
1
2

3
4

1997
1998
<
1
44
.
4. Let O be a point inside a parallelogram ABCD such that ∠AOB +
∠COD = π. Prove that ∠OBC = ∠ODC.
5. Express the sum
n

k=0
(−1)
k
k
3
+ 9k
2
+ 26k + 24
_
n
k
_
in the form p(n)/q(n), where p, q are polynomials with integer coef-
ficients.
136
3.4 China
1. Let x
1
, x
2
, . . . , x
1997
be real numbers satisfying the following condi-
tions:
(a) −
1

3
≤ x
i


3 for i = 1, 2, . . . , 1997;
(b) x
1
+x
2
+ +x
1997
= −318

3.
Determine the maximum value of x
12
1
+x
12
2
+ +x
1
1997
2.
2. Let A
1
B
1
C
1
D
1
be a convex quadrilateral and P a point in its inte-
rior. Assume that the angles PA
1
B
1
and PA
1
D
1
are acute, and sim-
ilarly for the other three vertices. Define A
k
, B
k
, C
k
, D
k
as the reflec-
tions of P across the lines A
k−1
B
k−1
, B
k−1
C
k−1
, C
k−1
D
k−1
, D
k−1
A
k−1
.
(a) Of the quadrilaterals A
k
B
k
C
k
D
k
for k = 1, . . . , 12, which ones
are necessarily similar to the 1997th quadrilateral?
(b) Assume that the 1997th quadrilateral is cyclic. Which of the
first 12 quadrilaterals must then be cyclic?
3. Show that there exist infinitely many positive integers n such that
the numbers 1, 2, . . . , 3n can be labeled
a
1
, . . . , a
n
, b
1
, . . . , b
n
, c
1
, . . . , c
n
in some order so that the following conditions hold:
(a) a
1
+b
1
+c
1
= = a
n
+b
n
+c
n
is a multiple of 6;
(b) a
1
+ + a
n
= b
1
+ + b
n
= c
1
+ + c
n
is also a multiple
of 6.
4. Let ABCD be a cyclic quadrilateral. The lines AB and CD meet at
P, and the lines AD and BC meet at Q. Let E and F be the points
where the tangents from Q meet the circumcircle of ABCD. Prove
that points P, E, F are collinear.
5. Let A = ¦1, 2, . . . , 17¦ and for a function f : A →A, denote f
[1]
(x) =
f(x) and f
[k+1]
(x) = f(f
[k]
(x)) for k ∈ N. Find the largest natural
number M such that there exists a bijection f : A → A satisfying
the following conditions:
137
(a) If m < M and 1 ≤ i ≤ 16, then
f
[m]
(i + 1) −f
[m]
(i) ,≡ ±1 (mod 17).
(b) For 1 ≤ i ≤ 16,
f
[M]
(i + 1) −f
[M]
(i) ≡ ±1 (mod 17).
(Here f
[k]
(18) is defined to equal f
[k]
(1).)
6. Let a
1
, a
2
, . . . , be nonnegative integers satisfying
a
n+m
≤ a
n
+a
m
(m, n ∈ N).
Prove that
a
n
≤ ma
1
+
_
n
m
−1
_
a
m
for all n ≥ m.
138
3.5 Colombia
1. We are given an mn grid and three colors. We wish to color each
segment of the grid with one of the three colors so that each unit
square has two sides of one color and two sides of a second color.
How many such colorings are possible?
2. We play the following game with an equilaterial triangle of n(n+1)/2
pennies (with n pennies on each side). Initially, all of the pennies
are turned heads up. On each turn, we may turn over three pennies
which are mutually adjacent; the goal is to make all of the pennies
show tails. For which values of n can this be achieved?
3. Let ABCD be a fixed square, and consider all squares PQRS such
that P and R lie on different sides of ABCD and Q lies on a diagonal
of ABCD. Determine all possible positions of the point S.
4. Prove that the set of positive integers can be partitioned into an
infinite number of (disjoint) infinite sets A
1
, A
2
, . . . so that if x, y, z, w
belong to A
k
for some k, then x − y and z − w belong to the same
set A
i
(where i need not equal k) if and only if x/y = z/w.
139
3.6 Czech and Slovak Republics
1. Let ABC be a triangle with sides a, b, c and corresponding angles
α, β, γ. Prove that the equality α = 3β implies the inequality (a
2

b
2
)(a −b) = bc
2
, and determine whether the converse also holds.
2. Each side and diagonal of a regular n-gon (n ≥ 3) is colored red
or blue. One may choose a vertex and change the color of all of
the segments emanating from that vertex, from red to blue and vice
versa. Prove that no matter how the edges were colored initially, it
is possible to make the number of blue segments at each vertex even.
Prove also that the resulting coloring is uniquely determined by the
initial coloring.
3. The tetrahedron ABCD is divided into five convex polyhedra so that
each face of ABCD is a face of one of the polyhedra (no faces are di-
vided), and the intersection of any two of the five polyhedra is either
a common vertex, a common edge, or a common face. What is the
smallest possible sum of the number of faces of the five polyhedra?
4. Show that there exists an increasing sequence ¦a
n
¦

n=1
of natural
numbers such that for any k ≥ 0, the sequence ¦k + a
n
¦ contains
only finitely many primes.
5. For each natural number n ≥ 2, determine the largest possible value
of the expression
V
n
= sin x
1
cos x
2
+ sin x
2
cos x
3
+ + sin x
n
cos x
1
,
where x
1
, x
2
, . . . , x
n
are arbitrary real numbers.
6. A parallelogram ABCD is given such that triangle ABD is acute
and ∠BAD = π/4. In the interior of the sides of the parallelogram,
points K on AB, L on BC, M on CD, N on DA can be chosen
in various ways so that KLMN is a cyclic quadrilateral whose cir-
cumradius equals those of the triangles ANK and CLM. Find the
locus of the intersection of the diagonals of all such quadrilaterals
KLMN.
140
3.7 France
1. Each vertex of a regular 1997-gon is labeled with an integer, such
that the sum of the integers is 1. Starting at some vertex, we write
down the labels of the vertices reading counterclockwise around the
polygon. Can we always choose the starting vertex so that the sum
of the first k integers written down is positive for k = 1, . . . , 1997?
2. Find the maximum volume of a cylinder contained in the intersection
of a sphere with center O radius R and a cone with vertex O meeting
the sphere in a circle of radius r, having the same axis as the cone?
3. Find the maximum area of the orthogonal projection of a unit cube
onto a plane.
4. Given a triangle ABC, let a, b, c denote the lengths of its sides and
m, n, p the lengths of its medians. For every positive real α, let λ(α)
be the real number satisfying
a
α
+b
α
+c
α
= λ(α)
α
(m
α
+n
α
+p
α
).
(a) Compute λ(2).
(b) Determine the limit of λ(α) as α tends to 0.
(c) For which triangles ABC is λ(α) independent of α?
141
3.8 Germany
1. Determine all primes p for which the system
p + 1 = 2x
2
p
2
+ 1 = 2y
2
has a solution in integers x, y.
2. A square S
a
is inscribed in an acute triangle ABC by placing two
vertices on side BC and one on each of AB and AC. Squares S
b
and
S
c
are inscribed similarly. For which triangles ABC will S
a
, S
b
, S
c
all be congruent?
3. In a park, 10000 trees have been placed in a square lattice. Deter-
mine the maximum number of trees that can be cut down so that
from any stump, you cannot see any other stump. (Assume the trees
have negligible radius compared to the distance between adjacent
trees.)
4. In the circular segment AMB, the central angle ∠AMB is less than
90

. FRom an arbitrary point on the arc AB one constructs the
perpendiculars PC and PD onto MA and MB (C ∈ MA, D ∈
MB). Prove that the length of the segemnt CD does not depend on
the position of P on the arc AB.
5. In a square ABCD one constructs the four quarter circles having
their respective centers at A, B, C and D and containing the two
adjacent vertices. Inside ABCD lie the four intersection points E,
F, G and H, of these quarter circles, which form a smaller square
o. Let ( be the circle tangent to all four quarter circles. Compare
the areas of o and (.
6. Denote by u(k) the largest odd number that divides the natural
number k. Prove that
1
2
n

2
n

k=1
u(k)
k

2
3
.
7. Find all real solutions of the system of equations
x
3
= 2y −1
142
y
3
= 2z −1
z
3
= 2x −1
8. Define the functions
f(x) = x
5
+ 5x
4
+ 5x
3
+ 5x
2
+ 1
g(x) = x
5
+ 5x
4
+ 3x
3
−5x
2
−1.
Find all prime numbers p and for which there exists a natural number
0 ≤ x < p, such that both f(x) and g(x) are divisible by p, and for
each such p, find all such x.
143
3.9 Greece
1. Let P be a point inside or on the sides of a square ABCD. Determine
the minimum and maximum possible values of
f(P) = ∠ABP +∠BCP +∠CDP +∠DAP.
2. Let f : (0, ∞) →R be a function such that
(a) f is strictly increasing;
(b) f(x) > −1/x for all x > 0;
(c) f(x)f(f(x) + 1/x) = 1 for all x > 0.
Find f(1).
3. Find all integer solutions of
13
x
2
+
1996
y
2
=
z
1997
.
4. Let P be a polynomial with integer coefficients having at least 13
distinct integer roots. Show that if n ∈ Z is not a root of P, then
[P(n)[ ≥ 7(6!)
2
, and give an example where equality is achieved.
144
3.10 Hungary
1. Each member of a committee ranks applicants A, B, C in some order.
It is given that the majority of the committee ranks A higher than
B, and also that the majority of the commitee ranks B higher than
C. Does it follow that the majority of the committee ranks A higher
than C?
2. Let a, b, c be the sides, m
a
, m
b
, m
c
the lengths of the altitudes, and
d
a
, d
b
, d
c
the distances from the vertices to the orthocenter in an
acute triangle. Prove that
m
a
d
a
+m
b
d
b
+m
c
d
c
=
a
2
+b
2
+c
2
2
.
3. Let R be the circumradius of triangle ABC, and let G and H be
its centroid and orthocenter, respectively. Let F be the midpoint of
GH. Show that AF
2
+BF
2
+CF
2
= 3R
2
.
4. A box contains 4 white balls and 4 red balls, which we draw from
the box in some order without replacement. Before each draw, we
guess the color of the ball being drawn, always guessing the color
more likely to occur (if one is more likely than the other). What is
the expected number of correct guesses?
5. Find all solutions in integers of the equation
x
3
+ (x + 1)
3
+ (x + 2)
3
+ + (x + 7)
3
= y
3
.
6. We are given 1997 distinct positive integers, any 10 of which have the
same least common multiple. Find the maximum possible number
of pairwise coprime numbers among them.
7. Let AB and CD be nonintersecting chords of a circle, and let K be
a point on CD. Construct (with straightedge and compass) a point
P on the circle such that K is the midpoint of the intersection of the
part of the segment CD lying inside triangle ABP.
8. We are given 111 unit vectors in the plane whose sum is zero. Show
that there exist 55 of the vectors whose sum has length less than 1.
145
3.11 Iran
1. Suppose w
1
, . . . , w
k
are distinct real numbers with nonzero sum.
Prove that there exist integers n
1
, . . . , n
k
such that n
1
w
1
+ +
n
k
w
k
> 0 and that for any permutation π of ¦1, . . . , k¦ not equal to
the identity, we have n
1
w
π(1)
+ +n
k
w
π(k)
< 0.
2. Suppose the point P varies along the arc BC of the circumcircle
of triangle ABC, and let I
1
, I
2
be the respective incenters of the
triangles PAB, PAC. Prove that
(a) the circumcircle of PI
1
I
2
passes through a fixed point;
(b) the circle with diameter I
1
I
2
passes through a fixed point;
(c) the midpoint of I
1
I
2
lies on a fixed circle.
3. Suppose f : R
+
→R
+
is a decreasing continuous function such that
for all x, y ∈ R
+
,
f(x +y) +f(f(x) +f(y)) = f(f(x +f(y))) +f(y +f(x)).
Prove that f(f(x)) = x.
4. Let A be a matrix of zeroes and ones which is symmetric (A
ij
= A
ji
for all i, j) such that A
ii
= 1 for all i. Show that there exists a subset
of the rows whose sum is a vector all of whose components are odd.
146
3.12 Ireland
1. Find all pairs (x, y) of integers such that 1 + 1996x + 1998y = xy.
2. Let ABC be an equilateral triangle. For M inside the triangle, let
D, E, F be the feet of the perpendiculars from M to BC, CA, AB,
respectively. Find the locus of points M such that ∠FDE = π/2.
3. Find all polynomials p(x) such that for all x,
(x −16)p(2x) = 16(x −1)p(x).
4. Let a, b, c be nonnegative real numbers such that a + b + c ≥ abc.
Prove that a
2
+b
2
+c
2
≥ abc.
5. Let S = ¦3, 5, 7, . . .¦. For x ∈ S, let δ(x) be the unique integer such
that 2
δ(x)
< x < 2
δ(x)+1
. For a, b ∈ S, define
a ∗ b = 2
δ(a)−1
(b −3) +a.
(a) Prove that if a, b ∈ S, then a ∗ b ∈ S.
(b) Prove that if a, b, c ∈ S, then (a ∗ b) ∗ c = a ∗ (b ∗ c).
6. Let ABCD be a convex quadrilateral with an inscribed circle. If
∠A = ∠B = 2π/3, ∠D = π/2 and BC = 1, find the length of AD.
7. Let A be a subset of ¦0, 1, . . . , 1997¦ containing more than 1000
elements. Prove that A contains either a power of 2, or two distinct
integers whose sum is a power of 2.
8. Determine the number of natural numbers n satisfying the following
conditions:
(a) The decimal expansion of n contains 1000 digits.
(b) All of the digits of n are odd.
(c) The absolute value of the difference between any two adjacent
digits of n is 2.
147
3.13 Italy
1. A rectangular strip of paper 3 centimeters wide is folded exactly
once. What is the least possible area of the region where the paper
covers itself?
2. Let f be a real-valued function such that for any real x,
(a) f(10 +x) = f(10 −x);
(b) f(20 +x) = −f(20 −x).
Prove that f is odd (f(−x) = −f(x)) and periodic (there exists
T > 0 such that f(x +T) = f(x)).
3. The positive quadrant of a coordinate plane is divided into unit
squares by lattice lines. Is it possible to color some of the unit
squares so as to satisfy the following conditions:
(a) each square with one vertex at the origin and sides parallel to
the axes contains more colored than uncolored squares;
(b) each line parallel to the angle bisector of the quadrant at the
origin passes through only finitely many colored squares?
4. Let ABCD be a tetrahedron. Let a be the length of AB and let
S be the area of the projection of the tetrahedron onto a plane
perpendicular to AB. Determine the volume of the tetrahedron in
terms of a and S.
5. Let X be the set of natural numbers whose decimal representations
have no repeated digits. For n ∈ X, let A
n
be the set of numbers
whose digits are a permutation of the digits of n, and let d
n
be the
greatest common divisor of the numbers in A
n
. Find the largest
possible value of d
n
.
148
3.14 Japan
1. Prove that among any ten points located in a circle of diameter 5,
there exist two at distance less than 2 from each other.
2. Let a, b, c be positive integers. Prove the inequality
(b +c −a)
2
(b +c)
2
+a
2
+
(c +a −b)
2
(c +a)
2
+b
2
+
(a +b −c)
2
(a +b)
2
+c
2

3
5
,
and determine when equality holds.
3. Let G be a graph with 9 vertices. Suppose given any five points of
G, there exist at least 2 edges with both endpoints among the five
points. What is the minimum possible number of edges in G?
4. Let A, B, C, D be four points in space not lying in a plane. Suppose
AX + BX + CX + DX is minimized at a point X = X
0
distinct
from A, B, C, D. Prove that ∠AX
0
B = ∠CX
0
D.
5. Let n be a positive integer. Show that one can assign to each vertex
of a 2
n
-gon one of the letters A or B such that the sequences of n
letters obtained by starting at a vertex and reading counterclockwise
are all distinct.
149
3.15 Korea
1. Show that among any four points contained in a unit circle, there
exist two whose distance is at most

2.
2. Let f : N →N be a function satisfying
(a) For every n ∈ N, f(n +f(n)) = f(n).
(b) For some n
0
∈ N, f(n
0
) = 1.
Show that f(n) = 1 for all n ∈ N.
3. Express

n
k=1
¸

k| in terms of n and a = ¸

n|.
4. Let C be a circle touching the edges of an angle ∠XOY , and let
C
1
be the circle touching the same edges and passing through the
center of C. Let A be the second endpoint of the diameter of C
1
passing through the center of C, and let B be the intersection of
this diameter with C. Prove that the circle centered at A passing
through B touches the edges of ∠XOY .
5. Find all integers x, y, z satisfying x
2
+y
2
+z
2
−2xyz = 0.
6. Find the smallest integer k such that there exist two sequences ¦a
i
¦,
¦b
i
¦ (i = 1, . . . , k) such that
(a) For i = 1, . . . , k, a
i
, b
i
∈ ¦1, 1996, 1996
2
, . . .¦.
(b) For i = 1, . . . , k, a
i
,= b
i
.
(c) For i = 1, . . . , k −1, a
i
≤ a
i+1
and b
i
≤ b
i+1
.
(d)

k
i=1
a
i
=

k
i=1
b
i
.
7. Let A
n
be the set of all real numbers of the form 1+
α
1

2
+
α
2
(

2)
2
+ +
α
n
(

2)
n
, where α
j
∈ ¦−1, 1¦ for each j. Find the number of elements
of A
n
, and find the sum of all products of two distinct elements of
A
n
.
8. In an acute triangle ABC with AB ,= AC, let V be the intersection
of the angle bisector of A with BC, and let D be the foot of the
perpendicular from A to BC. If E and F are the intersections of the
circumcircle of AV D with CA and AB, respectively, show that the
lines AD, BE, CF concur.
150
9. A word is a sequence of 8 digits, each equal to 0 or 1. Let x and y be
two words differing in exactly three places. Show that the number
of words differing from each of x and y in at least five places is 188.
10. Find all pairs of functions f, g : R →R such that
(a) if x < y, then f(x) < f(y);
(b) for all x, y ∈ R, f(xy) = g(y)f(x) +f(y).
11. Let a
1
, . . . , a
n
be positive numbers, and define
A =
a
1
+ +a
n
n
G = (a
1
a
n
)
1/n
H =
n
a
−1
1
+ +a
−1
n
.
(a) If n is even, show that
A
H
≤ −1 +
_
A
G
_
n
.
(b) If n is odd, show that
A
H
≤ −
n−2
n
+
2(n−1)
n
_
A
G
_
n
.
12. Let p
1
, . . . , p
r
be distinct primes, and let n
1
, . . . , n
r
be arbitrary
natural numbers. Prove that the number of pairs (x, y) of integers
satisfying x
3
+y
3
= p
n
1
1
p
n
r
r
is at most 2
r−1
.
151
3.16 Poland
1. The positive integers x
1
, . . . , x
7
satisfy the conditions
x
6
= 144, x
n+3
= x
n+2
(x
n+1
+x
n
) n = 1, 2, 3, 4.
Compute x
7
.
2. Solve the following system of equations in real numbers x, y, z:
3(x
2
+y
2
+z
2
) = 1
x
2
y
2
+y
2
z
2
+z
2
x
2
= xyz(x +y +z)
3
.
3. In a tetrahedron ABCD, the medians of the faces ABD, ACD, BCD
fromD make equal angles with the corresponding edges AB, AC, BC.
Prove that each of these faces has area less than the sum of the areas
of the other two faces.
4. The sequence a
1
, a
2
, . . . is defined by
a
1
= 0, a
n
= a
n/2
+ (−1)
n(n+1)/2
n > 1.
For every integer k ≥ 0, find the number of n such that
2
k
≤ n < 2
k+1
and a
n
= 0.
5. Given a convex pentagon ABCDE with DC = DE and ∠BCD =
∠DEA = π/2, let F be the point on segment AB such that AF/BF =
AE/BC. Show that
∠FCE = ∠FDE and ∠FEC = ∠BDC.
6. Consider n points (n ≥ 2) on a unit circle. Show that at most n
2
/3 of
the segments with endpoints among the n chosen points have length
greater than

2.
152
3.17 Romania
1. In the plane are given a line ∆ and three circles tangent to ∆ and
externally tangent to each other. Prove that the triangle formed by
the centers of the circles is obtuse, and find all possible measures of
the obtuse angle.
2. Determine all sets A of nine positive integers such that for any n ≥
500, there exists a subset B of A, the sum of whose elements is n.
3. Let n ≥ 4 be an integer and M a set of n points in the plane, no three
collinear and not all lying on a circle. Find all functions f : M →R
such that for any circle C containing at least three points of M,

P∈M∩C
f(P) = 0.
4. Let ABC be a triangle, D a point on side BC and ω the circum-
circle of ABC. Show that the circles tangent to ω, AD, BD and
to ω, AD, DC, respectively, are tangent to each other if and only if
∠BAD = ∠CAD.
5. Let V A
1
A
n
be a pyramid with n ≥ 4. A plane Π intersects the
edges V A
1
, . . . , V A
n
at B
1
, . . . , B
n
, respectively. Suppose that the
polygons A
1
A
n
and B
1
B
n
are similar. Prove that Π is parallel
to the base of the pyramid.
6. Let A be the set of positive integers representable in the form a
2
+2b
2
for integers a, b with b ,= 0. Show that if p
2
∈ A for a prime p, then
p ∈ A.
7. Let p ≥ 5 be a prime and choose k ∈ ¦0, . . . , p −1¦. Find the max-
imum length of an arithmetic progression, none of whose elements
contain the digit k when written in base p.
8. Let p, q, r be distinct prime numbers and let A be the set
A = ¦p
a
q
b
r
c
: 0 ≤ a, b, c ≤ 5¦.
Find the smallest integer n such that any n-element subset of A
contains two distinct elements x, y such that x divides y.
153
9. Let ABCDEF be a convex hexagon. Let P, Q, R be the intersections
of the lines AB and EF, EF and CD, CD and AB, respectively.
Let S, T, U be the intersections of the lines BC and DE, DE and
FA, FA and BC, respectively. Show that if AB/PR = CD/RQ =
EF/QP, then BC/US = DE/ST = FA/TU.
10. Let P be the set of points in the plane and D the set of lines
ithe plane. Determine whether there exists a bijective function
f : P → D such that for any three collinear points A, B, C, the
lines f(A), f(B), f(C) are either parallel or concurrent.
11. Find all functions f : R →[0, ∞) such that for all x, y ∈ R,
f(x
2
+y
2
) = f(x
2
−y
2
) +f(2xy).
12. Let n ≥ 2 be an integer and P(x) = x
n
+a
n−1
x
n−1
+ +a
1
x+1 be
a polynomial with positive integer coefficients. Suppose that a
k
=
a
n−k
for k = 1, 2, . . . , n − 1. Prove that there exist infinitely many
pairs x, y of positive integers such that x[P(y) and y[P(x).
13. Let P(x), Q(x) be monic irreducible polynomials over the rational
numbers. Suppose P and Q have respective roots α and β such that
α + β is rational. Prove that the polynomial P(x)
2
− Q(x)
2
has a
rational root.
14. Let a > 1 be an integer. Show that the set
¦a
2
+a −1, a
3
+a
2
−1, . . .¦
contains an infinite subset, any two members of which are relatively
prime.
15. Find the number of ways to color the vertices of a regular dodecagon
in two colors so that no set of vertices of a single color form a regular
polygon.
16. Let Γ be a circle and AB a line not meeting Γ. For any point P ∈ Γ,
let P

be the second intersection of the line AP with Γ and let f(P)
be the second intersection of the line BP

with Γ. Given a point P
0
,
define the sequence P
n+1
= f(P
n
) for n ≥ 0. Show that if a positive
integer k satisfies P
0
= P
k
for a single choice of P
0
, then P
0
= P
k
for all choices of P
0
.
154
3.18 Russia
1. Show that the numbers from 1 to 16 can be written in a line, but
not in a circle, so that the sum of any two adjacent numbers is a
perfect square.
2. On equal sides AB and BC of an equilateral triangle ABC are chosen
points D and K, and on side AC are chosen points E and M, so
that DA + AE = KC + CM = AB. Show that the angle between
the lines DM and KE equals π/3.
3. A company has 50000 employees. For each employee, the sum of the
numbers of his immediate superiors and of his immediate inferiors is
7. On Monday, each worker issues an order and gives copies of it to
each of his immediate inferiors (if he has any). Each day thereafter,
each worker takes all of the orders he received on the previous day
and either gives copies of them to all of his immediate inferiors if he
has any, or otherwise carries them out himself. It turns out that on
Friday, no orders are given. Show that there are at least 97 employees
who have no immediate superiors.
4. The sides of the acute triangle ABC are diagonals of the squares
K
1
, K
2
, K
3
. Prove that the area of ABC is covered by the three
squares.
5. The numbers from 1 to 37 are written in a line so that each number
divides the sum of the previous numbers. If the first number is 37
and the second number is 1, what is the third number?
6. Find all paris of prime numbers p, q such that p
3
−q
5
= (p +q)
2
.
7. (a) In Mexico City, to restrict traffic flow, for each private car are
designated two days of the week on which that car cannot be
driven on the streets of the city. A family needs to have use of
at least 10 cars each day. What is the smallest number of cars
they must possess, if they may choose the restricted days for
each car?
(b) The law is changed to restrict each car only one day per week,
but the police get to choose the days. The family bribes the
police so that for each car, they will restrict one of two days
chosen by the family. Now what is the smallest number of cars
the family needs to have access to 10 cars each day?
155
8. A regular 1997-gon is divided by nonintersecting diagonals into tri-
angles. Prove that at least one of the triangles is acute.
9. On a chalkboard are written the numbers from 1 to 1000. Two
players take turns erasing a number from the board. The game ends
when two numbers remain: the first player wins if the sum of these
numbers is divisible by 3, the second player wins otherwise. Which
player has a winning strategy?
10. 300 apples are given, no one of which weighs more than 3 times any
other. Show that the apples may be divided into groups of 4 such
that no group weighs more than 11/2 times any other group.
11. In Robotland, a finite number of (finite) sequences of digits are for-
bidden. It is known that there exists an infinite decimal fraction,
not containing any forbidden sequences. Show that there exists an
infinite periodic decimal fraction, not containing any forbidden se-
quences.
12. (a) A collection of 1997 numbers has the property that if each num-
ber is subtracted from the sum of the remaining numbers, the
same collection of numbers is obtained. Prove that the product
of the numbers is 0.
(b) A collection of 100 numbers has the same property. Prove that
the product of the numbers is positive.
13. Given triangle ABC, let A
1
, B
1
, C
1
be the midpoints of the broken
lines CAB, ABC, BCA, respectively. Let l
A
, l
B
, l
C
be the respective
lines through A
1
, B
1
, C
1
parallel to the angle bisectors of A, B, C.
Show that l
A
, l
B
, l
C
are concurrent.
14. The MK-97 calculator can perform the following three operations on
numbers in its memory:
(a) Determine whether two chosen numbers are equal.
(b) Add two chosen numbers together.
(c) For chosen numbers a and b, find the real roots of x
2
+ax +b,
or announce that no real roots exist.
The results of each operation are accumulated in memory. Initially
the memory contains a single number x. How can one determine,
using the MK-97, whether x is equal to 1?
156
15. The circles S
1
and S
2
intersect at M and N. Show that if vertices
A and C of a rectangle ABCD lie on S
1
while vertices B and D lie
on S
2
, then the intersection of the diagonals of the rectangle lies on
the line MN.
16. For natural numbers m, n, show that 2
n
−1 divides (2
m
−1)
2
if and
only if n divides m(2
m
−1).
17. Can three faces of a cube of side length 4 be covered with 16 1 3
rectangles?
18. The vertices of triangle ABC lie inside a square K. Show that if
the triangle is rotated 180

about its centroids, at least one vertex
remains inside the square.
19. Let S(N) denote the sum of the digits of the natural number N.
Show that there exist infinitely many natural numbers n such that
S(3
n
) ≥ S(3
n+1
).
20. The members of Congress form various overlapping factions such
that given any two (not necessarily distinct) factions A and B, the
complement of A∪B is also a faction. Show that for any two factions
A and B, A∪ B is also a faction.
21. Show that if 1 < a < b < c, then
log
a
(log
a
b) + log
b
(log
b
c) + log
c
(log
c
a) > 0.
22. Do there exist pyramids, one with a triangular base and one with
a convex n-sided base (n ≥ 4), such that the solid angles of the
triangular pyramid are congruent to four of the solid angles of the
n-sided pyramid?
23. For which α does there exist a nonconstant function f : R →R such
that
f(α(x +y)) = f(x) +f(y)?
24. Let P(x) be a quadratic polynomial with nonnegative coefficients.
Show that for any real numbers x and y, we have the inequality
P(xy)
2
≤ P(x
2
)P(y
2
).
157
25. Given a convex polygon M invariant under a 90

rotation, show that
there exist two circles, the ratio of whose radii is

2, one containing
M and the other contained in M.
26. (a) The Judgment of the Council of Sages proceeds as follows: the
king arranges the sages in a line and places either a white hat
or a black hat on each sage’s head. Each sage can see the color
of the hats of the sages in front of him, but not of his own hat
or of the hats of the sages behind him. Then one by one (in an
order of their choosing), each sage guesses a color. Afterward,
the king executes those sages who did not correctly guess the
color of their own hat.
The day before, the Council meets and decides to minimize the
number of executions. What is the smallest number of sages
guaranteed to survive in this case?
(b) The king decides to use three colors of hats: white, black and
red. Now what is the smallest number of sages guaranteed to
survive?
27. The lateral sides of a box with base ab and height c (where a, b, c are
natural numbers) are completely covered without overlap by rectan-
gles whose edges are parallel to the edges of the box, each containing
an odd number of unit squares. Prove that if c is odd, then the num-
ber of rectangles covering lateral edges of the box is even.
28. Do there exist real numbers b and c such that each of the equations
x
2
+bx+c = 0 and 2x
2
+(b +1)x+c+1 = 0 have two integer roots?
29. A class consists of 33 students. Each student is asked how many
other students in the class have his first name, and how many have
his last name. It turns out that each number from 0 to 10 occurs
among the answers. Show that there are two students in the class
with the same first and last name.
30. The incircle of triangle ABC touches sides AB, BC, CA at M, N, K,
respectively. The line through A parallel to NK meets MN at D.
The line through A parallel to MN meets NK at E. Show that the
line DE bisects sides AB and AC of triangle ABC.
31. The numbers from 1 to 100 are arranged in a 10 10 table so that
no two adjacent numbers sum to S. Find the smallest value of S for
which this is possible.
158
32. Find all integer solutions of the equation
(x
2
−y
2
)
2
= 1 + 16y.
33. An n n square grid (n ≥ 3) is rolled into a cylinder. Some of the
cells are then colored black. Show that there exist two parallel lines
(horizontal, vertical or diagonal) of cells containing the same number
of black cells.
34. Two circles intersect at A and B. A line through A meets the first
circle again at C and the second circle again at D. Let M and N
be the midpoints of the arcs BC and BD not containing A, and let
K be the midpoint of the segment CD. Show that ∠MKN = π/2.
(You may assume that C and D lie on opposite sides of A.)
35. A polygon can be divided into 100 rectangles, but not into 99. Prove
that it cannot be divided into 100 triangles.
36. Do there exist two quadratic trinomials ax
2
+bx+c and (a+1)x
2
+
(b + 1)x + (c + 1) with integer coefficients, both of which have two
integer roots?
37. A circle centered at O and inscribed in triangle ABC meets sides
AC, AB, BC at K, M, N, respectively. The median BB
1
of the tri-
angle meets MN at D. Show that O, D, K are collinear.
38. Find all triples m, n, l of natural numbers such that
m+n = gcd(m, n)
2
, m+l = gcd(m, l)
2
, n +l = gcd(n, l)
2
.
39. On an infinite (in both directions) strip of squares, indexed by the
natural numbers, are placed several stones (more than one may be
placed on a single square). We perform a sequence of moves of one
of the following types:
(a) Remove one stone from each of the squares n − 1 and n and
place one stone on square n + 1.
(b) Remove two stones from square n and place one stone on each
of the squares n + 1, n −2.
Prove that any sequence of such moves will lead to a position in which
no further moves can be made, and moreover that this position is
independent of the sequence of moves.
159
40. An n n n cube is divided into unit cubes. We are given a closed
non-self-intersecting polygon (in space), each of whose sides joins
the centers of two unit cubes sharing a common face. The faces of
unit cubes which intersect the polygon are said to be distinguished.
Prove that the edges of the unit cubes may be colored in two colors
so that each distinguished face has an odd number of edges of each
color, while each nondistinguished face has an even number of edges
of each color.
41. Of the quadratic trinomials x
2
+ px + q where p, q are integers and
1 ≤ p, q ≤ 1997, which are there more of: those having integer roots
or those not having real roots?
42. We are given a polygon, a line l and a point P on l in general position:
all lines containing a side of the polygon meet l at distinct points
differing from P. We mark each vertex of the polygon whose sides
both meet the line l at points differing from P. Show that P lies
inside the polygon if and only if for each choice of l there are an odd
number of marked vertices.
43. A sphere inscribed in a tetrahedron touches one face at the inter-
section of its angle bisectors, a second face at the intersection of its
altitudes, and a third face at the intersection of its medians. Show
that the tetrahedron is regular.
44. In an mn rectangular grid, where m and n are odd integers, 1 2
dominoes are initially placed so as to exactly cover all but one of
the 1 1 squares at one corner of the grid. It is permitted to slide
a domino towards the empty square, thus exposing another square.
Show that by a sequence of such moves, we can move the empty
square to any corner of the rectangle.
160
3.19 South Africa
1. From an initial triangle A
0
B
0
C
0
a sequence A
1
B
1
C
1
, A
2
B
2
C
2
, . . .
is formed such that at each stage, A
k+1
, B
k+1
, C
k+1
are the points
where the incircle of A
k
B
k
C
k
touches the sides B
k
C
k
, C
k
A
k
, A
k
B
k
,
respectively.
(a) Express ∠A
k+1
B
k+1
C
k+1
in terms of ∠A
k
B
k
C
k
.
(b) Deduce that as k →∞, ∠A
k
B
k
C
k
→60

.
2. Find all natural numbers with the property that, when the first digit
is moved to the end, the resulting number is 3
1
2
times the original
one.
3. Find all functions f : Z → Z which satisfy f(m+ f(n)) = f(m) + n
for all m, n ∈ Z.
4. A circle and a point P above the circle lie in a vertical plane. A
particle moves along a straight line from P to a point Q on the circle
under the influence of gravity. That is, the distance traveled from P
in time t equals
1
2
gt
2
sin α, where g is a constant and α is the angle
between PQ and the horizontal. Describe (geometrically) the point
Q for which the time taken to move from P to Q is minimized.
5. Six points are joined pairwise by red or blue segments. Must there
exist a closed path consisting of four of the segments, all of the same
color?
161
3.20 Spain
1. Calculate the sum of the squares of the first 100 terms of an arith-
metic progression, given that the sum of the first 100 terms is −1 and
that the sum of the second, fourth, . . . , and the hundredth terms is
1.
2. Let A be a set of 16 lattice points forming a square with 4 points on
a side. Find the maximum number of points of A no three of which
form an isosceles right triangle.
3. For each parabola y = x
2
+ px + q meeting the coordinate axes in
three distinct points, a circle through these points is drawn. Show
that all of the circles pass through a single point.
4. Let p be a prime number. Find all k ∈ Z such that
_
k
2
−pk is a
positive integer.
5. Show that in any convex quadrilateral of area 1, the sum of the
lengths of the sides and diagonals is at least 2(2 +

2).
6. The exact quantity of gas needed for a car to complete a single loop
around a track is distributed among n containers placed along the
track. Prove that there exists a position starting at which the car,
beginning with an empty tank of gas, can complete a single loop
around the track without running out of gas. (Assume the car can
hold unlimited quantities of gas.)
162
3.21 Taiwan
1. Let a be a rational number, b, c, d be real numbers, and f : R →
[−1, 1] a function satisfying
f(x +a +b) −f(x +b) = c¸x + 2a +¸x| −2¸x +a| −¸b|| +d
for each x ∈ R. Show that f is periodic, that is, there exists p > 0
such that f(x +p) = f(x) for all x ∈ R.
2. Let AB be a given line segment. Find all possible points C in the
plane such that in the triangle ABC, the altitude from A and the
median from B have the same length.
3. Let n ≥ 3 be an integer, and suppose that the sequence a
1
, a
2
, . . . , a
n
satisfies a
i−1
+a
i+1
= k
i
a
i
for some sequence k
1
, k
2
, . . . , k
n
of positive
integers. (Here a
0
= a
n
and a
n+1
= a
1
.) Show that
2n ≤ k
1
+k
2
+ +k
n
≤ 3n.
4. Let k = 2
2
n
+ 1 for some positive integer n. Show that k is a prime
if and only if k is a factor of 3
(k−1)/2
+ 1.
5. Let ABCD be a tetrahedron. Show that
(a) If AB = CD, AD = BC, AC = BD, then the triangles
ABC, ACD, ABD, BCD are acute;
(b) If ABC, ACD, ABD, BCD have the same area, then AB =
CD, AD = BC, AC = BD.
6. Let X be the set of integers of the form
a
2k
10
2k
+a
2k−2
10
2k−2
+ +a
2
10
2
+a
0
,
where k is a nonnegative integer and a
2i
∈ ¦1, 2, . . . , 9¦ for i =
0, 2, . . . , 2k. Show that every integer of the form 2
p
3
q
, for p and q
nonnegative integers, divides some element of X.
7. Determine all positive integers k for which there exists a function
f : N →Z such that
(a) f(1997) = 1998;
163
(b) for all a, b ∈ N, f(ab) = f(a) +f(b) +kf(gcd(a, b)).
8. Let ABC be an acute triangle with circumcenter O and circumradius
R. Let AO meet the circumcircle of OBC again at D, BO meet the
circumcircle of OCA again at E, and CO meet the circumcircle of
OAB again at F. Show that OD OE OF ≥ 8R
3
.
9. For n ≥ k ≥ 3, let X = ¦1, 2, . . . , n¦ and let F
k
be a family of k-
element subsets of X such that any two subsets in F
k
have at most
k − 2 common elements. Show that there exists a subset M
k
of X
with at least ¸log
2
n| + 1 elements containing no subset in F
k
.
164
3.22 Turkey
1. In a triangle ABC with a right angle at A, let H denote the foot of
the altitude from A. Show that the sum of the inradii of the triangles
ABC, ABH, ACH equals AH.
2. The sequences ¦a
n
¦

n=1
, ¦b
n
¦

n=1
are defined as follows: a
1
= α,
b
1
= β, a
n+1
= αa
n
− βb
n
, b
n+1
= βa
n
+ αb
n
for all n ≥ 1. How
many pairs (α, β) of real numbers are there such that a
1997
= b
1
and
b
1997
= a
1
?
3. In a soccer league, when a player moves from a team X with x players
to a team Y with y players, the federation receives y − x million
dollars from Y if y ≥ x, but pays x−y million dollars to X if x > y.
A player may move as often as he wishes during a season. The league
consists of 18 teams, each of which begins a certain season with 20
players. At the end of the season, 12 teams end up with 20 players,
while the other 6 end up with 16, 16, 21, 22, 22, 23 players. What is
the maximum amount the federation could have earned during the
season?
4. The edge AE of a convex pentagon ABCDE with vertices on a unit
circle passes through the center of the circle. If AB = a, BC = b,
CD = c, DE = d and ab = cd = 1/4, compute AC + CE in terms
of a, b, c, d.
5. Prove that for each prime p ≥ 7, there exists a positive integer n and
integers x
1
, . . . , x
n
, y
1
, . . . , y
n
not divisible by p such that
x
2
1
+y
2
1
≡ x
2
2
(mod p)
x
2
2
+y
2
2
≡ x
2
3
(mod p)
.
.
.
x
2
n
+y
2
n
≡ x
2
1
(mod p).
6. Given an integer n ≥ 2, find the minimal value of
x
5
1
x
2
+x
3
+ +x
n
+
x
5
2
x
3
+ +x
n
+x
1
+ +
x
5
n
x
1
+ +x
n−1
for positive real numbers x
1
, . . . , x
n
subject to the condition x
2
1
+
+x
2
n
= 1.
165
3.23 Ukraine
1. A rectangular grid is colored in checkerboard fashion, and each cell
contains an integer. It is given that the sum of the numbers in each
row and the sum of the numbers in each column is even. Prove that
the sum of all numbers in black cells is even.
2. Find all solutions in real numbers to the following system of equa-
tions:
x
1
+x
2
+ +x
1997
= 1997
x
4
1
+x
4
2
+ +x
1997
4
= x
3
1
+x
3
2
+ +x
3
1997
.
3. Let d(n) denote the greatest odd divisor of the natural number n. We
define the function f : N →N such that f(2n−1) = 2
n
and f(2n) =
n+
2n
d(n)
for all n ∈ N. Find all k such that f(f( f(1) )) = 1997,
where f is iterated k times.
4. Two regular pentagons ABCDE and AEKPL are situated in space
so that ∠DAK = 60

. Prove that the planes ACK and BAL are
perpendicular.
5. The equation ax
3
+bx
2
+cx +d = 0 is known to have three distinct
real roots. How many real roots are there of the equation
4(ax
3
+bx
2
+cx +d)(3ax +b) = (3ax
2
+ 2bx +c)
2
?
6. Let Q
+
denote the set of positive rational numbers. Find all func-
tions f : Q
+
→Q
+
such that for all x ∈ Q
+
:
(a) f(x + 1) = f(x) + 1;
(b) f(x
2
) = f(x)
2
.
7. Find the smallest integer n such that among any n integers, there
exist 18 integers whose sum is divisible by 18.
8. Points K, L, M, N lie on the edges AB, BC, CD, DA of a (not nec-
essarily right) parallelepiped ABCDA
1
B
1
C
1
D
1
. Prove that the
centers of the circumscribed spheres of the tetrahedra A
1
AKN,
B
1
BKL, C
1
CLM, D
1
DMN are the vertices of a parallelogram.
166
3.24 United Kingdom
1. (a) Let M and N be two 9-digit positive integers with the property
that if any one digit of M is replaced by the digit of N in the
corresponding place, the resulting integer is a multiple of 7.
Prove that any number obtained by replacing a digit of N with
the corresponding digit of M is also a multiple of 7.
(b) Find an integer d > 9 such that the above result remains true
when M and N are two d-digit positive integers.
2. In acute triangle ABC, CF is an altitude, with F on AB, and BM
is a median, with M on CA. Given that BM = CF and ∠MBC =
∠FCA, prove that the triangle ABC is equilateral.
3. Find the number of polynomials of degree 5 with distinct coefficients
from the set ¦1, 2, . . . , 9¦ that are divisible by x
2
−x + 1.
4. The set S = ¦1/r : r = 1, 2, 3, . . .¦ of reciprocals of the positive
integers contains arithmetic progressions of various lengths. For in-
stance, 1/20, 1/8, 1/5 is such a progression, of length 3 and common
difference 3/40. Moreover, this is a maximal progression in S of
length 3 since it cannot be extended to the left or right within S
(−1/40 and 11/40 not being members of S).
(a) Find a maximal progression in S of length 1996.
(b) Is there a maximal progression in S of length 1997?
167
3.25 United States of America
1. Let p
1
, p
2
, p
3
, . . . be the prime numbers listed in increasing order,
and let x
0
be a real number between 0 and 1. For positive integer
k, define
x
k
= 0 if x
k−1
= 0,
_
p
k
x
k−1
_
if x
k−1
,= 0,
where ¦x¦ = x − ¸x| denotes the fractional part of x. Find, with
proof, all x
0
satisfying 0 < x
0
< 1 for which the sequence x
0
, x
1
, x
2
, . . .
eventually becomes 0.
2. Let ABC be a triangle, and draw isosceles triangles BCD, CAE, ABF
externally to ABC, with BC, CA, AB as their respective bases. Prove
that the lines through A, B, C perpendicular to the lines EF, FD, DE,
respectively, are concurrent.
3. Prove that for any integer n, there exists a unique polynomial Q
with coefficients in ¦0, 1, . . . , 9¦ such that Q(−2) = Q(−5) = n.
4. To clip a convex n-gon means to choose a pair of consecutive sides
AB, BC and to replace them by the three segments AM, MN, and
NC, where M is the midpoint of AB and N is the midpoint of BC.
In other words, one cuts off the triangle MBN to obtain a convex
(n + 1)-gon. A regular hexagon T
6
of area 1 is clipped to obtain a
heptagon T
7
. Then T
7
is clipped (in one of the seven possible ways)
to obtain an octagon T
8
, and so on. Prove that no matter how the
clippings are done, the area of T
n
is greater than 1/3, for all n ≥ 6.
5. Prove that, for all positive real numbers a, b, c,
(a
3
+b
3
+abc)
−1
+(b
3
+c
3
+abc)
−1
+(c
3
+a
3
+abc)
−1
≤ (abc)
−1
.
6. Suppose the sequence of nonnegative integers a
1
, a
2
, . . . , a
1997
satis-
fies
a
i
+a
j
≤ a
i+j
≤ a
i
+a
j
+ 1
for all i, j ≥ 1 with i + j ≤ 1997. Show that there exists a real
number x such that a
n
= ¸nx| for all 1 ≤ n ≤ 1997.
168
3.26 Vietnam
1. Determine the smallest integer k for which there exists a graph on
25 vertices such that every vertex is adjacent to exactly k others,
and any two nonadjacent vertices are both adjacent to some third
vertex.
2. Find the largest real number α for which there exists an infinite
sequence a
1
, a
2
, . . . of positive integers satisfying the following prop-
erties.
(a) For each n ∈ N, a
n
> 1997
n
.
(b) For every n ≥ 2, a
α
n
does not exceed the greatest common
divisor of the set ¦a
i
+a
j
: i +j = n¦.
3. Let f : N →Z be the function defined by
f(0) = 2, f(1) = 503, f(n + 2) = 503f(n + 1) −1996f(n).
For k ∈ N, let s
1
, . . . , s
k
be integers not less than k, and let p
i
be a
prime divisor of f(2
s
i
) for i = 1, . . . , k. Prove that for t = 1, . . . , k,
k

i=1
p
i
[ 2
t
if and only if k [ 2
t
.
4. Find all pairs (a, b) of positive reals such that for every n ∈ N and
every real number x satisfying
4n
2
x = log
2
(2n
2
x + 1),
we have a
x
+b
x
≥ 2 + 3x.
5. Let n, k, p be positive integers such that k ≥ 2 and k(p + 1) ≤ n.
Determine the number of ways to color n labeled points on a circle
in blue or red, so that exactly k points are colored blue, and any arc
whose endpoints are blue but contains no blue points in its interior
contains exactly p red points.
169
4 1997 Regional Contests:
Problems
4.1 Asian Pacific Mathematics Olympiad
1. Let
S = 1 +
1
1 +
1
3
+
1
1 +
1
3
+
1
6
+ +
1
1 +
1
3
+
1
6
+ +
1
1993006
,
where the denominators contain partial sums of the sequence of re-
ciprocals of triangular numbers. Prove that S > 1001.
2. Find an integer n with 100 ≤ n ≤ 1997 such that n divides 2
n
+ 2.
3. Let ABC be a triangle and let
l
a
=
m
a
M
a
, l
b
=
m
b
M
b
, l
c
=
m
c
M
c
,
where m
a
, m
b
, m
c
are the lengths of the internal angle bisectors and
M
a
, M
b
, M
c
are the lengths of the extensions of the internal angle
bisectors to the circumcircle. Prove that
l
a
sin
2
A
+
l
b
sin
2
B
+
l
c
sin
2
C
≥ 3,
with equality if and only if ABC is equilateral.
4. The triangle A
1
A
2
A
3
has a right angle at A
3
. For n ≥ 3, let A
n+1
be the foot of the perpendicular from A
n
to A
n−1
A
n−2
.
(a) Show that there is a unique point P in the plane interior to the
triangles A
n−2
A
n−1
A
n
for all n ≥ 3.
(b) For fixed A
1
and A
3
, determine the locus of P as A
2
varies.
5. Persons A
1
, . . . , A
n
(n ≥ 3) are seated in a circle in that order, and
each person A
i
holds a number a
i
of objects, such that (a
1
+ +
a
n
)/n is an integer. It is desired to redistribute the objects so that
each person holds the same number; objects may only be passed
from one person to either of her two neighbors. How should the
redistribution take place so as to minimize the number of passes?
170
4.2 Austrian-Polish Mathematical Competition
1. Let P be the intersection of lines l
1
and l
2
. Let S
1
and S
2
be two
circles externally tangent at P and both tangent to l
1
, and let T
1
and T
2
be two circles externally tangent at P and both tangent to l
2
.
Let A be the second intersection of S
1
and T
1
, B that of S
1
and T
2
,
C that of S
2
and T
1
, and D that of S
2
and T
2
. Show that the points
A, B, C, D are concyclic if and only if l
1
and l
2
are perpendicular.
2. Let m, n, p, q be positive integers, and consider an mn checkerboard
with a checker on each of its mn squares. A piece can be moved from
(x, y) to (x

, y

) if and only if [x−x

[ = p and [y−y

[ = q. How many
ways can all of the pieces be moved simultaneously so that one piece
ends up on each square?
3. On a blackbroad are written the numbers 48/k with k = 1, 2, . . . , 97.
At each step, two numbers a, b are erased and 2ab − a − b + 1 is
written in their place. After 96 steps, a single number remains on
the blackboard. Determine all possible such numbers.
4. In a convex quadrilateral ABCD, the sides AB and CD are parallel,
the diagonals AC and BD intersect at E, and the triangles EBC
and EAD have respective orthocenters F and G. Prove that the
midpoint of GF lies on the line through E perpendicular to AB.
5. Let p
1
, p
2
, p
3
, p
4
be distinct primes. Prove there does not exist a
cubic polynomial Q(x) with integer coefficients such that
[Q(p
1
)[ = [Q(p
2
)[ = [Q(p
3
)[ = [Q(p
4
)[ = 3.
6. Prove there does not exist f : Z →Z such that f(x+f(y)) = f(x)−y
for all integers x, y.
7. (a) Prove that for all p, q ∈ R, p
2
+q
2
+ 1 > p(q + 1).
(b) Determine the largest real number x such that p
2
+ q
2
+ 1 >
bp(q + 1) for all p, q ∈ R.
(c) Determine the largest real number x such that p
2
+ q
2
+ 1 >
bp(q + 1) for all p, q ∈ Z.
8. Let n be a natural number and M a set with n elements. Find
the biggest integer k such that there exists a k-element family of
three-element subsets of M, no two of which are disjoint.
171
9. Let P be a parallelepiped with volume V and surface area S, and
let L be the sum of the lengths of the edges of P. For t ≥ 0, let P
t
be the set of points which lie at distance at most t from some point
of P. Prove that the volume of P
t
is
V +St +
π
4
Lt
2
+

3
t
3
.
172
4.3 Czech-Slovak Match
1. An equilateral triangle ABC is given. Points K and L are chosen
on its sides AB and AC, respectively, such that [BK[ = [AL[. Let
P be the intersection of the segmentns BL and CK. Determine the
ratio [AK[ : [KB[ if it is known that the segments AP and CK are
perpendicular.
2. In a community of more than six people, each member exchanges
letters with precisely three other members of the community. Prove
that the community can be divided into two nonempty groups so
that each member exchanges letters with at least two members of
the group he belongs to.
3. Find all functions f : R →R such that the equality
f(f(x) +y) = f(x
2
−y) + 4f(x)y
holds for all pairs of real numbers x, y.
4. Is it possible to place 100 solid balls in space so that no two of them
have a common interior point, and each of them touches at least
one-third of the others?
5. Several integers are given (some of them may be equal) whose sum
is equal to 1492. Decide whether the sum of their seventh powers
can equal
(a) 1996;
(b) 1998.
6. In a certain language there are only two letters, A and B. The words
of this language obey the following rules:
(a) The only word of length 1 is A.
(b) A sequence of letters X
1
X
2
X
n
X
n+1
, where X
i
∈ ¦A, B¦ for
each i, is a word if and only if it contains at least one A but is
not of the form X
1
X
2
X
n
A where X
1
X
2
X
n
is a word.
Show that there are precisely
_
3995
1997
_
− 1 words which do not begin
with AA and which are composed of 1998 A’s and 1998 B’s.
173
4.4 Hungary-Israel Mathematics Competition
1. Is there an integer N such that
(

1997 −

1996)
1998
=

N −

N −1?
2. Find all real numbers α with the following property: for any positive
integer n, there exists an integer m such that
¸
¸
¸α −
m
n
¸
¸
¸ <
1
3n
.
3. The acute triangle ABC has circumcenter O. Let A
1
, B
1
, C
1
be the
points where the diameters of the circumcircle through A, B, C meet
the sides BC, CA, AB, respectively. Suppose the circumradius of
ABC is 2p for some prime number p, and the lengths OA
1
, OB
1
, OC
1
are integers. What are the lengths of the sides of the triangle?
4. How many distinct sequences of length 1997 can be formed using
each of the letters A, B, C an odd number of times (and no others)?
5. The three squares ACC
1
A

, ABB

1
A

, BCDE are constructed exter-
nally on the sides of a triangle ABC. Let P be the center of BCDE.
Prove that the lines A

C, A

B, PA are concurrent.
174
4.5 Iberoamerican Mathematical Olympiad
1. Let r ≥ 1 be a real number such that for all m, n such that m divides
n, ¸mr| divides ¸nr|. Prove that r is an integer.
2. Let ABC be a triangle with incenter I. A circle centered at I meets
the segment BC at D and P (with D closer to B), CA at E and
Q (with E closer to C), and AB at F and R (with F closer to A).
Let S, T, U be the intersections of the diagonals of the quadrilaterals
EQFR, FRDP, DPEQ, respectively. Show that the circumcircles
of the triangles FRT, DPU, EQS pass through a common point.
3. Let n ≥ 2 be an integer and D
n
the set of points (x, y) in the plane
such that x, y are integers with [x[, [y[ ≤ n.
(a) Prove that if each of the points in D
n
is colored in one of three
colors, there exist two points of D
n
in the same color such that
the line through them passes through no other point of D
n
.
(b) Show that the points of D
n
can be colored in four colors so that
if a line contains exactly two points of D
n
, those two points have
different colors.
4. Let n be a positive integer. Let O
n
be the number of 2n-tuples
(x
1
, . . . , x
n
, y
1
, . . . , y
n
) with values in 0 or 1 for which the sum x
1
y
1
+
+ x
n
y
n
is odd, and let E
n
be the number of 2n-tuples for which
the sum is even. Prove that
O
n
E
n
=
2
n
−1
2
n
+ 1
.
5. Let AE and BF be altitudes, and H the orthocenter, of acute tri-
angle ABC. The reflection of AE across the interior angle bisector
of A meets the reflection of BF across the interior angle bisector of
B meet in a point O. The lines AE and AO meet the circumcircle
of ABC again at M and N, respectively. Let P, Q, R be the inter-
section of BC with HN, BC with OM, HR with OP, respectively.
Show that AHSO is a parallelogram.
6. Let P = ¦P
1
, P
2
, . . . , P
1997
¦ be a set of 1997 points in the interior
of a circle of radius 1, with P
1
the center of the circle. For k =
175
1, . . . , 1997, let x
k
be the distance from P
k
to the point of P closest
to P
k
. Prove that
x
2
1
+x
2
2
+ +x
2
1997
≤ 9.
176
4.6 Nordic Mathematical Contest
1. For any set A of positive integers, let n
A
denote the number of triples
(x, y, z) of elements of A such that x < y and x + y = z. Find the
maximum value of n
A
given that A contains seven distinct elements.
2. Let ABCD be a convex quadrilateral. Assume that there exists
an internal point P of ABCD such that the areas of the triangles
ABP, BCP, CDP, DAP are all equal. Prove that at least one of the
diagonals of the quadrilateral bisects the other.
3. Assume that A, B, C, D are four distinct points in the plane. Three
of the segments AB, AC, AD, BC, BD, CD have length a. The other
three have length b > a. Find all possible values of the ratio b/a.
4. Let f be a function defined on ¦0, 1, 2, . . .¦ such that
f(2x) = 2f(x), f(4x + 1) = 4f(x) + 3, f(4x −1) = 2f(2x −1) −1.
Prove that f is injective (if f(x) = f(y), then x = y).
177
4.7 Rio Plata Mathematical Olympiad
1. Around a circle are written 1996 zeroes and and one 1. The only
permitted operation is to choose a number and change its two neigh-
bors, from 0 to 1 and vice versa. Is it possible to change all of the
numbers to 1? And what if we started with 1997 zeroes?
2. Show that one cannot draw two triangles of area 1 inside a circle of
radius 1 so that the triangles have no common point.
3. A benefit concert is attended by 1997 people from Peru, Bolivia,
Paraguay and Venezuela. Each person paid for his ticket an integer
number of dollars between 1 and 499, inclusive.
(a) Prove that at least two people of the same nationality paid the
same price.
(b) It is known that each possible price was paid at least once, that
the maximum number of times a price was repeated was 10, and
that subject to these conditions, the smallest amount of money
was collected. How many tickets were sold at each price?
4. A 4 4 square is divided into 1 1 squares. A secret number is
written into each small square. All that is known is that the sum
of the numbers in each row, each column, and each of the diagonals
equals 1. Is it possible to determine from this information the sum
of the numbers in the four corners, and the sum of the numbers in
the four central squares? And if so, what are these sums?
5. What is the smallest multiple of 99 whose digits sum to 99 and which
begins and ends with 97?
6. A tourist takes a trip through a city in stages. Each stage consist of
three segments of length 100 meters separated by right turns of 60

.
Between the last segment of one stage and the first segment of the
next stage, the tourist makes a left turn of 60

. At what distance
will the tourist be from his initial position after 1997 stages?
178
4.8 St. Petersburg City Mathematical Olympiad (Rus-
sia)
1. The incircle of a triangle is projected onto each of the sides. Prove
that the six endpoints of the projections are concyclic.
2. Let a and b be integers. Prove that
¸
¸
¸
¸
a +b
a −b
¸
¸
¸
¸
ab
≥ 1.
3. Prove that every positive integer has at least as many (positive)
divisors whose last decimal digit is 1 or 9 as divisors whose last digit
is 3 or 7.
4. Prove that opposite vertices of a 142 857 rectangle with vertices
at lattice points cannot be joined by a five-edge broken line with
vertices at lattice points such that the ratio of the lengths of the
edges is 2 : 3 : 4 : 5 : 6.
5. Do there exist 100 positive integers such that the sum of the fourth
powers of every four of the integers is divisible by the product of the
four numbers?
6. Let B

be the antipode of B on the circumcircle of triangle ABC, let
I be the incenter of ABC, and let M be the point where the incircle
touches AC. The points K and L are chosen on the sides AB and
BC, respectively, so that KB = MC, LB = AM. Prove that the
lines B

I and KL are perpendicular.
7. Can a 19971997 square be dissected into squares whose side lengths
are integers greater than 30?
8. At each vertex of a regular 1997-gon is written a positive integer.
One may add 2 to any of the numbers and subtract 1 from the num-
bers k away from it in either direction, for some k ∈ ¦1, 2, . . . , 1998¦;
the number k is then written on a blackboard. After some number
of operations, the original numbers reappear at all of the vertices.
Prove that at this time, the sum of the squares of the numbers writ-
ten on the blackboard is divisible by 1997.
179
9. The positive integers x, y, z satisfy the equation 2x
x
+y
y
= z
z
. Prove
that x = y = z.
10. The number N is the product of k diferent primes (k ≥ 3). Two
players play the following game. In turn, they write composite divi-
sors of N on a blackboard. One may not write N. Also, there may
never appear two coprime numbers or two numbers, one of which
divides the other. The first player unable to move loses. Does the
first player or the second player have a winning strategy?
11. Let K, L, M, N be the midpoints of sides AB, BC, CD, DA, respec-
tively, of a cyclic quadrilateral ABCD. Prove that the orthocentres
of triangles AKN, BKL, CLM, DMN are the vertices of a parallel-
ogram.
12. A 100100 square grid is folded several times along grid lines. Two
straight cuts are also made along grid lines. What is the maximum
number of pieces the square can be cut into?
13. The sides of a convex polyhedron are all triangles. At least 5 edges
meet at each vertex, and no two vertices of degree 5 are connected
by an edge. Prove that this polyhedron has a side whose vertices
have degrees 5, 6, 6, respectively.
14. Given 2n + 1 lines in the plane, prove that there are at most n(n +
1)(2n + 1)/6 acute triangles with sides on the lines.
15. Prove that the set of all 12-digit numbers cannot be divided into
groups of 4 numbers so that the numbers in each group have the
same digits in 11 places and four consecutive digits in the remaining
place.
16. A circle is divided into equal arcs by 360 points. The points are
joined by 180 nonintersecting chords. Consider also the 180 chords
obtained from these by a rotation of 38

about the center of the
circle. Prove that the union of these 360 chords cannot be a closed
(self-intersecting) polygon.
17. Can a 75 75 table be partitioned into dominoes (1 2 rectangles)
and crosses (five-square figures consisting of a square and its four
neighbors)?
180
18. Prove that for x, y, z ≥ 2, (y
3
+x)(z
3
+y)(x
3
+z) ≥ 125xyz.
19. The circles S
1
, S
2
intersect at A and B. Let Q be a point on S
1
.
The lines QA and QB meet S
2
at C and D, respectively, while the
tangents to S
1
at A and B meet at P. Assume that Q lies outside
S
2
, and that C and D lie outside S
1
. Prove that the line QP goes
through the midpoint of CD.
20. Given a convex 50-gon with vertices at lattice points, what is the
maximum number of diagonals which can lie on grid lines?
21. The number 99 99 (with 1997 nines) is written on a blackboard.
Each minute, one number written on the blackboard is factored into
two factors and erased, each factor is (independently) increased or
diminished by 2, and the resulting two numbers are written. Is it
possible that at some point all of the numbers on the blackboard
equal 9?
22. A device consists of 4n elements, any two of which are joined by
either a red or a blue wire. The numbers of red and blue wires are
the same. The device is disabled by removing two wires of the same
color connecting four different elements. Prove that the number of
ways to disable the device by removing two blue wires is the same
as the number of ways by removing two red wires.
23. An Aztec diamond of rank n is a figure consisting of those squares of
a gridded coordinate plane lying entirely inside the diamond ¦(x, y) :
[x[+[y[ ≤ n+1¦. For any covering of an Aztec diamond by dominoes
(12 rectangles), we may rotate by 90

any 22 square covered by
exactly two dominoes. Prove that at most n(n + 1)(2n + 1)/6 rota-
tions are needed to transform an arbitrary covering into the covering
consisting only of horizontal dominoes.
181

Contents
1 1996 National Contests: Problems and Solutions 1.1 Bulgaria . . . . . . . . . . . 1.2 Canada . . . . . . . . . . . 1.3 China . . . . . . . . . . . . 1.4 Czech and Slovak Republics 1.5 France . . . . . . . . . . . . 1.6 Germany . . . . . . . . . . 1.7 Greece . . . . . . . . . . . . 1.8 Iran . . . . . . . . . . . . . 1.9 Ireland . . . . . . . . . . . . 1.10 Italy . . . . . . . . . . . . . 1.11 Japan . . . . . . . . . . . . 1.12 Poland . . . . . . . . . . . . 1.13 Romania . . . . . . . . . . . 1.14 Russia . . . . . . . . . . . . 1.15 Spain . . . . . . . . . . . . 1.16 Turkey . . . . . . . . . . . . 1.17 United Kingdom . . . . . . 1.18 United States of America . 1.19 Vietnam . . . . . . . . . . . 3 3 9 12 17 22 25 27 29 34 38 41 44 47 57 76 81 84 89 96

. . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . .

2 1996 Regional Contests: Problems and Solutions 2.1 Asian Pacific Mathematics Olympiad . . . . . 2.2 Austrian-Polish Mathematics Competition . . 2.3 Balkan Mathematical Olympiad . . . . . . . . 2.4 Czech-Slovak Match . . . . . . . . . . . . . . 2.5 Iberoamerican Olympiad . . . . . . . . . . . . 2.6 St. Petersburg City Mathematical Olympiad 3 1997 National Problems 3.1 Austria . 3.2 Bulgaria . 3.3 Canada . 3.4 China . . Contests: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

100 100 103 108 110 114 118

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

131 131 132 136 137

1

3.5 3.6 3.7 3.8 3.9 3.10 3.11 3.12 3.13 3.14 3.15 3.16 3.17 3.18 3.19 3.20 3.21 3.22 3.23 3.24 3.25 3.26

Colombia . . . . . . . . . . Czech and Slovak Republics France . . . . . . . . . . . . Germany . . . . . . . . . . Greece . . . . . . . . . . . . Hungary . . . . . . . . . . . Iran . . . . . . . . . . . . . Ireland . . . . . . . . . . . . Italy . . . . . . . . . . . . . Japan . . . . . . . . . . . . Korea . . . . . . . . . . . . Poland . . . . . . . . . . . . Romania . . . . . . . . . . . Russia . . . . . . . . . . . . South Africa . . . . . . . . Spain . . . . . . . . . . . . Taiwan . . . . . . . . . . . . Turkey . . . . . . . . . . . . Ukraine . . . . . . . . . . . United Kingdom . . . . . . United States of America . Vietnam . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . .

139 140 141 142 144 145 146 147 148 149 150 152 153 155 161 162 163 165 166 167 168 169

4 1997 Regional Contests: Problems 4.1 Asian Pacific Mathematics Olympiad . . . . . . . . . . 4.2 Austrian-Polish Mathematical Competition . . . . . . 4.3 Czech-Slovak Match . . . . . . . . . . . . . . . . . . . 4.4 Hungary-Israel Mathematics Competition . . . . . . . 4.5 Iberoamerican Mathematical Olympiad . . . . . . . . 4.6 Nordic Mathematical Contest . . . . . . . . . . . . . . 4.7 Rio Plata Mathematical Olympiad . . . . . . . . . . . 4.8 St. Petersburg City Mathematical Olympiad (Russia)

. . . . . . . .

. . . . . . . .

. . . . . . . .

170 170 171 173 174 175 177 178 179

2

In fact. The circles k1 and k2 with respective centers O1 and O2 are externally tangent at the point C. n One of (xn + yn )/2 and |xn − yn |/2 is odd (as their sum is the larger of xn and yn . k1 . M. O2 are collinear and BN/N C = ON/N O2 = r/r2 . CP concur at the orthocenter of ABC. Let P be the intersection of with AB. k2 . Since AM B is a right triangle. Assume that O and A lie on the same side of . which is odd). Now suppose that for a given natural number n we have odd natural numbers xn . 2. Thus CD1 /D1 P = CD2 /D2 P and D1 = D2 . 7X + Y = 2 7 xn ± yn 2 2 + 7xn 2 yn 2 2 = 2(7x2 + yn ) = 2n+1 . have a common point. giving the desired pair. AP/P B = (AM/M C)(CN/N B) = r2 /r1 . r1 . BM. yn such that 7x2 + yn = 2n . N. Solution: Let r. n Solution: For n = 3 we have x3 = y3 = 1. BO1 . yn 2 such that 7x2 + yn = 2n . Then CD1 /D1 P = O1 C/P B = r1 /P B. Also let M and N be the intersections of AC and BC with k. while the circle k with center O is externally tangent to k1 and k2 . BO1 . 3 . Therefore O.1 1996 National Contests: Problems and Solutions Bulgaria 1. Similarly O.1 1. Prove that for all natural numbers n ≥ 3 there exist odd natural 2 numbers xn . and so AO2 . Y ) such that n 2 2 n+1 . so by Ceva’s theorem. the lines AN. Show that the lines AO2 . Let be the common tangent of k1 and k2 at the point C and let AB be the diameter of k perpendicular to . O1 are collinear and AM/M C = OM/M O1 = r/r1 . Now let D1 and D2 be the intersections of with BO1 and AO2 . the triangle AM O is isosceles and ∠AM O = ∠OAM = ∠O1 CM = ∠CM O1 . we shall exhibit a pair (X. r2 be the respective radii of k. have a common point. and similarly CD2 /D2 P = r2 /P A.

. . Thus M ≥ 1. . . Note that either all of the terms are positive. and the same argument shows that equality only occurs for (a. . We deduce n = 3 and consider two possibilities. an (n ≥ 3) form an arithmetic progression. the terms of either sign form a geometric progression by themselves. a4 . (Note: this is a particular case of the minimum deviation property of Chebyshev polynomials. b. b. or else we would have a threeterm geometric progression a. ai2 . with the maximum achieved at −1. ain . Show that M ≥ 1 and find all cases where equality occurs. −3. a1 or a2 . c = 0. if M < 1 for some choice of a. a3 . so there are at most two terms of each sign and n ≤ 4. 0). If n = 4. c) = (0. −1/2. a1 . 1]. Let a. and so |ai1 | < |ai2 | < · · · < |ain |. so q 2 + q − 2 = 0 and 4 . a4 . . then (4x3 + ax2 + bx + c) − (4x3 + 3x) must be positive at −1. b = −3. ain of a1 . clearly q = 0. Solution: Let a1 < a2 < · · · < an = 1996 and let q be the ratio of the geometric progression ai1 . The real numbers a1 . or they alternate in sign. . . c be real numbers and let M be the maximum of the function y = |4x3 + ax2 + bx + c| in the interval [−1. In this case. There cannot be three positive terms. there cannot be three negative terms. 2a3 = a2 + a4 . then 2a3 q = a3 q 3 + a3 and 2a3 + a3 q + a3 q 2 . .) 4. in the latter case. c. . Suppose the former occurs (the argument is similar in the latter case). 1/2. we have M = 1. then 2a2 = a2 q 2 + a2 q. an if they are all different and the largest of them is equal to 1996. Similarly. a2 . c which is also an arithmetic progression. positive at 1/2. we may assume |q| > 1. By reversing the geometric progression if needed. .3. . . giving q = 1. 1. a2 . b. violating the AM-GM inequality. . and negative at 1. a2 . . . . an which is a geometric progression. we have a1 < a2 < 0 < a3 < a4 and 2a2 = a1 + a3 . On the other hand. b. If a1 < a2 < 0 < a3 = 1996. Solution: For a = 0. There exists a permutation ai1 . . . a2 . a contradiction. which is impossible for a quadratic function. negative at −1/2. ±1. q < −1 and the geometric progression is either a3 . Find the numbers a1 .

q = −2, yielding (a1 , a2 , a3 ) = (−3992, −998, 1996). If a1 < 0 < a2 < a3 = 1996, then 2a2 = a2 q + a2 q 2 , so again q = −2, yielding (a1 , a2 , a3 ) = (−998, 499, 1996). 5. A convex quadrilateral ABC is given for which ∠ABC + ∠BCD < 180◦ . The common point of the lines AB and CD is E. Prove that ∠ABC = ∠ADC if and only if AC 2 = CD · CE − AB · AE.

Solution: Let C1 be the circumcircle of ADE, and let F be its second intersection with CA. In terms of directed lengths, we have AC 2 = CD · CE + AB · AE if and only if AB · AE = AC 2 − CD · CE = CA2 − CA · AF = AC · AF, that is, if and only if B, C, E, F are concyclic. But this happens if and only if ∠EBC = ∠EF C, and ∠EF C = ∠EF A = π − ∠ADE = ∠CDA (in directed angles modulo π), so B, C, E, F are concyclic if and only if ∠ABC = ∠ADC (as undirected angles), as desired. 6. Find all prime numbers p, q for which pq divides (5p − 2p )(5q − 2q ). Solution: If p|5p − 2p , then p|5 − 2 by Fermat’s theorem, so p = 3. Suppose p, q = 3; then p|5q − 2q and q|5p − 2p . Without loss of generality, assume p > q, so that (p, q − 1) = 1. Then if a is an integer such that 2a ≡ 5 (mod q), then the order of a mod q divides p as well as q − 1, a contradiction. Hence one of p, q is equal to 3. If q = 3, then q|53 − 23 = 9 · 13, so q = 13, and similarly p ∈ {3, 13}. Thus the solutions are (p, q) = (3, 3), (3, 13), (13, 3). 7. Find the side length of the smallest equilateral triangle in which three discs of radii 2, 3, 4 can be placed without overlap. Solution: A short computation shows that discs of radii 3 √ 4 and can be fit into two corners of an equilateral triangle of side 11 3 so 5

as to just touch, and that a disc of radius 2 easily fits into the third corner without overlap. On the other hand, if the discs of radii 3 and 4 fit into an equilateral triangle without overlap, there exists a line separating them (e.g. a tangent to one perpendicular to their line of centers) dividing the triangle into a triangle and a (possibly degenerate) convex quadrilateral. Within each piece, the disc can be moved into one of the corners of the original triangle. Thus the two discs fit into the corners without overlap, so the side length of the √ triangle must be at least 11 3. 8. The quadratic polynomials f and g with real coefficients are such that if g(x) is an integer for some x > 0, then so is f (x). Prove that there exist integers m, n such that f (x) = mg(x) + n for all x. Solution: Let f (x) = ax2 + bx + c and g(x) = px2 + qx + r; assume without loss of generality p > 0 and q = 0 (by the change of variable x → x − q/(2p)). Let k be an integer such that k > s and t = (k − s)/p > q/(2p). Since g(t) = k is an integer, so is f (t) = a(k − s)/p + bt + c, as is f k+1−s p −f k−s p b 1 a √ =√ √ + . p k+1−s− k−s p

This tends to a/p as k increases, so a/p must be an integer; moreover, b must equal 0, or else the above expression will equal a/p plus a small quantity for large k, which cannot be an integer. Now put m = a/p and n = c − ms; then f (x) = mg(x) + n. 9. The sequence {an }∞ is defined by n=1 n an + , a1 = 1, an+1 = n an Prove that for n ≥ 4, a2 = n. n √ √ Solution: We will show by induction that n ≤ an ≤ n/ n − 1 for n ≥ 1, which will imply the claim. These inequalities clearly hold for n = 1, 2, 3. Now assume the inequality for some n. Let fn (x) = x/n + n/x. We first have for n ≥ 3, an+1 = fn (an ) ≥ fn √ n n−1 =√ √ n > n + 1. n−1

n ≥ 1.

6

√ On the other hand, using that an > (n − 1)/ n − 2 (which we just proved), we get for n ≥ 4, an+1 = fn (an ) < fn n−1 √ n−2 = (n − 1)2 + n2 (n − 2) √ √ < n + 2. (n − 1)n n − 2

10. The quadrilateral ABCD is inscribed in a circle. The lines AB and CD meet at E, while the diagonals AC and BD meet at F . The circumcircles of the triangles AF D and BF C meet again at H. Prove that ∠EHF = 90◦ . Solution: (We use directed angles modulo π.) Let O be the circumcenter of ABCD; then ∠AHB = ∠AHF +∠F HB = ∠ADF +∠F CB = 2∠ADB = ∠AOB, so O lies on the circumcircle of AHB, and similarly on the circumcircle of CHD. The radical axes of the circumcircles of AHB, CHD and ABCD concur; these lines are AB, CD and HO, so E, H, O are collinear. Now note that ∠OHF = ∠OHC+∠CHF = ∠ODC+∠CBF = π −∠CAD+∠CBD, 2

so ∠EHF = ∠OHF = π/2 as desired. (Compare IMO 1985/5.) 11. A 7 × 7 chessboard is given with its four corners deleted. (a) What is the smallest number of squares which can be colored black so that an uncolored 5-square (Greek) cross cannot be found? (b) Prove that an integer can be written in each square such that the sum of the integers in each 5-square cross is negative while the sum of the numbers in all squares of the board is positive. Solution: (a) The 7 squares (2, 5), (3, 2), (3, 3), (4, 6), (5, 4), (6, 2), (6, 5)

7

4). (4. so one square must be colored in each. Thus 7 squares are needed. 3) with (2. 4) or (5. In particular. 3). (2. 8 . Replacing (3. 2). Similar symmetric arguments now show that no squares besides the center square can be covered. (3. Suppose exactly 6 squares are colored. so we need only show that 6 or fewer will not suffice. (6. 6). 6). (6. a contradiction. 4) are not colored. The crosses centered at (2. 4) must be covered. (7. 2) and (2. (1. Now the crosses centered at (2. 2) can be colored. no square on the perimeter can be colored. Similarly. (b) Write −5 in the 7 squares listed above and 1 in the remaining squares. (5. 3). hence 5 or fewer squares do not suffice. 2) and (3. Then clearly each cross has negative sum. 4). (3. neither is (3. 3) in the list shows that (3. by a series of similar arguments. and by a similar argument. 2). but the total of all of the numbers is 5(−7) + (45 − 7) = 3. 4). 6). 4) are disjoint. so each contains one colored square. 4) are disjoint and none contains the center square. 3) and (4. (5. Then none of the squares (1. 5) are not covered. (5. 6). (2. (5.suffice. Thus the center square (4. 4) are not colored. 2).

y. By a standard formula. . 1). . Find all real solutions to the following system of equations: 4x2 1 + 4x2 4y 2 1 + 4y 2 4z 2 1 + 4z 2 = y = z = x.2 Canada 1−α 1−β 1−γ + + . an of the integers 1. n such that (i) a1 = 1. Then f (x)/x = 4x/(1 + 4x2 ) is at least 1 by the AM-GM inequality. . implying x = y = z = 1/2. compute Since P (x) = x3 − x − 1 has roots α. y. If one of x. 1/2. γ. Therefore x ≤ y ≤ z ≤ x. z must lie in that interval. i = 1. . . n − 1. If α. z) = (0. Let f (n) be the number of permutations a1 . . so x. so the given expression equals 2(2) − 3 = 1. γ + 1. with equality for x = 1/2. . (1/2. β. 2. 1+α 1+β 1+γ Solution: The given quantity equals 2 1 1 1 + + α+1 β+1 γ+1 − 3. . then all three are. 1/2). (ii) |ai − ai+1 | ≤ 2. . y. Solution: Define f (x) = 4x2 /(1 + 4x2 ). and so equality holds everywhere. the sum of the reciprocals of the roots of x3 + c2 x2 + c1 x + c0 is −c1 /c0 .1. . 9 . 3. 0). . 0. so assume they are nonzero. 1. β. γ are the roots of x3 − x − 1 = 0. . Thus the solutions are (x. β + 1. the range of f is [0. z is zero. the polynomial P (x − 1) = x3 − 3x2 + 2x − 1 has roots α + 1.

sin 2β BD = sin α . . sin 3β Thus we are seeking a solution to the equation sin(π − 4β) sin 3β = (sin(π − 4β) + sin β) sin 2β. BC = sin α . n−1. n−2. one checks that h(n) modulo 3 repeats with period 24. h(n) counts permutations of the desired form where n occurs in the middle. 1. Now sin 5β = sin 4β. Let ABC be an isosceles triangle with AB = AC. 0. Then by the Law of Sines. sandwiched between n−1 and n− 2. Using the sum-to-product formula. Hence h(n) = h(n−1)+g(n−1)−g(n−4) = h(n−1)+g(n−2). Solution: Let g(n) be the number of permutations of the desired form with an = n. 0. 0. . 10 . Then either an−1 = n − 1 or an−1 = n − 2. in the latter case we must have an−2 = n − 1 and an−3 = n − 3. 4. sin 3β AD = sin β . Determine ∠A. Hence g(n) = g(n − 1) + g(n − 3) for n ≥ 4. we have f (1996) ≡ f (4) = 4 (mod 3). and any acceptable permutation on n−1 symbols can be so produced except those ending in n−4. β = (π − α)/4 and assume AB = 1. Cancelling cos β. 2. 1. Since 1996 ≡ 4 (mod 24). so 9β = π and β = π/9. we rewrite this as cos β − cos 7β = cos 2β − cos 6β + cos β − cos 3β. Solution: Let α = ∠A. Removing n leaves an acceptable permutation. repeating with period 8. Now let h(n) = f (n) − g(n). which implies sin 2β sin 5β = sin 2β sin 4β. so f (1996) is not divisible by 3. n−3. Suppose that the angle bisector of ∠B meets AC at D and that BC = BD + AD. we have cos 3β − cos 7β = cos 2β − cos 6β. 1. . In particular. the values of g(n) modulo 3 are g(1) = 1.Determine whether f (1996) is divisible by 3.

5. Determine the minimum and maximum values of f (n). . 11 . so f (n) ≥ 0. . On the other hand. we have rk n − rk n < 1. Let r1 . Solution: Of course rk n ≤ rk n. Here equality holds for n = t − 1 if t is the least common denominator of the rk . . so f (n) ≤ m − 1. with equality for n = 0. . Define the function f by f (n) = n − k=1 rk n for each positive integer n. so 0 is the minimum value. rm be a given set of positive rational numbers whose m sum is 1. r2 .

16) (20. (48. . (24. b satisfying the condition: a1 + b1 = 3 a1 + b1 a1 + b1 a1 + b1 a1 + b1 a1 + b1 a1 + b1 =4 =5 =6 =7 =8 =9 (6. (12. Since a1 and b1 have no common factor. 8). and the polar of the line BE is the intersection of the tangents BB and EE. 36) 12 . 9). so a1 + b1 divides ca1 b1 . (45. 24) (45. . Let c = gcd(a. 5). a1 + b1 divides c. (36. or b1 and a1 + b1 . The polar of the line AD is the intersection of the tangents AA and DD. 21) (40. . (40. (30. 10). Find the smallest positive integer K such that every K-element subset of {1. 4). . Solution: The line P Q is the polar of A with respect to the circle. . 10). Since S ⊆ {1. Then c(a1 + b1 ) divides c2 a1 b1 . 14). these also lie on the circle. The collinearity of these two intersections with C = AE∩BD follows from applying Pascal’s theorem to the cyclic hexagons AABDDE and ABBDEE. The tangents from A to the circle with diameter BC touch the circle at P and Q. 50} contains two distinct elements a. of course a1 + b1 ≥ 3. so that a1 and b1 are relatively prime.) 2. Let D and E be the feet of the altitudes from A and B. b = cb1 . b). An exhaustive search produces 23 pairs a. H are collinear. 21). (18. In short. which implies a1 + b1 ≤ 9. Suppose a. 6) (42. on the other hand. . (28. 50}. respectively. Let H be the orthocenter of acute triangle ABC. 12). . (48. 12). (30. 18). (35. Solution: The minimal value is k = 39. b such that a+b divides ab. b ∈ S are such that a + b divides ab. 7). (24.3 China 1. 20). 24) (12. 3). (An elementary solution with vectors is also possible and not difficult. Prove that P. . Q. neither do a1 and a1 + b1 . so c(a1 + b1 ) ≤ 99. 30) (30. (15. (42. and H = AD ∩ BE. we have a + b ≤ 99. 15). 2. and put a = ca1 . 6). so it suffices to show that A lies on the pole of H. (36.1.

Solution: Setting x = y = 0 in the given equation. we will show a1/3 ∈ S whenever a ∈ S. that is. we conclude f (a1/3 x) = a1/3 f (x). (30. (2) (1) In particular. 3). 10). from the 23 pairs mentioned above we can select 12 pairs which are mutually disjoint: (6. 24. On the other hand. 8). 15. 4). Now we show that a. 13 . 36). We conclude the desired minimal number is k = 39. 12. (45. 9). (48. 20. f (x) ≥ 0 for x ≥ 0 and f (x) ≤ 0 for x ≤ 0. f (x) = x1/3 f (x1/3 )2 . T does not have the desired property. we have f (0) = 0. Since each pair listed above contains an element of M . Let S be the set S = {a > 0 : f (ax) = af (x)∀x ∈ R}. axf (x)2 = af (x3 ) = f (ax3 ) = f ((a1/3 x)3 ) = a1/3 f (a1/3 x)2 and so [a1/3 f (x)]2 = f (a1/3 x)2 . 35. 15). (18. f (1996x) = 1996f (x). (40. (35. (24. Let f : R → R be a function such that for all x. 3. (20. . Setting y = 0. Any 39-element subset must contain both elements of one of these pairs. or equivalently. . (42. 50}− M . In fact. x and f (x) always have the same sign. 21). 16). 7). we find f (x3 ) = xf (x)2 . y ∈ R. Hence we must take k ≥ |T | + 1 = 39. Clearly 1 ∈ S. 14). (12. f (x3 + y 3 ) = (x + y)(f (x)2 − f (x)f (y) + f (y)2 ). Since x and f (x) have the same sign. Prove that for all x ∈ R. 42. . 40. 18. 21. 48} and T = {1.Let M = {6. 5). . 45. (28. b ∈ S implies a + b ∈ S: f ((a + b)x) = = = = f ((a1/3 x1/3 )3 + (b1/3 x1/3 )3 ) (a1/3 + b1/3 )[f (a1/3 x1/3 )2 − f (a1/3 x1/3 )f (b1/3 x1/3 ) + f (b1/3 x1/3 )2 ] (a1/3 + b1/3 )(a2/3 − a1/3 b1/3 + b2/3 )x1/3 f (x1/3 )2 (a + b)f (x).

n) . 6} {3. so that m 4 2 =r 8 2 and so m = 14r/3. 2. 5. in particular. using the arrangement {1. 1≤ i=1 √ xi π √ < . x0 = 0. 2 so that the middle quantity is at least inequality. However. and each pair of singers performs together in the same number of songs. 2. 8} {1. 5. 3. and Prove that n n i=1 xi = 1. . 8} {2. we have n ∈ S for each positive integer n. 4. 7} {2. Find the smallest m for which this is possible. . . 4. 4. 8}. 8} {3. 2. For the right (i = 0. 4. let θi = arcsin(x0 + · · · + xi ) so that √ 1 + x0 + x1 + · · · + xi−1 xi + · · · + xn = cos θi−1 14 xi = 1. . 3. 5. Eight singers participate in an art festival where m songs are performed. 5. 4. f (1996x) = 1996f (x) for all x ∈ R. 5. . . Each song is performed by 4 singers. 4} {5. 3. 7. 5. 6. 6. 2 1 + x0 + · · · + xi−1 · xi + · · · + xn Solution: The left inequality follows from the fact that √ 1 1 + x0 + x1 + · · · + xi−1 x1 + · · · + xn ≤ (1+x0 +· · ·+xn ) = 1. 8} {2. m = 14 is indeed possible. n. 3. 8} {1. 6. 8} {2. Solution: Let r be the number of songs each pair of singers performs together. m ≥ 14. 7} {1. 4. so in particular.By induction. 7} {1. xi > 0 for i = 1. Suppose n ∈ N. 7} {1. 3. 7. 2. 6. 6} {1. . 6. 4. 5. 7. .

such that √ CE = 3x/2 and BF = 1 − x/2. say DE and EF . (It is fine 15 . Let D be a point on BC and put x = BD. 2 2 using the facts that θi−1 < θi and that sin x < x for x > 0. and its minimum possible side length is 3/7. In triangle ABC. We now fix D. first suppose it is not isosceles. Find the minimum of the length of the longest side of a triangle inscribed in ABC (that is. 2 as claimed. 7 Hence the triangle DEF is equilateral. We now argue that the minimum possible longest side must occur for some equilateral triangle. one such that each side of ABC contains a different vertex of the triangle).and the desired inequality is n i=1 sin θi − sin θi−1 π < . Solution: We first find the minimum side length of an equilateral triangle inscribed in ABC. Then we can slide one of the endpoints of the longest side so as to decrease its length. Then take points E. cos θi−1 2 Now note that sin θi − sin θi−1 = 2 cos θi + θi−1 θi − θi−1 sin < cosθi−1 (θi − θi−1 ). we do so until all three sides become equal in length. move E so as to decrease DE and move F at the same time so as to decrease EF . 6. respectively. F on CA. so that n i=1 sin θi − sin θi−1 < cos θi−1 n θi − θi−1 = θn − θ0 < i=1 π . we do so until there are two longest sides. ∠A = 30◦ and BC = 1. ∠C = 90◦ . Starting with an arbitrary triangle. AB. A calculation using the Law of Cosines shows that DF 2 = DE 2 = EF 2 = 7 2 7 x − 2x + 1 = 4 4 x− 4 7 2 3 + .

since the bound above applies in that case as well. 16 .) Hence the mininum is indeed 3/7.if the vertices move onto the extensions of the sides. as desired.

2. 17 . Let ABC be an acute triangle with altitudes AP. If G(n − 1) = G(n). . . Show that for any point P in the interior of the triangle P QR.4 Czech and Slovak Republics 1. (n = 1. there exists a tetrahedron ABCD such that P is the point of the face ABC at the greatest distance (measured along the surface of the tetrahedron) from D.1. CR. 1} for all n. then G(n + 1) − G(n) = 1. then G(n + 1) − G(n) = 1 + G(G(n − 1)) − G(G(n)). Solution: (a) We show by induction that G(n) − G(n − 1) ∈ {0. otherwise. A. G(n − 1) and G(n) are consecutive integers not greater than n.). again completing the induction. so G(G(n)) − G(G(n − 1)) ∈ {0. If this holds up to n. G(n) = n − G(G(n)) then (a) G(k) ≥ G(k − 1) for any positive integer k. (b) no integer k exists such that G(k − 1) = G(k) = G(k + 1). 2. √ Note: It can be shown that G(n) = nw for w = ( 5 − 1)/2. Prove that if a sequence {G(n)}∞ of integers satisfies n=0 G(0) = 0. BQ. 1}. (b) Suppose that G(k − 1) = G(k) = G(k + 1) + A for some k. 3. . a contradiction. Then A = G(k + 1) = k + 1 − G(G(k)) = k + 1 − G(A) and similarly A = k − G(A) (replacing k + 1 with k above).

Since V lies inside P QR. A6 or their complements. B . we induct on the number n of elements of X. coloring the elements of Y in one color and the other elements in the other color meets the desired condition.Solution: We first note that if S is the circumcircle of an acute triangle KLM . D2 . . 3. respectively. . let V be its circumcenter. since 6 = 20 > 2 · 6. M whose bounding circles pass through S cover the entire triangle. the angle BV C is acute. show that it is possible to color the elements of X in two colors such that none of the given subsets is all in one color. D2 D3 . Then folding up the hexagon A D1 B D2 C D3 along the edges of triangle A B C produces a tetrahedron similar to the required tetrahedron. XM } < SK = SL = SM. Solution: Let A1 . XL. We may then construct an arbitrary triangle D1 D2 D3 similar to the unknown triangle D1 D2 D3 . . A6 be the subsets. and so ∠D1 D2 D3 is fixed and acute. If n = 6. We thus need ∠D1 D2 D3 = π − ∠BV C and so on. We shall choose D so that triangle D1 D2 D3 is acute. and CV that of D2 D3 . . CAD around their common edges with face ABC into the plane ABC. and construct points A . contains triangle ABC and has circumcenter V . this suffices by the above observation. . Fix a point V in the interior of the triangle P QR. L. BV that of D1 D2 . D3 of D lie outside of triangle ABC. We can also ensure that the entire triangle A B C lies inside D1 D2 D3 . C on the rays from V through the midpoints of D3 D1 . In other words. so that triangles A B C and ABC are similar. we first assume the desired tetrahedron exists and determine some of its properties. . BCD. then for any point X = S inside the triangle. since the discs centered at K. . we need a point D such that AV is the perpendicular bisector of D1 D3 . Rotate the faces ABD. Given six three-element subsets of a finite set X. we can find a three-element 3 subset Y of X not equal to any of A1 . and there is no loss of generality in assuming n ≥ 6. so that the images D1 . 18 . . we have min{XK. D1 D2 .

K are collinear. Show how to construct a line meeting the ray CX and the segments AB. v of X such that {u. and color the resulting elements using the induction hypothesis. There must be two elements u. y ∈ N? Solution: Such f exists for k = 0 and k = −1. are given such that |CX| < |CA| = |CB| < |CY |. respectively. Then construct M on BC such that ∠BLM = ∠AXL. First take x = y in (b) to get f (x2 ) = (k + 2)f (x). We also have ∠M LB = ∠ALK since M. and let L be its intersection with AB. we get f (x4 ) = (k + 2)f (x2 ) = (k + 2)2 f (x). Replace all occurrences of u and v by a new element w. Solution: Suppose K. Applying this twice. 4. from the similar triangles ALX and BM L we get ∠AXL = ∠M LB. We now construct the desired line as follows: draw the arc of points L such that ∠XLY = 2∠ABC. and (b) f (xy) = f (x) + f (y) + kf (gcd(x. we conclude ∠LY B = ∠AXL. For which integers k does there exist a function f : N → Z such that (a) f (1995) = 1996. respectively. L. Similarly. M have already been constructed. L. and let K be the intersection of LM with CA. The triangles ALK and BY L are similar because ∠LAK = ∠Y BL and KA/LA = LB/Y B. Now color the original set by giving u and v the same color given to w.Now suppose n > 6. 5. Now ∠XLY = ∠XLB+∠BLY = ∠XAL+∠AXL+∠ABM −∠LY B = 2∠ABC. and at most 6 × 3 = 18 lie in an Ai . y)) for all x. v} is not a subset of any Ai . 19 . such that KA · Y B = XA · M B = LA · LB = 0. L. An acute angle XCY and points A and B on the rays CX and CY . Hence ∠ALK = ∠BY L. M . since there are at least 7 = 21 2 pairs. BC at the points K.

On the other hand. M K = 2R sin C. n 1 6. Setting x = 1995 so that f (x) = 0. BLK. 9 1 so [KLM ] = 3 [ABC] and the coefficient of similarity between KLM and ABC must be 1/3. Solution: We will show that ABC is equilateral. BC. n 1 where g(5) = 1996 and g(p) = 0 for all primes p = 5. L. BLK. f (x4 ) = f (x) + f (x3 ) + kf (x) = (k + 1)f (x) + f (x3 ) = (k + 1)f (x) + f (x) + f (x2 ) + kf (x) = (2k + 2)f (x) + f (x2 ) = (3k + 4)f (x). CM L are congruent. For k = 0. AB BC CA 3 Show that if the circumcircles of the triangles AKM. then so are the incircles of these triangles. For k = 1. an example is given by f (pe1 · · · pen ) = g(p1 ) + · · · + g(pn ). are given such that AK BL CM 1 = = = . CA. LM = 2R sin B. then KL = 2R sin A. respectively. −1. Now we compare areas: [AKM ] = [BLK] = [CLM ] = 2 [ABC]. we deduce (k + 2)2 = 3k + 4. so the triangles KLM and ABC are similar. which has roots k = 0. CM L are congruent and hence have the same inradius. an example is given by f (pe1 · · · pen ) = e1 g(p1 ) + · · · + en g(pn ). a2 1 2 a 3 = b2 + c2 − 2bc cos A 2 2p c 2 2b c = + −2 cos A. By the law of cosines applied to ABC and AKM . 3 3 3 3 20 . so that AKM. M on the sides AB. Let R be the common circumradius. A triangle ABC and points K.

21 . as desired.From these we deduce a2 = 2b2 − c2 . c2 = 2a2 − b2 . Combining these gives a2 = b2 = c2 . and similarly b2 = 2c2 − a2 . so ABC is equilateral.

and we either have A = B = C. E. H. Solution: (a) Suppose un > a. Show that the points D.5 France 1. F. Solution: Suppose D. 2. Thus we either have B = C or 2B − π/4 + 2C − π/4 = π. in which case A = B = π/4 and the triangle is isosceles right. By equating the distances OD and OF . E. or B + (π − 2B) = 3π/4.1. un+1 = 1 2 un un + a if un is even otherwise. I are concyclic if and only if ABC is equilateral or isosceles right. H. G. I are concyclic. two of the angles must be equal. b be positive integers with a odd. un+2 = (un + a)/2 < un . respectively. Now note that 2(sin2 θ + sin θ cos θ) = 1 − cos 2θ + sin θ = 1 + √ 2 sin(2θ − π/4). Let ABC be a triangle and construct squares ABED. say A and B. If un is even. F. HI coincide with those of AB. we find (cos B + 2 sin B)2 + sin2 B = (cos C + 2 sin C)2 = sin2 C. G. BCGF. the perpendicular bisectors of DE. we determine sin2 B + sin B cos B = sin2 C + sin C cos C. F G. In particular. or B + C = 3π/4. Let a. so the triangle is equilaterla. BC. Define the sequence {un } as follows: u0 = b. un+1 = un /2 < un . (b) Show that the sequence {un } is periodic from some point onwards. so the center of the circle must be the circumcenter O of ABC. Hence for each term greater than 22 . if un is odd. CA. and for n ∈ N. Expanding this and cancelling like terms. (a) Show that un ≤ a for some n ∈ N. ACHI externally on the sides of ABC.

either un ≤ a. b1 . there is a smaller subsequent term. show that xy + y x > 1. (b) If x ≥ 1. . then k ≤ (2n − 3)/5. choose 3. We say a positive integer k satisfies the condition Cn if there exist 2k distinct positive integers a1 . so the function is everywhere convex. un ≤ 2a for all m ≥ n. (c) Suppose (2n − 3)/5 is an integer. now note that the function f (x) = xy + y x has derivative f (x) = xy log x + y x−1 . ak . Without loss of generality. . then xy ≥ 1 for y > 0. These form a decreasing subsequence which must eventually terminate. then for all n ≥ m. Since y x ≥ xx ≥ xy for x ≤ y and 1/x ≥ − log x. 4. This is easily done by setting its derivative 1 + log x to zero. or un is even and un ≤ 2a. Show that (2n − 3)/5 satisfies the condition Cn . and the unique extremum is indeed a global minimum. yielding x = 1/e. (b) Show that 5 satisfies the condition C14 . . . Let n be a positive integer. we have strict inequality. which only occurs once un ≤ a. Hence xx has minimum value e−1/e . 23 . in which case f (x) = 1. The second derivative 1/x is positive for x > 0. so we may assume 0 < x. ak + bk are all distinct and less than n. In particular. y < 1. since x > 0. and so some value of un eventually repeats. (b) If um ≤ a.a. assume x ≤ y. . . it suffices to determine the minimum of x log x. Solution: (a) Since xx = ex log x and ex is an increasing function of x . we see that f (x) > 0 for 0 ≤ x ≤ y and so the minimum of f occurs with x = 0. (a) Find the minimum value of xx for x a positive real number. bk such that the sums a1 + b1 . (b) If x and y are positive real numbers. leading to a periodic sequence. by induction on n. (a) Show that if k satisfies the condition Cn .. .

11. 24 . 13 as follows: 9 = 7 + 2. 10 = 6 + 4. giving the sums 2k + 1. or 5k ≤ 2n − 3. up to 2k − (k − 1)/2 with k (where k = (2n − 3)/5). we pair 2k with 1.(a) If k satisfies the condition Cn . or k(2k + 1) ≤ k(2n − k − 1)/2. and so on. and so on. 11 = 10 + 1. 13 = 8 + 5. up to k + 1 with k − 1. n − 1. 2k − (k + 3)/2 with 4. 2k − 1 with 3. . . Now we pair 2k − (k + 1)/2 with 2. 12 = 9 + 3. 10. . . or 4k + 2 ≤ 2n − k − 1. giving the sums from (5k + 1)/2 to 2k. (c) Imitating the above example. (b) We obtain the sums 9. then 1 + 2 + · · · + 2k ≤ (n − 1) + (n − 2) + · · · + (n − k). 12.

We conclude p = q = 1. Of those pairs (p. or to (a.1. b). q − p). the stone can move to (2a. so all of the colored intervals of AB can be placed in M B without overlap. We show necessity by noting that gcd(p. q/2) is an admissible pair. Solution: Cut the given segment into 5 segments of length 1/5. q) = gcd(p. Translate each point of AM by the vector M B. and compute this ratio. and their total length therefore does not exceed 1/10. Neither p nor q can be even. the stone can move to (a − b. y)? Solution: It is necessary and sufficient that gcd(x. 3. q). b − a) if a < b. q) from which (x. 25 . y can the stone be moved to (x. 1] such that no two points in S have distance 1/10. a contradiction. else one of (p/2. No colored point can have a colored image. similarly p < q is impossible. so an odd common divisor can never be introduced. a stone is moved in the coordinate plane according to the following rules: (i) From any point (a. y) = 2s . y) is indeed reachable. Each diagonal of a convex pentagon is parallel to one side of the pentagon. Let AB be one of these segments and M its midpoint. but gcd(p. q) is a power of 2 and neither p nor q is even. Show that the total length of the intervals comprising S is at most 1/2. Starting at (1. and noting that initially gcd(1. 2. b) or (a. (ii) From any point (a. b) if a > b. then (p. b). Applying this reasoning to each of the 5 segments gives the desired result. Prove that the ratio of the length of a diagonal to that of its corresponding side is the same for all five diagonals. 1). choose one to minimize p + q. q) or (p. q) is reachable from ((p + q)/2. and so (x. suppose gcd(x. y) = 2s for some nonnegative integer s. Suppose S is a union of finitely many disjoint subintervals of [0. y) can be reached. As for sufficiency. If p > q. Hence p = q. 1) = 1. 2b).6 Germany 1. For which positive integers x.

c = AE. so assume n > 6. we can find two elements a < b of S which are congruent modulo k. AT CE. Let S be the set of nonnegative integers less than 10n whose decimal digits are all 0s or 1s. and choose T on AB with CT BD. we determine EC = d(1+s) and the ratio EC/AB = 1+s = √ (1 + 5)/2. Prove that every integer k > 1 has a multiple less than k 4 whose decimal expansion has at most four distinct digits. 9. BT CS give SE = d. 4. For n ≤ 6 the result is immediate. and b − a only has the digits 8. The parallelograms ABSE. then the similar triangles SCD and ABE give SC = sd and SD = sc. 1 in its decimal representation. 0. and so sc/c = d/(d + √ We conclude s is the positive root of s(1 + s) = 1. On the other hand. BT = sd. 26 . and s = SC/AB.Solution: Let CE and BD intersect in S. hence b − a is the desired multiple. and the value is clearly the same for the other pairs. which is s = ( 5 − 1)/2. Solution: Let n be the integer such that 2n−1 ≤ k < 2n . T C = c. Put d = AB. b − a ≤ b ≤ 1 + 10 + · · · + 10n−1 < 10n < 16n−1 ≤ k 4 . Finally. sd). Clearly S lies inside the pentagon and T lies outside. From the similar triangles ESD and AT C we get SD/T C = SE/T A. Since |S| = 2n > k.

it has base ΘH whose length is half that of ZD. ED. Prove that (a) M N is perpendicular to EZ. M N is a diameter of the nine-point circle of ABC. AΘ be the internal and external bisectors of angle A. Solution: Introduce oblique coordinates with B = (0. AΘ at the points K. Solution: (a) The circle with diameter AH passes through Z and E. 0). 6). On the other hand. 0). respectively. prove that (a) AK = 3CK.1. and so ZN = ZE. M N is the perpendicular bisector of segment ZE. and K is the point of intersection of HΘ and AC. and Z and E lie on that circle. Let ABC be an acute triangle. 6). As for EΘH. EZ. (c) BE = 3EI. L. Θ are the midpoints of the segments BC. H. HK = 3HΘ. and ZD is 1/4 as long as BC. AH. (d) the area of ABC is 32 times that of EΘH. (b) HK = 3HΘ. K = (18.7 Greece 1. Let AI. Z. N be the midpoints of BC. (b) if M N cuts the segments AI. BD. AD. Z = (6. (b) As determined in (a). In a triangle ABC the points D. 0). I = (8. respectively. so ΘH = 1/8BC. 2. C = (24. The angle bisector AI of ∠EAZ passes through 27 . The altitude from E to ΘH is 1/4 the altitude from A to BC. Let M. 12). so ZN = ZE implies that ZE ⊥ M N . CZ its altitudes and H its orthocenter. BE = 3EI are evident. A = (0. Θ = (6. E = (6. 6). We then compute D = (12. H = (9. from which the relations AK = 3CK. 0). E. If I is the point of intersection of BE and AC. AD. 16). so we conclude the area of EΘH is 1/32 times that of ABC. BE. then KL = AH. 24).

Thus KL is also a diameter of circle EAZ. Determine the number of functions f : {1. Solution: We can send 1. As long as there are 9 numbers left. . x3 . Repeating the process with the square roots of the products of the pairs. prove there exist 4 numbers whose product is the fourth power of an integer. . 1996} which satsify the condition that f (1) + f (2) + · · · + f (1996) is odd. in so doing. which clearly lies on M N . . and 5 in its prime factorization. Hence there are 2n−1 such functions. . x5 ) recording the parity of the exponents of 2. L is the midpoint of the major arc EZ. n} → {1995. (See IMO 1985/4. n − 1 anywhere. Two numbers have the same triple if and only if their product is a perfect square. 2. and the value of f (n) will then be uniquely determined. 5}. By similar reasoning. therefore this midpoint is K. 28 . . we obtain four numbers whose product is a fourth power. 3. Given 81 natural numbers whose prime divisors belong to the set {2. so KL = M N . we obtain 9 such pairs. To each number. 3.the midpoint of the minor arc EZ. .) 4. . 3. associate the triple (x2 . we can select two whose product is a square. Solution: It suffices to take 25 such numbers. . 2.

Multiplying by 2xyz and collecting symmetric terms. z: (xy + yz + zx) ≥ Solution: comes sym After clearing denominators.1. and that of x2 y 2 z 2 is 6. z. k−1 t 29 .8 Iran 1 1 1 + + 2 2 (x + y) (y + z) (z + x)2 9 . k of natural numbers. this means the coefficient of x3 y 3 in the final expression is -6. we get x4 yz − 2x3 y 2 z + x2 y 2 z 2 ≥ 0. combining the last two displayed inequalities gives the desired result. (x5 y − x4 y 2 ) + 3(x5 y − x3 y 3 ) ≥ 0 sym by two applications of AM-GM. 2. ak k + ak−1 at + ··· + .) Recall Schur’s inequality: x(x − y)(x − z) + y(y − z)(y − x) + z(z − x)(z − y) ≥ 0. m has a unique representation in the form m= where ak > ak−1 > · · · > at ≥ t ≥ 1. where the symmetric sum runs over all six permutations of x. the given inequality be- 4x5 y − x4 y 2 − 3x3 y 3 + x4 yz − 2x3 y 2 z + x2 y 2 z 2 ≥ 0. (In particular. Prove the following inequality for positive real numbers x. y. y. 4 1. sym On the other hand. Prove that for every pair m.

This means reflecting B and C across this bisector gives two more points B . the perimeter of triangle AEF equals AB + AC. . . . (b) If OH intersects AB and AC at E and F . I. apply the greedy algorithm: find the largest ak such that ak ≤ m. as does I because 1 ∠BIC = 90◦ + 2 ∠A = 30◦ . (c) OH = |AB − AC|. and apply the same algorithm with m and k k replaced by m − ak and k − 1. whose center lies on the internal angle bisector of A. assume this position is k and that ak > bk . Suppose m is represented by two sequences ak . at and bk . a contradiction. m < ak +1 . H consists of all points P such that ∠BP C = ∠BHC = 180◦ − ∠CAB = 120◦ (as directed angles mod 180◦ ). To show existence. H. Solution: (a) The circle through B. bt . . . and so m − ak < k−1 . Note that the circle with diameter II passes through B and C (since internal and external angle bisectors are perpendicular). m k 3. The reflection across AI maps B and C to B and C . Find the first position in which they differ. C. we have ∠A = 60◦ . C are concyclic. . respectively. We need only make sure that the k sequence obtained is indeed decreasing. and excenter opposite A. Let O. incenter. respectively. and preserves I. I be the circumcenter. H. C. I . O. . By 30 . (b) Let R be the circumradius of triangle ABC. . Thus O lies on this circle. orthocenter. I. Prove that: (a) The eight points B. C on the circle. In triangle ABC. of ABC. Let B and C be points on the segments AC and AB such that AB = AB and AC = AC . Hence I also lies on the circle. B . without loss of generality. Then m≤ bk k + bk − 1 bk − k + 1 + ··· + k−1 1 < bk + 1 k ≤ m.Solution: We first show uniqueness. but this follows because by ak assumption.

whence k ≤ 32. respectively. writing β for ∠B and γ for ∠C. In particular. we find OH 2 = 9R2 −(a2 +b2 + c2 ). Each knight attacks 8 squares. Therefore 8k ≤ 8(64 − k). N . The medians from A. so LN/AC = LG/CG. we conclude 2BC 2 = AB 2 + AC 2 . To see that this cannot be improved. Using Stewart’s theorem to compute the lengths of the medians. b. C meet the circumcircle again at L. then AB/AC = BG/CG. if the chessboard is alternately colored black and white in the usual fashion. Solution: Let G be the centroid of triangle ABC. The top and bottom edges of a chessboard are identified together. 31 . If LM = LN . Let ABC be a scalene triangle. so OH 2 = b2 + c2 − 2bc = (b − c)2 . B. M. the altitude of AHO has length R cos β − γ and so the equilateral triangle AEF has perimeter √ 3R cos(β−γ) = 2R sin(β+γ) cos(β−γ) = 2R(sin β+sin γ) = AB+AC. CA. and so OH = |b − c|. 5.(a). but since a = 2R sin 60◦ . Since the triangle is scalene. yielding a torus. 4. we have OH 2 = 2a2 − b2 − c2 . Thus if LM = LN . but no unoccupied square can be attacked by more than 8 knights. prove that 2BC 2 = AB 2 + AC 2 . Find the maximum number of knights which can be placed so that no two attack each other. In other words. c to denote the lengths of BC. Solution: The maximum is 32 knights. a2 = b2 + c2 − bc. AB. then triangles N LG and AGL are similar. an optimal arrangement puts a knight on each black square. AHO is isosceles with AH = AO = R and ∠HAO = |β − γ|. as are the left and right edges. Similarly LM/AB = GL/BG. the circle BCHO is then preserved. By the Law of Cosines. we have 2AB 2 + 2BC 2 − AC 2 AB 2 = 2 AC 2AC 2 + 2BC 2 − AB 2 which reduces to (AC 2 − AB 2 )(2BC 2 − AB 2 − AC 2 ) = 0. and hence H maps to O. suppose that k knights are placed. By a standard computation using vectors. (c) We use a.

we may assume P (x) is monic and has integer coefficients. let P (0) = c0 . M. so AP ⊥ O1 O2 as desired. n = 32. so the sequences a1 . so ∠DM P = ∠BCP and the points B. M. C. we have equality. Solution: (Note: angles are directed modulo π. and DEM N to conclude that DM ∩ EN = A lies on the radical axis of the circles P DG and P EF . If p is a sufficiently large prime. The lines P B and P C intersect DE at F and G. If O1 is the circumcenter of P DG and O2 is the circumcenter of P F E. C. Therefore the points B. an and a3 . By Cauchy-Schwarz. so the points D. i Solution: Adding or removing zeroes has no effect. so ∠DM N = ∠BCN .) Let M be the second intersection of AB with the circumcircle of DP G. . ∠BCN = ∠DEN . na2 = 144 so that a = 3/2. E. the equation P (x) = p + c0 has a single real root. and let N be the second intersection of N with the circumcircle of EP F . Let P (x) be a polynomial with rational coefficients such that P −1 (Q) ⊆ Q. Find all nonnegative real numbers a1 ≤ a2 ≤ . which by assumption is rational and which we 32 . Now ∠DM P = ∠DGP by cyclicity. · · · . Let P be an arbitrary point inside ABC. 7. ≤ an satisfying n n n ai = 96. so we may assume the ai are positive. i i=1 a3 = 216. show that AP ⊥ O1 O2 . EP F . Now n 1 na = 96. C.6. respectively. P. . and ∠DGP = ∠BCP by parallelism. Again by parallels. M are concyclic. N are concyclic. i=1 i=1 a2 = 144. so that a1 = · · · = an = a. 8. a3 are proportional. 1 n 1 n Since 96 · 216 = 1442 . Show that P is linear. We now apply the radical axis theorem to the circumcircles of DGP . · · · . (a1 + · · · + an )(a3 + · · · + a3 ) ≥ (a2 + · · · + a2 ). P. N are concyclic. Points D and E lie on sides AB and AC of triangle ABC such that DE||BC. Analogously. B. Solution: By a suitable variable substitution and constant factor. N are concyclic.

so P (x) = x + c0 is linear. . For S = {x1 . by the rational root theorem. . Find the maximum value of this count over all I and S. 9. we have |T | ≤ . . x2 . . . . we count the number of reals of the form n i xi . Thus if T is the set of subsets whose sum lies in I. Since the root must be positive and cannot be 1 for large p. n}. we have P (p) − p − c0 = 0 for infinitely many p. In particular. note that for any permutation σ of {1. However. . the only rational roots of P (x) − p − c0 can be ±1 and ±p. .may also assume is positive (since P has positive leading coefficient). 1} lying in an open interval I of length 1. . all at least 1. σ(i)} for i = 1. . i=1 i ∈ {0. To see that this cannot be improved. xn } a set of n real numbers. . at most one of the sets {σ(1). we have t!(n − t)! ≤ n! ⇔ t∈T t∈T n n/2 n t −1 ≤ 1. 33 . . . . n has sum lying in I. . . achieved by taking xi = 1 + i/(n + 1). n Solution: The maximum is n/2 .

find the greatest common divisor of n!+1 and (n + 1)!. then each prime divisor of (n + 1)! is a prime less than n. 34 . Solution: It is clear that S(a + b) ≤ S(a) + S(b). Hence f (n) = 1. and thus f (n) = n + 1.9 Ireland 1. then f (x + y) ≥ f (x) + f (y). y and x + y all lie in [0. let k be the positive integer such that 2−k < x < 2−(k−1) . we have f (0) = 0 and so f (x) ≤ 2x in all cases. Thus for x > 0. 3. Similarly S(2n) ≤ 5S(10n) = 5S(n). the same argument shows that f (n) is a power of n + 1. and in fact n + 1|n! + 1 by Wilson’s theorem. For each positive integer n. Solution: If y > x. Prove that for all n. 1]. 1] → R be a function such that (i) f (1) = 1. 2. For each positive integer n. then f (y) ≥ f (x) + f (y − x). Let f : [0. However.1. (n + 1)2 does not divide (n + 1)!. If n + 1 is prime. S(2n) ≤ 2S(n) ≤ 10S(2n) and show that there exists n such that S(n) = 1996S(3n). so f is increasing. as 2f (2−k ) ≤ f (2−(k−1) ). An example with S(n) = 1996S(3n) is 133 · · · 35 (with 5968 threes). with equality if and only if there are no carries in the addition of a and b. Therefore S(2n) ≤ 2S(n). Since f (0) + f (1) ≤ f (1). then f (x) ≤ f (2−(k−1) ) ≤ 2−(k−1) < 2x. 1]. (ii) f (x) ≥ 0 for all x ∈ [0. which also divides n! and so does not divide n! + 1. We note that f (2−k ) ≤ 2−k by induction on k (with base case k = 0). let S(n) be the sum of the digits in the decimal expansion of n. Prove that f (x) ≤ 2x for all x ∈ K. (iii) if x. Solution: If n + 1 is composite.

E which form a 6 × 6 square. Construct isosceles right triangles ABD and ACE externally on sides AB and AC with the right angles at D and E. so that F0 = F1 = 1 and Fn+2 = Fn+1 + Fn for n ≥ 0. respectively. Let Fn denote the Fibonacci sequence. where r = (1 + i)/2. D = B + (A − B)r. in particular. C with numbers on the complex plane. 1 repeat. as shown below. Solution: A direct computation shows that the Fibonacci sequence has period 3 modulo 2 and 20 modulo 5 (compute terms until the initial terms 0. D − F = i(E − F ) and so DEF is an isosceles right triangle. B. Solution: Identifying A.4. at which time the entire sequence repeats). Then E − F = A(1 − i)/2 − B/2 + Ci/2 and D − F = A(1 + i)/2 − Bi/2 − C/2. a 3 × 3 square B. E = A + (C − A)r. we have F = (B + C)/2. Show. how to dissect a square into at most five pieces in such a way that the pieces can be reassembled to form three squares no two of which have the same area. Show that DEF is an isosceles right triangle. C C C C C A A C C C C C A A C C C C C D D C C C C C D D C C C C B B B C C C C B B B E E E E B B B 6. (ii) The statement “Fn+t − Fn is divisible by 100 for all positive integers n” is true if t = 300 and false for any positive integer t < 300. 35 . Prove that (i) The statement “Fn+k − Fn is divisible by 10 for all positive integers n” is true if k = 60 and false for any positive integer k < 60. D. 5. Solution: We dissect a 7 × 7 square into a 2 × 2 square A. and three pieces C. with proof. Let F be the midpoint of side BC of triangle ABC.

k n−1 2 2 n=1 8. Let P. C. Now if n > 1. but knowing that the period must be a multiple of 20 helps. finally. As for (b). The period mod 25 turns out to be 100. respectively. so n = 1 again. 36 . F be the feet of the altitudes from A. then n = 1. if p = 5. 7. Prove that for all positive integers n. DE. then 25 divides an and 5 divides 2p + 3p = 2p−1 − 2p−2 · 3 + · · · + 3p−1 ≡ p2p−1 (mod 5). so 5 divides 2p + 3p and so 5 divides a. respectively. then 25 + 35 = 753 is not a perfect power. then p is odd. we have 22 + 32 = 13 and n = 1. where t is an integer congruent to 2 modulo 5. BQ. which is awfully many terms to compute by hand. Prove that if 2p + 3p = an . an explicit computation shows that the period is not 20. CR passes through the circumcenter of ABC. CR are concurrent. shows that the period divides 100. Q. F D. B. n positive integers. R be the feet of the perpendiculars from A. one computes that the period mod 4 is 6. Let p be a prime number and a. Let ABC be an acute triangle and let D. 9. ∞ n=1 n Solution: It suffices to show n = 2n n=1 n=1 ∞ ∞ ∞ k=n n/2n = 2: ∞ 1 1 = = 2.yielding (a). Prove that the lines AP. so they all concur. E. C to EF. If p > 2. 21/2 · 41/4 · · · (2n )1/2 < 4. 2+3 a contradiction if p = 5. Solution: If p = 2. B. Finally. Solution: It is a routine exercise to show that each of AP. and verifying the recurrence Fn+8 = tFn+4 + Fn . BQ.

left. down. the game must eventually stop.10. right. (iii) at the end of each turn. at most 8 can move onto 3 after one move. and vice versa. these discs will not all be able to move onto 3 two moves later. A turn consists of moving all of the discs subject to the following rules: (i) each disc may be moved one square up. To show that a game with 33 discs must stop. a number of discs are randomly placed on some of the squares. the game stops because there are not enough 3s to accommodate these discs. Prove that if initially 33 discs are placed on the board. 37 . Solution: If 32 discs are placed in an 8 × 4 rectangle. The game stops if it becomes impossible to complete another turn. a disc on 2 goes to a 1 or 3 immediately. no square containing more than one disc. etc. Prove also that it is possible to place 32 discs on the board so that the game can continue forever. Of these 17. no square can contain two or more discs. label the board as shown: 1 2 1 2 1 2 3 2 3 2 1 2 1 2 1 2 3 2 3 2 1 2 1 2 1 2 3 2 3 2 1 2 1 2 1 2 3 2 3 2 1 2 1 2 1 Note that a disc on 1 goes to a 3 after two moves. Initially. or right. Thus we assume k ≤ 8. On a 5 × 9 rectangular chessboard. it must move left or right on the next turn. and so at least 17 on 2. (ii) if a disc moves up or down on one turn. they can all move up. so the game will stop. so at least 9 end up on 1. up. and a disc on 3 goes to a 2 immediately. the following game is played. in which case there are at most 16 squares on 1 or 3 at the start. left. down. Thus if k discs start on 1 and k > 8.

The triangles DAC and DBC have equal base and height. giving 38 . Then c2 − b2 = (c + b)(c − b) = a2 − 3. If r is the radius of the sphere. The product of the altitudes of ABC is 8S 3 divided by the lengths of the three sides. and vary C along a line parallel to AB at distance 2S/ . so sin ∠DAC < sin ∠DBC. r) is its center. determine all of those for which the product of the lengths of the three altitudes is maximum. as claimed. Prove that the equation a2 + b2 = c2 + 3 has infinitely many integer solutions {a. and since the former is acute. 3. 1. we get ∠DAB + ∠DBA < ∠CAB + ∠CBA. 1. B be two fixed points with AB = . let b = (a2 − 5)/2 and 2 c = (a − 1)/2. so it suffices to minimize AC · BC.10 Italy 1. However. Therefore r2 = 2(1 − r)2 . Solution: Let A. or equivalently to maximize sin C. Solution: Let a be any odd number. and assume C is on the same side of the perpendicular bisector of AB as B: we show ∠D ≥ ∠C. 1) is the point of tangency of one of the edges at B. c}. so equal altitude. Solution: Introduce coordinates so that A = (0. and so the optimal triangle is ABD. r. 2. tangent to the three faces meeting at A and tangent to the three edges meeting at B. B = (1. Among triangles with one side of a given length and with given area S. then (r. 0. Find the radius of the sphere with center interior to the cube. AC > BC since ∠CAB > ∠CBA. Suppose ∠D is acute and C = D. 1) and the edges are parallel to the coordinate axes. we have ∠DAC < ∠DBC. If ∠D is not acute. 0). the optimal triangles are clearly those with a right angle at C. Let A and B be opposite vertices of a cube of edge length 1. Adding ∠CAB +∠ABD to both sides. and so ∠ADB > ∠ACB. Let D be the intersection of the perpendicular bisector of AB with the line through C. b.1. and (r.

so surely 2n−2 squares are needed. 6. find the number of words of n letters which contain an even number of a’s. Solution: Take the circle to be the unit circle in the complex plane. note that (1 + x)n + (1 − x)n = 2 k n x2k . Then (Q − P )i = A − P . To show this many squares are necessary. construct the square AP QR. these can occur in 2k n−2k places. To compute this. P. and the remaining positions can be filled in 2 ways. and the same would hold 39 . c. where the vertices A.r2 − 4r + 2 = 0 and so r = 2 − outside of the cube). i) and from (n − 1. Q. 0) and (i. so Q = A + (1 − i)P . each of these segments would lie on one of the squares. we draw a square with opposite corners (0. Find the locus of Q as P runs over C. Given an alphabet with three letters a. Whas is the minimum number of squares that one needs to draw on a white sheet in order to obtain a complete grid with n squares on a side? Solution: It suffices to draw 2n−1 squares: in terms of coordinates. √ 2 (the other root puts the center 4. If it were possible to obtain the complete grid with 2n−2 squares. i) to (1. note that the segments from (0. Let C be a circle and A a point exterior to C. 2k so the answer is 1 n 1 2 [(1 + 1/2)n + (1 − 1/2)n ] = (3n + 1). 2 2 5. R occur in counterclockwise order. b. i) to (n. n) for 1 ≤ i ≤ n − 1. i) and (n. For each point P on C. n Solution: If there are 2k occurences of a. namely 2. We conclude the locus of Q is√ circle centered at A whose radius is the norm the of 1 − i. So n the answer is k 2k 2n−2k . i) for 1 ≤ i ≤ n and a square with opposite corners (i. i) for 0 < i < n all must lie on different squares.

Each of the aforementioned horizontal segments shares a square with only two of the vertical segments. n). both of which are insufficient.for the segments from (i. n) for 0 < i < n. and the 90◦ rotation of this arrangement. 1) and from (i. 40 . so the only possible arrangements are the one we gave above without the square with corners (0. 0) and (n. 0) to (i. Hence 2n − 1 squares are necessary. n − 1) to (i.

s1 ) = 12. sn ) = gcd(sm . s2m−n ). 3.1. The case where ABC belongs to the triangulation is easy. there is a triangle BEF in the triangulation whose interior intersects BC.. Compute gcd(5m + 7m . and no vertex lies in the interior of an edge of another triangle. note that sn = sm sn−m − 5m 7m sn−2m . If BC is an edge of the triangulation. we have gcd(sm .e. Prove that the sequence {an } is not periodic. 2. B. Let m and n be positive integers with gcd(m. one of the two triangles bounded by BC has common interior points with ABC. ∠BEF < ∠BAF < ∠BAC.11 Japan 1. Thus by the Euclidean algorithm. C be three vertices of the triangulation and let θ be the smallest angle of the triangle ABC. Similarly. if m < n < 2m. on the contrary. we conclude that if m + n is even.. then gcd(sm . Solution: Let sn = 5n + 7n . Prove there is a triangle σ in the triangulation such that σ ∩ ABC = ∅ and every angle of σ is greater than θ. Suppose no vertices of the triangulation lie inside the circumcircle of ABC. sn ) = gcd(s0 . s1 ) = 2. and if m+n is odd. Solution: We may assume θ = ∠A. Since xn → ∞ as n → ∞. sn ) = gcd(s1 . Consider a triangulation of the plane. . Otherwise. Since EF crosses BC at an interior point. i. 2. sn−2m ). For n = 1. Let A. then gcd(sm . so assume this is not the case. let an = xn+1 − x xn . Solution: Assume. . 3. 5n + 7n ). so gcd(sm . . a covering of the plane with triangles such that no two triangles have overlapping interiors. that there exists p > 0 such that ap+n = an for every n. Let x > 1 be a real number which is not an integer. and this triangle satisfies the desired condition. we have 41 . If n ≥ 2m. n) = 1. so triangle BEF satisfies the desired condition. sn ) = gcd(sm .

we define pn as follows: pn = q k + ak−1 q k−1 + · · · + a1 q + a0 . Let θ be the maximum of the six angles between the edges of a regular tetrahedron and a given plane. For a number n with binary representation n = 2k + ak−1 · 2k−1 + · · · + a1 · 2 + a0 with ai ∈ {0. we get xn+p+1 − xn+1 x= xn+p − xn and so x is rational. then √ one of ab or ad is at most 1/ 2 since bd ≤ 1. If a. B. √ 5. 1}. Otherwise. d form a convex quadrilateral with largest angle at a. d be the projections of A. 42 . and we shall show this is the minimum angle. c. and y is also a rational number which is not an integer. then setting an+p = an and solving for x. Now put cm = y m+1 − y m . 4. Find the minimum value of θ over all positions of the plane. L6 . it is easily shown that one of the i originating from the vertex inside the convex √ hull has length at most 1/ 3.xn+p − xn > 0 for some n. we have bm+1 = bm . Put y = xp and p−1 bm = k=0 xp−k−1 amp+k = xmp+p − xp xm r = y m+1 − y y m . . . . b. C. D to the horizontal plane H. we obtain θ = 45◦ . . This means cm cannot be an integer for large m. Solution: Assume the edges of the tetrahedron Γ = ABCD have length 1. Let a. and 1 . 6 the projections of the edges L1 . . If we place the tetrahedron so that AC and BC are parallel to the horizontal plane H. . c. Since the angle between Li and H has cosine . then cm+1 = ycm = y m c1 . it suffices to consider the shortest i . a contradiction. . Let q be a real number with (1 + 5)/2 < q < 2. Since ap+n = ap . b. .

a2m+1 = k=0 22k+1 . from these a contradiction to the induction hypothesis will become evident. which we summarize in a table. l = 2r even. l = 4r + 2 odd. The argument falls into six cases. Now suppose n ≥ 2. assume the induction hypothesis. The cases n = 0. the third is always equal to pl . The first column gives the conditions of the case. and the fourth gives an upper bound for p2an +1 . l = 4r + 3 qp2an−1 + 1 q 2 p2an−2 q 2 p2an−2 + q qp2an−1 q 2 p2an−2 + 1 q 2 p2an−2 + q + 1 qpr + 1 q 2 pr q 2 pr + q qpr q 2 pr + 1 q 2 pr + q + 1 qp2an−1 +1 + 1 q 2 p2an−1 +1 q 2 p2an−2 +1 + q qp2an−1 +1 q 2 p2an−2 +1 + 1 q 2 p2an−2 +1 + q + 1. the second gives a lower bound for p2an . and suppose by way of contradiction that there exists l such that p2an < pl < p2an +1 . We will show that k = an satisfies the given condition by induction on n.Prove that there exist infinitely many positive integers k for which there does not exist a positive integer l such that p2k < pl < p2k+1 . 1 follow by noting 1 < q < q + 1 < q2 < q2 + 1 < q2 + q < q2 + q + 1 and pl ≥ q p ≥ q 3 > q 2 + q = p6 for l ≥ 8. l = 2r + 1 even. Solution: Define the sequence an as follows: m m a2m = k=0 22k . l = 4r + 1 even. n n n n n n even. l = 4r even. 43 .

Now note that ∠AF C = π −∠EP A = ∠AP B and ∠ACF = ∠ACE = ∠ABE. Show that the ratio of the area of the quadrilateral AP EF to the area of the triangle ABP does not depend on the choice of P . .12 Poland 1. . Thus [AP E] = [ACE] and [AP EF ] = [ACF ]. a2 . with n a positive integer and r a real number. and the line CE cuts the circumcircle of AP E at E and F . . . Let ABC be a triangle and P a point inside it such that ∠P BC = ∠P CA < ∠P AB. then (x + 1)n − r is divisible by 2x2 + 2x + 1 for r real if and only if (t + 1)n = r. 1 − ai n 2 n i=1 i=1 x2 i 1 − ai (1 − ai ) i=1 ≥ i=1 xi = 1. 3. . . Find all pairs (n. n n i x2 . 2. so we can rewrite the desired i x2 i . x2 . an be positive numbers whose sum is 1. xn whose sum is 1. for which the polynomial (x + 1)n − r is divisible by 2x2 + 2x + 1.1. Solution: Let t = (−1 + i)/2 be one of the roots of 2x2 + 2x + 1. 44 . Hence (4m. . this is possible if and only if n = 4m. . Solution: Note that ∠AEP = ∠AEB = ∠ACB = ∠CBP . r). Since the argument of t + 1 is π/4. Let n ≥ 2 be a fixed natural number and let a1 . Prove that for any positive numbers x1 . Therefore triangles ACF and ABP are similar and [ACF ]/[AB] = (AC/AB)2 independent of the choice of P . 2 i<j xi xj ≤ ai x2 n−2 i + . Solution: The left side is 1 − result as 1 ≤ n−1 By Cauchy-Schwarz. so the lines AE and CP are parallel. in which case (t + 1)4 m = (−4)m . (−4)m ) are the only solutions. The line P B cuts the circumcircle of ABC at B and E. n − 1 i=1 1 − ai n and determine when equality holds.

Since ∠BAC = ∠ACD. . otherwise let q(k) = 1. respectively. 1. are the primes in increasing order and n has base 2 representation c0 +2c1 +4c2 +· · ·. 111111 = 3 · 7 · 11 · 13 · 37 = 0 1 p1 p3 p4 p5 p10 . For a natural number k. we have the desired result. . . Determine all natural numbers n such that xn = 111111. Let ABCD be a tetrahedron with ∠BAC = ∠ACD and ∠ABD = ∠BDC. which each have angular sum π. . Consider the sequence x0 = 1. . and apply the spherical triangle inequality ∠ABC + ∠CBD > ∠ABD). If p(k) > 2. n} that satisfy the condition f (i) ≥ i − 1 i = 1. From the set of all permutations f of {1. . let p(k) denote the smallest prime number which does not divide k. 2. . Draw the plane through AC bisecting the dihedral angle formed by the planes ABC and ACD. . a nonplanar quadrilateral always has total angular sum less than 2π (divide it into two triangles. then draw a line in that plane perpendicular to AC through the midpoint O of AC. Solution: Assume AB = CD. . 4. . . so the lines AB and CD are coplanar.Since i (1 − ai ) = n − 1. p1 . one is chosen uniformly at random. xn+1 = xn p(xn ) q(xn ) n = 0. under the half-turn around the line . B lies on CD and D lies on AB. . However. . . . Now let B and D be the images of B and D. . define q(k) to be the product of all primes less than p(k). Solution: An easy induction shows that. 2. In particular. if p0 . Let pn be the probability that the chosen permutation f satisfies f (i) ≤ i + 1 45 i = 1. contradicting the assumption that ABCD is a tetrahedron. . n. Now note that the quadrilateral BB D D has total angular sum 2π. B = D and D = B. . 2. Show that edges AB and CD have the same length. by assumption. . then xn = pc0 pc1 · · ·. n. . 6. so xn = 111111 if and only if n = 210 +25 +24 +23 +21 = 1082. 2. 5.

. . n}. Thus dn = dn−1 + dn−2 . in the latter case. n − 1}. . . . we must have f (n − 1) = n. . . n − 2}. ignoring n gives a valid permutation of {1. It is easily shown (using the formula for Fn or by induction) that cn /dn < 1/3 for n ≥ 7. we get a valid permutation of {2. . Hence cn = 2cn−1 and so cn = 2n−1 since c1 = 1. Let cn be the number of permutations of the first type. or f (2) = 1. . For such a permutation. . Solution: We have pn > 1/3 for n ≤ 6. In the first case. . . . . the n + 1-st Fibonacci number. 6. . n} by identifying 1 and 2 together. . either f (1) = 1. . ignoring 1 gives a valid permutation of {2. and the initial conditions d1 = 1. . For such a permutation. Hence the desired n are 1. either f (n) = n or f (n) = n − 1. In the first case. . Let dn be the number of permutations of the second type. 46 . In the latter case. d2 = 2 yield dn = Fn+1 .Find all natural numbers n such that pn > 1/3. . so ignoring n and n − 1 gives a valid permutation of {1.

Prove that f is the zero function. 2 . Find the greatest positive integer n for which there exist n nonnegative integers x1 . not all zero. and 0 otherwise. 1}. 28 . f (A1 ) + f (A2 ) + · · · + f (An ) = 0. m=1 k=1 For m = n the inner sum is nf (z). so by the pigeonhole principle. since in that case | 1 + ··· + 8 92 | ≤ 1 + 2 + · · · + 28 < 93 . . Thus f (z) = 0 for all z ∈ C. not all zero. n of elements of {−1. . .1. Solution: We identify R2 with the complex plane and let ζ = e2πi/n . Let n > 2 be an integer and f : R2 → R be a function such that for any regular n-gon A1 A2 . . . . . j=1 In particular. + n xn . . the inner sum again runs over a regular polygon. Then the condition is that for any z ∈ C and any positive real t. . . . . . . . if n = 10. 2.13 Romania 1. . . then 210 > 103 . Solution: The statement holds for n = 9 by choosing 1. x2 . . 2. . Let i = 1 if xi occurs in A but not in B. . An . there are two subsets A and B of {x1 . we have n f (z − ζ k + ζ j ) = 0. we have n n f (z − (1 − ζ m )ζ k ) = 0. . j=1 Summing over k. n does not divide 1 x1 + 2 x2 + . xn . for other m. x10 } whose sums are congruent modulo 103 . n f (z + tζ j ) = 0. 0. . hence is 0. then i xi is divisible by n3 . 22 . . −1 if xi occurs in B but not in A. 47 . for each of k = 1. . n. such that for any sequence 3 1 . However.

each consisting of four lines. Note that the line IB IC bisects the exterior angles of ABC at A. CDA. since an = 1 [(an + bn ) + (an − bn )]. I the incenter of ABC. DAB. so T A = T IC also. and so (n − m)πx is an integral multiple of π. it follows that {an − bn } is also a finite set. Let ABCD be a cyclic quadrilateral and let M be the set of incenters and excenters of the triangles BCD. we 48 . in the right triangle AIC I. Solution: Let an = cos nπx and bn = sin nπx. Then (an + bn )2 + (an − bn )2 = 2(a2 + b2 ) = 2 + (a2n + b2n ). In particular. and similarly T I = T B. y ∈ Q. n n If {an + bn } is finite. We next show that the midpoint U of IB IC is also the midpoint of the arc BAC. then x. Show that if the set {cos(nπx) + cos(nπy)|n ∈ N} is finite. IC the excenters of ABC opposite B and C. and IB .3. Let x. Note that ∠T AI = ∠T AB+∠BAI = (∠C+∠A)/2 = ∠ICA+∠IAC = ∠T AI. and hence that {an } is finite. respectively. Show that there exist two sets of parallel lines K and L. 4. We first show T I = T A = T B = T IC . y be real numbers. Solution: Let T be the midpoint of the arc AB of the circumcircle of ABC. ∠AIC T = π/2 − ∠AIT = π/2 − ∠T AI = ∠T AIC . Moreover. so the line IB IC passes through the midpoint V of the arc BAC. Considering the right triangles IB BIC and IB CIC . We conclude x and y are both rational. ABC (for a total of 16 points). such that any line of K ∪ L contains exactly four points of M . so T I = T A. am = an for some m < n. 2 and similarly {bn } is finite.

. Then for any integer x. We shall prove the claim with K = {BC CB . DAB. C. n} such that fi (x) = bx for all x ∈ R. . where P is an unknown point. F. i=1 and so by unique factorization. G. Let AB . f2 . Similarly. Then we have an equality of polynomials in T : n [ci + fi (x)T ] = a(1 + xT )n . . ID be the incenters of the triangles BCD. IC ID CD DC is a rectangle with center E. Equating coefficients gives bi = ci and fi (x) = bi x = ci x for all x. 49 . . Solution: Let ci = fi (1). CD DC }. IA IB . and the diagonals. respectively. ci +fi (x)T = bi (1+xT ) for some real number bi . . Given a ∈ R and f1 . Let IA . AD be the excenters of BCD opposite B. . By the first observation. AD DA }. IB . have length 2EA = 2EB. H be the midpoints of the arcs AB. First suppose a = 0. in which case ci = 0 for all i. Prove that there exists b ∈ R and i ∈ {1. which suffices to show U = V . so U lies on the perpendicular bisector of BC. AC . G. From the second observation above. ABC. 2. Consider the rectangle BC ID BA P . D. and so on. which contain the points C and D. n n fi (1 + mx) = i=1 i=1 [ci + mfi (x)] = a(1 + mx)n . . H. Again by the first observation. IC . DA. IC ID . Now consider the excenters of the form XY . BC. L = {AB BA . we obtain rectangles centered at F. so the same is true of U . ID IA . CD. . proving the claim. 5.) Let E. the midpoint K of diagonal BA BC is the midpoint of arc CDA. so DA lies on the lines BC CB and BA AB . so it lies on the internal bisector BK of triangle ABC. IC IB . we conclude M = DA . fn : R → R additive functions such that f1 (x)f2 (x) · · · fn (x) = axn for all x ∈ R. and so on. CDA.note BU = (IB IC )/2 = CU . respectively. where X and Y are opposite vertices in ABCD. (Note that IB and IC lie on the same side of BC as A.

. 6. p p On the other hand. we have the inequalities 1 n p p ≤ p≤n p≤n n p2 1 + 4 ∞ k=1 ∞ k=1 < n n 4 1 (2k + 1)2 = n . Show 1 2 k that for any positive integer N ≥ 2. Let xm = a1 + ma2 + · · · + mn−1 am for any integer m. . Hence for some i.Now suppose a = 0. . the polynomial fi (a1 )+fi (a2 )m+· · ·+fi (an )mn−1 is identically zero. The sequence {an }n≥2 is defined as follows: if p1 . + p−1 . we shall show that fi is identically zero for some i. then an = p−1 + p−1 + . p2 . Then n n 0= i=1 fi (xm ) = i=1 [fi (a1 ) + fi (a2 )m + · · · + fi (an )mn−1 ]. pk are the distinct prime divisors of n. proving the claim with b = 0. fi (x) = 0 for all x. . N a2 a3 · · · an < 1. Assume on the contrary that there exist ai for all i such that fi (ai ) = 0. . n=2 Solution: It is easily seen that n n ak = k=2 k=2 1 1 1 + + ··· + p1 p2 pk = p≤n 1 n . 2 < 1 k(k + 1) 50 . contradicting the fact that fi (ai ) = 0. Thus for some i. .

∞ a2 · · · an n=2 < = 1 1 1 1 + + + +3 2 6 12 60 3 46 + 60 25 1+ 1 + ··· 2 1 1 + 6 + ··· 5 2 2 = 46 6 + < 1. + (n − 1)xn−1 Find the minimum of the sum n−1 = n = 2n − 2. k 2 xk = k=1 k=1 xk +(k−1)(k+1)xk ≤ n+n k=1 n − 1(k−1)xk = n+n(2n−2−n) = n2 −n. Now using the AM-GM inequala2 + a3 + · · · + an n−1 1 2n−1 1+ 1 n−1 n−1 a2 a3 · · · an < < n−1 < e 3 < n−1 . 8. there exist four points of the same color which are the vertices of a rectangle. . with equality for x1 = n−1. xn−1 ) = k=1 kxk (2n − k).Thus ity. Let n. xn−1 nonnegative integers such that x1 + x2 + . . n k=2 ak < n/2 for all n ≥ 2. . Let n ≥ 3 be an integer and x1 . + xn−1 x1 + 2x2 + . . such that any open disc of radius r contains a point of A. 51 . . . 60 32 7. Show that for any coloring of the points of A using n colors. . r be positive integers and A a set of lattice points in the plane. . x2 . xn−1 = 1. . Hence the quantity in question is at most 2n(2n − 2) − (n2 − n) = 3n2 −3n. Solution: The desired sum can be written as 2n(2n−2)− Now note n−1 n−1 n−1 k=1 k 2 xk . F (x1 . . x2 = · · · = xn−2 = 0. 2n−1 2 Adding these inequalities. . .

. some two of them have two points in the same position in the same color. Hence p < q. Let n ≥ 3 be an integer and p ≥ 2n − 3 a prime. and (ii) if A. Since p and q are odd primes. That is. 2q = 3p + 1. Solution: Without loss of generality assume p ≤ q. The lattice points in A lie on L−1 = 4nr2 −1 vertical lines. Now consider an infinite horizontal strip made of ribbons of side length L. it must be 2. If p = q. 9. we now deduce p = q = 3. Let M be a set of n points in the plane. the unique solution will be (11. q ≥ p + 2. some vertical line contais n + 1 points of A. B. which means p and q are odd. Since this quantity is an integer.Solution: Consider a square of side length L = 4nr2 with sides parallel to the coordinate axes. by the pigeonhole principle. and let f : M → {0. We first have 23pq ≡ 2 (mod 3). Hence p = 11. for which one may check the congruence using the Chinese Remainder Theorem. 10. and it is clearly greater than 1. One can draw (2nr)2 = 4n2 r2 disjoint disks of radius r inside the square. . hence such a square contains at least 4n2 r2 points of A. but 427 ≡ 1 (mod 27). 17). Again by the pigeonhole principle. so (3p − 1)/(q − 1) < 3. q for which the congruence α3pq ≡ α (mod 3pq) holds for all integers α. if α is a primitive root mod p. 1. On the other hand. and conversely that q − 1 divides 3p − 1. two of these points are colored in the same color. In addition. Find all prime numbers p. no three collinear. and these four points form the vertices of a rectangle. p − 1 divides 3q − 1 = (9p + 1)/2 as well as (9p + 1) − (9p − 9) = 10. C are distinct points in M and k is the circumcircle of 52 . p − 1} be a function such that: (i) only one point of M maps to 0. then α3pq−1 ≡ 1 (mod p) implies that p − 1 divides 3pq − 1 as well as 3pq − 1 − 3q(p − 1) = 3q − 1. so this fails. . q = 17. .

consider an inversion with center at X. . f (B) = p − i. let b be the number of circles passing through X. 11. B of M . . By the above. A and at least one other point of M . Let x1 . Let a be the number of circles passing through X. but then either ABN or ACN has a shorter altitude than AH. 53 . find a triangle ABC minimizing the length of the altitude AH. and similarly. there exists a circle passing through M and only two points A. since a + b ≤ 2n + 4 < p.) Now suppose the points of M do not lie on a circle. xn+1 be positive reals such that x1 +x2 +· · ·+xn = xn+1 . Then the image of M − {X} has the property that the line through any two of its points contains a third point. we have a + b = 2 and so a = b = 1. Solution: First note that n n xn+1 (xn+1 − xi ) = nx2 − xn+1 n+1 i=1 i=1 xi = (n − 1)xn+1 . We first show that if every circle through X and two points of M contains a third point of M . . it is a standard result that this means the points are collinear. S + (b − 1)(p − i) ≡ 0 (mod p). Prove that n n xi (xn+i − xi ) ≤ i=1 i=1 xn+1 (xn+1 − xi ). P ∈M ∩k Show that all of the points of M lie on a circle. xn . there is another point N on BC.the triangle ABC. By adding the relations obtained from the circles through X and A. (Otherwise. so that by the hypothesis. Therefore a + b − 2 ≡ 0 (mod p). Solution: Let X be the point mapping to 0. B and at least one other point of M . contradicting the assumption that the points do not all lie on a circle. we get S + (a − 1)i ≡ 0 (mod p). x2 . Indeed. then f (P ) ≡ 0 (mod p). then all of the points of M lie on a circle. Let f (A) = i. contradiction. and let S be the sum of f (P ) over all P in M . .

using Cauchy-Schwarz after the first inequality. note that a2 x + b2 y + c2 z ≥ (a2 x + b2 y + c2 z) ≥ (a + b + c)2 > d2 . first note that if x ≤ 0. Prove that the following conditions are equivalent. . where n is large. y. we may take the limit as n → ∞ and get 1 1 1 + + ≥ x y z and hence 1/x + 1/y + 1/z ≤ 1. 54 1 1 1 1 + + − x y z n 2 . d. b = 1. To show (i) implies (ii). Thus x > 0 and similarly y > 0. d = n and get y + z > n2 (1 − x). Let x. the left side is at most n i=1 xi 1 − xi /xn+1 1 (n − 1) + = + = 1. We then get x y z + 2+ 2 > x2 y z 1 1 1 1 + + − x y z n 2 1 1 1 + + x y x . we may take a quadrilateral of sides a = n. (i) x. 2xn+i 2(n − 1) 2 2(n − 1) 12. (ii) For every quadrilateral with sides a. a contradiction for large n. 1/y. z > 0 and 1 x + 1 y + 1 z ≤ 1. c = 1. y. c. b.Hence the given inequality may be rewritten as n i=1 1 xi n − 1 xn+1 1− xi xn+1 ≤1 On the other hand. z be real numbers. Since this holds for all n. by the arithmetic-geometry mean inequality. Now use a quadrilateral of sides 1/x. Solution: To show (i) implies (ii). 1/z and 1/x + 1/y + 1/z − 1/n. a2 x+b2 y +c2 z > d2 . z > 0.

. D. . Prove that one can find nine distinct numbers a1 . Thus we may repeat the argument to show that f is isometric on each Di . B. Dn in increasing order of radius. . . This is easy. Clearly the maximum of d(A. a9 in X such that the system a1 x + a2 y + a3 z a4 x + a5 y + a6 z a7 x + a8 y + a9 z = 0 = 0 = 0 has a solution (x0 . . B ∈ D. and put X1 = {x1 .13. Solution: Label the elements of X in increasing order x1 < · · · < x3n2 . . To conclude. which suffices to prove isometry. then the arcs f (P )f (A) and f (P )f (B). B) for all A. each of the minor arcs f (A)f (B) and f (B)f (C) must be at least a quarter arc. Let n ≥ 3 be an integer and X ⊆ {1. 2. y0 . B . . x2n2 }. say D1 and D2 . . ∪ Dn−1 into itself. . Solution: Label the circles D1 . then f (A) and f (C) are antipodal. . 14. Let n be a positive integer and D a set of n concentric circles in the plane. f (B)) = d(A. Then A B C D also form a square. thus f (B) bisects one of the semicircles bounded by f (A) and f (C). . C . D be the points on D2 closest to A. . . which are at least as long as the arcs P A and P B. f (B)) ≥ d(A. xn2 }. z0 ) in nonzero integers. . Prove that if the function f : D → D satisfies d(f (A). choose a square ABCD on D1 and let A . In addition. are preserved. X2 = {xn2 +1 . . respectively. . . . . . and f (D) bisects the other. B) for every A. 55 X3 = {x2n2 +1 . . We conclude f is isometric on Dn . and the distance from A to C is the maximum between any point on D1 and any point on D3 . and let ri denote the radius of Di . f maps D1 ∪ . . . Since f is clearly injective and is now bijective on Dn . x3n2 }. Hence the eight points maintain their relative position under f . B ∈ D. add up to the quarter arc f (P )f (B). Now if P is any point on the minor arc AB. it suffices to show that distances between adjacent circles. B) occurs when A and B are antipodal points on D. . C. . . n3 } a set of 3n2 elements. as are f (B) and f (D). . then d(f (A). Let ABCD be the vertices of a square inscribed in Dn .

c) = (b − a. Note that ai cannot equal bj since X1 and X2 and so on. some three triples (ai . bi . Hence the nine numbers chosen are indeed distinct. z = a1 −b1 is a solution in nonzero integers. is contained in the subset of X × X of pairs whose sum is at most n3 .Define the function f : X1 × X2 × X3 → X × X as follows: f (a. c − b). ci ) (i = 1. 2. b. The range of f . and that a1 = a2 implies that the triples (a1 . a set of cardinality n3 −1 k= k=1 n6 n3 (n3 − 1) < . The domain of f contains n6 elements. on the other hand. c2 ) are identical. a contradiction. b1 . 56 . in which case x = b1 − c1 . 2 2 By the pigeonhole principle. 3) map to the same pair. c1 ) and (a2 . y = c1 − a1 . b2 .

The centers O1 . B. with A on the tangents to O1 . = O2 D + DE + EZ2 . It is known that the intersection of these tangents form a convex hexagon. Y1 O3 = O2 Z2 .14 Russia 1. Solution: Let A. Z1 E = EZ2 . From each of the points O1 . The sides of the hexagon are alternately colored red and blue. m. E. O2 . D. inclusive: numbers that can be represented as the sum of a perfect square and a (positive) perfect cube. F O1 = O3 F 57 . Y1 C = CY2 . Adding these equations and noting that X1 A = AX2 . n ∈ N and n ≤ 1000000. Prove that the sum of the lengths of the red sides equals the sum of the lengths of the blue sides. Which are there more of among the natural numbers from 1 to 1000000. Let n = k 2 + m3 . m). (as these segments are tangents to a circle from a single point) and BO2 = O1 B. Therefore there cannot be more numbers in the desired form than the 100000 pairs (k. 2. where k. DO3 = O2 D. X1 O2 = O1 Y2 . Since the given circles have equal radius. O3 one draws tangents to the other two given circles. Z1 O1 = O3 X2 or X1 A + AB + BO2 Y1 C + CD + DO3 Z1 E + EF + F O1 = O1 B + BC + CY2 . O2 . C. F be the vertices of the hexagon in order. or numbers that cannot be? Solution: There are more numbers not of this form. C on the tangents to O2 .1. = O3 F + F A + AX2 . O3 of three nonintersecting circles of equal radius are positioned at the vertices of a triangle. Clearly k ≤ 1000 and m ≤ 100. and E on the tangents to O3 .

as desired. Then x = mx1 . both of these numbers are divisible by p. moreover. Prove that if n > 1 is odd. x1 + y1 = pβ for some natural number β. the latter statement remains true even if the assumption of equal radii is removed. D. 1 α 58 . In both cases. we get AB + CD + EF = BC + DE + F A. BE. and this fact leads to a proof of Brianchon’s Theorem. so since n > 1. Moreover. 1 α (1) Since n is odd. y1 is greater than 1. the lines AD. so since x1 + y1 > 1.(since the circles have equal radii). k be natural numbers such that xn + y n = pk . and so m = pα for 1 some nonnegative integer α. y). Let x. From (1) it follows that A(x1 + y1 ) = pk−n . n. CF concur. it follows that at least one of x1 . 3. n xn + y1 1 n−2 n−1 2 = xn−1 − xn−2 y1 + xn−3 y1 − · · · − x1 y1 + y1 . By the condition p > 2. 1 1 1 x1 + y1 Let A denote the right side of the equation. Thus n−1 A = x1 − xn−2 (pβ − x1 ) + · · · − x1 (pβ − x1 )n−2 + (pβ − x1 )n−1 1 = nxn−1 + Bp. A > 1. y. p. we also have the equality AB · CD · EF = BC · DE · F A. or equivalently. Note: The analogous statement is also true in the case where the hexagon has reflex angles at B. and A > 1. mn (xn + y1 ) = pk . It follows that n xn + y1 = pk−n . then n is a power of p. y = my1 and by n virtue of the given equation. and p is an odd prime. F . Solution: Let m = gcd(x.

16000 · 803 − 16000 · 15999 3 3 2 > 16000 · 803 − = 16000 · 15999 42 2 2 16000 · 15999 3 3 . it follows that n is divisible by p. then by the same argument. who have formed 16000 committees of 80 persons each. For each deputy we write down all of the unordered pairs of committees she belongs to. p divides q. she gives rise to K(K − 1)/2 pairs. 4.Since A is divisible by p and x1 is relatively prime to p. First Solution: Suppose any two committees have at most three common members. Prove that one can find two committees having no fewer than four common members. each of the 16000(16000 − 1)/2 pairs of committees give at most 33 overlapping choices. Since the first deputy counts no fewer possibilities than the second. 59 . then n = p. The first deputy assumes that any deputy can chair any session. Let n = pq. we have the inequality 16003 ≥ 16000 · 803 − However. In the Duma there are 1600 delegates. we deduce that n = p for some natural number . Have two deputies count the possible ways to choose a chairman for each of three sessions of the Duma. If q > 1. If q = 1. The second deputy makes the additional restriction that all of the chairmen belong to a single committee. If a person deputy to K committees. Then xpq +y pq = pk or (xp )q +(y p )q = pk . We have a contradiction. and so gets 16003 possible choices. Repeating this argument. Second Solution: Suppose we have N committees such that no two have more than three common members. Each of the 16000 committees yields 803 choices. but this is an overcount. 2 16000 · 43 + 213 · 106 − 212 · 106 4 > 212 · 106 = 16003 .

there are infinitely many powers of 10. 9 81 = 9 . each is a multiple of 9. . 01 9 8 8 8 = 9 1 . . . + K1600 K1 + . and D lies on BC so that lines OD and BI are perpendicular. + K1600 = − 2 2 1 (K1 + . 01 . Show that in the arithmetic progression with first term 1 and ratio 729. 60 . 1081n − 1 = (1081 )n − 1n = (1081 − 1) · A. and 1081 − 1 = 9 . 1081n − 1 is divisible by 729. . . . 1 · · · 10 . .e. . 01 . . . .. Hence 1081 − 1 is divisible by 93 = 729. In particular. Since no two committees have more than three common members.Let K1 .. The total number of pairs written down is K1600 (K1600 − 1) K1 (K1 − 1) + . + K1600 ) 2 1600 1 (80N )2 1 = − 80N = N (4N − 80) 2 1600 2 since K1 + . 01 10 . . . Hence N (4N − 80)/2 ≤ 3N (N − 1)/2. In the isosceles triangle ABC (AC = BC) point O is the circumcenter. this cannot be the case. as is 1081n − 1 for any n. 01 10 . . . 10 . so the sum of their digits is divisible by 9. . 01 . . In fact. 9 8 8 8 The second and third factors are composed of 9 units. . 1600 belong to (under some labeling of the deputies). 9 · · · 10 . Prove that ID and AC are parallel. 5. + K1600 )2 ≥ − (K1 + . . . . . K1600 be the number of committees that deputies 1. . . . the total number of pairs written cannot exceed 3N (N −1)/2. . . + 2 2 2 2 K1 + . . . . + K1600 = 80N . . . that is. N ≤ 77. . Solution: We will show that for all natural numbers n. . . if N = 16000. . I the incenter. . i. 10 . 6. . . .

O = I) the statement is obvious. the sum of the weights of the k heaviest coins in the first pile is not more than that of the second pile. I. the points B. not exceeding the number of coins in either pile. It is known that the sum of the weights of the coins in the two piles are equal. (If there are no 61 . 1 but ∠IOB = 2 ∠AOB = ∠ACB.e. Thus CK = KI. the triangle EDB is isosceles and ∠DEB = ∠DBE. The argument is similar in the cases where I lies between O and C. 7. Next extend the line ED to meet the circumcircle at F . that is. so ECF I is a rhombus. By inscribed angles. Draw the altitude CE and note that 1 ∠EIB = 90◦ − ∠ABC 2 1 and ∠ODB = 90◦ − ∠ABC. This means GKDI is also a rhombus and CG||DI. The line OD contains the diameter perpendicular to EB. the first pile will not be lighter than the second. i. Thus ∠IDB = ∠IOB (both angles are inscribed in arc IB). 2 so ∠OIB + ∠ODB = 180◦ . ∠CEF = ∠IEF = ∠CF E = ∠IF E. and let the second pile have m coins of weights y1 ≥ y2 ≥ · · · ≥ ym . suppose O lies between I and C. if each coin (in either pile) of weight not less than x is replaced by a coin of weight x.e. Solution: Let the first pile have n coins of weights x1 ≥ x2 ≥ · · · ≥ xn . Two piles of coins lie on a table.First Solution: If the given triangle is equilateral (i. Second Solution: Extend the angle bisector BI to meet the circumcircle at E. Let G and K be the intersections of ED with AF and the altitude CH. Show that for any natural number x. But then ∠DEB = ∠ABE. hence EF ||AB and EF ⊥ CI. Otherwise. D lie on a circle. and so DE = DB. and so ID||AC. O. where x1 ≥ · · · ≥ xs ≥ x ≥ xs+1 ≥ · · · ≥ xn and y1 ≥ · · · ≥ yt ≥ x ≥ yt+1 ≥ · · · ≥ ym . Therefore ∠IDB = ∠ACB. and (by the symmetry of G and D across CH) GK = KD. and for any natural number k. respectively.

. + yt . . + xs ) + (x + · · · + x) t−s ≤ (y1 + . . + ys ) and ys ≤ . such that every cell is covered by exactly k L’s. . If t < s. not crossing its borders. + yt is equivalent to x1 + . − yt ). . . then x1 + . 7. Since x1 + · · · + xn = y1 + . . . . + xs + x(t − s) = (x1 + . . . + ys (from the given condition) and ys+1 ≥ . . . . . + xs ≤ y1 + . Suppose we are given a covering of a 5 × 7 checkerboard with L’s. since x1 + . . Each of these cells is 62 . ≤ yt+1 ≤ x. . 8.) We need to show that xs + xs+1 + · · · + xn ≥ xt + yt+1 + · · · + ym . + xs + x(t − s) ≤ y1 + . ≥ yt ≥ x. If t ≥ s. . . . then x1 + .coins of weight greater than x. + ym = A. . + yt + (x + . . + ys ) + (ys+1 + . . . + yt ) + (yt+1 + . in several layers so that each square of the board is covered by the same number of L’s? First Solution: No such covering exists. + xs ≤ y1 + . . . + xs ≤ y1 + . this inequality can be equivalently written xs + (A − x1 − · · · − xm ) ≥ xt + (A − y1 − . + ys = (y1 + . . . + x) . . . . . . . . Can a 5 × 7 checkerboard be covered by L’s (figures formed from a 2×2 square by removing one of its four 1×1 corners). . . . . 5 and the columns 1. . . . and consider the 12 squares lying at the intersections of oddnumbered rows with odd-numbered columns. . . . which in turn can be rewritten x1 + . . Number the rows 1. . t−s The latter inequality follows from the fact that x1 + . . + xs + x(t − s) ≤ y1 + . . + yt ). . the result is clear. which is what we will prove.

so ∠BAC = ∠BDC. 9. Prove that ∠F AC = ∠EDB.coverd by k L’s. the quadrilateral AEF D is cyclic. then S = ks = k(−2 · 12 + 23 · 1) = −k < 0. Note that the sum of the numbers in the cells covered by each L is nonnegative. n ≥ 2) can be covered. Prove that any two 63 . each of whose centers has integer coordinates. Hence the quadrilateral ABCD is cyclic. and the 2 × 2 by three layers using four L’s. By the equality of angles BAE and CDF we have ∠ADC + ∠ABC = ∠F DA + ∠CDF + ∠AEF − ∠BAE = 180◦ . But these cover 3 · 12k > 35k cells in total. Points E and F are given on side BC of convex quadrilateral ABCD (with E closer than F to B). Combining these three coverings. One can displace any counter by the vector joining the centers of two of the other counters. Second Solution: Color the cells of the checkerboard alternately black and white. it is not hard to show that all remaining m × n boards (m. so at least 12k L’s must be used in total. 10. so that the corners are all black. But if this number is S and s is the sum of the numbers on the board. Note: It is proved analogously that a covering of the desired form does not exist if the checkerboard has dimensions 3 × (2n + 1) or 5 × 5. a contradiction. and consequently if we are given a covering of the board in k layers. Therefore ∠AEF + ∠F DA = 180◦ . the 5 × 9 by one layer of 15 L’s. In each black square we write the number −2. We have a contradiction. and in each white square 1. On a coordinate plane are placed four counters. the sum over each L of the numbers covered by that L is nonnegative. It follows that ∠F AC = ∠EDB. The 2 × 3 board can be covered by one layer of two L’s. It is known that ∠BAE = ∠CDF and ∠EAF = ∠F DE. Solution: By the equality of angles EAF and F DE.

preselected counters can be made to coincide by a finite sequence of moves. Solution: Lemma 1 If three counters lie on a line and have integer coordinates, then we can make any two of them coincide. Proof: Let A and B be the counters between which the smallest of the three pairwise distances occurs, and let C be the other one. By repeatedly moving C either by the vector AB or its reverse, we can put C on the segment AB, thus decreasing the minimum of the pairwise distances. Since the points have integer coordinates, repeating this process must eventually bring the minimum distance down to zero. If the desired counters coincide, we are done; otherwise, the one that coincides with the third counter can be moved to the location of the other one. 2 Project the counters onto one of the axes. The projections behave like counters, in that if a counter is displaced by a vector, its projection is displaced by the projection of the vector. As described in the lemma, we can make the projections of our chosen counters coincide, using one of the remaining counters as the third counter. We can now make a third projection coincide with these by treating our chosen counters as one. (That is, each time we displace one, we displace the other by the same amount.) Now our two chosen counters and one more lie on a line perpendicular to the axis, and by the lemma we can make the desired counters coincide. 11. Find all natural numbers n, such that there exist relatively prime integers x and y and an integer k > 1 satisfying the equation 3n = xk + y k . Solution: The only solution is n = 2. Let 3n = xk +y k , where x, y are relatively prime integers with x > y, k > 1, and n a natural number. Clearly neither x nor y is a multiple of 3. Therefore, if k is even, xk and y k are congruent to 1 mod 3, so their sum is congruent to 2 mod 3, and so is not a power of 3. If k is odd and k > 1, then 3n = (x + y)(xk−1 − . . . + y k−1 ). Thus x + y = 3m for some m ≥ 1. We will show that n ≥ 2m. Since 3|k 64

(see the solution to Russia 3), by putting x1 = xk/3 and y1 = y k/3 we may assume k = 3. Then x3 + y 3 = 3m and x + y = 3n . To prove the inequality n ≥ 2m, it suffices to show that x3 + y 3 ≥ (x + y)2 , or x2 − xy + y 2 ≥ x + y. Since x ≥ y + 1, x2 − x = x(x − 1) ≥ xy, and (x2 − x + xy) + (y 2 − y) ≥ y(y − 1) ≥ 0, and the inequality n ≥ 2m follows. From the identity (x + y)3 − (x3 + y 3 ) = 3xy(x + y) it follows that 32m−1 − 3n−m−1 = xy. But 2m − 1 ≥ 1, and n − m − 1 ≥ n − 2m ≥ 0. If strict inequality occurs in either place in the last inequality, then 32m−1 − 3n−m−1 is divisible by 3 while xy is not. Hence n − m − 1 = n − 2m = 0, and so m = 1, n = 2 and 32 = 23 + 13 . Note: The inequality x2 − xy + y 2 ≥ x + y can alternatively be shown by noting that x2 − xy + y 2 − x − y = (x − y)2 + (x − 1)(y − 1) − 1 ≥ 0, since (x − y)2 ≥ 1. 12. Show that if the integers a1 , . . . , am are nonzero and for each k = 0, 1, . . . , m (n < m − 1), a1 + a2 2k + a3 3k + . . . + am mk = 0, then the sequence a1 , . . . , am contains at least n + 1 pairs of consecutive terms having opposite signs. Solution: We may assume am > 0, since otherwise we may multiply each of the numbers by −1. Consider the sequence b1 , . . . , bm , n j where bi = j=0 cj i for an arbitrary sequence of real numbers c0 , . . . , cn . From the given condition
m m n n n

ai bi =
i=1 i=1

ai
j=0

cj i =
j=0

j

cj
i=1

ai ij = 0.

Suppose now that the sequence a1 , . . . , am has k pairs of neighbors that differ in sign, where k < n + 1, and let i1 , . . . , ik be the indices 65

of the first members of these pairs. Let bi = f (i) = (i − x1 )(i − x2 ) . . . (i − xk ), where x = i + 1/2 (i = 1, 2, . . . , k). The function f changes sign only at the points x1 , . . . , xk , and so bi and bi+1 have different signs if and only one of the x falls between them, which means i = i . We deduce that the sequences a1 , . . . , am and b1 , . . . , bm have the same pairs of neighbors of opposite sign. Since am and bm are positive, we have that ai and bi have the same sign m for i = 1, . . . , m, and so i=1 ai bi > 0, a contradiction. 13. At the vertices of a cube are written eight pairwise distinct natural numbers, and on each of its edges is written the greatest common divisor of the numbers at the endpoints of the edge. Can the sum of the numbers written at the vertices be the same as the sum of the numbers written at the edges? Solution: This is not possible. Note that if a and b are natural numbers with a > b, then gcd(a, b) ≤ b and gcd(a, b) ≤ a/2. It follows that if a = b, then gcd(a, b) ≤ (a + b)/3. Adding 12 such inequalities, corresponding to the 12 edges, we find that the desired condition is only possible if gcd(a, b) = (a + b)/3 in each case. But in this case the larger of a and b is twice the smaller; suppose a = 2b. Consider the numbers c and d assigned to the vertices of the other endpoints of the other two edges coming out of the vertex labeled a. Each of these is either half of or twice a. If at least one is less than a, it equals b; otherwise, both are equal. Either option contradicts the assumption that the numbers are distinct. 14. Three sergeants and several solders serve in a platoon. The sergeants take turns on duty. The commander has given the following orders: (a) Each day, at least one task must be issued to a soldier. (b) No soldier may have more than two task or receive more than one tasks in a single day. (c) The lists of soldiers receiving tasks for two different days must not be the same. (d) The first sergeant violating any of these orders will be jailed. Can at least one of the sergeants, without conspiring with the others, give tasks according to these rules and avoid being jailed? 66

67 .Solution: The sergeant who goes third can avoid going to jail. We call a sequence of duties by the first. consisting of all lines through O and parallel to the segment Pa Q for some Q on side a. From the convexity of the polygon and the definition of Pa . In other words. at the end of each cycle each soldier will have received either two tasks or none. and the number of the latter will have decreased. and the first sergeant will go to jail. Therefore the segment Pa A is strictly longer than any other segment formed as the intersection of the polygon with a line parallel to . the longest such segment would be Pb B for some B. since the polygon has no parallel sides. Draw through Pa the line b parallel to the line c containing side a. It will end up. second and third sergeants in succession a round.) With this strategy. We call the two vertical angles. no two of whose sides are parallel. (Such soldiers exist by the third condition. A convex polygon is given. Moreover. To avoid going to jail. that all of the soldiers have received two tasks. Pa is the only vertex of the polygon lying on b. Then there would exist some angle with vertex O not covered by any of the angles constructed. For each side we consider the angle the side subtends at the vertex farthest from the side. If lay inside the angle corresponding to another side b. the angles corresponding to a and b do not overlap. Choose an arbitrary point O in the plane. 15. the angles corresponding to side a. Show that the sum of these angles equals 180◦ . Suppose this were not the case. and hence this cannot occur. it follows that the polygon lies in the strip bounded by b and c. The line parallel to this ray passing through Pa intersects side a at some interior point A. Let a ray with vertex O lie inside one of the angles corresponding to a. then contrary to this conclusion. the third sergeant on the last day of each round gives tasks to precisely those soldiers who received one task over the previous two days. at some point. Solution: Denote by Pa the vertex of the polygon farthest from the line containing side a. We now prove that the angles we have constructed cover the entire plane. We prove first that the angles corresponding to different sides do not overlap.

This means m lies in the angle corresponding to a. To finish the proof. Consequently. 58 . 52 . Goodnik writes 10 numbers on the board. If one of the sides adjacent to P did not lie inside the strip bounded by b and c. For the second part. not parallel to any side or diagonal of the polygon. then a2 − 4b < 0. then Nogoodnik writes 10 more numbers. choose the one of maximum length. simply note that the sum of the desired angles is half that of the constructed angles. such that the real roots of these trinomials comprise exactly 11 values? Solution: We will prove that Goodnik can choose the numbers 1/4. then the trinomial x2 + ax + b has two distinct real roots. 54 . and hence the sum of their measures is 360◦ . all 20 of the numbers being positive and distinct. then b2 − 4a < 0. 16. he can form 10 quadratic trinomials of the form x2 + px + q. 516 . while if b > a. note that if b ≤ a. since the discriminant D = a2 − 4b > 4a − 4b > 0. contradicting our choice of m. 1/2. then at least one of the trinomials x2 + ax + b. whose coefficients p and q run through all of the numbers written. Clearly one of its vertices must be a vertex P of the polygon. then we could have found a line parallel to m intersecting the polygon in a segment longer than P A. our polygon lies within the strip bounded by b and c. 2. We thus conclude that our constructed angles cover the plane without overlap. 532 . Proof: The first part is obvious. Lemma 1 (a) If a > 4 and a > b.Choose within this angle a ray m. 2 68 . 1. from which we deduce that P is the farthest vertex from the line b containing side a. (b) If a < 4 and b > 0. 5. x2 + bx + a does not have real roots. Draw the line c through P parallel to the line b containing a. Can Goodnik choose his 10 numbers so that no matter what Nogoodnik writes. Of all of the segments formed by intersecting the polygon with a line parallel to m. while the other lies on some side a.

By Lemma 2. Add to the distinguished numbers members of the set {5. add to them any of Nogoodnik’s other numbers. 532 } so that the total number of distinguished numbers is 12. Then all four of these roots are distinct. Then x2 + dx0 + a = 0 = x2 + cx0 + b and consequently 0 0 x0 = (b − a)/(d − c) > 0. . If there are an odd number of them. at least 6 are greater than 4. Call these numbers distinguished. If not. Can the number obtained by writing the numbers from 1 to n in order (n > 1) be the same when read left-to-right and right-to-left? 69 . 516 . declare an arbitrary distinguised trinomial to be bad. There may be some of Nogoodnik’s numbers left. n12 be the 12 distinguished numbers in increasing order. we form trinomials from these with no real roots. whose unique root is −1. . By the construction of the 12 distinguished numbers. Hence by Lemma 1. then x2 + dx0 + a > 0. each of these trinomials has two distinct real roots. Consider all of Nogoodnik’s numbers which are greater than 4. add any of Nogoodnik’s remaining numbers to make a total of 12. . Consider the trinomial x2 + 2x + 1. . 54 . 52 . Remove the bad trinomial. From the unused powers of 5 make trinomials x2 + px + q with p < q. . a 0 contradiction. if the powers of 5 do not suffice. Let n1 . all of these roots are distinct. Now the number of distinct real roots of the trinomials constructed so far is 11. By Lemma 1. Hence we have 12 distinct real roots of the “distinguished” trinomials.Lemma 2 Suppose 0 < a < b < c < d and both of the trinomials x2 + dx + a and x2 + cx + b have two real roots. Now form from them the 6 trinomials x2 +n12 x+n1 . Proof: Suppose the contrary. . 58 . . which have negative discriminant and hence no real roots. all except possibly one must be less than 4 (one may equal 4). 17. and from its coefficients and the numbers 1/2 and 1/4 form (by Lemma 1) two trinomials without real roots. that these trinomials have a common root x0 . x2 +n7 x+n6 . . we declare the corresponding trinomial “bad”. 2 Suppose Goodnik has written the aforementioned numbers. But if x0 > 0. If this number occurs among the roots of the distinguished trinomials.

which is impossible. we have (putting Vii = 0) n n Vij = 2 j=1 i=1 n 1≤i<j≤n Vij > 0. i=1 Vij > 0. where k = m/2 . . who we denote P1 . . Also let A and B be the numbers formed from the first and last k digits. Suppose N = 123 · · · 321 is an mdigit symmetric number. 0 1 and 1 00 . . 9. 9 1 00 . . 18. that is. the sum of whose distances to the other hikers is monotonically decreasing over the same period. . Moreover. . . By the given condition. Solution: Let n be the number of hikers. Show that there is a hiker. . . Then if 10p is the largest power of 10 dividing A. Note that Vij never increases. of N .Solution: This is not possible. formed by writing the numbers from 1 to n in succession. It is known that over some period of time. respectively. . 70 . p p p p respectively. A and B must contain the fragments 99 . at the end of the period in question the sum of the pairwise speeds must be positive: Vij > 0. then n < 2 · 10p+1 . and can only decrease once: it changes sign if Pi and Pj meet. the sum of their pairwise distances is monotonically decreasing. Clearly m > 18. . the sum of the distances from Pj to the other hikers is decreasing throughout the period. Pn . 0 1 99 . Since Vij cannot increase over time. 1≤i<j≤n Since Vij = Vji . Hence for some j. . Several hikers travel at fixed speeds along a straight road. Let Vij be the rate of approach between Pi and Pj (this is negative if they are getting further apart). n has at most p + 2 digits.

(a) n = 5. . Since the pyramid has n + 1 faces. . Bn+1 is a crosssection of the pyramid SA1 . Ak+1 Ak+2 and Ak Ak+3 must intersect in a point. Bk+1 Bk+2 . This means the diagonal A2 A5 of the regular pentagon A1 . namely the intersection of line SQ with the plane of the base. the lines 71 . the lines A3 B6 . A4 B1 and A2 A3 pass through a single point. . n = 2k − 1 (k > 3) and n = 2k (k > 2). which is impossible. Hence the lines A1 A5 . B2k the lines B1 B2 . . . B5 B6 and B1 B4 are parallel. (c) n = 2k (k > 2). and Bk Bk+3 are parallel. through T . A3 B6 and A4 A5 also meet in a point. which is impossible. B6 the lines B2 B3 . Show that for n ≥ 5. (b) n = 2k −1 (k > 3). . . A5 must pass through its center O. An is a regular n-gon. we may assume that the points B1 . Draw the plane containing ST and B1 B4 . We consider three cases: n = 5. . that is. . SA4 B1 and SB2 B5 intersect in the line SQ. whose base A1 . . i. respectively. Therefore without loss of generality. . . since in the regular (2k − 1)-gon A1 . A4 B1 and A2 A5 must intersect in a point.e. . the line ST (T = A1 A5 ∩A2 A3 ) along which these planes meet is parallel to these lines. a cross-section of a pyramid whose base is a regular n-gon cannot be a regular (n + 1)-gon. ST ||B1 B4 . . Ak+1 Ak+2 ||Ak Ak+3 . but the lines A1 A2 and Ak+1 Ak+2 are not parallel. which must pass through the intersection of the line ST with the plane of the base. then the lines A1 A2 . . . Analogously to the preceding cases. From this it follows that A4 B1 and A3 B6 are axes of symmetry of the regular pentagon A1 . Now note that if Q is the center of the regular hexagon B1 . An . Bn+1 lie on the edges of the pyramid.19. which means their intersection O is the center of this pentagon. Analogously to the first case one shows that since in the regular 2k-gon B1 . Consequently. B6 . . . while the planes A2 SA3 and A1 SA5 pass through B2 B3 and B5 B6 . A5 . Solution: Suppose the regular (n + 1)-gon B1 . . . It is proved analogously that the lines A1 A2 . A2k−1 . then the planes SA3 B6 . This plane intersects the plane of the base of the pyramid in the line B1 A4 . . . one side of the section must lie on each face. Since in the regular hexagon B1 .

C lie on a circle. But a ≥ c and b ≥ c. Hence the number c2 − 1. the numbers a and b are relatively prime. ∠BKE = ∠KBE = ∠KBA. 4. In isosceles triangle ABC (AB = BC) one draws the angle bisector CD. the images of lines passing through a single point (or parallel) are lines passing through a single point (or parallel).A1 A2 . 21. which has a regular pentagon as a cross-section. since Bk+1 Bk+2 ||Bk Bk+3 . such that the square of each. Since a2 − 1 is divisible by b. which is divisible by a and b. From this it follows that ∠OKE = ∠OCE. which means the points K. Suppose a ≥ b ≥ c satisfy the desired condition. is divisible by each of the others? Solution: Such integers do not exist. but ∠OCE = ∠OBE. it follows that ∠BOE = ∠KCE (CD being an angle bisector). a contradiction. and a square pyramid whose lateral faces are equilateral triangles. and so KE||AB. It suffices to project the cross-section of the pyramid onto the plane of the base with center the vertex of the pyramid. The parallel to CD through E meets AB at F . Consequently. Show that BE = F D. the statement of the problem is not true. so in particular c2 − 1 ≥ ab. Solution: We use directed angles modulo π. so ab ≥ c2 . consider a regular tetrahedron having a square as a crosssection. or in other words BE = KE. and the property that under central projection. while the lines B1 B2 and Bk+1 Bk+2 are not parallel. and hence the lines B1 B2 . O. Moreover. minus one. the presented solution may be more concisely expressed using central projection. Bk+1 Bk+2 and Bk Bk+3 must meet in a point. Also. 72 . For examples. Ak+1 Ak+2 and Ak Ak+3 are parallel. Note: For n = 3. 20. From the equality of the acute angles BOE and DCA having perpendicular sides. which is impossible. The perpendicular to CD through the center of the circumcircle of ABC intersects BC at E. must be a multiple of ab. Let O be the circumcircle of ABC. and hence ∠BKE = ∠KBE. Do there exist three natural numbers greater than 1. so OB = OC. and K the intersection of BO and CD. E.

2 bk bk m m Hence k ≤ M 2 /m4 + 2M/m3 . By Vieta’s theorem.. Suppose on the contrary that M = {a1 . To determine the order of a1 . . Does there exist a finite set M of nonzero real numbers. . . . .. . . . .. . . . . such that for any natural number n a polynomial of degree no less than n with coefficients in M . . 23. b2 bk k b2 bk−2 M2 M k−1 −2 ≤ 2 +2 . What is the fewest questions needed to find the order of all 100 numbers? Solution: Five questions are needed. |an |} and M = max{|a1 |. . |an |}. or else 73 . The numbers from 1 to 100 are written in an unknown order. Consider the polynomial P (x) = bk xk + · · · + b1 x + b0 . all of whose roots are real and belong to M ? Solution: Such a set does not exist. . a2 . . + x2 = 1 k It follows that km2 ≤ x2 + . a100 in the sequence. . Therefore. . 22. . One may ask about any 50 numbers and find out their relative order. Let m = min{|a1 |. an } satisfies the desired property. DF = KE = BE as desired. . xk lie in M . − bk−1 bk = x1 + . the condition implies M ≥ m > 0. bk and roots x1 . + xk = bk−2 bk x1 x2 + x1 x3 + . all of whose coefficients b0 . . it is necessary that each of the pairs (ai . + x2 = 1 k b2 bk−2 k−1 −2 . + xk−1 xk and so x2 + . . . . . . contradicting the fact that P may have arbitrarily large degree. . . 99) occur together in at least one question.F EKD is a parallelogram and DF = KE. ai+1 ) (i = 1. . . . .

ki ∈ {a2i−1 . . . Let X be the set of numbers not named in the first two questions. . 25). . We will construct a sequence a1 . k2m ) (k2m−1 . there can arise a situation where including all pairs of consecutive numbers not already included requires at least three questions. . given two more questions. ∗. . i = 1. a4m ) in the following manner: 1: 2: 3: 4: (k2m−1 . We will show that for any two questions. . . We will show that such a set exists. an will give the same answers. k2m . k2m ). . a4m ) (m = 1. k50 be the sequence (in order) of numbers about which the first question was asked. ∗. ∗. ai . 74 . and k1 . k2m ). . . k2m ) (k2m−1 . . . We consider a situation where all of the numbers named in the first two questions appear in the answers in the very same places. ∗. k2m−1 . . k2m . Let k1 . a100 for which we cannot. a4m−2 . ai+1 ) occurs for i not a multiple of 4. . . = k2m−1 . a4m−1 . in the first two questions there is no comparison of a consecutive pair from this quadruple. ai+1 . . For each of the four cases 1: 2: 3: 4: k2m−1 k2m−1 k2m−1 k2m−1 = k2m−1 . . a4m−1 . 50 and moreover. . . . k2m k2m k2m k2m = k2m = k2m = k2m = k2m . . = k2m−1 . for each quadruple (a4m−3 . . k2m−1 . where in place of a ∗ we may choose any number in X not occuring in the previously constructed quadruples. an and a1 . . . . a2i }. a situation is possible where no pair (ai . ai . For our desired sequence we shall choose a set with ki . . we construct the quadruple (a4m−3 . . . . . . k50 the corresponding sequence for the second question. (k2m−1 . . . . uniquely determine the order of the terms. .the two sequences a1 . = k2m−1 . Hence we have shown that after any two questions. a4m−2 . ai+1 .

a4i ) (i = 1. . . We ask the first question about M1 = {1. . . The fifth question. giving a contradiction. then the remaining three numbers must also appear in the question (or else not all of the pairs of consecutive numbers in the quadruple would be included). completely determines the order. and the second about M2 = {51. But then the number of numbers in one question would have to be a multiple of 4. 25). . a4i−2 . . 50}. a4i−1 . Clearly the answer to the third question locates the first 25 numbers. 100}. Considering the quadruples of the form (a4i−3 . . We now show that 5 questions suffice. Suppose that in the given situation. . . Hence 4 questions do not suffice in general. .Each of the 100 numbers occurs in at least one of the nonincluded pairs. while M4 consists of the 25 rightmost numbers from each of M1 and M2 . . asked about the other 50 numbers. . which 50 is not. all remaining pairs can be included in two questions. then each of the 100 numbers must appear in exactly one of these questions. and the answer to the fourth question locates the last 25. and so must appear in one of the remaining questions. The set M3 consists of the 25 leftmost numbers from each of M1 and M2 . 75 . we notice that if one of the numbers in the quadruple appears in some question.

15 Spain 1. we get 2b < 4c. Thus we cannot have b > c or similarly b < c. upon dividing off 3(b − c) and rearranging. 76 . The natural numbers a and b are such that a+1 b+1 + b a is an integer. d divides m2 d + m + n2 d + n and also m + n. By Stewart’s theorem and the fact that G trisects each median (on the side further from the vertex). Now assume b > c. If b > 2c we get 9(b − c)2 < 3(b2 − c2 ). b. then ABC is isosceles. However. so b = c. Let G be the centroid of the triangle ABC. Solution: Let d = gcd(a. we deduce 9GB 2 = 2a2 + 2c2 − b2 . CA. respectively. Assuming AB + GC = AC + GB. Prove that if AB +GC = AC + GB. so we have 3(b − c) < 3(b2 − c2 ) . Then we have (md + 1)/nd + (nd + 1)/md = (m2 d + m + n2 d + n)/mnd is an integer. However. c be the lengths of sides BC. AB. 2.1. Solution: Let a. 9GC 2 = 2a2 + 2b2 − c2 . 2(b − c)2 + 2b2 − c2 = (2b − c)2 . b) and put a = md and b = nd. and so d ≤ d(m + n) = √ a + b. this means d ≤ m + n. so that in particular. a contradiction. again a contradiction. 2b − c + |2c − b| If b ≤ 2c then the two sides are equal. Show that the greatest common divisor of a and b is √ not greater than a + b. we have 3(b − c) = = < 2a2 + 2b2 − c2 − 2a2 + 2c2 − b2 3(b2 − c2 ) √ √ 2a2 + 2b2 − c2 + 2a2 + 2c2 − b2 3(b2 − c2 ) 2(b − c)2 + 2b2 − c2 + 2(b − c)2 + 2c2 − b2 since a2 > (b − c)2 by the triangle inequality.

Thus k ≥ 5/4. Given that |f (−1)| ≤ 1. so k ≥ −1 − a(1 − t)2 ≥ −1 − (1 − t) (1 − t)2 = −1 − t t/(1 − t) which is increasing in t (similar reasoning). f (1) ≤ 1 implies f (x) ≤ 1 for −1 ≤ x ≤ 1. we may assume t ≥ 0. First suppose t ≤ 1/2. we have f (x) ≥ −1. If we write f (x) = a(x − t)2 + k. Now suppose t ≥ 1/2. so it suffices to look at the point t where f takes its minimum. so it suffices to impose the conditions f (−1) ≤ 1. Solution: We may assume a > 0. |f (0)| ≤ 1. the denominator is decreasing and there is a minus sign in front). Thus k ≥ 5/4. Let a. Then f (1) ≥ −1 means a(1 − t)2 + k ≥ −1. If t is not in the interval. |f (1)| ≤ 1. so assume it is. show that for −1 ≤ x ≤ 1. then f (−1).3. If we write f (x) = a(x − t)2 + k. c be real numbers. g(x) = cx2 + bx + a. In this case f (−1) ≥ f (0) ≥ f (1). b. so the relevant conditions are f (−1) ≤ 1. so a ≤ 2/(2t + 1). Consider the functions f (x) = ax2 + bx + c. g(1) ≤ 1. so a ≤ 1/t. We assume c > 0 and that the minimum of g occurs in [0. we again need only 77 . f (1) ≥ −1. 2t + 1 2 + 1/t which is decreasing in t (the numerator of the fraction is increasing. f (0) ≥ −1. |f (x)| ≤ 5 4 and |g(x)| ≤ 2. so that f is convex. Assuming g(−1). Then f (0) ≥ −1 means at2 + k ≥ −1. We now consider two cases. In this case f (−1) ≥ f (1) ≥ f (0). without loss of generality. we have 2 ≥ f (−1) − f (0) = a(2t + 1). We move on to g. we have 2 ≥ f (−1) − f (1) = 2at. 1]. so 2t2 2t k ≥ −1 − at2 ≥ −1 − = −1 − .

we have c ≤ 1 and c(1 − t)2 + k ≥ −1. which reduces to (16 − 8p)x2 = p2 − 8p + 16. At Port Aventura there are 16 secret agents. Show that any 11 agents can also be so ordered. In that case plugging in our √ claimed value of x and multiplying through by 16 − 8p gives |3p − 4| + 2|p| = 4 − p.. Writing g(x) = c(x − t)2 + k. we get x2 = 5x2 − 4 − p + 4 (x2 − p)(x2 − 1). If p ≥ 4/3 this becomes 6p = 8. etc. 4. 78 . Certainly we need p ≤ 2. 5. Each agent is watching one or more other agents. if p ≤ 0 this becomes 4p = 0. and the last is watching the first. We need only determine when this value actually satisfies. We conclude there exists a solution if and only if 0 ≤ p ≤ 4/3. any 10 agents can be ordered so that the first is watching the second. we have |p − 4| x= √ 16 − 8p if a solution exists. Isolating the radical and squaring again. if 0 ≤ p ≤ 4/3 this holds identically. we get 16(x2 − p)(x2 − 1) = (4x2 − p − 4)2 . so k ≥ −1 − c(1 − t)2 ≥ −1 − (1 − t)2 ≥ −2. Solution: Squaring both sides. Moreover. or p = 4/3. but no two agents are both watching each other. or p = 0. Find all real solutions of the equation x2 − p + 2 x2 − 1 = x for each real value of p. in which case it is the solution given above. Since x ≥ 0 (it is the sum of two square roots). the second is watching the third.determine the minimum of g.

0) and (− cos 36. sin 36. thus x can be spliced into the loop between u and v. Therefore √ cos 108 (1 − 5)/4 √ y= = cos 36 (1 + 5)/4 √ and z = 2 · 51/4 /(1 + 5). z with z > 0. there must be one agent x who is not allied with any of the others in the group (since allies come in pairs). introducte a coordinate system centered at one of the base vertices. Remove that agen t and arrange the other 10 in a circle. A regular pentagon is constructed externally on each side of a regular pentagon of side 1. v of agents with u watching v. u watching x and x watching v (move around the circle until the direction of the arrow to x changes). (All angles are measured in degrees. such that (cos 36. we could take away 6 agents and leave a group of 10 which could not be arranged ina circle. y. This figure is then folded and the two edges meeting at each vertex of the original pentagon but not belonging to the original pentagon are glued together. Given a group of 11 agents. Now we must determine the areas of the bases of the prismatoid. Thus there exists a pair u. First note that each agent watches at least 7 others. each agent is watched by at least 7 others.) The third vertex adjacent to this one has coordinates (0. which is 5/4 cot 36. 6. 0) are two vertices. Similarly. if an agent were watching 6 or fewer others. sin 36.Solution: We say two agents are partners if neither watches the other. z) for some y. Determine the volume of water that can be poured into the resulting container without spillage. Hence each agent is allied with at most one other. To determine this component. The removed agent watches at least one of the other 10 and is watched by at least one. y 2 + z 2 = 1 and y cos 36 = cos 108 (this being the dot product of the vectors of the two edges ). The area of the lower base is the area of a regular pentagon of side 1. The area of the upper base is the area of a regular pentagon 79 . Solution: The figure formed by the water is a prismatoid of height equal to the vertical component of one of the glued edges.

2(1 + 5) 80 . namely 55/4 √ cot 36(1 + cos 108 tan 36)2 ≈ 0. namely 5/4 cot 36(1 + y sin 36)2 .in which the circumradius has been increased by y.956207. The volume is the height times the average of the bases.

Find a1996 . . it suffices to show that CE · BP · DF = 1. Show that P. . . AB DP sin ∠AP B sin ∠DAP sin ∠DAP Since AP is tangent to the circle. and the tangent to this circle at A meets BD at P . . respectively. the circle with diameter AC meets the lines CB and CD again at E and F . 2. In particular. Solution: Note that ki is the number obtained by writing i in base 2 and reading the result as a number in base 3. 1996 = 210 + 29 + 28 + 27 + 26 + 23 + 22 . Let 1 + nx3 n=1 n = 1 + a1 xk1 + a2 xk2 + . E are collinear. ∠BAP = ∠HAP = π − ∠HCA = π − ∠F AC. By Menelaos’s theorem.1. AB DP sin ∠EAC EC Finally we note that DF/BE = DA/AB because the right triangles AF D and AEB have the same angles at B and D and are thus similar. < km .16 Turkey 1996 1. where a1 . so a1996 = 10 + 9 + 8 + 7 + 6 + 3 + 2 = 45. F. We conclude BP AD sin ∠F AC FC = = . and ai is the sum of the exponents of the powers of 3 used. suppose B. . This proves the claim. . P occur in that order along BD. . a2 . 81 . ∠DAP = ∠GCA = ∠EAC. Let G and H be the second intersections of AD and AB with the circle. D. . Solution: Without loss of generality. In a parallelogram ABCD with ∠A < 90◦ . similarly. EB · P D · F C First note that BP AD sin ∠BAP sin ∠AP D sin ∠BAP = = . am are nonzero and k1 < k2 < . + am xkm .

BA meet AB. BC. L. with (a. respectively. < x2n < x2n+1 = 1 with xi+1 − xi ≤ h for 1 ≤ i ≤ 2n. as desired. Given real numbers 0 = x1 < x2 < . so the union of the triangles EKL and EM N has area 1/4 that of ABCD. Let E be the the intersection of AC and BD. so its area is one-fourth that of ABD. 2) (since 2 is not a difference of squares). DA at K. Similarly EM L has area one-fourth that of BCD. . x = 1. and so the union of the two triangles EKN and EM L has area one-fourth that of ABCD. so the ratio of their areas equals (EK/AD)(EL/CD) = (BE/BD)2 = 1/4. Hence the sum differs from 1/2 by at most h/2. 2 Solution: The difference between the middle quantity and 1/2 is the difference between the sum of the areas of the rectangles bounded by the lines x = x2i−1 . for example. 5. The area contained in the rectangles but not the triangle is a union of triangles of total base less than 1 and height at most h. There is no loss of generality in assuming a ∈ {0. show that 1−h < 2 n x2i (x2i+1 − x2i−1 ) < i=1 1+h . DC. Compute the ratio of the areas of the quadrilaterals KLM N and ABCD.3. b) = (0. Similarly the ratio of the areas of EM N and BCA is 1/4. x = x2i+1 . y = 0. Solution: Only two such sets are possible. Find the maximum number of pairwise disjoint sets of the form Sa. In a convex quadrilateral ABCD. and let the parallels through E to the lines AD. CB. x = y. b ∈ Z. as is the area contained in the triangle but not the rectangles. since B and D are equidistant from the line AC. its base KN is parallel to BD and half as long. N . triangles ABC and ADC have the same area. . 0) and (0. As for triangle EKN .b = {n2 + an + b : n ∈ Z} with a. and so the quadrilateral KLM N has area one-half that of ABCD. Solution: The triangles EKL and DAC are homothetic. CD. y = x2i and the triangle bounded by the lines y = 0. 1} by a suitable shift of 82 . M. 4.

c) give a common value because b − c is a difference of squares. then (0. If b − c is even. Thus we have a = 0 or a = 1 universally. If b > a. b) have the common value (a − b)2 + a = (a − b)2 + (a − b) + b. M ≥ 0. y such that b − c = (x + y + 1)(x − y). so L. Now suppose b < a. First suppose a = 0. we can find x. the condition implies M ≤ (b/a)L. Now suppose a = 1. we have L ≥ (b/a)L. Similarly. clearly this precludes having three disjoint sets.n. therefore L = M = 0 and the sequence converges to 0. 6. M ≤ 0. and the sets generated by (0. For which ordered pairs of positive real numbers (a. we have M ≤ (b/a)M . since L ≤ M . again. 83 . and so L. if b = a. the sequence xn = 1 + 1/2 + · · · + 1/n does likewise. If L and M are the limit inferior and limit superior of the given sequence. the condition implies L ≥ (b/a)M . If b − c ≡ 2 (mod 4). and since M ≥ L. b) and (0. b) is the limit of every sequence {xn } satisfying the condition n→∞ lim (axn+1 − bxn ) = 0 zero? Solution: This holds if and only if b < a. this precludes having three disjoint sets. the sequence xn = (b/a)n satisfies the condition but does not go to zero. a) and (1. and so x2 + x + b = y 2 + y + c.

2500). 101. m + n and m − n are both odd or both even. and so 65 ≤ m + n ≤ 197. 1024). (2025. when the digits differ. Consider the pair of four-digit positive integers (M. 110 and 1010 lead to no solutions. Calculate f (1996). Moreover.1. Since M and N are four-digit numbers. 2. (5625. then (m + n)(m − n) ∈ {11. (3600. Notice that M and N are both perfect squares. we must have 32 ≤ n < m ≤ 99. A function f defined on the positive integers satisfies f (1) = 1996 and f (1) + f (2) + · · · + f (n) = n2 f (n) (n > 1). and differing digits in the remaining two places. 1001. 110. N ) = (3600. the digit in M is exactly one greater than the corresponding digit in N . 1010. 4624). N ) with these properties. N ) = (2601. Find all pairs of four-digit positive integers (M. so 11. Moreover.17 United Kingdom 1. Solution: If M = m2 and N = n2 . 2500). n(n + 1) = = = = = (m + n)(m − n) = 101 × 1 (m + n)(m − n) = 143 × 7 (m + n)(m − n) = 91 × 11 (m + n)(m − n) = 77 × 13 (m + n)(m − n) = 110 × 10 84 . 1600). 2500). (2601. From this we get exactly five acceptable factorizations: 101 1001 1001 1001 1100 giving the solutions (M. with equal digits in two places. 1100}. Solution: An easy induction will show that f (n) = 2 × 1996 .

. O. Solution: We have q(n) > q(n + 1) if and only if n + 1 is a perfect square. Define q(n) = n √ n (n = 1.Namely. Let ABC be an acute triangle and O its circumcenter. Solution: The angles ∠P AB and ∠BQP are supplementary. Let S denote the circle through A. so perpendicular to OC. the line P Q makes the same angle with the line CQ as the tangent to the circumcircle of ABC through C. Indeed. f (1996) = 2/1997. (n + 1)(n − 1) n n(n + 1) n2 In particular. f (n) = = = = 1 3992 3992 + ··· + −1 1·2 (n − 1)n 3992 1 1 1 1 1 1 − + − + ··· + − 2−1 n 2 2 3 n−1 n 3992 1 1− (n + 1)(n − 1) n 3992 n−1 3992 = . . if n + 1 = m2 . 85 m2 + d d =m+ m m . Prove that the lines CO and P Q are perpendicular. B. so ∠BQP = ∠CAB (as directed angles mod π). then q(n) = m2 − 1 = m + 1. Hence P Q is parallel to the tangent. respectively. Determine all positive integers n for which q(n) > q(n + 1). for n = m2 + d with 0 ≤ d ≤ 2m.). . m−1 q(n + 1) = m2 m = m. 2. q(n) = which is nondecreasing. On the other hand. In other words. 3. 4. The lines CA and CB meet S again at P and Q.

z of the equation 2x + 3y = z 2 . w of two triangles ABC and U V W are related by the equations u(v + w − u) = a2 . yielding (x. 3m −1 is divisible by 4. Let a. hence x is even. b. The only powers of 2 which differ by 2 are 4 and 2. z) = (3. v(w + u − v) = b2 . xr + · · · + xr n 1 n 1/r ≥ x1 + · · · + xn . xn positive. z) = (0. (b) Prove that 9(a3 + b3 + c3 ) ≥ (a + b + c)3 . . so z + 1 and z − 1 are powers of 2. y. Now we have 3y = z 2 − 2x = (z + 2x/2 )(z − 2x/2 ). Otherwise.5. say z + 2x/2 = 3m and z − 2x/2 = 3n . 1. c be positive real numbers. y. z) = (4. y. then 2x is a quadratic residue modulo 3. Solution: If y = 0. we have m = 1. If x = 0. 2). we must have n = 0 and 3m − 1 = 2x/2+1 . n which in turn follows from Jensen’s inequality applied to the convex function xr . b. v. y. Since the right side is not divisible by 3. . 6. (a) Prove that 4(a3 + b3 ) ≥ (a + b)3 . 7. so they are 2 and 4. The sides a. 2. Solution: Both parts follow from the Power Mean inequality: for r > 1 and x1 . 0. If y > 0. then 2x = z 2 − 1 = (z + 1)(z − 1). w(u + v − w) = c2 . . so (x. but then 3m − 3n = 2x/2+1 . giving x = 4 and (x. The factors are powers of 3. so m is even and 2x/2+1 = (3m/2 +1)(3m/2 −1). c and u. 86 . 5). Find all solutions in nonnegative integers x. 3). The two factors on the right are powers of 2 differing by 2.

they also touch a circle S internally at A1 and A2 . Solution: It suffices to show that ∠B2 B1 O1 = ∠B1 B2 O2 = π/2. By this reasoning. W in terms of A. respectively. Prove that B1 B2 is a common tangent to S1 and S2 . From this we deduce ∠P B1 B2 = ∠B1 O1 N . Two circles S1 and S2 touch each other externally at K. and express the angles U. C. Finally. B.Prove that ABC is acute. Therefore ∠P B1 B2 = ∠P A2 A1 = 1 2 ∠P OA1 . so triangles P A1 A2 and P B2 B1 are similar. Now note that the homothety at A1 carrying S1 to S takes O1 to O and B1 to P . where N is the midpoint of A1 B1 . The line P A1 meets S1 again at B1 . so cos C > 0. respectively. so ∠P OA1 = ∠B1 O1 A1 . all of the angles of triangle ABC are acute. Therefore U = π − 2A. Solution: Note that a2 + b2 − c2 = w2 − u2 − v 2 + 2uv = (w + u − v)(w − u + v) > 0 by the triangle inequality. 87 . By power-of-a-point. V. W = π − 2C. and P A2 meets S2 again at B2 . and similarly V = π − 2B. ∠B2 B1 O1 = π − ∠P B1 B2 − ∠O1 B1 N = π/2. as desired. 8. P A1 · P B1 = P K 2 = P A2 · P B2 . Let P be one point of intersection of S with the common tangent to S1 and S2 at K. where O1 and O2 are the centers of S1 and S2 . Moreover. cos C = = = = a2 + b2 − c2 2ab (w + u − v)(w − u + v) 4uv w2 − u2 − v 2 + 2uv 4uv 1 √ √ 1 − cos U 2 from which we deduce cos U = 1 − 2 cos2 A = cos(π − 2A). where O is the center of S.

b. and hence a = b = c = d = 3. with equality holding for a = b = c = d = 3. abcd ≥ 27 + 6(abcd)1/2 . Again by AM-GM. We conclude abcd = 81. d to the following system of equations: a+b+c+d = abcd = 12 27 + ab + ac + ad + bc + bd + cd. hence abcd ≥ 81.9. so (abcd)1/2 ≥ 9. c. Find all solutions in positive real numbers a. x2 − 6x − 27 ≥ 0 for x ≤ −3 or x ≥ 9. Solution: The first equation implies abcd ≤ 81 by the arithmeticgeometric mean inequality. However. 88 .

. let σ(S) denote the sum of the elements of S. . We need to prove 2 sin 2 + 4 sin 4 + · · · + 178 sin 178 = 90 cot 1. One expresses sin n as (eπin/180 − e−πin/180 )/(2i) and uses the fact that x + 2x2 + · · · + nxn = (x + · · · + xn ) + (x2 + · · · + xn ) + · · · + xn 1 [(xn+1 − x) + (xn+1 − x2 ) + · · · = x−1 + (xn+1 − xn )] nxn+1 xn+1 − x = − . x−1 (x − 1)2 (2) 2. 4. . consider the collection of all distinct sums σ(S) as S ranges over the nonempty subsets of A. Note: An alternate solution involves complex numbers. Prove that the average of the numbers n sin n◦ (n = 2. 180) is cot 1◦ . For any nonempty set S of real numbers. Prove that this collection of sums can be partitioned 89 . we find 2 sin 2 · sin 1 + 2(2 sin 4 · sin 1) + · · · + 89(2 sin 178 · sin 1) = (cos 1 − cos 3) + 2(cos 3 − cos 5) + · · · + 89(cos 177 − cos 179) = cos 1 + cos 3 + cos 5 + · · · + cos 175 + cos 177 − 89 cos 179 = cos 1 + (cos 3 + cos 177) + · · · + (cos 89 + cos 91) − 89 cos 179 = cos 1 + 89 cos 1 = 90 cos 1. Solution: All arguments of trigonometric functions will be in degrees. . (3) Using the identity 2 sin a · sin b = cos(a − b) − cos(a + b). Given a set A of n positive integers.18 United States of America 1.1. 6. so (1) is true. which is equivalent to 2 sin 2·sin 1+2(2 sin 4·sin 1)+· · ·+89(2 sin 178·sin 1) = 90 cos 1.

the intersection of triangles ABC and 90 . and their ratio is at least (1 + · · · + 2n−1 )/(2n−1 ) = 2 − 2−(n−1) > c. . an } where a1 < a2 < · · · < an . we have si−1 < σ ≤ si (1) for an appropriate i. we have si − σ < si − si−1 = ai ≤ ak ≤ σ. If this set is divided into n subsets. . the ratio of the largest sum to the smallest sum does not exceed 2. it suffices to show that (1) implies 1 si < σ ≤ si . (2) 2 Suppose (1) holds. choose n such that c < 2 − 2−(n−1) and consider the set {1. CA. . . . . Divide the sums into n classes by letting Ci denote the class of sums satisfying (1). We claim that these classes have the desired property. To see this. . a2 . AB. 2n−1 }. Let ABC be a triangle.into n classes so that in each class. . Note: The result does not hold if 2 is replaced by any smaller constant c. n let si = a1 + a2 + · · · + ai and take s0 = 0. and we assume without loss of generality that a ≤ b ≤ c. . which together with σ ≤ si implies (2). . and if σ is one of them. . 2. To establish this. Then since then ak ≥ ai . . respectively. The inequality a1 + a2 + · · · + ai−1 = si−1 < σ shows that the sum σ contains at least one addend ak with k ≥ i. c denote the lengths of the sides BC. . b. 1 + · · · + 2n−1 must lie in the same subset. Since AC ≤ AB. Prove that there is a line (in the plane of triangle ABC) such that the intersection of the interior of triangle ABC and the interior of its reflection A B C in has area more than 2/3 the area of triangle ABC. . two of 1. Choose to be the angle bisector of ∠A. 3. Solution: Let A = {a1 . a. For i = 1. 2n−1 . All the sums in question are less than or equal to sn . . First Solution: In all of the solutions. Let P be the intersection of with BC. .

. so c/b < 2 and thus (1) holds. so their areas are in the same ratio as their bases: PC Area(AP C) = . c/b + 1 3 (1) But 2b ≥ a + b > c by the triangle inequality. By choosing the best alternative between the angle bisector at C and the optimal line perpendicular to AB. then triangle ACC is contained in the overlap. AP C and AP C . > Area(ABC) 1+ 2 and this constant is in fact the best possible. one can ensure √ Area(F) 2 √ = 2( 2 − 1) = 0. Yet another approach to the problem involves finding the maximum attained for Area(F)/Area(ABC) by taking from the family of lines perpendicular to AB.828427. If B is the image of B. Second Solution: Let the foot of the altitude from C meet AB at D. If C is the image of C. and [ACC ] > [ADC] ≥ 2/3[ABC]. . Note: Let F denote the figure given by the intersection of the interior of triangle ABC and the interior of its reflection in . triangles AP C and ABC have equal altitudes. BC BP + P C c/b + 1 Thus it suffices to prove 2 2 > . then BB C lies in ABC and the area of the overlap is at least 2/3[ABC]. In this case we reflect through CD. We will use the notation [XY Z] to denote the area of triangle XY Z. Considering BC as a base. In this case we reflect through the bisector of ∠A. First suppose [BDC] > (1/3)[ABC].A B C is the disjoint union of two congruent triangles. we have BP/P C = c/b. . 91 . so PC 1 PC = = . Now suppose [BDC] ≤ (1/3)[ABC]. Area(ABC) BC Since AP is the angle bisector of ∠A.

. . xn ) in which each term is either 0 or 1 is called a binary sequence of length n. yn ) has four consecutive terms equal to 0. 1. (2) (Addition mod 2 is defined as follows: 0 + 0 = 1 + 1 = 0 and 0 + 1 = 1 + 0 = 1. xn ) there is a corresponding binary sequence (y0 . Let an be the number of binary sequences of length n containing no three consecutive terms equal to 0. n. respectively. . An n-term sequence (x1 . 0 in that order. the binary sequence (x1 . i = 1. Let bn be the number of binary sequences of length n that contain no four consecutive terms equal to 0. . However. Second Solution: The expression 2an−1 − an counts the number of type A sequences of length n − 1 that do not remain of type A when 0 is attached. 2. so the first is of type A if and only if the second is of type B.) Then xi = yi + yi−1 mod 2. this number can be viewed as the number of type A sequences of length n − 2. . and it is easily seen that (1) provides a one-to-one correspondence between the set of all binary sequences of length n and the set of binary sequences of length n + 1 in which the first term is 0. . . n. . . x2 . The set of type B sequences of length n + 1 in which the first term is 0 is exactly half the total number of such sequences. i = 1. . . . yn ) obtained by setting y0 = 0 and yi = x1 + x2 + · · · + xi mod 2. 1.4. 1. x2 . 0 in that order. 2. For each binary sequence (x1 . 1 or 1. 0 in that order. . y1 . First Solution: We refer to the binary sequences counted by (an ) and (bn ) as “type A” and “type B”. . xn ) has three consecutive terms equal to 0. . Moreover. minus the 92 . . . . 1. . 0. . . y1 . 0. this number in turn equals the number of type A sequences of length n − 2 ending in 0. Prove that bn+1 = 2an for all positive integers n. Since a type A sequence followed by 1 is still of type A. . . as can be seen by means of the mapping in which 0’s and 1’s are interchanged. 1. or in other words the number of type A sequences of length n − 1 ending in 0. . 0 in that order if and only if the corresponding sequence (y0 . 0. . 1. . 0. . 1 or 1. 1. x2 . .

we note that each type B sequence of length n − 3 generates a unique type B sequence of length n − 2 ending in 0. this number is the same as the number of type B sequences of length n − 2 ending in 0. or equivalently an = 2an−1 − an−2 + an−3 . 1 or 1. 5. a2 = 4. We also note the initial values a0 = 1. First Solution: All angles will be in degrees.1. Then ∠P BC = 80 − x. Triangle ABC has the following property: there is an interior point P such that ∠P AB = 10◦ . sin 10 sin(80 − x) sin 30 sin(80 − x) The identity 2 sin a · cos b = sin(a − b) + sin(a + b) now yields 1= so 2 sin x cos 40 = sin(80 − x) − sin x = 2 sin(40 − x) cos 40. and so 2bn−1 − bn = bn−2 − bn−3 . 93 2 sin x(sin 30 + sin 50) sin x(1 + 2 cos 40) = . or equivalently the number not ending in 0.0. a1 = 2. we conclude by induction that bn+1 = 2an for all n. ∠P CA = 30◦ . ∠P BA = 20◦ . 0. As in the type A case. b2 = 4.0.1. and ∠P AC = 40◦ .0. the expression 2bn−1 − bn counts the number of type B sequences of length n − 1 ending in 0. Since adding 1 to a type B sequence ending in 0. or 0 to a type B sequence ending in 1. We conclude that 2an−1 − an = an−2 − an−3 . again since every type A sequence remains type A when 1 is added. b4 = 8. sin(80 − x) sin(80 − x) . Let x = ∠P CB.number of such sequences ending in 1. yields another type B sequence. Since b1 = 2. By the Law of Sines. 1 = = = PA PB PC PB PC PA sin ∠P BA sin ∠P CB sin ∠P AC sin ∠P AB sin ∠P BC sin ∠P CA sin 20 sin x sin 40 4 sin x sin 40 cos 10 = . There are as many type A sequences of length n − 2 ending in 1 as there are type A sequences of length n − 3.0 or 1. Similarly.1 or 1. Prove that triangle ABC is isosceles.1 or 1.

we switch to “base −4”. If the problem is restricted to the nonnegative integers. Since AC ⊥ DE. 3}. 1. 2. and so is equilateral. Then triangle AP D is isosceles with vertex angle ∠AP D = 2(180 − ∠BP A) = 2(∠P AB + ∠ABP ) = 2(10 + 20) = 60. Let E be the intersection of DB with CP . Then ∠P ED = 180 − ∠CED = 180 − (90 − ∠ACE) = 90 + 30 = 120 and so ∠P ED + ∠DAP = 180. and let j be the smallest integer such that cj = dj . 6. To show base −4 representations are unique. as desired. 3} for all i and ck = 0. once we show that every integer has a unique representation in this fashion. Also. To accommodate the negative integers as well. we note that ∠DEA = 60 = ∠DEC. and therefore ∠DEA = ∠DP A = 60. Determine (with proof) whether there is a subset X of the integers with the following property: for any integer n there is exactly one solution of a + 2b = n with a. it is clear that the set of integers whose representations in base 4 contains only the digits 0 and 1 satisfies the desired property. It follows that ∠ACB = 50 = ∠BAC. there is such a subset. with ci ∈ {0. Since ∠BAC = 50. This X will again have the desired property. 2. we deduce that A and C are symmetric across the line DE. That is. Second Solution: Let D be the reflection of A across the line BP . so triangle ABC is isosceles. we represent every integer k in the form i=0 ci (−4)i . 1. b ∈ X. we have DB ⊥ AC. We deduce that the quadrilateral AP ED is cyclic. let {ci } and {di } be two distinct finite sequences of elements of {0. Then k k ci (−4)i ≡ i=0 i=0 di (−4)i (mod 4j ). 94 . Finally. ∠DBA = 2∠P BA = 40. First Solution: Yes. and let X be the set of numbers whose representations use only the digits 0 and 1.This gives x = 40 − x and thus x = 20. which implies that BA = BC.

so in particular the two numbers represented by {ci } and {di } are distinct. Otherwise take T = S ∪ {k. a2 . b ∈ S}. ai + 2(n − 2k)| 1 ≤ i ≤ m}. . . j ≤ m) are distinct.. This proves that T ∗ is good. . X2 . Except for n. find an integer k such that 1 + 42 + · · · + 42k ≥ n 2k and express n + 4 + · · · + 42k−1 as i=0 ci 4i . we can always find a good superset T of S such that n ∈ T ∗ . . Then put T ∗ = S ∗ ∪ Q ∪ R. . If n ∈ S ∗ already. −2. Second Solution: For any S ⊂ Z. We first prove that given a good set and n ∈ Z. On the other hand. k + 2(n − 2k). the new values are distinct nonconstant linear forms in k. −1. i. Call a finite set of integers S = {a1 . (n − 2k) + 2ai . and note that n = i=0 di (−4)i . −3. to show that n admits a base −4 representation. X3 . let S ∗ = {a + 2b| a. It follows that ∞ X= j=0 Xj has the desired property. . (n − 2k) + 2k} and R = {k + 2ai .e. 95 . am } ⊂ Z good if |S ∗ | = |S|2 . . we thus obtain a sequence of sets X1 . such that for each positive integer j. 3(n − 2k). we have n = (n − 2k) + 2k ∈ Q ⊂ T ∗ . 2. n − 2k} where k is to be chosen. so if k is sufficiently large. . where Q = {3k. if the values ai + 2aj (1 ≤ i. they will all be distinct from each other and from the elements of S ∗ . Now set d2i = c2i and 2k d2i−1 = 3 − c2i−1 . ai + 2k. . . Xj is a ∗ good superset of Xj−1 and Xj contains the jth term of the sequence 1. 3. Note that for any choice of k. take T = S. Starting with the good set X0 = {0}. .

Let ABCD be a tetrahedron with AB = AC = AD and circumcenter O. z 3 7 Let t denote the quantity inside the parentheses. the system then reduces to the single equation √ 1 1 2 2 z+ =2 √ + √ i . let E be the midpoint of BG. so that A · B = A · C = A · D and A2 = B 2 = 96 . v= .1. then z = t ± t2 − 1 √ 2 2 1 = √ + √ i± 7 3 √ 2 √ + 2I 21 √ 2 2 √ √ ± 2 7 from which we deduce u= 2 1 √ ±√ 3 21 2 2 . so the system becomes 2 u =√ 2 +v 3 √ 4 2 v v− 2 = √ . Solve the system of equations: 3x 1 + = = 2 √ 4 2. and let F be the midpoint of AE. Let G be the centroid of triangle ACD. Solution: Let u = √ y. u + v2 7 u2 Now let z = u + vi. v = u+ √ 1. Prove that OF is perpendicular to BG if and only if OD is perpendicular to AC. 2. Solution: We identify points with their vectors originating from the circumcenter.19 Vietnam √ 1 x+y 1 7y 1 − x+y x.

97 . Solution: There are n! permutations in all. 4. we exclude (n−2)! permutations for each arrangement of 1. Solution: From the given equation. 4 into an ordered triple and one remaining element. 4 occur in a block. . . n} such that no three of 1. Now (O − F ) · (B − G) = = = = 1 (A + E) · (B − G) 2 1 [(2A + B + G) · (B − G)] 4 1 [18A · B − 6A · (A + C + D) + 9B 2 − (A + C + D)2 ] 36 1 [2A · D − 2C · D]. and similarly f (n) ≤ f (n + 2) for all n. 3. 4 appear consecutively. 2. 2. However. giving an infinite decreasing sequence f (1). or 24(n − 2)! in all. . 2. Hence f (1) ≤ f (3). Thus the number of permutations of the desired form is n! − 24(n − 2)! + 24(n − 3)!. . a contradiction. as a function of n. Determine. . we deduce f (n) − f (n + 2) = f (n + 3)[f (n + 2) − f (n + 4)]. 3. the number of permutations of the set {1. Determine all functions f : N → N satisfying (for all n ∈ N) f (n) + f (n + 1) = f (n + 2)f (n + 3) − 1996. Now note that 0 = 1996 + f (n) + f (n + 1) − f (n + 2)f (n + 3) ≤ 1996 + f (n + 2) + f (n + 3) − f (n + 2)f (n + 3) = 1997 − [f (n + 2) − 1][f (n + 3) − 1]. we have twice excluded each of the 24(n − 3)! permutations in which all four of 1. . 2. If f (1) > f (3). f (2m−1) > f (2m+1) for all m > 0.C 2 = D2 . 3. f (3). . then by induction. of positive integers. Of those. 36 Therefore OF ⊥ BF if and only if OD ⊥ AC. 3.

so f (2m) = 1997(m−1)+f (2). Determine which such triangle minimizes the distance between the incenter and centroid of ABC. and compute this distance in terms of α. In other words. Solution: If we fix B and C and force A to lie above the line BC. a contradiction. Moreover. but its arc passes through B and C. if f (2m) is not constant. The numbers f (2m + 1) − f (2m − 1) are either all zero or all positive. or 1/6 cot(α/2). the distance of the centroid to BC is 1/3 that of A to BC. the incenter subtends an angle of (π + α)/2 at BC. If f (2m + 1) is constant but f (2m) is not. the image lies between the incenter arc and BC. if we dilate the centroid arc about the midpoint of BC so that its image is tangent to the incenter arc at its highest point. The centroid of ABC is constrained to the image of that arc under a 1/3 homothety at the midpoint of BC. Consider triangles ABC where BC = 1 and ∠BAC has a fixed measure α > π/3. We now split into three cases.In particular. eventually f (n + 2) and f (n + 3) both exceed 1997. we have [f (2m) − 1][f (2m + 1) − 1] = 1997 and so either f (2m) = 1 and f (2m + 1) = 1997 or vice versa. and similarly for the numbers f (2m + 2) − f (2m). the distance from the incenter to the centroid is always at least the corresponding distance for ABC isosceles. and vice versa. Similarly. The incenter makes an isosceles triangle of vertex angle (π + α)/2. Hence we simply compute the distance in that case. The desired distance is thus 1 π+α 1 α cot − cot . If f (2m) and f (2m + 1) are both constant. On the other hand. then A is constrained to an arc. then f (2m + 1) = 1 for all m and f (2m+2) = f (2m)+1997. so its altitude is 1/2 cot(π + α)/4. so it is also constrained to lie on an arc. 5. then f (2m) = 1 and f (2m + 1) = 1997m + f (1). Meanwhile. Since the top of the incenter arc lies above the top of the centroid arc. either f (n + 2) = 1 or f (n + 3) ≤ 1997. the arcs cannot intersect (or else their circles would intersect four times). If they are both positive. 2 4 6 2 98 .

c. Prove that a+b+c+d≥ 2 (ab + ac + ad + bc + bd + cd) 3 and determine when equality occurs. b. It suffices to prove the (unconstrained) homogeneous inequality 3s2 s2 + s3 s3 ≥ 4s3 . define si as the average of the products of the i-element subsets of {a. 2 s1 Finally. 1 2 We now recall two basic inequalities about symmetric means of nonnegative real numbers. d}. Solution: For i = 1. 2. d be four nonnegative real numbers satisfying the condition 2(ab + ac + ad + bc + bd + cd) + abc + abd + acd + bcd = 16. . Let a. b. These combine to i+1 i prove the claim: 3s2 s2 + s3 s3 ≥ 3s2 s2 + 2 1 1 2 1 s2 s3 2 ≥ 4s3 . The first is Schur’s inequality: 3s3 + s3 ≥ 4s1 s2 . s2 ≥ s2 1 is a case of Maclaurin’s inequality si+1 ≥ si . c. 3. xn+1 by the roots of the derivative of the polynomial (x − x1 ) · · · (x − xn+1 ). 99 . . by replacing the variables x1 . Then we must show 3s2 + s3 = 4 ⇒ s1 ≥ s2 . note that in general any inequality involving s1 . . . . sk which holds for n ≥ k variables also holds for n + 1 variables. for those who have only seen Schur’s inequality in three variables. 2 1 1 2 as then 3s2 + s3 = 4 will imply (s1 − s2 )3 + 3(s3 − s3 ) ≥ 0. 1 while the second.6. . . .

From this the right inequality follows. P ∈ AB. M N. we need only show (m + x)(m + 1 − x) ≥ 2x for x ≤ n. N C are all linear in the distance between the segments M N and AC. 3. N ∈ DC. if this distance is h. 2. P2 . this rearranges to (m − x)(m + 1 + x) ≥ 0. and Q ∈ BC. Show that the perimeter of the hexagon AM N CQP does not depend on the position of M N and P Q so long as the distance between them remains constant. Prove that 2n n! ≤ (m + n)! ≤ (m2 + m)n . P3 . Let m and n be positive integers such that n ≤ m. which holds because m ≥ n ≥ x. the total perimeter of the hexagon is constant. I3 be the incentre of the triangle P1 P2 P4 . Solution: The lengths of AM. if the segments M N and P Q maintain constant total distance from AC. since the function f (x) = (m + x)(m + 1 − x) is a concave parabola with maximum at x = 1/2. we get products which do not exceed m(m + 1). as they do if their distance remains constant.1 1996 Regional Contests: Problems and Solutions Asian Pacific Mathematics Olympiad 1. with M ∈ AD. If we pair off terms of the form (m + x) and (m + 1 − x). and I4 be the incenter of the 100 . (m − n)! Solution: The quantity in the middle is (m+n)(m+n−1) · · · (m− n + 1). For the left. Let M N and P Q be two segments perpendicular to the diagonal BD and such that the distance between them is d > BD/2. Let ABCD be a quadrilateral with AB = BC = CD = DA.2 2. P4 be four points on a circle. I2 be the incenter of the triangle P1 P3 P4 . AM + M N + N C = AC + BD/2 In particular. extrapolating from the extremes M N = AC and M = N = D gives that 2AB − AC h. and let I1 be the incenter of the triangle P2 P3 P4 . Let P1 .

Then the line P3 M1 is the angle bisector of ∠P2 P3 P1 and so passes through I4 . From this we determine that the angle bisector of ∠P3 M12 P4 is the perpendicular bisector of I3 I4 . n ≤ 1996. M23 . P2 .triangle P1 P2 P3 . Find all values of n. assume P1 . Suppose there are k groups of men and 17 − k 101 . P4 P1 . P3 . by symmetry. Prove that I1 . M34 . (d) Each person must belong to one and only one group. M41 be the midpoints of arcs P1 P2 . To see this. they are either all male or all female. simply note that the angle between these lines is half the sum of the measures of the arcs M12 M23 and M34 M41 . so it is simply the line M12 M34 . P3 P4 . i. (c) All groups have at least one member. Let M12 . Moreover. Solution: Clearly n ≥ 9 since each of 17 groups must contain at least one member. I3 and I4 are the vertices of a rectangle. (b) The difference in the size of any two groups is either 0 or 1. The National Marriage Council wishes to invite n couples to form 17 discussion groups under the following conditions: (a) All members of the group must be of the same sex. P2 P3 . P4 occur on the circle in that order. Hence the circle centered at M passing through P1 and P2 also passes through I4 . but these arcs clearly comprise half of the circle. Justify your answer. On the other hand.e. To show that I1 I2 I3 I4 is actually a rectangle. for which this is possible. it now suffices to show that M12 M34 ⊥ M23 M41 . We conclude that I1 I2 I3 I4 is a parallelogram. and likewise through I3 . I2 . 4. the triangle M12 P2 I4 is isosceles because ∠I4 M12 P2 = ∠P3 P1 P2 = π − 2∠P1 P2 I4 − 2∠M12 P2 P1 = π − 2∠M12 P2 I4 . Solution: Without loss of generality. respectively. it is also the perpendicular bisector of I1 I2 . this angle bisector passes through M34 .

which added to the two analogous inequalities yields the desired result. y = b + c − a. a = b = c. For any positive x. we assume k ≤ 8.groups of women. Prove that √ √ √ √ √ √ a+b−c+ b+c−a+ c+a−b≤ a+ b+ c and determine when equality occurs. i. with equality for x = y. we get √ √ √ a + b − c + b + c − a ≤ 2 a. As there are the same number as men as women. while the number of women is at least (k + 1)m. and the maximum number of couples is k(k + 1) ≤ 72. without loss of generality.e. 102 . then the number of men in the groups is at most k(m+1). Thus 9 ≤ n ≤ 72 is the set of acceptable numbers of couples. y. Solution: By the triangle inequality. In fact. any number of couples between 9 and 72 can be distributed: divide the men as evenly as possible into 8 groups. Inequality holds for a + b − c = b + c − a = c + a − b. and divide the women as evenly as possible into 9 groups. Let a. b and c be the lengths of the sides of a triangle. we have k(m + 1) ≥ (k + 1)m. b + c − a and c + a − b are positive. If m is the minimum number of members in a group. so m ≤ k ≤ 8. Substituting x = a + b − c. 5. we have √ √ √ 2(x + y) ≥ x + y + 2 xy = ( x + y)2 by the AM-GM inequality.

C. EF ) = d(CD. DE. Solution: The multiplication in each place must produce an even number of carries. E. QA. F lie on AP. DE) = d(BC. Show that there are exactly 3k−1 positive integers n with the following properties: (a) The decimal representation of n consists of exactly k digits. h) denotes the distance between lines g and h). respectively.2 Austrian-Polish Mathematics Competition 1. A convex hexagon ABCDEF satisfies the following conditions: (a) Opposite sides are parallel (i. CD. where d(g. then ∠T OB = ∠BOU by reflection across OB.e. AB F A). Hence there are 3k−1 choices for m and hence for n. P D. Hence all of the digits of m must be 1. 2. and similarly ∠U OC = ∠COV . P1 (x) = x and Pn (x) = xPn−1 (x) + (1 − x)Pn−2 (x) 103 n ≥ 2. V be the feet of perpendiculars from O to AB.e. BC EF .2. (c) The number n is divisible by 5. 3. The diagonals BE and CF meet at the center O of the square. and that all six sides of the hexagon are tangent to the inscribed circle of the square. . (d) The number m = n/5 has k odd (decimal) digits. d(AB. (b) All digits of k are odd. The polynomials Pn (x) are defined by P0 (x) = 0. Solution: The conditions imply that A and D are opposite vertices of a square AP DQ such that B. CD (b) The distances between opposite sides are equal (i. and the first digit must be 1. Let k ≥ 1 be an integer. (c) The angles ∠F AB and ∠CDE are right. F A). Therefore π/2 = 2∠BOC. since these will be added to 5 in the next place and an odd digit must result. U. since m and n have the same number of decimal digits. DQ. 5 or 9. proving the claim. Let T. Show that diagonals BE and CF intersect at an angle of 45◦ . BC.

Solution: The inner expression is (x + z)(y + t) = −(x + z)2 . A convex polyhedron P and a sphere S are situated in space such that S intercepts on each edge AB of P a segment XY with AX = XY = Y B = 1 AB. . . The real numbers x. Prove that −1 ≤ xy + yz + zt + tx ≤ 0. find all real numbers x satisfying the equation Pn (x) = 0. Solution: Let AB and BC be two edges of the polyhedron. 5. . As for the first.For every natural number n ≥ 1. so that the sphere meets AB in a segment XY with AX = XY = Y B and meets BC in a segment ZW with BZ = ZW = W C. Y. Z. t satisfy the equalities x + y + z + t = 0 and x2 + y 2 + z 2 + t2 = 1. this clearly implies AB = BC. note that 1 = (x2 + z 2 ) + (y 2 + t2 ) ≥ 1 [(x + z)2 + (y + t)2 ] ≥ |(x + z)(y + t)| 2 by two applications of the power mean inequality. W lie on the cross-section of the sphere. x−2 Hence Pn (x) = 0 if and only if x = 0 or x = 1 + e2πik/n for some k ∈ {1. We conclude that any two edges of P are equidistant from S. Prove that there exists a sphere T tangent to 3 all edges of P . 104 . y. Therefore BY · BX = BZ · BW by power-ofa-point. and so the center of S is equidistant from AB and BC. 4. so the second inequality is obvious. n − 1}. In the plane ABC. and so there is a sphere concentric with S tangent to all edges. . z. which is a circle. the points X. Solution: One shows by induction that Pn (x) = x [(x − 1)n − 1].

7. Since k! + 48 is as well. n are given such that 1 < k < n. Solve the system of n equations 2 x3 (x2 + · · · + x2 i i i+k−1 ) = xi−1 1≤i≤n in n real unknowns x1 . Natural numbers k. so k ≥ 6. so that (k! + 48)/48 is relatively prime to 6. M ≤ k −1/3 . we get L≥ 1 ≥ kL4 kM 2 and so L ≥ k −1/3 . similarly. . Similarly. Show that there do not exist nonnegative integers k and m such that k! + 48 = 48(k + 1)m . etc. then 2 2 kL3 M 2 ≥ x3 (x2 + · · · + x2 j j j+k−1 ) = xj−1 ≥ L and so L ≥ 1/(kM 2 ). and by Wilson’s theorem k! + 1 is a multiple of k + 1. In that case k! is divisible by 32 and by 9. If M = xi . We check that 46!/48 + 1 ≡ 29 (mod 53) (by cancelling as many terms as possible in 46! before multiplying). m exist. then 2 2 kM 3 L2 ≤ x3 (x2 + · · · + x2 i i i+k−1 ) = xi−1 ≤ M and so M ≤ 1/(kL2 ). one checks that k = 6 does not yield a solution. so k ≥ 7. but that 47 has order 13 modulo 53 and that none of its powers is congruent to 29 modulo 53. respectively. If k + 1 is not prime. but this prime divides k! and not k! + 48. and we need only check that 46!/48 + 1 is not a power of 47. xn . (Note: x0 = xn . Let L and M be the smallest and largest of the xi . as then is k + 1. .6. Obviously L ≤ M . x1 = xn+1 .) Solution: The only solution is x1 = · · · xn = k −1/3 . Hence k + 1 is prime. so we have L = M = k −1/3 and x1 = · · · = xn = k −1/3 . We must have 48|k!. if L = xj . Solution: Suppose such k. . . it has a prime divisor greater than 3. we find k + 1 = 47. 105 . Putting this together.

b. the 90 smallest bricks have total volume 891. But now we find Q(1) = −1. not all equal. we have R(t) = ±R(−t). the better the solution. P (x) = Q(x2 ) for some polynomial Q of degree 499. a contradiction. so this equation is also a polynomial identity. A B is an edge of the other and AB A B . . We are given a collection of rectangular bricks. there is a sufficient supply of a × b × c bricks. In particular. so Q(−1) = 0.8. Then Q(t)2 −1 = Q(t2 +2t+1) for infinitely many values of t (namely t ≥ 0). that is. The smaller the number. a contradiction. For every triple of positive integers (a.. For each integer up to 16. Q(25) = −1. if AB is an edge of one of the bricks. Prove that there exist at least two parallel bricks. Show that there is no polynomial P (x) of degree 998 with real coefficients satisfying the equation P (x)2 − 1 = P (x2 + 1) for all real numbers x. this process produces infinitely many zeroes of Q. no one of which is a cube. it must be an even polynomial. 9. we tabulate the number of nonparallel bricks of that volume (disallowing cubical bricks and bricks with a dimension greater than 10) and their total volume: Volume Number Total 2 3 6 3 3 9 4 6 24 5 3 15 6 9 54 7 3 21 8 9 72 9 6 54 10 9 90 12 15 180 14 6 74 15 6 90 16 12 192 Assuming no two bricks are parallel. Solution: We prove the claim with 97 bricks. so that R is an odd polynomial. giving a total volume of at least 1017. 106 . (a) Assume that at least 100 bricks have been used. R(0) = 0. (b) Prove the same statement with 100 replaced by a smaller number. The 7 other bricks each have volume at least 18. Suppose that the bricks completely tile a 10 × 10 × 10 box. if we put R(t) = Q(t − 1). However. . Q(4) = 0. . it implies that Q(t) = ±Q(−2 − t). The edge lengths are integers. since P has even degree. then AB = A B . c). Solution: The equation implies P (x) = ±P (−x). that is.

107 . but we note that an arrangement with 73 nonparallel bricks is possible.We have not determined the optimal constant (one can improve the above bound to 96 easily).

which still works because 2k < m2 for p > 5. Let O and G be the circumcenter and centroid. so 2rR ≤ R2 − OG2 . and let M. and then k|p2 − (m − a)2 . so the only case left is p = m2 +1. Solution: Using vectors with origin at O. Prove that X contains two distinct elements x. If the segments AP. of triangle ABC. We now note that (a2 + b2 + c2 )(a + b + c) ≥ 9abc by two applications of the AM-GM inequality. we have 2rR = abc/(a + b + c). 108 . If R is the circumradius and r the inradius of ABC. N. BC. this still works because 2t < (m − 1)2 for p ≥ 7.3 Balkan Mathematical Olympiad 1. proving the claim. If k is even but not a multiple of 4. DM have a common point. respectively. Solution: Write p = m2 + k with k ≤ 2m. by the standard area formula K = rs = abc/4R. EA. CD. BQ. P. 9 3 9 Hence R2 − OG2 = (a2 + b2 + c2 )/9. Let p > 5 be a prime number and X = {p − n2 |n ∈ N. we note that OG2 = 1 2 1 (A + B + C)2 = R2 + R2 (cos 2A + cos 2B + cos 2C). In this case let t = 2m = p−(m−1)2 and write either t or 2t as a difference of squares (m − 1)2 − (m − a)2 . DE. Q. 2. n2 < p}. write 2k = a(2m − a) and proceed as above. CR. Let ABCDE be a convex pentagon. respectively. 3. We can’t have k = 2m since m2 + 2m = m(m + 2) is composite. show that this point also lies on EN . y such that x = 1 and x divides y. On the other hand.2. If 1 < k < 2m and k is either odd or a multiple of 4. we can write k = a(2m − a) = m2 − (m − a)2 . show that OG ≤ R(R − 2r). R be the midpoints of sides AB.

Now notice that the numbers 2243 − 2115 . 21996 − 1 ∈ A. in 6 steps. is the sum of two (not necessarily distinct) elements of A. which we may write A × C = D × A. 23 − 21 . we count 1 + 263 + 243 + 6 + 500 + 999 = 2012 numbers written down. as desired. Show that there exists a subset A of the set {1. . C × E = A × C. we turn 2256 − 1 into 2499 − 2243 . D × A = B × D. If 2n − 1 has been written. 251 − 219 . . 2. (c) A contains at most 2012 elements. 1996} having the following properties: (a) 1. Then A×P = 0. or E × (B + C) = 0. . 2115 − 251 . such that every number written is the sum of two numbers previously written.Solution: Let T be the common point. (b) every element of A. Putting these equalities together gives E × B = C × E. 24 − 1. except 1. . 2256 − 1 in (1 + 1) + (2 + 1) + · · · + (128 + 1) = 263 steps. starting with 1 and ending with 21996 − 1. 219 − 23 . which we take as the origin of a vector system. we now obtain 2499 − 1. we have B × D = E × B. . . Solution: We state the problem a bit differently: we want to write down at most 2012 numbers. which means the line EN also passes through the origin T . then 2n (2n − 1) can be obtained by n doublings. and make 21996 − 1 in 999 steps. or equivalently A×(C +D) = 0. . Hence we can obtain 22 − 1. We make this into 2998 − 1 in 500 steps. 109 . Adding 1 for the initial 1. and 22n − 1 can be obtained in one more step. In 243 steps. 21 − 1 have all been written down. Similarly. 4. .

By the second rule. Otherwise. (b) Such sets exist for all finite sets M . 6 N2 = a + b + 6ab + p+1 6 (a) Show that a ∗ b = b ∗ a for all a. Solution: If N1 = 0. In the first case. b = −d. N2 is not an integer and N1 = 0 for a = c. Conversely. n} and define a ∗ b = c ⇔ a + b + c ≡ 0 (mod n). N2 is not an integer and N1 = 0 for a = −c. By the second rule. . b) ∈ M × M one assigns an element a ∗ b. If p ≡ 0. 2. (b) For which finite sets M does such a binary operation exist? Solution: (a) First note that [a ∗ (a ∗ b)] ∗ (a ∗ b) = a by the first rule. In the second case. then p = (6a − 1)(6b − 1) is composite. so there exist natural numbers c.4 Czech-Slovak Match 1. 110 . we may rewrite the left side as b ∗ (a ∗ b). Identify M with {1. b ∈ M . so b ∗ (a ∗ b) = a and so b ∗ a = b ∗ [b ∗ (a ∗ b)]. N1 is not an integer and N2 = 0 for a = c. similarly. It is immediate that the axioms are satisfied. . b = d. exactly one of the numbers N1 = a + b − 6ab + belongs to Z∗ . (a ∗ b) ∗ b = a and a ∗ (a ∗ b) = b. That is. . b ∈ M . b = −d. all divisors of p are congruent to ±1 (mod 6). to each pair (a. b ∈ Z∗ . d such that p = (6c + 1)(6d + 1)or(6c − 1)(6d − 1)or(6c + 1)(6d − 1). Let Z∗ denote the set of nonzero integers. this equals a ∗ b. Show that an integer p > 3 is prime if and only if for any a. In the third case. p−1 . . suppose that p is composite. so a ∗ b = b ∗ a. 2. N2 = 0 implies p = −(6a + 1)(6b + 1) is composite. then N1 and N2 are not integers. 3 or 4 (mod 6). Let M be a nonempty set and ∗ a binary operation on M .2. Suppose further that for any a.

.3. 1. vi = v. Let M be a point in the interior of the pyramid. Let v1 . A pyramid π is given whose base is a square of side 2a and whose √ lateral edges have length a 17. so 5 i=1 vi =1= v 5 5 ki = i=1 i=1 Si . On the other hand. . and determine for which M equality holds. v5 denote the heights of these five bodies from vertex M . Show that the sum of the surface areas of these five pyramids is greater than or equal to one-fifth the surface area of π. 1996 and for each m ∈ Z the equation f (x) + bx = m has at least one solution x ∈ Z. 1996}. which occurs when M is the center of the inscribed sphere of the pyramid. . consider the pyramid similar to π whose vertex is M and whose base lies in the plane of the face. Determine whether there exists a function f : Z → Z such that for each k = 0. Solution: Each integer y can be written uniquely as 1997m + k with m ∈ Z and k ∈ {0. then the volumes of the bodies sum to the volume of π. . as are the vi . . Equality holds only when all of the Si are equal. . which means 5 i=1 1 1 S1 vi = S1 v. and ki the coefficient of similarity between the i-th pyramid and π. the vi are also the heights of the small pyramids similar to π. . S where S denotes the surface area of π. We conclude 5 2 5 S= i=1 Si ≤5 i=1 Si by the power mean (or Cauchy-Schwarz) inequality. . and for each face of π. 3 3 In other words. . The segments connecting the point M with the vertices of the pyramid partition π into a quadrilateral pyramid and four tetrahedra. . . Si that of the i-th small pyramid. Define the function f by f (y) = 111 . 4. Solution: All faces of π have the same area S1 = 4a2 . .

m. Let vC and vF be the distances of C and F . . 2m−1} to minimize bk . 2. B on a line are given. each interval in A contains at least two disjoint intervals of B. Without loss of generality. . Since no two of the α are disjoint. . the interval αk contains two disjoint intervals from B. ≤ a2m−1 . bi ] (i = 1. 2m − 1) be the intervals. m + 1. d1 ] and β2 = [c2 . . . . 5. Choose k ∈ {m. 2m − 1}.m − ky. bk ≤ bi for i = m. . of a triangle ABC. Therefore ai < c2 < d2 ≤ bk ≤ bi for each i ∈ {m. . Solution: Let αi = [ai . so β1 satisfies the desired property. Let F be the intersection of the lines AD and BE. Two sets of intervals A. m}. respectively. 2. every two of which have a common interior point. Show that the area of the triangles ABC and ABF satisfies |AC| |BC| SABC = + − 1. . assume ak ≤ c1 < d1 < c2 < d2 ≤ bk . The points E and D lie in the interior of sides AC and BC. . If d1 ≤ bi for i = 1. c2 > d1 > bs . then β1 ⊂ αi for i = 1. then f (x) + kx = m has the solution x = 1997m + k. . by the choice of k. d2 ]. . By assumption. so the condition is satisfied. . and so β2 has the desired property. The set A contains 2m − 1 intervals. . . . we have bs ≥ ai for all i. . m. 2m1 . . d1 > bs for some s ∈ {1. . 2. indexed so that a1 ≤ a2 ≤ . Then SABC vC BC BL + LM + M C = = = . . . . SABF |AE| |BD| Solution: Let the line parallel to BC through F meet AB at K and AC at N . let the line parallel to CA through F meet BC at M and AB at P . Show that there exists an interval in B which belongs to at least m intervals from A. 6. Moreover. . . say β1 = [c1 . . . . respectively. Otherwise. . . let the line parallel to AB through F meet BC at L and CA at O. to the line AB. SABF vF FK FK 112 . . so c2 > ai . By assumption. On the other hand.

Under the homothety through B carrying F to E. FK FK BD BD The required assertion follows by putting this all together and noting BL = F K. Thus FM EC AC LM = = = −1 FK FP AC AE and similarly CM NF CD BC = = = − 1. the segment P M maps to AC. 113 .

Let n be a natural number. β = ∠BCN. and 2 of length 2. 2. A cube of side length n can be divided into 1996 cubes whose side lengths are also natural numbers. BC 2 sin2 ∠BN C = .5 Iberoamerican Olympiad 1. 114 . one cube of length 4. The number of cubes used is 133 − (53 − 1) − (43 − 1) − 2(23 − 1) = 2197 − 124 − 63 − 2(7) = 1996. we place one cube of edge 5. Solution: Since 1996 > 123 . BN BN 2 Solution: First note that (by the Law of Sines in triangles ABM and AM N ) BM sin ∠M AB sin ∠M N A = . we must have n ≥ 13. 2 BN sin2 ∠BCN therefore BM/M N = BC 2 /BN 2 if and only if sin ∠ABD sin ∠BN C = . MN sin ∠ABM sin ∠N AM Then note that (by the Law of Sines in triangles ABD and ADC) sin ∠M AB BD sin ∠ABD = .2. Determine the smallest possible value of n. and we now show n = 13 suffices. Show that AB is tangent to the circumcircle of N B if and only if the following equality holds: BC 2 BM = . and fill the remainder with cubes of edge 1. Let M be the midpoint of the median AD of triangle ABC. The line BM intersects side AC at the point N . sin ∠N AM DC sin ∠DCA By the Law of Sines in triangle BN C. θ = ∠N BC becomes sin(α + θ) sin β = sin(β + θ) sin α. as desired. Inside a cube of edge 13. sin ∠ABM sin ∠BCN which if we put α = ∠ABM.

this becomes cos(α + θ − β) = cos(β − α + θ). We have a square table of k 2 − k + 1 rows and k 2 − k + 1 columns. The triangle is divided into triangles of side length 1. and moreover no rectangle with sides parallel to the sides of the table has zeroes at all four corners. The fractions newly added are those with b = n and a relatively prime to n. 5. b. Solution: This holds for n = 2. Both angles in this equation are between −π and π. Those removed have a + b = n. so the angles are either equal or negatives of each other. Given a natural number n ≥ 2. Label the rows and columns by elements of the projective plane.Rewriting each side as a difference of cosines and cancelling. mb) whenever m is coprime to p. Show that the sum of these fractions is 1/2. f ) if ad + be + cf = 0. Now note that the added fractions 1/an and 1/bn precisely cancel the removed fraction 1/ab. b. c) and column (d. consider all of the fractions of the 1 form ab . which is untrue. and we prove it in general by induction on n. e. such that in each row and column there are exactly k zeroes. and place a 1 in row (a. one number in each square of the table. 0) where (a. Three counters A. 0. give a method of distributing the numbers 0 and 1. For each prime p. C are placed at the corners of an equilateral triangle of side n. where a and b are relatively prime natural numbers such that a < b ≤ n and a + b > n. c) is equivalent to (ma. The latter implies θ = 0. and so BM/M N = BC 2 /BN 2 if and only if ∠ABM = ∠BCN . then the desired condition is immediately verified. so the sum remains unchanged. where k = p + 1 and p is a prime number. that is. 3. so we deduce α = β. if AB is tangent to the circumcircle of BN C. Initially all lines of the figure are painted blue. B. 4. The counters move 115 . Assume the result for n − 1. Solution: The projective plane of order p is defined as the set of equivalence classes in the set (Z mod p)3 − (0.

Since this holds for all permutations of i. . 2 are trivial. painting their paths red. then B. Aj . . Show that for all integers n > 0 it is possible to paint all of the segments red in this fashion. On each turn. then A. respectively. We describe the moves for A. We first move A right for n − 1 steps. Solution: For any four points Ai . In the plane are given n distinct points A1 . Finally. understanding that the moves for B and C are the same moves rotated by 2π/3 and 4π/3. each counter moves the full length of a side of one of the short triangles. according to the following rules: (i) First A moves. 116 . j. we use them as the base cases for an inductive proof. so that in particular no other points can be given.along the lines. . we follow the unused edges from that corner. m. then 1 λ1 1 λ2 1 λ3 1 λ4 + + + = 0. Ak . though it can stop on a red vertex. this means Ai Aj is perpendicular to Ak Am . and to each point Ai is assigned a nonzero real number λi such that (Ai Aj )2 = λi + λj for all i = j. (b) If n = 4. even if another counter is already there. 6. and so on in succesion. ending at another corner. hence n ≤ 4. we conclude that Am is the orthocenter of triangle Ai Aj Ak . An . (ii) No counter may retrace a segment already painted red. Show that (a) n ≤ 4. then C. We then alternate moving it up to the left and down to the left for a total of 2n − 5 steps. We then trace a path through the inner triangle of side n − 2 using the induction hypothesis. Solution: The cases n = 1. we have Ai A2 − Ak A2 = Ai A2 − Am A2 = λi − λj k j m j and by an elementary lemma. ending three steps later. k. and suppose A starts at the bottom left. . imagine the triangle is oriented with one side parallel to the horizontal and the third vertex above it. To fix directions. Am .

we get λ1 λ2 λ3 λ4 = (A1 A2 · A1 A3 cos ∠A3 A1 A2 )(A1 A2 · A2 A4 cos ∠A1 A2 A4 ) (A3 A1 · A3 A4 cos ∠A1 A3 A4 )(A2 A4 · A3 A4 cos ∠A2 A4 A3 ) A1 A2 λ 1 + λ2 2 =− . and that ∠A1 A3 A4 = ∠A1 A2 A4 and ∠A3 A1 A2 = π − ∠A3 A4 A2 . as desired.Now suppose n = 4. without loss of generality. A3 A4 λ 3 + λ4 2 = − Therefore 1/λ1 + 1/λ2 + 1/λ3 + 1/λ4 = 0. 2 3 3 Using this and analogous formulae. Note that 2λ1 = A1 A2 + A1 A2 − A1 A2 = 2A1 A2 · A1 A3 cos ∠A3 A1 A2 . assume that A1 A2 A3 form an acute triangle inside which A4 lies. 117 .

Several one-digit numbers are written on a blackboard. . 51. yn ) comes from a unique n-tuple. Fifty numbers are chosen from the set {1. The ratio of this distance to the distance from C to AP is AM/AC. Let M be the intersection of the diagonals of the trapezoid ABCD. 99} as vertices. Petersburg City Mathematical Olympiad 1. . . since each n-tuple (y1 . . Since we must step at least two terms along the list to make the next choice. xn ) becomes (x2 . Prove that the distance from C to the line AP is equal to the distance from B to the line DP . . . and the first such must be the original configuration. some n-tuple must repeat. A point P such that ∠AP M = ∠DP M is chosen on the base BC.2. . Solution: In the sequence 99. . Since there are finitely many n-tuples. . . . so both cannot occur. 97. and 50 must be one of them. Prove that the initial collection of numbers can be recovered by a sequence of such operations. erase the leftmost number and write the sum on the right. One can replace any one of the numbers by the last digit of the sum of all of the numbers. Clearly we maximize the number of chosen numbers by taking them two apart. 3. 98. . so taking 99. it lies at the same distance from the lines AP and DP . . y1 . yn−1 ). . . . . Solution: Since M lies on the internal angle bisector of angle ∠AP D. . . . where two numbers are adjacent if they sum to 99 or 100. 50 is the only Draw a graph with {1. 2. . . . . . . 99}. . while 118 . . so that (x1 . no two of which sum to 99 or 100. xn−1 . . 49. 99. . . . . and the list has odd length. 2. 1. namely (yn − y1 − · · · − yn−1 . . . 98. . 99.6 St. x1 + · · · + xn ). . we see at most 50 numbers can occur. Grouping the numbers into 49 pairs plus one extra. Prove that the chosen numbers must be 50. 51. Solution: At each step. 51. 50. 3. the numbers must indeed be 50. . any two adjacent numbers sum to 99 or 100. . .

C. so the latter two distances are indeed the same. Prove that for every polynomial P (x) of degree 10 with integer coefficients. some two people are still unacquainted. Solution: We claim that two people unacquainted after each person has held at least one party lie in different connected components of the original (and final) graph of acquaintance. the two people on the ends will be acquainted. by a path of length n − 2 after two of them hold a party. Suppose that after each person has arranged at least one party. D are the vertices of the quadrilateral in order. then N = (A + B + C + D)/4. and O the circumcenter. there is an infinite (in both directions) arithmetic progression which does not contain P (k) for any integer k. one person invites all of his acquaintances to a party and introduces them to each other. respectively. so twice the median becomes a diagonal of a parallelogram. and so on. After each person holds a party. and use the triangle inequality). Since P (t + k) ≡ P (t) (mod k). Prove that they will not be introduced at the next party. each value of 119 . Hence OM ≥ ON . Let M be the intersection of the diagonals of a cyclic quadrilateral. moreover. In a group of several people. If two people are connected by a path of length n. in particular. they will be connected by a path of length n − 1 after one person along the path (including either of the two people at the ends) holds a party. Prove that OM ≥ ON . N the intersections of the lines joining the midpoints of opposite sides. if E and F are the midpoints of AC and BD. there exists x such that P (x + 1) − P (x) = n > 1. The circle with diameter OM passes through E and F . Solution: Since P is not linear. in any triangle. B. then N is the midpoint of EF .the ratio of this distance to the distance from B to DP is BM/M D. 5. some are acquainted with each other and some are not. If A. Solution: We use vectors. so OM ≥ OE and OM ≥ OF . 4. But AM/M C = BM/M D by similar triangles. the median to a side is no longer than the average of the other two sides (rotate the triangle by π about the foot of the median. Every evening. 6.

If n > 1. . associate the list (b2 . . Find all positive integers n such that 3n−1 + 5n−1 divides 3n + 5n . 7. Let sn = 3n + 5n and note sn = (3 + 5)sn−1 − 3 · 5 · sn−2 so sn−1 must also divide 3 · 5 · sn−2 . . where bi is the difference mod n + 1 between the numbers of the space driver i wants and the space the previous driver took. .P is congruent to one of P (x). so sn−1 must divide sn−2 . Put the first driver in any space. . If there is no free space after his favorite. . . then for i = 2. . he parks at the nearest free place down the road. . put driver i in the first available space after the space bi away from the space taken by driver i − 1. by shifting the position of the first driver. since P (x + 1) − P (x) = n. which is impossible since sn−1 > sn−2 . this gives a list of preferences if and only if the one space not taken at the end is the phantom space. . . We now argue that any list of bi comes from a list of preferences. However. so there are (n + 1)n−1 of each. There are n parking spaces along a one-way road down which n drivers are traveling. However. . we can always ensure that the phantom space is the space not taken. Thus the sequences of bi are equal in number to the lists of preferences. . and so there is an arithmetic progression of difference n containing no values of P . 120 . . Clearly any two lists give rise to different sequences of bi . . To each list of preferences (a1 . Imagine that the n parking spaces are arranged in a circle with an extra phantom space put in at the end. otherwise. Each driver goes to his favorite parking space and parks there if it is free. an of favorite parking spaces are there which permit all of the drivers to park? Solution: There are (n + 1)n−1 such lists. he drives away. then sn−1 is coprime to 3 and 5. the values of P cover at most n − 1 distinct residue classes. . . P (x + n − 1) modulo n. bn ). 8. How many lists a1 . an ) which allows all drivers to park. P (x + 1). . . n. . Solution: that This only occurs for n = 1.

Since ABM and ACM have equal area. moreover. we have c ≤ min(a. by the triangle inequality. there exists a polynomial 2x2 + rx + s with integer coefficiets such 121 . BE. b) and d ≥ max(a. hence it eventually stops changing. we have r1 AC + AM + CM = r2 AB + AM + BM and it suffices to show AC + AM + CM < 2AB + 2AM + 2BM . since BM = CM . and let r1 and r2 be the radii of the incircles of triangles ABM and ACM . 10. at which time the numbers never change. ab = cd. Prove that r1 < 2r2 . since 1991 is a multiple of 6 11. this simplifies to AC < 2AB + AM + CM . One can erase any two distinct integers and write their greatest common divisor and least common multiple instead. where n is the number of numbers on the board). AC < AM + CM .g. From this we may conclude a+b ≤ c+d by writing ab+a2 = cd+a2 ≤ ac+ad (the latter since (d − a)(c − a) ≤ 0) and dividing both sides by a. 11. Prove that for every polynomial x2 + px + q with integer coefficients. Prove that the number of triangles lying in the interior of the 1996-gon and having sides on its diagonals is divisible by 11. Several positive integers are written on a blackboard. the corresponding triangle is formed by the lines AD. so is the number of triangles. C. D. Thus the sum of the numbers never decreases. Let M be the midpoint of side BC of triangle ABC. F are the six vertices in order. CF . E. No three diagonals of a convex 1996-gon meet in a point. Solution: Recall that the area of a triangle equals its inradius times half its perimeter. and it is obviously bounded (e.9. Hence the number of triangles is 1996 . Solution: If a. Prove that eventually the numbers will stop changing. so we are done. b are erased and c < d are written instead. Solution: There is exactly one such triangle for each choice of six vertices of the 1996-gon: if A. by n times the product of the numbers. B. In fact. b). 12.

and it suffices to choose r even and s of the opposite parity as q. Solution: By the assumption ∠AEB + ∠BDC = π. If p = 2m is even. then x2 + px + q = (x + m)2 + (q − m2 ) which is congruent to q − m2 or q − m2 + 1 modulo 4. so ∠F CB = (π − ∠ABC)/2. x in the second. go to w. The Hamilton travel agency provides n different tours of the cities of the first republic (visiting each city once and returning to the starting city without leaving the republic) and m tours of the second republic. and there are roads from u to w and from x to v. such that u immediately precedes v in the first tour. all such pairs will be distinct). each pair of cities is linked by a one-way road. Prove that Hamilton can offer mn such tours around the whole federation. Call this a “direct” tour. We first look for cities u. The triangle ABC is isosceles. x immediately precedes w in the second. Solution: From each pair of tours. and so DF ⊥ BE. v in the first republic and w. we construct a tour of both republics from which the two original tours can be reconstructed (so in particular. Hence ∠F DB = ∠F CB = π/2 − ∠DBE by the assumption ∠ABE + ∠DBC = ∠EBD. and return to v. AB = BC. there exists a point F on AC such that ∠AF B = ∠AEB and ∠BF C = ∠BDC. In a federation consisting of two republics. Similarly EF ⊥ BD. ∠ABE + ∠DBC = ∠EBD. the two original tours can be determined from 122 . Solution: If p is odd. Prove that the orthocenter of triangle BDE lies on AC. and ∠AEB + ∠BDC = π. In a convex pentagon ABCDE. 13. this means F is the second intersection of the circumcircles of BCD and ABE. and so F is the orthocenter of BDE. Now it suffices to choose r even and s congruent to q − m2 + 2 modulo 4. and each city can be reached from each other city by these roads. 14. tour the second republic ending at x. we may start from v.that the sets of values of the two polynomials on the integers are disjoint. then x2 + px + q has the same parity as q for all integers x. tour the first republic ending at u. In that case.

The numbers 1. given a vertex v. and x is the same number ahead of w in the second tour. assume the number of cities in the second republic does not exceed the number in the first republic.a direct tour by reading off the cities of either republic in the order they appear. 2n are divided into two groups of n numbers. 2. without loss of generality. 16. the claim amounts to showing P (x)2 ≡ Q(x)2 (mod x2n − 1). Since each city is reachable from each other city. . 123 i∈S xi and . Prove that the pairwise sums of numbers in each group (the sum of each number with itself included) have the same remainders upon division by 2n. so Sergey can find at least one more zero. Solution: The equation 19x − 96/x = t can be rewritten 19x2 − tx − 96 = 0. . Prove that if he had tried harder. returning to v. it always has two real roots. since t2 + 19 · 96 > 0. The two original tours can be determined from an alternating tour by reading off the cities of the first republic in the order they appear. Therefore the number of zeroes of f (if finite) is an even integer. and each remainder must occur the same number of times in the two groups. Sergey found 11 different solutions to the equation f (19x−96/x) = 0. .) Solution: Let S and T be the groups. whenever u is some number of cities ahead of v in the first tour. the “parallel” roads uw and vx must point in the same direction (by repeated application of the above observation). he could have found at least one more solution. . Now suppose no direct tour exists. and let P (x) = Q(x) = j∈T xj . In this case. once the second republic is exhausted. and those of the second republic in the reverse of the order in which they appear. we can find x immediately preceding w in the second tour such that there are roads from w to v and from v to x. 15. We now form an “alternating” tour starting at v by alternately taking roads parallel to vx and wv. (Note: each pair of distinct numbers should be added twice. we tour the remaining cities of the first republic in order.

and similarly P2 (x) = dxk . so that P1 and P2 are equal up to a scalar factor. one has P1 (x)P2 (y) − P3 (z)P4 (t) = 1. Find all quadruples of polynomials P1 (x). then P3 (z)P4 (t) = −1 for each pair of integers z. moreover. We first note that P1 (x)P2 (1) = P1 (1)P2 (x) for all nonzero integers x. and so P3 and P4 are constant functions. and the line AK meets CC at L. respectively. M. Since M K DA. that means no term in P1 (x)P2 (y) has unequal exponent in x and y. since CM C D. similarly. we have LK/LA = LC/LC . Solution: If P1 (1) = 0. then P1 (x)P1 (y) contains a term with different degrees in x and y. x. . Hence P1 (x) = cxk for some integer k and some constant c. 124 . P2 (x). In particular. t. . we have LM /LD = LC/LC . and the same is true of P1 (x)P1 (y). y. . Prove that D. t such that xy − zt = 1. 2n occurs exactly once. Finally. Since CK C A. P4 (x) = f xm . and that x2n−1 + · · · + 1|P (x) + Q(x) since each of the numbers 1. so one of P1 and P2 is identically zero. so that the difference between the two sides is identically zero as a polynomial in a. Therefore LM /LD = LM /LD and so M = M = M . Ignoring such cases. 17. The point K lies on the segment A C. . P4 (x) with real coefficients such that for each quadruple of integers x. y. z. these meet at M . P3 (x). Now note that P1 (x)P2 (ay) = P1 (ax)P2 (y) for all nonzero a. The points A and C are chosen on the diagonal BD of a parallelogram ABCD so that AA CC . if P1 (x) has terms of more than one degree. 18. L are collinear. P3 and P4 are equal up to a scalar factor. Solution: Let M and M be the intersections of DM with M K and M C. A line parallel to BC is drawn through K. and a line parallel to BD is drawn through C. we have LM /LD = LK/LA.This follows by noting that x−1|P (x)−Q(x) since both groups have the same number of elements. P1 (x)P2 (y) = 0. we assume Pi (1) = 0 for all i. P3 (x) = exm . On the other hand. which are easily enumerated.

Thus we must determine when cdxk y k − ef z m tm = 1 whenever xy − zt = 1 in integers. Clearly k = m since otherwise one of the two terms on the left dominates the other, and cd = 1 by setting x = y = 1 and z = t = 0, and similarly ef = 1. Now note that (xy)k −(zt)k = 1 can only happen in general for k = 1, since for k > 1, there are no consecutive perfect k-th powers. We conclude P1 (x) = cx, P2 (x) = x/c, P3 (x) = ex, P4 (x) = x/e for some nonzero real numbers c, e. 19. Two players play the following game on a 100 × 100 board. The first player marks a free square, then the second player puts a 1 × 2 domino down covering two free squares, one of which is marked. This continues until one player is unable to move. The first player wins if the entire board is covered, otherwise the second player wins. Which player has a winning strategy? Solution: The first player has a winning strategy. Let us say a position is stable if every square below or to the right of a free square is free. Then we claim the first player can always ensure that on his turn, either the position is stable or there is a free square with exactly one free neighbor (or both). Let us label the square in the i-th row and j-th column as (i, j), with (1, 1) in the top left. We call a free square a corner if is not below or to the right of another free square. Let (a1 , b1 ), (a2 , b2 ), . . ., (ak , bk ) be the corners from top to bottom. First notice that if (a, b) is a corner such that both (a + 1, b − 1) and (a − 1, b + 1) are nonfree (or off the board), then the first player may mark (a, b), and however the second player moves, the result will be a stable position. More generally, if (a, b), (a+1, b−1), · · · , (a+k, b−k) are corners and (a−1, b+1) and (a+k +1, b−k −1) are both nonfree or off the board, the first player can be sure to return to a stable position. To show this, first note that we cannot have both a = 1 and b − k = 1, or else the number of nonfree squares would be odd, which is impossible. Without loss of generality, assume that b − k = 1 is not the final corner. The first player now marks (a, b). If the second player covers (a, b) and (a, b + 1), the position is again stable. Otherwise, the first player marks (a + 1, b − 1) and the second player is forced to cover it and (a + 2, b − 1). Then the first player marks 125

(a+2, b−2) and the second player is forced to cover it and (a+3, b−2), and so on. After (a+k, b−k) is marked, the result is a stable position. (Note that the assumption b−k = 1 ensures that the moves described do not cross the edge of the board.) To finish the proof, we need to show that such a chain of corners must exist. Write the labels (a1 , b1 ), . . . , (ak , bk ) in a row, and join two adjacent labels by a segment if they are of the form (a, b), (a+1, b−1). If two adjacent labels (a, b), (a + i, b − j) are not joined by a segment, then either i = 1 or j = 1 but not both. If i = 1, draw an arrow between the labels pointing towards (a + i, b − j); otherwise draw the arrow the other way. Also draw arrows pointing to (a1 , b1 ) and (ak , bk ). There is now one more chain of corners (joined by segments) than arrows, so some chain has two arrows pointing to it. That chain satisfies the condition above, so the first player can use it to create another stable position. Consequently, the first player can ensure victory. 20. Let BD be the bisector of angle B in triangle ABC. The circumcircle of triangle BDC meets AB at E, while the circumcircle of triangle ABD meets BC at F . Prove that AE = CF . Solution: By power-of-a-point, AE ·AB = AD·AC and CF ·CB = CD · CA, so AE/CF = (AD/CD)(BC/AB). However, AB/CB = AD/CD by the angle bisector theorem, so AE = CF . 21. A 10 × 10 table consists of positive integers such that for every five rows and five columns, the sum of the numbers at their intersections is even. Prove that all of the integers in the table are even. Solution: We denote the first five entries in a row as the “head” of that row. We first show that the sum of each head is even. We are given that the sum of any five heads is even; by subtracting two such sums overlapping in four heads, we deduce that the sum of any two heads is even. Now subtracting two such relations from a sum of five heads, we determine that the sum of any head is even. By a similar argument, the sum of any five entries in a row is even. By the same argument as above, we deduce that each entry is even.

126

22. Prove that there are no positive integers a and b such that for each pair p, q of distinct primes greater than 1000, the number ap + bq is also prime. Solution: Suppose a, b are so chosen, and let m be a prime greater than a+b. By Dirichlet’s theorem, there exist infinitely many primes in any nonzero residue class modulo m; in particular, there exists a pair p, q such that p ≡ b (mod m), q ≡ −a (mod m), giving ap + bq is divisible by m, a contradiction. 23. In triangle ABC, the angle A is 60◦ . A point O is taken inside the triangle such that ∠AOB = ∠BOC = 120◦ . The points D and E are the midpoints of sides AB and AC. Prove that the quadrilateral ADOE is cyclic. Solution: Since ∠OBA = 60◦ − ∠OAB = ∠OAC, the triangles OAB and OCA are similar, so there is a spiral similarity about O carrying OAB to OCA. This similarity preserves midpoints, so it carries D to E, and therefore ∠AOD = ∠COE = 120◦ − ∠AOE. We conclude ∠DOE = 120◦ and so ADOE is cyclic. 24. There are 2000 towns in a country, each pair of which is linked by a road. The Ministry of Reconstruction proposed all of the possible assignments of one-way traffic to each road. The Ministry of Transportation rejected each assignment that did not allow travel from any town to any other town. Prove that more of half of the assignments remained. Solution: We will prove the same statement for n ≥ 6 towns. First suppose n = 6. In this case there are 215 assignments, and an assignment is rejected only if either one town has road to all of the others in the same direction, or if there are two sets of three towns, such that within each town the roads point in a circle, but all of the roads from one set to the other point in the same direction. There are 5 · 211 bad assignments of the first kind and 20 · 8 of the second kind, so the fraction of good assignments is at least 5/8.

127

The algorithm stops when the numbers in the first pair become equal (they will equal the greatest common divisor of m and n). y. u. Prove that the arithmetic mean of the numbers in the second pair at that moment equals the least common multiple of m and n.For n ≥ 6. u. m. v + u are written instead. so it remains equal to 2mn throughout. then x − y. 25. A generalized Euclidean algorithm is applied to this quadruple as follows: if the numbers x. u + v. v appear on the board and x > y. y. Thus when the first 128 . we claim that the fraction of good assignments is at least 5 8 n−1 1− i=6 1 2i−1 . In fact. Solution: Note that xv + yu does not change under the operation. Now it suffices to show that the above expression is more than 1/2. ∞ 1− i=5 1 2i −1 ∞ ≤ 1+ i=5 i−4 2i ∞ 1 = 1+ 5 2 = 1+ = 1+ 1 25 1 25 i=0 ∞ ∞ i+1 2i 1 2i i=0 k=i ∞ i=0 1 2i−1 4 9 = 1+ 5 = 2 8 Thus the fraction of good assignments is at least (5/8)(8/9) = 5/9 > 1/2. n. We show this by induction on n: a good assignment on n − 1 vertices can be extended to a good assignment on n vertices simply by avoiding having all edges from the last vertex pointing in the same direction. v are written instead. y − x. which occurs in 2 cases out of 2n−1 . The positive integers m. n are written on a blackboard. otherwise x.

n). which is a multiple of 3. 2Q α = 3T. . since we cannot have both a T and a Q at a 180◦ angle. n2 are placed in some fashion in the squares of an n × n table. . since 3Q ranges from 240◦ to 300◦ . 129 . 4Q (The range for Q cannot be increased. T + Q. The positive integers 1. Additionally. Solution: We first enumerate the ways to decompose various angles α into sums of 60◦ angles (T ) and angles between 80◦ and 100◦ (Q): 60◦ < α < 180◦ α = 180◦ α = 360◦ α = T. or at a vertex of the large polygon. no vertex of the large polygon consists of more than two angles. since the total number is three times the number of triangles. and a T cannot occur by itself. 26. As each number is placed in a square. n) = 2lcm(m. the sum of the latter two is 2mn/ gcd(m. The above computation shows that the number of T angles at interior or edge vertices is a multiple of 3. All this means that the number of red sides is half the number of T angles at the vertices. Prove that the number of (entirely) red sides of the polygon is a multiple of 3. 27. 2. 3T + 2Q. 2T. A convex polygon with all of its angles greater than 60◦ is assembled from the figures in the set. on an edge. namely those which lie in the interior.two numbers both equal gcd(m. A set of geometric figures consists of red equilateral triangles and blue quadrilaterals with all angles greater than 80◦ and less than 100◦ . . Next note that every edge is entirely of one color.) The set of all of the vertices of all of the polygons can be divided into three categories. we deduce that the number of T angles at vertices of the large polygon is also a multiple of 3. the sum of the numbers already placed in the row and column containing that square is written on a blackboard. n). even including the endpoints would allow for additional combinations above. . 2Q α = 6T. Give an arrangement of the numbers that minimizes the sum of the numbers written on the blackboard.

the total is minimizing by multiplying 1. . . . n + 1. By the rearrangement inequality. 1. . 2n by n − 2. . n − 1. . and so on. n by n − 1. We now simply note that the contribution from rows is at least that of the minimal arrangement. . . we demonstrate 9 13 6 10 3 7 16 4 Note that the sum of the numbers written may also be computed as the product of each number with the number of empty spaces in its row and column at the time it was placed. . . 130 . and analogously for columns. This is because we end up multiplying n numbers by each of 0. . .Solution: Rather than describe it for n = 4: 1 5 14 2 11 15 8 12 the arrangement.

1. inscribe in the angle ∠BAD a circle that lies entirely inside the parallelogram. Solve the system 131 . Given a parallelogram ABCD. Find the locus of the tangency point of the circles. 2. Find an in closed form.3 3. The sequence an is defined by a1 = 1. and an is the n-th positive integer greater than an−1 which is congruent to n modulo k. Prove that if ak = 1997 then k ≤ 3. What happens if k = 2? 4. Similarly.1 1997 National Contests: Problems Austria (x − 1)(y 2 + 6) = y(x2 + 1) (y − 1)(x2 + 6) = x(y 2 + 1). Consider the sequence of positive integers which satisfies an = a2 + n−1 a2 + a2 n−3 for all n ≥ 3. as the two circles vary. Let k be a positive integer. n−2 3. inscribe a circle in the angle ∠BCD that lies entirely inside the parallelogram and such that the two circles are tangent.

Let I and G be the incenter and centroid. • e1 . e3 is nonzero. Consider the sums e1 x1 + e2 x2 + e3 x3 such that: • x1 . Find all values of a such that |f (x)| ≤ 1 for all x ∈ [0. 1]. BC = a. e3 ∈ {−1. Let ABC be an equilateral triangle with area 7 and let M. Find all real numbers m such that the equation 2. 3. e2 . Denote by O the intersection of BN and CM . N be points on sides AB. where r is the inradius of ABC. such that AN = BM . • if xi = xj . . . (b) Prove that any set of cardinality n/4 + 1 is not free. x2 . (b) If a = c + 1 and b = c − 1. prove that the lines IG and AB are parallel. n}. 132 .3. 5. (b) Find ∠AOB. Let f (x) = x2 − 2ax − a2 − 3/4. . of a triangle ABC with sides AB = c. The set A is free if all such sums are not divisible by n. and find the length of the segment IG. (a) Find a free set of cardinality n/4 . 1}. (a) Prove that M B/AB equals either 1/3 or 2/3. AC. Let n ≥ 4 be an even integer and A a subset of {1. Assume that triangle BOC has area 2. 2. e2 . CA = b. . 1. 4. (a) Prove that the area of triangle CIG equals |a − b|r/6. respectively. • at least one of e1 . then ei ej = −1. respectively. x3 ∈ A. 0.2 Bulgaria (x2 − 2mx − 4(m2 + 1))(x2 − 4x − 2m(m2 + 1)) = 0 has exactly three different roots.

Let ABCD be a trapezoid (AB||CD) and choose F on the segment AB such that DF = CF . 9. b. O. O2 be the circumcenters of ADF. c such that the roots of the equations x2 − 2ax + b = 0 x2 − 2bx + c = 0 x2 − 2cx + a = 0 are natural numbers. Find all natural numbers n for which a convex n-gon can be divided into triangles by diagonals with disjoint interiors. let f (b) denote the maximum of the function sin x + 2 +b 3 + sin x 3πx πx π cos + +2=0 2a 2a 3 over all x ∈ R. let m(n) denote the maximum number of points lying within or on the boundary of a regular n-gon of side length 1 such that the distance between any two of the points is greater than 1. Let ABCD be a convex quadrilateral such that ∠DAB = ∠ABC = ∠BCD.6. Find the minimum of f (b) over all b ∈ R. 12. Prove that the lines EF and O1 O2 are perpendicular. 133 . Prove that H. 10. 8. Let H and O denote the orthocenter and circumcenter of the triangle ABC. Find all natural numbers a. D are collinear. 11. 7. such that each vertex of the n-gon is the endpoint of an even number of the diagonals. Let E be the intersection of AC and BD. Find all n such that m(n) = n − 1. For any real number b. BCF . and let O1 . Find the least natural number a for which the equation cos2 π(a − x) − 2 cos π(a − x) + cos has a real root. For any natural number n ≥ 3.

N are situated in the plane so that M N = 4. Let M. K2 . 2. n} which do not contain two consecutive numbers. f (x) = f x2 + 1 4 . 19. Find all continuous functions f : R → R such that for all x ∈ R. EF 2 CD AB 14. and E the intersection of AD and BC. Let M be the centroid of triangle ABC. respectively. 18. . 15. Y vary over the interior of K1 . . CD. Prove that the equation x2 + y 2 + z 2 + 3(x + y + z) + 5 = 0 has no solutions in rational numbers. let F be the intersection of AC and BD. Find the number of nonempty subsets of {1. For any natural number n ≥ 2. 2 5 8 3k + 2 . Two unit squares K1 . Prove that MN 1 AB CD = − . N be the midpoints of AB. K2 with centers M. . Find the locus of the midpoint of XY as X. and one of the diagonals of K2 lies on M N . then 2 sin ∠CAM + sin ∠CBM ≤ √ . 16. consider the polynomial Pn (x) = where k = n−2 3 n n n 2 n + x+ x + ··· + xk . (a) Prove that Pn+3 (x) = 3Pn+2 (x) − 3Pn+1 (x) + (x + 1)Pn (x). 17. (b) Find all integers a such that 3 (n − 1)/2 divides Pn (a3 ) for all n ≥ 3. (a) Prove that if the line AB is tangent to the circumcircle of the triangle AM C. Given a cyclic convex quadrilateral ABCD. Two sides of K1 are parallel to the line M N . 3 134 . .13.

20. Prove that 1 1 1 = + . Find the maximal number of n-tuples such that any two of them are separated. Let ABC be a triangle and M. . . 1+a+b 1+b+c 1+c+a 2+a 2+b 2+c 22. . Let m. . . The ordered ntuples (a1 . BD AD CD 23. Let X be a set of cardinality n + 1 (n ≥ 2). . a2 . . . Let a. an ) and (b1 . . Let D be the intersection of the ray M N with the circumcircle of ABC. b. c be positive numbers such that abc = 1. Prove that 1 1 1 1 1 1 + + ≤ + + . respectively.(b) Prove the same inequality for an arbitrary triangle ABC. bn ) of distinct elements of X are called separated if there exist indices i = j such that ai = bj . . n be natural numbers and m + i = ai b2 for i = 1. 21. C. n. 2. Find all values of n for which there exists m such that a1 + a2 + · · · + an = 12. i where ai and bi are natural numbers and ai is squarefree. . b2 . 135 . N the feet of the angle bisectors of B. .

(Two intervals with a common endpoint are not disjoint. where p. q are polynomials with integer coefficients.3. y) = 5! and lcm(x. y) of positive integers with x ≤ y satisfy gcd(x. whose union has total length at least 25. 50]. 1999 2 4 1998 44 4. How many pairs (x. Given a finite number of closed intervals of length 1. 5. Prove that 1 3 1997 1 1 < · · ··· · < . any two of whose members are disjoint.) 3. Let O be a point inside a parallelogram ABCD such that ∠AOB + ∠COD = π.3 Canada 1. 136 . prove that there exists a subset of the intervals. Prove that ∠OBC = ∠ODC. y) = 50!? 2. whose union is the closed interval [0. Express the sum n k=0 k3 (−1)k n + 9k 2 + 26k + 24 k in the form p(n)/q(n).

E. which ones are necessarily similar to the 1997th quadrilateral? (b) Assume that the 1997th quadrilateral is cyclic. x2 . 12. . b1 . 2. . . Let ABCD be a cyclic quadrilateral. . F are collinear. . Dk as the reflections of P across the lines Ak−1 Bk−1 . . 4. Dk−1 Ak−1 . and similarly for the other three vertices. . Find the largest natural number M such that there exists a bijection f : A → A satisfying the following conditions: 137 . . 2. . Show that there exist infinitely many positive integers n such that the numbers 1. Let A = {1. . . Ck . . Ck−1 Dk−1 . 5. . . 1997. . Define Ak . and the lines AD and BC meet at Q. . 2. Let x1 . . 17} and for a function f : A → A. 1 2 1997 2. cn in some order so that the following conditions hold: (a) a1 + b1 + c1 = · · · = an + bn + cn is a multiple of 6. . bn . Which of the first 12 quadrilaterals must then be cyclic? 3. . c1 . (a) Of the quadrilaterals Ak Bk Ck Dk for k = 1.4 China 1. . an . Bk−1 Ck−1 . Let A1 B1 C1 D1 be a convex quadrilateral and P a point in its interior. . . 3n can be labeled a1 . . . . Prove that points P. . The lines AB and CD meet at P . (b) a1 + · · · + an = b1 + · · · + bn = c1 + · · · + cn is also a multiple of 6. . . x1997 be real numbers satisfying the following conditions: √ 1 (a) − √3 ≤ xi ≤ 3 for i = 1. Assume that the angles P A1 B1 and P A1 D1 are acute. √ (b) x1 + x2 + · · · + x1997 = −318 3. Determine the maximum value of x12 + x12 + · · · + x1 2. denote f [1] (x) = f (x) and f [k+1] (x) = f (f [k] (x)) for k ∈ N. . . Let E and F be the points where the tangents from Q meet the circumcircle of ABCD.3. . Bk . .

then f [m] (i + 1) − f [m] (i) ≡ ±1 (mod 17). Let a1 . f [M ] (i + 1) − f [M ] (i) ≡ ±1 (mod 17). . . n − 1 am m 138 . (m. (b) For 1 ≤ i ≤ 16.(a) If m < M and 1 ≤ i ≤ 16. a2 . be nonnegative integers satisfying an+m ≤ an + am Prove that an ≤ ma1 + for all n ≥ m. . n ∈ N).) 6. . (Here f [k] (18) is defined to equal f [k] (1).

so that if x.3. w belong to Ak for some k. A2 . How many such colorings are possible? 2. Let ABCD be a fixed square. and consider all squares P QRS such that P and R lie on different sides of ABCD and Q lies on a diagonal of ABCD. Determine all possible positions of the point S.5 Colombia 1. We play the following game with an equilaterial triangle of n(n+1)/2 pennies (with n pennies on each side). z. Initially. 4. . We are given an m × n grid and three colors. we may turn over three pennies which are mutually adjacent. the goal is to make all of the pennies show tails. On each turn. 139 . . y. then x − y and z − w belong to the same set Ai (where i need not equal k) if and only if x/y = z/w. all of the pennies are turned heads up. We wish to color each segment of the grid with one of the three colors so that each unit square has two sides of one color and two sides of a second color. For which values of n can this be achieved? 3. Prove that the set of positive integers can be partitioned into an infinite number of (disjoint) infinite sets A1 . .

3. and the intersection of any two of the five polyhedra is either a common vertex. and determine whether the converse also holds. it is possible to make the number of blue segments at each vertex even. For each natural number n ≥ 2. or a common face. . 2. γ. from red to blue and vice versa. A parallelogram ABCD is given such that triangle ABD is acute and ∠BAD = π/4. 6. Prove that no matter how the edges were colored initially. b. xn are arbitrary real numbers. c and corresponding angles α. One may choose a vertex and change the color of all of the segments emanating from that vertex. . Show that there exists an increasing sequence {an }∞ of natural n=1 numbers such that for any k ≥ 0. L on BC. The tetrahedron ABCD is divided into five convex polyhedra so that each face of ABCD is a face of one of the polyhedra (no faces are divided). Find the locus of the intersection of the diagonals of all such quadrilaterals KLM N . Each side and diagonal of a regular n-gon (n ≥ 3) is colored red or blue. the sequence {k + an } contains only finitely many primes. What is the smallest possible sum of the number of faces of the five polyhedra? 4. N on DA can be chosen in various ways so that KLM N is a cyclic quadrilateral whose circumradius equals those of the triangles AN K and CLM . a common edge.3. x2 . 5. . 140 . Prove also that the resulting coloring is uniquely determined by the initial coloring. . points K on AB. determine the largest possible value of the expression Vn = sin x1 cos x2 + sin x2 cos x3 + · · · + sin xn cos x1 . β. In the interior of the sides of the parallelogram.6 Czech and Slovak Republics 1. where x1 . Prove that the equality α = 3β implies the inequality (a2 − b2 )(a − b) = bc2 . Let ABC be a triangle with sides a. M on CD.

(c) For which triangles ABC is λ(α) independent of α? 141 . Can we always choose the starting vertex so that the sum of the first k integers written down is positive for k = 1.7 France 1. (b) Determine the limit of λ(α) as α tends to 0. let λ(α) be the real number satisfying aα + bα + cα = λ(α)α (mα + nα + pα ). 1997? 2. p the lengths of its medians.3. n. 4. such that the sum of the integers is 1. For every positive real α. b. we write down the labels of the vertices reading counterclockwise around the polygon. Each vertex of a regular 1997-gon is labeled with an integer. . . Find the maximum volume of a cylinder contained in the intersection of a sphere with center O radius R and a cone with vertex O meeting the sphere in a circle of radius r. . . Given a triangle ABC. let a. Starting at some vertex. c denote the lengths of its sides and m. having the same axis as the cone? 3. Find the maximum area of the orthogonal projection of a unit cube onto a plane. (a) Compute λ(2).

FRom an arbitrary point on the arc AB one constructs the perpendiculars P C and P D onto M A and M B (C ∈ M A. 10000 trees have been placed in a square lattice. 5. Find all real solutions of the system of equations x3 = 2y − 1 142 . In a square ABCD one constructs the four quarter circles having their respective centers at A. Denote by u(k) the largest odd number that divides the natural number k. In a park. Prove that the length of the segemnt CD does not depend on the position of P on the arc AB. F .3. Let C be the circle tangent to all four quarter circles. Sc all be congruent? 3. 6. D ∈ M B). 1.) 4. For which triangles ABC will Sa .8 Germany p + 1 = 2x2 p2 + 1 = 2y 2 has a solution in integers x. you cannot see any other stump. (Assume the trees have negligible radius compared to the distance between adjacent trees. B. G and H. the central angle ∠AM B is less than 90◦ . which form a smaller square S. Compare the areas of S and C. Determine all primes p for which the system 2. A square Sa is inscribed in an acute triangle ABC by placing two vertices on side BC and one on each of AB and AC. C and D and containing the two adjacent vertices. Inside ABCD lie the four intersection points E. y. of these quarter circles. Determine the maximum number of trees that can be cut down so that from any stump. Squares Sb and Sc are inscribed similarly. Sb . In the circular segment AM B. Prove that 1 · 2n 2n k=1 u(k) 2 ≥ . k 3 7.

find all such x. such that both f (x) and g(x) are divisible by p. and for each such p. 143 .y3 z3 8. Define the functions = 2z − 1 = 2x − 1 f (x) = x5 + 5x4 + 5x3 + 5x2 + 1 g(x) = x5 + 5x4 + 3x3 − 5x2 − 1. Find all prime numbers p and for which there exists a natural number 0 ≤ x < p.

x2 y 1997 4. Determine the minimum and maximum possible values of f (P ) = ∠ABP + ∠BCP + ∠CDP + ∠DAP. Show that if n ∈ Z is not a root of P . Find all integer solutions of 13 1996 z + 2 = . Let P be a point inside or on the sides of a square ABCD. (c) f (x)f (f (x) + 1/x) = 1 for all x > 0. then |P (n)| ≥ 7(6!)2 .3. Let f : (0.9 Greece 1. and give an example where equality is achieved. Find f (1). 2. 144 . Let P be a polynomial with integer coefficients having at least 13 distinct integer roots. (b) f (x) > −1/x for all x > 0. 3. ∞) → R be a function such that (a) f is strictly increasing.

Show that there exist 55 of the vectors whose sum has length less than 1. Let R be the circumradius of triangle ABC. mc the lengths of the altitudes. Prove that ma da + mb db + mc dc = a2 + b2 + c2 . mb . Let F be the midpoint of GH. Each member of a committee ranks applicants A. Let AB and CD be nonintersecting chords of a circle. Before each draw. always guessing the color more likely to occur (if one is more likely than the other). and let K be a point on CD. C in some order. respectively. and da . ma .3. Let a. 4. It is given that the majority of the committee ranks A higher than B. and let G and H be its centroid and orthocenter. 145 . we guess the color of the ball being drawn. Does it follow that the majority of the committee ranks A higher than C? 2. Find the maximum possible number of pairwise coprime numbers among them. Construct (with straightedge and compass) a point P on the circle such that K is the midpoint of the intersection of the part of the segment CD lying inside triangle ABP . We are given 1997 distinct positive integers. and also that the majority of the commitee ranks B higher than C. B. 6.10 Hungary 1. which we draw from the box in some order without replacement. 7. Find all solutions in integers of the equation x3 + (x + 1)3 + (x + 2)3 + · · · + (x + 7)3 = y 3 . A box contains 4 white balls and 4 red balls. Show that AF 2 + BF 2 + CF 2 = 3R2 . 8. b. What is the expected number of correct guesses? 5. We are given 111 unit vectors in the plane whose sum is zero. c be the sides. 2 3. any 10 of which have the same least common multiple. db . dc the distances from the vertices to the orthocenter in an acute triangle.

. . nk such that n1 w1 + · · · + nk wk > 0 and that for any permutation π of {1. j) such that Aii = 1 for all i. Let A be a matrix of zeroes and ones which is symmetric (Aij = Aji for all i. Suppose the point P varies along the arc BC of the circumcircle of triangle ABC. Suppose w1 . . we have n1 wπ(1) + · · · + nk wπ(k) < 0. . Prove that f (f (x)) = x.11 Iran 1.3. wk are distinct real numbers with nonzero sum. Prove that (a) the circumcircle of P I1 I2 passes through a fixed point. 4. . . . (b) the circle with diameter I1 I2 passes through a fixed point. 2. Prove that there exist integers n1 . . I2 be the respective incenters of the triangles P AB. (c) the midpoint of I1 I2 lies on a fixed circle. Show that there exists a subset of the rows whose sum is a vector all of whose components are odd. . . Suppose f : R+ → R+ is a decreasing continuous function such that for all x. P AC. and let I1 . 3. y ∈ R+ . . . f (x + y) + f (f (x) + f (y)) = f (f (x + f (y))) + f (y + f (x)). k} not equal to the identity. 146 .

12 Ireland 1. Find the locus of points M such that ∠F DE = π/2. Let S = {3. find the length of AD. Prove that A contains either a power of 2. respectively. Determine the number of natural numbers n satisfying the following conditions: (a) The decimal expansion of n contains 1000 digits. Prove that a2 + b2 + c2 ≥ abc. . . (b) Prove that if a. c be nonnegative real numbers such that a + b + c ≥ abc. 147 . For M inside the triangle. 5. Let ABC be an equilateral triangle. (c) The absolute value of the difference between any two adjacent digits of n is 2. . If ∠A = ∠B = 2π/3. 7. For x ∈ S. Find all polynomials p(x) such that for all x. . CA. 1997} containing more than 1000 elements. b. then a ∗ b ∈ S. 3. let D. 6. . 7. b ∈ S.3. y) of integers such that 1 + 1996x + 1998y = xy. AB. b. Let ABCD be a convex quadrilateral with an inscribed circle. b ∈ S. F be the feet of the perpendiculars from M to BC. 1. Let a. (x − 16)p(2x) = 16(x − 1)p(x). let δ(x) be the unique integer such that 2δ(x) < x < 2δ(x)+1 . 5. Find all pairs (x. . (a) Prove that if a.}. . then (a ∗ b) ∗ c = a ∗ (b ∗ c). 4. c ∈ S. ∠D = π/2 and BC = 1. 2. or two distinct integers whose sum is a power of 2. E. (b) All of the digits of n are odd. Let A be a subset of {0. For a. define a ∗ b = 2δ(a)−1 (b − 3) + a. 8.

(a) f (10 + x) = f (10 − x). 3. Let X be the set of natural numbers whose decimal representations have no repeated digits. Let a be the length of AB and let S be the area of the projection of the tetrahedron onto a plane perpendicular to AB.3. let An be the set of numbers whose digits are a permutation of the digits of n. (b) each line parallel to the angle bisector of the quadrant at the origin passes through only finitely many colored squares? 4. (b) f (20 + x) = −f (20 − x). The positive quadrant of a coordinate plane is divided into unit squares by lattice lines. and let dn be the greatest common divisor of the numbers in An . 148 . Find the largest possible value of dn . What is the least possible area of the region where the paper covers itself? 2. Prove that f is odd (f (−x) = −f (x)) and periodic (there exists T > 0 such that f (x + T ) = f (x)). Let ABCD be a tetrahedron. A rectangular strip of paper 3 centimeters wide is folded exactly once. Determine the volume of the tetrahedron in terms of a and S. Is it possible to color some of the unit squares so as to satisfy the following conditions: (a) each square with one vertex at the origin and sides parallel to the axes contains more colored than uncolored squares. For n ∈ X. 5.13 Italy 1. Let f be a real-valued function such that for any real x.

there exist two at distance less than 2 from each other. C.14 Japan 1. Let a. D be four points in space not lying in a plane. What is the minimum possible number of edges in G? 4. 5. Suppose given any five points of G. 3. Let G be a graph with 9 vertices. C. 149 . there exist at least 2 edges with both endpoints among the five points. 2. Prove the inequality (b + c − a)2 (c + a − b)2 (a + b − c)2 3 + + ≥ . c be positive integers. Suppose AX + BX + CX + DX is minimized at a point X = X0 distinct from A. 2 + a2 2 + b2 (b + c) (c + a) (a + b)2 + c2 5 and determine when equality holds. D.3. Let n be a positive integer. Show that one can assign to each vertex of a 2n -gon one of the letters A or B such that the sequences of n letters obtained by starting at a vertex and reading counterclockwise are all distinct. B. b. Prove that ∠AX0 B = ∠CX0 D. B. Let A. Prove that among any ten points located in a circle of diameter 5.

. y. Show that f (n) = 1 for all n ∈ N. 150 . 4. In an acute triangle ABC with AB = AC. . .3. . . . . where αj ∈ {−1. f (n0 ) = 1. there √ exist two whose distance is at most 2. . CF concur. √ √ n 3. Find all integers x. z satisfying x2 + y 2 + z 2 − 2xyz = 0. . Find the smallest integer k such that there exist two sequences {ai }. Let A be the second endpoint of the diameter of C1 passing through the center of C.15 Korea 1. Let An be the set of all real numbers of the form 1+ √1 + (√2)2 +· · ·+ 2 α √ n . and let C1 be the circle touching the same edges and passing through the center of C. ai . 6. . . and find the sum of all products of two distinct elements of An . ai = bi . k) such that (a) For i = 1. {bi } (i = 1. Show that among any four points contained in a unit circle. f (n + f (n)) = f (n). If E and F are the intersections of the circumcircle of AV D with CA and AB. . Let C be a circle touching the edges of an angle ∠XOY .}. (b) For i = 1. and let D be the foot of the perpendicular from A to BC. Let f : N → N be a function satisfying (a) For every n ∈ N. k. 8. . and let B be the intersection of this diameter with C. show that the lines AD. BE. . . 1996. Express k=1 k in terms of n and a = n . Find the number of elements ( 2)n of An . . α α2 7. 19962 . Prove that the circle centered at A passing through B touches the edges of ∠XOY . k. 5. k − 1. let V be the intersection of the angle bisector of A with BC. (c) For i = 1. ai ≤ ai+1 and bi ≤ bi+1 . . respectively. (d) k i=1 ai = k i=1 bi . . bi ∈ {1. 2. (b) For some n0 ∈ N. . 1} for each j.

G 2(n−1) − n−2 + n n A n . r 1 151 . Show that the number of words differing from each of x and y in at least five places is 188. show that (b) If n is odd. y ∈ R. y) of integers satisfying x3 + y 3 = pn1 · · · pnr is at most 2r−1 . and let n1 . . . each equal to 0 or 1. . . G 12. then f (x) < f (y). . A word is a sequence of 8 digits. 10. nr be arbitrary natural numbers. Let p1 . an be positive numbers. . (b) for all x. a−1 + · · · + a−1 n 1 A H A H (a) If n is even. Let x and y be two words differing in exactly three places. . and define A = G H = = a1 + · · · + an n (a1 · · · an )1/n n . . . . Find all pairs of functions f. pr be distinct primes. g : R → R such that (a) if x < y. . show that ≤ −1 + ≤ A n . f (xy) = g(y)f (x) + f (y). Prove that the number of pairs (x. . 11. Let a1 .9.

. 3. . an = a n/2 + (−1)n(n+1)/2 n > 1. a2 . Show that ∠F CE = ∠F DE and ∠F EC = ∠BDC. 2.3. Given a convex pentagon ABCDE with DC = DE and ∠BCD = ∠DEA = π/2. y. . BCD from D make equal angles with the corresponding edges AB. Consider n points (n ≥ 2) on a unit circle. 5. ACD. z: 3(x2 + y 2 + z 2 ) = 1 x y + y 2 z 2 + z 2 x2 = xyz(x + y + z)3 . 4. let F be the point on segment AB such that AF/BF = AE/BC. Solve the following system of equations in real numbers x.16 Poland 1. find the number of n such that 2k ≤ n < 2k+1 and an = 0. The positive integers x1 . 6. x7 satisfy the conditions x6 = 144. . 4. In a tetrahedron ABCD. . . is defined by a1 = 0. Show that at most n2 /3 of the segments √ with endpoints among the n chosen points have length greater than 2. 3. . For every integer k ≥ 0. BC. 2. Prove that each of these faces has area less than the sum of the areas of the other two faces. the medians of the faces ABD. The sequence a1 . Compute x7 . 2 2 xn+3 = xn+2 (xn+1 + xn ) n = 1. 152 . AC.

there exists a subset B of A. Let n ≥ 4 be an integer and M a set of n points in the plane. Prove that the triangle formed by the centers of the circles is obtuse. In the plane are given a line ∆ and three circles tangent to ∆ and externally tangent to each other. 6. then p ∈ A. respectively. BD and to ω. . Let A be the set of positive integers representable in the form a2 +2b2 for integers a. r be distinct prime numbers and let A be the set A = {pa q b rc : 0 ≤ a. Prove that Π is parallel to the base of the pyramid. the sum of whose elements is n. AD. Suppose that the polygons A1 · · · An and B1 · · · Bn are similar. . c ≤ 5}. . 5. Show that if p2 ∈ A for a prime p. . q. none of whose elements contain the digit k when written in base p. P ∈M ∩C 4. 153 . AD. 2.3. and find all possible measures of the obtuse angle. Find the smallest integer n such that any n-element subset of A contains two distinct elements x. 8. A plane Π intersects the edges V A1 . b. b with b = 0. . DC. Let p. Determine all sets A of nine positive integers such that for any n ≥ 500. . . Let V A1 · · · An be a pyramid with n ≥ 4. . . Let ABC be a triangle. f (P ) = 0. . . Show that the circles tangent to ω. no three collinear and not all lying on a circle. y such that x divides y. 7. Find all functions f : M → R such that for any circle C containing at least three points of M . Let p ≥ 5 be a prime and choose k ∈ {0. Bn . 3. Find the maximum length of an arithmetic progression. . V An at B1 . respectively. are tangent to each other if and only if ∠BAD = ∠CAD.17 Romania 1. p − 1}. D a point on side BC and ω the circumcircle of ABC.

Prove that there exist infinitely many pairs x. f (x2 + y 2 ) = f (x2 − y 2 ) + f (2xy). Given a point P0 . Determine whether there exists a bijective function f : P → D such that for any three collinear points A.9. define the sequence Pn+1 = f (Pn ) for n ≥ 0. Find the number of ways to color the vertices of a regular dodecagon in two colors so that no set of vertices of a single color form a regular polygon. 11. Let Γ be a circle and AB a line not meeting Γ. . U be the intersections of the lines BC and DE. Suppose P and Q have respective roots α and β such that α + β is rational. then BC/U S = DE/ST = F A/T U . Let P (x). any two members of which are relatively prime. n − 1. . ∞) such that for all x. Suppose that ak = an−k for k = 1. let P be the second intersection of the line AP with Γ and let f (P ) be the second intersection of the line BP with Γ. C. Let P. 10. 154 . y ∈ R. Prove that the polynomial P (x)2 − Q(x)2 has a rational root. 16. Let P be the set of points in the plane and D the set of lines ithe plane. DE and F A. . 13. Find all functions f : R → [0. y of positive integers such that x|P (y) and y|P (x). . T. f (C) are either parallel or concurrent. Q. CD and AB. a3 + a2 − 1. . Let ABCDEF be a convex hexagon. then P0 = Pk for all choices of P0 . respectively. . For any point P ∈ Γ. Show that the set {a2 + a − 1. 2. 14. EF and CD. . R be the intersections of the lines AB and EF . 12. the lines f (A). F A and BC.} contains an infinite subset. respectively. Show that if AB/P R = CD/RQ = EF/QP . Show that if a positive integer k satisfies P0 = Pk for a single choice of P0 . Let a > 1 be an integer. Let n ≥ 2 be an integer and P (x) = xn + an−1 xn−1 + · · · + a1 x + 1 be a polynomial with positive integer coefficients. Q(x) be monic irreducible polynomials over the rational numbers. 15. f (B). B. Let S.

no orders are given. K2 . Prove that the area of ABC is covered by the three squares. Now what is the smallest number of cars the family needs to have access to 10 cars each day? 155 . (a) In Mexico City. what is the third number? 6. the sum of the numbers of his immediate superiors and of his immediate inferiors is 7. On Monday.18 Russia 1. but not in a circle. 7. The sides of the acute triangle ABC are diagonals of the squares K1 . A family needs to have use of at least 10 cars each day. A company has 50000 employees. 4. If the first number is 37 and the second number is 1. each worker takes all of the orders he received on the previous day and either gives copies of them to all of his immediate inferiors if he has any. Show that the angle between the lines DM and KE equals π/3. Find all paris of prime numbers p. 2. What is the smallest number of cars they must possess. The numbers from 1 to 37 are written in a line so that each number divides the sum of the previous numbers. Each day thereafter. Show that the numbers from 1 to 16 can be written in a line. if they may choose the restricted days for each car? (b) The law is changed to restrict each car only one day per week. 3. K3 . and on side AC are chosen points E and M . for each private car are designated two days of the week on which that car cannot be driven on the streets of the city. It turns out that on Friday. so that DA + AE = KC + CM = AB. each worker issues an order and gives copies of it to each of his immediate inferiors (if he has any). or otherwise carries them out himself. q such that p3 − q 5 = (p + q)2 . so that the sum of any two adjacent numbers is a perfect square. For each employee. to restrict traffic flow. Show that there are at least 97 employees who have no immediate superiors. On equal sides AB and BC of an equilateral triangle ABC are chosen points D and K.3. The family bribes the police so that for each car. they will restrict one of two days chosen by the family. but the police get to choose the days. 5.

Initially the memory contains a single number x. C1 parallel to the angle bisectors of A. 9. lC be the respective lines through A1 . 13. find the real roots of x2 + ax + b. 11.8. ABC. Show that lA . B1 . Two players take turns erasing a number from the board. a finite number of (finite) sequences of digits are forbidden. B. lC are concurrent. C1 be the midpoints of the broken lines CAB. It is known that there exists an infinite decimal fraction. Show that the apples may be divided into groups of 4 such that no group weighs more than 11/2 times any other group. How can one determine. BCA. The game ends when two numbers remain: the first player wins if the sum of these numbers is divisible by 3. (b) A collection of 100 numbers has the same property. lB . Let lA . Prove that the product of the numbers is positive. the same collection of numbers is obtained. (a) A collection of 1997 numbers has the property that if each number is subtracted from the sum of the remaining numbers. Prove that at least one of the triangles is acute. In Robotland. 12. Which player has a winning strategy? 10. not containing any forbidden sequences. whether x is equal to 1? 156 . no one of which weighs more than 3 times any other. 300 apples are given. Given triangle ABC. C. The results of each operation are accumulated in memory. the second player wins otherwise. B1 . Show that there exists an infinite periodic decimal fraction. not containing any forbidden sequences. The MK-97 calculator can perform the following three operations on numbers in its memory: (a) Determine whether two chosen numbers are equal. using the MK-97. A regular 1997-gon is divided by nonintersecting diagonals into triangles. On a chalkboard are written the numbers from 1 to 1000. lB . let A1 . respectively. or announce that no real roots exist. (c) For chosen numbers a and b. (b) Add two chosen numbers together. Prove that the product of the numbers is 0. 14.

such that the solid angles of the triangular pyramid are congruent to four of the solid angles of the n-sided pyramid? 23. The circles S1 and S2 intersect at M and N . we have the inequality P (xy)2 ≤ P (x2 )P (y 2 ). 17. Can three faces of a cube of side length 4 be covered with 16 1 × 3 rectangles? 18. Show that for any real numbers x and y. The vertices of triangle ABC lie inside a square K. A ∪ B is also a faction. Show that if the triangle is rotated 180◦ about its centroids. 21. the complement of A∪B is also a faction. The members of Congress form various overlapping factions such that given any two (not necessarily distinct) factions A and B. Show that there exist infinitely many natural numbers n such that S(3n ) ≥ S(3n+1 ). For natural numbers m. Do there exist pyramids. Let P (x) be a quadratic polynomial with nonnegative coefficients. Show that for any two factions A and B. show that 2n − 1 divides (2m − 1)2 if and only if n divides m(2m − 1). then loga (loga b) + logb (logb c) + logc (logc a) > 0. 157 . one with a triangular base and one with a convex n-sided base (n ≥ 4).15. then the intersection of the diagonals of the rectangle lies on the line M N . 16. at least one vertex remains inside the square. Show that if 1 < a < b < c. Show that if vertices A and C of a rectangle ABCD lie on S1 while vertices B and D lie on S2 . 19. For which α does there exist a nonconstant function f : R → R such that f (α(x + y)) = f (x) + f (y)? 24. Let S(N ) denote the sum of the digits of the natural number N . 22. 20. n.

Find the smallest value of S for which this is possible. The line through A parallel to M N meets N K at E. Now what is the smallest number of sages guaranteed to survive? 27. c are natural numbers) are completely covered without overlap by rectangles whose edges are parallel to the edges of the box. The day before. The numbers from 1 to 100 are arranged in a 10 × 10 table so that no two adjacent numbers sum to S. K. Prove that if c is odd. show that √ there exist two circles. N. black and red. Afterward. It turns out that each number from 0 to 10 occurs among the answers.25. Show that the line DE bisects sides AB and AC of triangle ABC. Given a convex polygon M invariant under a 90◦ rotation. Do there exist real numbers b and c such that each of the equations x2 + bx + c = 0 and 2x2 + (b + 1)x + c + 1 = 0 have two integer roots? 29. 26. Each sage can see the color of the hats of the sages in front of him. respectively. b. Then one by one (in an order of their choosing). and how many have his last name. but not of his own hat or of the hats of the sages behind him. 31. Show that there are two students in the class with the same first and last name. the ratio of whose radii is 2. BC. The incircle of triangle ABC touches sides AB. the Council meets and decides to minimize the number of executions. each sage guesses a color. the king executes those sages who did not correctly guess the color of their own hat. The line through A parallel to N K meets M N at D. (a) The Judgment of the Council of Sages proceeds as follows: the king arranges the sages in a line and places either a white hat or a black hat on each sage’s head. 28. Each student is asked how many other students in the class have his first name. one containing M and the other contained in M . each containing an odd number of unit squares. The lateral sides of a box with base a×b and height c (where a. A class consists of 33 students. What is the smallest number of sages guaranteed to survive in this case? (b) The king decides to use three colors of hats: white. CA at M. 158 . 30. then the number of rectangles covering lateral edges of the box is even.

Two circles intersect at A and B. Some of the cells are then colored black. 38. (b) Remove two stones from square n and place one stone on each of the squares n + 1. are placed several stones (more than one may be placed on a single square). We perform a sequence of moves of one of the following types: (a) Remove one stone from each of the squares n − 1 and n and place one stone on square n + 1. n. l of natural numbers such that m + n = gcd(m. and moreover that this position is independent of the sequence of moves. m + l = gcd(m. AB. Do there exist two quadratic trinomials ax2 + bx + c and (a + 1)x2 + (b + 1)x + (c + 1) with integer coefficients.32. Let M and N be the midpoints of the arcs BC and BD not containing A. n − 2. M. D. Find all integer solutions of the equation (x2 − y 2 )2 = 1 + 16y. K are collinear. both of which have two integer roots? 37. Prove that it cannot be divided into 100 triangles. respectively. indexed by the natural numbers. A line through A meets the first circle again at C and the second circle again at D. 159 . but not into 99. and let K be the midpoint of the segment CD.) 35. An n × n square grid (n ≥ 3) is rolled into a cylinder. Show that ∠M KN = π/2. vertical or diagonal) of cells containing the same number of black cells. Find all triples m. BC at K. On an infinite (in both directions) strip of squares. 36. l)2 . A circle centered at O and inscribed in triangle ABC meets sides AC. Prove that any sequence of such moves will lead to a position in which no further moves can be made. l)2 . 34. 33. The median BB1 of the triangle meets M N at D. N . A polygon can be divided into 100 rectangles. Show that O. n)2 . Show that there exist two parallel lines (horizontal. 39. n + l = gcd(n. (You may assume that C and D lie on opposite sides of A.

43. Show that the tetrahedron is regular. while each nondistinguished face has an even number of edges of each color. Show that by a sequence of such moves. It is permitted to slide a domino towards the empty square. and a third face at the intersection of its medians. a second face at the intersection of its altitudes. Prove that the edges of the unit cubes may be colored in two colors so that each distinguished face has an odd number of edges of each color. 41. 160 . thus exposing another square. where m and n are odd integers. The faces of unit cubes which intersect the polygon are said to be distinguished. In an m × n rectangular grid. a line l and a point P on l in general position: all lines containing a side of the polygon meet l at distinct points differing from P .40. we can move the empty square to any corner of the rectangle. We are given a polygon. each of whose sides joins the centers of two unit cubes sharing a common face. which are there more of: those having integer roots or those not having real roots? 42. 44. A sphere inscribed in a tetrahedron touches one face at the intersection of its angle bisectors. We mark each vertex of the polygon whose sides both meet the line l at points differing from P . We are given a closed non-self-intersecting polygon (in space). Show that P lies inside the polygon if and only if for each choice of l there are an odd number of marked vertices. 1 × 2 dominoes are initially placed so as to exactly cover all but one of the 1 × 1 squares at one corner of the grid. q are integers and 1 ≤ p. Of the quadratic trinomials x2 + px + q where p. q ≤ 1997. An n × n × n cube is divided into unit cubes.

is formed such that at each stage. A particle moves along a straight line from P to a point Q on the circle under the influence of gravity. respectively. .3. Find all functions f : Z → Z which satisfy f (m + f (n)) = f (m) + n for all m. That is.19 South Africa 1. A2 B2 C2 . ∠Ak Bk Ck → 60◦ . 2. when the first digit is moved to the end. A circle and a point P above the circle lie in a vertical plane. . Find all natural numbers with the property that. the resulting number is 3 1 times the original 2 one. From an initial triangle A0 B0 C0 a sequence A1 B1 C1 . 5. . Ak+1 . 3. (b) Deduce that as k → ∞. all of the same color? 161 . Ck Ak . Six points are joined pairwise by red or blue segments. the distance traveled from P in time t equals 1 gt2 sin α. (a) Express ∠Ak+1 Bk+1 Ck+1 in terms of ∠Ak Bk Ck . Bk+1 . Ck+1 are the points where the incircle of Ak Bk Ck touches the sides Bk Ck . 4. Describe (geometrically) the point Q for which the time taken to move from P to Q is minimized. where g is a constant and α is the angle 2 between P Q and the horizontal. Ak Bk . n ∈ Z. Must there exist a closed path consisting of four of the segments.

. Show that in any convex quadrilateral of area 1. given that the sum of the first 100 terms is −1 and that the sum of the second. 4. Calculate the sum of the squares of the first 100 terms of an arithmetic progression. . fourth.20 Spain 1. Show that all of the circles pass through a single point. Prove that there exists a position starting at which the car. beginning with an empty tank of gas. a circle through these points is drawn. The exact quantity of gas needed for a car to complete a single loop around a track is distributed among n containers placed along the track. (Assume the car can hold unlimited quantities of gas. Let p be a prime number. .) 162 . . 3. 2. 6. Let A be a set of 16 lattice points forming a square with 4 points on a side.3.√ the sum of the lengths of the sides and diagonals is at least 2(2 + 2). and the hundredth terms is 1. Find the maximum number of points of A no three of which form an isosceles right triangle. can complete a single loop around the track without running out of gas. k 2 − pk is a 5. Find all k ∈ Z such that positive integer. For each parabola y = x2 + px + q meeting the coordinate axes in three distinct points.

Find all possible points C in the plane such that in the triangle ABC.21 Taiwan 1. . Show that every integer of the form 2p 3q . Let AB be a given line segment. . b. Let k = 22 + 1 for some positive integer n. Determine all positive integers k for which there exists a function f : N → Z such that (a) f (1997) = 1998. . . Let a be a rational number. ACD. Let X be the set of integers of the form a2k 102k + a2k−2 102k−2 + · · · + a2 102 + a0 . . c. n 163 . an satisfies ai−1 +ai+1 = ki ai for some sequence k1 . ABD. . 7. ACD. . kn of positive integers. AC = BD. Show that f is periodic. d be real numbers. and suppose that the sequence a1 . a2 . . BCD are acute. the altitude from A and the median from B have the same length. Let ABCD be a tetrahedron. AC = BD. and f : R → [−1. 6. 2. ABD. AD = BC. . (b) If ABC. 2k. Show that (a) If AB = CD. .3. . Let n ≥ 3 be an integer. . . . 4. (Here a0 = an and an+1 = a1 . where k is a nonnegative integer and a2i ∈ {1. .) Show that 2n ≤ k1 + k2 + · · · + kn ≤ 3n. BCD have the same area. 3. divides some element of X. then the triangles ABC. k2 . then AB = CD. that is. 1] a function satisfying f (x + a + b) − f (x + b) = c x + 2a + x − 2 x + a − b +d for each x ∈ R. 9} for i = 0. 5. . there exists p > 0 such that f (x + p) = f (x) for all x ∈ R. Show that k is a prime if and only if k is a factor of 3(k−1)/2 + 1. 2. AD = BC. for p and q nonnegative integers. 2.

(b) for all a. Show that OD · OE · OF ≥ 8R3 . Let AO meet the circumcircle of OBC again at D. Let ABC be an acute triangle with circumcenter O and circumradius R. . BO meet the circumcircle of OCA again at E. Show that there exists a subset Mk of X with at least log2 n + 1 elements containing no subset in Fk . 164 . 9. . n} and let Fk be a family of kelement subsets of X such that any two subsets in Fk have at most k − 2 common elements. 8. b ∈ N. 2. and CO meet the circumcircle of OAB again at F . b)). For n ≥ k ≥ 3. f (ab) = f (a) + f (b) + kf (gcd(a. let X = {1. . .

3.22

Turkey

1. In a triangle ABC with a right angle at A, let H denote the foot of the altitude from A. Show that the sum of the inradii of the triangles ABC, ABH, ACH equals AH. 2. The sequences {an }∞ , {bn }∞ are defined as follows: a1 = α, n=1 n=1 b1 = β, an+1 = αan − βbn , bn+1 = βan + αbn for all n ≥ 1. How many pairs (α, β) of real numbers are there such that a1997 = b1 and b1997 = a1 ? 3. In a soccer league, when a player moves from a team X with x players to a team Y with y players, the federation receives y − x million dollars from Y if y ≥ x, but pays x − y million dollars to X if x > y. A player may move as often as he wishes during a season. The league consists of 18 teams, each of which begins a certain season with 20 players. At the end of the season, 12 teams end up with 20 players, while the other 6 end up with 16, 16, 21, 22, 22, 23 players. What is the maximum amount the federation could have earned during the season? 4. The edge AE of a convex pentagon ABCDE with vertices on a unit circle passes through the center of the circle. If AB = a, BC = b, CD = c, DE = d and ab = cd = 1/4, compute AC + CE in terms of a, b, c, d. 5. Prove that for each prime p ≥ 7, there exists a positive integer n and integers x1 , . . . , xn , y1 , . . . , yn not divisible by p such that
2 x2 + y1 1 2 x2 + y2 2

2 x2 + yn n

≡ x2 (mod p) 2 ≡ x2 (mod p) 3 . . . ≡ x2 (mod p). 1

6. Given an integer n ≥ 2, find the minimal value of x5 x5 x5 n 2 1 + + ··· + x2 + x3 + · · · + xn x3 + · · · + xn + x1 x1 + · · · + xn−1 for positive real numbers x1 , . . . , xn subject to the condition x2 + 1 · · · + x2 = 1. n

165

3.23

Ukraine

1. A rectangular grid is colored in checkerboard fashion, and each cell contains an integer. It is given that the sum of the numbers in each row and the sum of the numbers in each column is even. Prove that the sum of all numbers in black cells is even. 2. Find all solutions in real numbers to the following system of equations: x1 + x2 + · · · + x1997 x4 + x4 + · · · + x1997 1 2 4 = 1997 = x3 + x3 + · · · + x3 . 1 2 1997

3. Let d(n) denote the greatest odd divisor of the natural number n. We define the function f : N → N such that f (2n − 1) = 2n and f (2n) = 2n n + d(n) for all n ∈ N. Find all k such that f (f (· · · f (1) · · ·)) = 1997, where f is iterated k times. 4. Two regular pentagons ABCDE and AEKP L are situated in space so that ∠DAK = 60◦ . Prove that the planes ACK and BAL are perpendicular. 5. The equation ax3 + bx2 + cx + d = 0 is known to have three distinct real roots. How many real roots are there of the equation 4(ax3 + bx2 + cx + d)(3ax + b) = (3ax2 + 2bx + c)2 ? 6. Let Q+ denote the set of positive rational numbers. Find all functions f : Q+ → Q+ such that for all x ∈ Q+ : (a) f (x + 1) = f (x) + 1; (b) f (x2 ) = f (x)2 . 7. Find the smallest integer n such that among any n integers, there exist 18 integers whose sum is divisible by 18. 8. Points K, L, M, N lie on the edges AB, BC, CD, DA of a (not necessarily right) parallelepiped ABCDA1 B1 C1 D1 . Prove that the centers of the circumscribed spheres of the tetrahedra A1 AKN , B1 BKL, C1 CLM , D1 DM N are the vertices of a parallelogram.

166

3.24

United Kingdom

1. (a) Let M and N be two 9-digit positive integers with the property that if any one digit of M is replaced by the digit of N in the corresponding place, the resulting integer is a multiple of 7. Prove that any number obtained by replacing a digit of N with the corresponding digit of M is also a multiple of 7. (b) Find an integer d > 9 such that the above result remains true when M and N are two d-digit positive integers. 2. In acute triangle ABC, CF is an altitude, with F on AB, and BM is a median, with M on CA. Given that BM = CF and ∠M BC = ∠F CA, prove that the triangle ABC is equilateral. 3. Find the number of polynomials of degree 5 with distinct coefficients from the set {1, 2, . . . , 9} that are divisible by x2 − x + 1. 4. The set S = {1/r : r = 1, 2, 3, . . .} of reciprocals of the positive integers contains arithmetic progressions of various lengths. For instance, 1/20, 1/8, 1/5 is such a progression, of length 3 and common difference 3/40. Moreover, this is a maximal progression in S of length 3 since it cannot be extended to the left or right within S (−1/40 and 11/40 not being members of S). (a) Find a maximal progression in S of length 1996. (b) Is there a maximal progression in S of length 1997?

167

and let x0 be a real number between 0 and 1. define xk = 0 if xk−1 = 0. . . DE. Show that there exists a real number x such that an = nx for all 1 ≤ n ≤ 1997. respectively. F D. 4. one cuts off the triangle M BN to obtain a convex (n + 1)-gon. all x0 satisfying 0 < x0 < 1 for which the sequence x0 . for all positive real numbers a. and draw isosceles triangles BCD. To clip a convex n-gon means to choose a pair of consecutive sides AB. for all n ≥ 6. CA. a2 . . be the prime numbers listed in increasing order. Prove that. Suppose the sequence of nonnegative integers a1 .3. BC and to replace them by the three segments AM. with proof. 6. p3 . Prove that the lines through A. where {x} = x − x denotes the fractional part of x. 3. there exists a unique polynomial Q with coefficients in {0. Prove that for any integer n. . are concurrent. Then P7 is clipped (in one of the seven possible ways) to obtain an octagon P8 . In other words. AB as their respective bases. Let p1 . For positive integer k. Find. 2. . j ≥ 1 with i + j ≤ 1997. 5. eventually becomes 0. and so on. and N C. CAE. p2 . . .25 United States of America 1. . . M N . . Prove that no matter how the clippings are done. . pk xk−1 if xk−1 = 0. . with BC. (a3 + b3 + abc)−1 + (b3 + c3 + abc)−1 + (c3 + a3 + abc)−1 ≤ (abc)−1 . c. where M is the midpoint of AB and N is the midpoint of BC. a1997 satisfies ai + aj ≤ ai+j ≤ ai + aj + 1 for all i. A regular hexagon P6 of area 1 is clipped to obtain a heptagon P7 . . 1. x1 . 168 . Let ABC be a triangle. x2 . ABF externally to ABC. C perpendicular to the lines EF. the area of Pn is greater than 1/3. b. B. . 9} such that Q(−2) = Q(−5) = n.

k. and any arc whose endpoints are blue but contains no blue points in its interior contains exactly p red points. . . . a2 . Find all pairs (a. aα does not exceed the greatest common n divisor of the set {ai + aj : i + j = n}. Let f : N → Z be the function defined by f (0) = 2. k pi | 2t i=1 if and only if k | 2t . sk be integers not less than k. . and let pi be a prime divisor of f (2si ) for i = 1. 3. . Prove that for t = 1. and any two nonadjacent vertices are both adjacent to some third vertex. Determine the smallest integer k for which there exists a graph on 25 vertices such that every vertex is adjacent to exactly k others. 2. For k ∈ N. f (1) = 503. . 5. Let n. f (n + 2) = 503f (n + 1) − 1996f (n).26 Vietnam 1. . Find the largest real number α for which there exists an infinite sequence a1 . (a) For each n ∈ N. . so that exactly k points are colored blue. (b) For every n ≥ 2. p be positive integers such that k ≥ 2 and k(p + 1) ≤ n. . .3. b) of positive reals such that for every n ∈ N and every real number x satisfying 4n2 x = log2 (2n2 x + 1). . let s1 . k. . k. Determine the number of ways to color n labeled points on a circle in blue or red. 4. . 169 . . of positive integers satisfying the following properties. . we have ax + bx ≥ 2 + 3x. an > 1997n .

Persons A1 . .1 1997 Regional Contests: Problems Asian Pacific Mathematics Olympiad 1 1+ 1 1+ 1 3 1. determine the locus of P as A2 varies. It is desired to redistribute the objects so that each person holds the same number. . objects may only be passed from one person to either of her two neighbors.4 4. 5. For n ≥ 3. . and each person Ai holds a number ai of objects. sin2 A sin2 B sin2 C with equality if and only if ABC is equilateral. 2. 4. mb . (a) Show that there is a unique point P in the plane interior to the triangles An−2 An−1 An for all n ≥ 3. Prove that S > 1001. mc are the lengths of the internal angle bisectors and Ma . Let S =1+ 1 3 + + 1 6 + ··· + 1+ 1 3 + 1 6 1 + ··· + 1 1993006 . Mc are the lengths of the extensions of the internal angle bisectors to the circumcircle. lc = . Prove that la lb lc + + ≥ 3. . where the denominators contain partial sums of the sequence of reciprocals of triangular numbers. An (n ≥ 3) are seated in a circle in that order. Let ABC be a triangle and let la = ma mb mc . The triangle A1 A2 A3 has a right angle at A3 . such that (a1 + · · · + an )/n is an integer. Mb . How should the redistribution take place so as to minimize the number of passes? 170 . let An+1 be the foot of the perpendicular from An to An−1 An−2 . lb = . 3. Ma Mb Mc where ma . (b) For fixed A1 and A3 . Find an integer n with 100 ≤ n ≤ 1997 such that n divides 2n + 2.

b are erased and 2ab − a − b + 1 is written in their place. C that of S2 and T1 . D are concyclic if and only if l1 and l2 are perpendicular. 8. B. y) to (x . p2 . and D that of S2 and T2 . Let P be the intersection of lines l1 and l2 . two numbers a. the diagonals AC and BD intersect at E. q ∈ Z. and consider an m×n checkerboard with a checker on each of its mn squares. no two of which are disjoint. n.2 Austrian-Polish Mathematical Competition 1. the sides AB and CD are parallel. C. and let T1 and T2 be two circles externally tangent at P and both tangent to l2 . 6. 2. 4. At each step. In a convex quadrilateral ABCD. y. y ) if and only if |x−x | = p and |y −y | = q. Show that the points A. Determine all possible such numbers. Let A be the second intersection of S1 and T1 . 5. B that of S1 and T2 . (a) Prove that for all p.4. Let p1 . p3 . Prove there does not exist a cubic polynomial Q(x) with integer coefficients such that |Q(p1 )| = |Q(p2 )| = |Q(p3 )| = |Q(p4 )| = 3. q ∈ R. 97. a single number remains on the blackboard. p2 + q 2 + 1 > p(q + 1). Let S1 and S2 be two circles externally tangent at P and both tangent to l1 . Find the biggest integer k such that there exists a k-element family of three-element subsets of M . p. 7. Prove that the midpoint of GF lies on the line through E perpendicular to AB. 171 . 2. and the triangles EBC and EAD have respective orthocenters F and G. (c) Determine the largest real number x such that p2 + q 2 + 1 > bp(q + 1) for all p. Let n be a natural number and M a set with n elements. . How many ways can all of the pieces be moved simultaneously so that one piece ends up on each square? 3. Let m. p4 be distinct primes. On a blackbroad are written the numbers 48/k with k = 1. q ∈ R. . . q be positive integers. A piece can be moved from (x. Prove there does not exist f : Z → Z such that f (x+f (y)) = f (x)−y for all integers x. (b) Determine the largest real number x such that p2 + q 2 + 1 > bp(q + 1) for all p. . After 96 steps.

4 3 172 . Prove that the volume of Pt is V + St + π 2 4π 3 Lt + t . For t ≥ 0.9. and let L be the sum of the lengths of the edges of P . let Pt be the set of points which lie at distance at most t from some point of P . Let P be a parallelepiped with volume V and surface area S.

y.4. In a certain language there are only two letters. such that |BK| = |AL|. each member exchanges letters with precisely three other members of the community. In a community of more than six people. (b) A sequence of letters X1 X2 · · · Xn Xn+1 . Let P be the intersection of the segmentns BL and CK. Determine the ratio |AK| : |KB| if it is known that the segments AP and CK are perpendicular. (b) 1998. Is it possible to place 100 solid balls in space so that no two of them have a common interior point. 4.3 Czech-Slovak Match 1. Points K and L are chosen on its sides AB and AC. The words of this language obey the following rules: (a) The only word of length 1 is A. 173 . B} for each i. and each of them touches at least one-third of the others? 5. where Xi ∈ {A. 3. A and B. An equilateral triangle ABC is given. Find all functions f : R → R such that the equality f (f (x) + y) = f (x2 − y) + 4f (x)y holds for all pairs of real numbers x. is a word if and only if it contains at least one A but is not of the form X1 X2 · · · Xn A where X1 X2 · · · Xn is a word. Show that there are precisely 3995 − 1 words which do not begin 1997 with AA and which are composed of 1998 A’s and 1998 B’s. 2. Several integers are given (some of them may be equal) whose sum is equal to 1492. Decide whether the sum of their seventh powers can equal (a) 1996. 6. respectively. Prove that the community can be divided into two nonempty groups so that each member exchanges letters with at least two members of the group he belongs to.

4 Hungary-Israel Mathematics Competition 1. C meet the sides BC. there exists an integer m such that α− m 1 < . C1 be the points where the diameters of the circumcircle through A. Let A1 . B1 . CA. AB. OB1 . Let P be the center of BCDE. What are the lengths of the sides of the triangle? 4. Suppose the circumradius of ABC is 2p for some prime number p. C an odd number of times (and no others)? 5. The acute triangle ABC has circumcenter O. The three squares ACC1 A . BCDE are constructed externally on the sides of a triangle ABC. respectively. P A are concurrent. Prove that the lines A C. Find all real numbers α with the following property: for any positive integer n. and the lengths OA1 . How many distinct sequences of length 1997 can be formed using each of the letters A. OC1 are integers. 174 . n 3n 3. B. B.4. ABB1 A . A B. Is there an integer N such that √ √ √ √ ( 1997 − 1996)1998 = N − N − 1? 2.

. and H the orthocenter. . respectively. y1 . respectively. P2 . R be the intersection of BC with HN . with P1 the center of the circle. DP U. . (a) Prove that if each of the points in Dn is colored in one of three colors. U be the intersections of the diagonals of the quadrilaterals EQF R.5 Iberoamerican Mathematical Olympiad 1. . Let P = {P1 . and let En be the number of 2n-tuples for which the sum is even. Let On be the number of 2n-tuples (x1 . and AB at F and R (with F closer to A). . T. Show that AHSO is a parallelogram. Let S. .4. Prove that 2n − 1 On = n . . DP EQ. xn . 4. P1997 } be a set of 1997 points in the interior of a circle of radius 1. Let AE and BF be altitudes. of acute triangle ABC. 2. |y| ≤ n. 3. . Let ABC be a triangle with incenter I. y) in the plane such that x. CA at E and Q (with E closer to C). respectively. BC with OM . mr divides nr . . Let P. Let n ≥ 2 be an integer and Dn the set of points (x. y are integers with |x|. Q. there exist two points of Dn in the same color such that the line through them passes through no other point of Dn . . (b) Show that the points of Dn can be colored in four colors so that if a line contains exactly two points of Dn . yn ) with values in 0 or 1 for which the sum x1 y1 + · · · + xn yn is odd. Prove that r is an integer. EQS pass through a common point. those two points have different colors. The lines AE and AO meet the circumcircle of ABC again at M and N . For k = 175 . Let r ≥ 1 be a real number such that for all m. HR with OP . F RDP. Show that the circumcircles of the triangles F RT. The reflection of AE across the interior angle bisector of A meets the reflection of BF across the interior angle bisector of B meet in a point O. Let n be a positive integer. A circle centered at I meets the segment BC at D and P (with D closer to B). 6. n such that m divides n. . En 2 +1 5. .

Prove that x2 + x2 + · · · + x2 1 2 1997 ≤ 9. 176 .1. let xk be the distance from Pk to the point of P closest to Pk . . . . . 1997.

The other three have length b > a. Find all possible values of the ratio b/a. CD have length a. C. Prove that at least one of the diagonals of the quadrilateral bisects the other.6 Nordic Mathematical Contest 1. . Let ABCD be a convex quadrilateral. Find the maximum value of nA given that A contains seven distinct elements. BD. BC. then x = y). let nA denote the number of triples (x. . Three of the segments AB. Assume that there exists an internal point P of ABCD such that the areas of the triangles ABP. Assume that A. y. f (4x + 1) = 4f (x) + 3. 1. 3. 2. Prove that f is injective (if f (x) = f (y). BCP. AD. 177 . AC. DAP are all equal. 2. . f (4x − 1) = 2f (2x − 1) − 1. D are four distinct points in the plane. For any set A of positive integers.} such that f (2x) = 2f (x). CDP. Let f be a function defined on {0. B. z) of elements of A such that x < y and x + y = z.4. 4.

that the maximum number of times a price was repeated was 10. from 0 to 1 and vice versa. and that subject to these conditions. What is the smallest multiple of 99 whose digits sum to 99 and which begins and ends with 97? 6. Each person paid for his ticket an integer number of dollars between 1 and 499. inclusive. A benefit concert is attended by 1997 people from Peru.7 Rio Plata Mathematical Olympiad 1. At what distance will the tourist be from his initial position after 1997 stages? 178 . A secret number is written into each small square. (b) It is known that each possible price was paid at least once. each column. Is it possible to change all of the numbers to 1? And what if we started with 1997 zeroes? 2. and the sum of the numbers in the four central squares? And if so. A 4 × 4 square is divided into 1 × 1 squares. Around a circle are written 1996 zeroes and and one 1. All that is known is that the sum of the numbers in each row. Bolivia. Between the last segment of one stage and the first segment of the next stage. the tourist makes a left turn of 60◦ . How many tickets were sold at each price? 4. 3. Paraguay and Venezuela. Is it possible to determine from this information the sum of the numbers in the four corners. The only permitted operation is to choose a number and change its two neighbors.4. Show that one cannot draw two triangles of area 1 inside a circle of radius 1 so that the triangles have no common point. (a) Prove that at least two people of the same nationality paid the same price. what are these sums? 5. and each of the diagonals equals 1. Each stage consist of three segments of length 100 meters separated by right turns of 60◦ . the smallest amount of money was collected. A tourist takes a trip through a city in stages.

At each vertex of a regular 1997-gon is written a positive integer. Prove that a+b a−b ab ≥ 1. Can a 1997×1997 square be dissected into squares whose side lengths are integers greater than 30? 8. Prove that at this time.4. the sum of the squares of the numbers written on the blackboard is divisible by 1997. 2. the original numbers reappear at all of the vertices. the number k is then written on a blackboard. After some number of operations. . let I be the incenter of ABC. respectively. 2. Let a and b be integers. Petersburg City Mathematical Olympiad (Russia) 1. Prove that every positive integer has at least as many (positive) divisors whose last decimal digit is 1 or 9 as divisors whose last digit is 3 or 7. Let B be the antipode of B on the circumcircle of triangle ABC. .8 St. . for some k ∈ {1. The incircle of a triangle is projected onto each of the sides. 5. The points K and L are chosen on the sides AB and BC. Do there exist 100 positive integers such that the sum of the fourth powers of every four of the integers is divisible by the product of the four numbers? 6. 4. Prove that opposite vertices of a 142 × 857 rectangle with vertices at lattice points cannot be joined by a five-edge broken line with vertices at lattice points such that the ratio of the lengths of the edges is 2 : 3 : 4 : 5 : 6. 1998}. 179 . Prove that the six endpoints of the projections are concyclic. LB = AM . . 7. Prove that the lines B I and KL are perpendicular. and let M be the point where the incircle touches AC. so that KB = M C. 3. One may add 2 to any of the numbers and subtract 1 from the numbers k away from it in either direction.

The first player unable to move loses. DA. prove that there are at most n(n + 1)(2n + 1)/6 acute triangles with sides on the lines. One may not write N . Prove that the orthocentres of triangles AKN. The positive integers x. BC. and no two vertices of degree 5 are connected by an edge. DM N are the vertices of a parallelogram. Two straight cuts are also made along grid lines. N be the midpoints of sides AB. The number N is the product of k diferent primes (k ≥ 3). 17. they write composite divisors of N on a blackboard. Also. 15. Prove that the union of these 360 chords cannot be a closed (self-intersecting) polygon. Prove that this polyhedron has a side whose vertices have degrees 5. CD. 6. The points are joined by 180 nonintersecting chords. z satisfy the equation 2xx +y y = z z . there may never appear two coprime numbers or two numbers. At least 5 edges meet at each vertex. What is the maximum number of pieces the square can be cut into? 13. 10. 14. 6. of a cyclic quadrilateral ABCD. Prove that the set of all 12-digit numbers cannot be divided into groups of 4 numbers so that the numbers in each group have the same digits in 11 places and four consecutive digits in the remaining place.9. y. Two players play the following game. Prove that x = y = z. respectively. Let K. The sides of a convex polyhedron are all triangles. Does the first player or the second player have a winning strategy? 11. Consider also the 180 chords obtained from these by a rotation of 38◦ about the center of the circle. Given 2n + 1 lines in the plane. A circle is divided into equal arcs by 360 points. A 100 × 100 square grid is folded several times along grid lines. BKL. CLM. respectively. Can a 75 × 75 table be partitioned into dominoes (1 × 2 rectangles) and crosses (five-square figures consisting of a square and its four neighbors)? 180 . 12. M. 16. one of which divides the other. In turn. L.

23. while the tangents to S1 at A and B meet at P . A device consists of 4n elements. 20. and that C and D lie outside S1 . The device is disabled by removing two wires of the same color connecting four different elements. Prove that the number of ways to disable the device by removing two blue wires is the same as the number of ways by removing two red wires. respectively. Prove that for x. Is it possible that at some point all of the numbers on the blackboard equal 9? 22. Prove that at most n(n + 1)(2n + 1)/6 rotations are needed to transform an arbitrary covering into the covering consisting only of horizontal dominoes. each factor is (independently) increased or diminished by 2. The lines QA and QB meet S2 at C and D. 181 . The number 99 · · · 99 (with 1997 nines) is written on a blackboard. 19. The numbers of red and blue wires are the same. For any covering of an Aztec diamond by dominoes (1 × 2 rectangles). Each minute. what is the maximum number of diagonals which can lie on grid lines? 21. An Aztec diamond of rank n is a figure consisting of those squares of a gridded coordinate plane lying entirely inside the diamond {(x. Prove that the line QP goes through the midpoint of CD. one number written on the blackboard is factored into two factors and erased. S2 intersect at A and B. Given a convex 50-gon with vertices at lattice points. y) : |x|+|y| ≤ n+1}. z ≥ 2. and the resulting two numbers are written. Let Q be a point on S1 . y. Assume that Q lies outside S2 . we may rotate by 90◦ any 2 × 2 square covered by exactly two dominoes. (y 3 + x)(z 3 + y)(x3 + z) ≥ 125xyz. any two of which are joined by either a red or a blue wire. The circles S1 .18.

Sign up to vote on this title
UsefulNot useful