A Corner of Mathematical Olympiad and Competition Book I: Phnom Penh, October 24, 2014 Prepare By: Keo Sodara
A Corner of Mathematical Olympiad and Competition Book I: Phnom Penh, October 24, 2014 Prepare By: Keo Sodara
2. Find and draw the set of points (x, y) in the plane which satisfy the equa-
tion
|2x + y| = |x + y + 1|.
3. Can you draw 6 line segments so that each segment intersects exactly four
other segments?
4. Two squares are placed one inside the other so that their sides are parallel
as shown in Figure 1. The parts A and C are coloured in red and the
parts B and D are coloured in green.
A C
Figure 1:
Prove that the amount of red colour used is the same as the amount of
green colour.
5. Given a number written on the blackboard in one move you can either
replace it by this number squared or else by this number doubled. How
to get 245 exactly in 10 moves starting from 1?
1
Auckland Mathematical Olympiad
DIVISION 2
Questions
6. When Alice entered the Forest of Forgetfulness, she did not forget every-
thing; only certain things. She often forgot her name, and the one thing
she was most likely to forget was the day of the week. The Lion and the
Unicorn were frequent visitors to the forest. These two are strange crea-
tures. The Lion lies on Mondays, Tuesdays, and Wednesdays and tells the
truth on the other days of the week. The Unicorn, on the other hand, lies
on Thursdays, Fridays, and Saturdays, but tells the truth on the other
days of the week.
One day Alice met the Lion and the Unicorn resting under a tree. They
made the following statements:
From these statements, Alice (who was a very bright girl) was able to
deduce the day of the week. What day was it?
7. In chess, is it possible for a knight to travel (by legal moves only) from
the lower left-hand corner of the board to the upper right-hand corner of
it visiting on the way each cell exactly once?
8. Prove that
√ √ √
17 − 12 2 + 3−2 2+ 3 + 2 2 = 3.
10. We are given 80 coins of the same denomination. We know that one of
them is a counterfeit and that it is lighter than the others. Determine the
counterfeit coin by using four weighings on a pan balance.
2
Solutions
1. The piece contains 4000/20 = 200g of silver. For having 2% of silver the
total mass must be 200 × 50 = 10000g = 10kg. Therefore 6kg of copper
should be added.
2. This equation is equivalent to
(2x + y) = ±(x + y + 1).
Therefore point (x, y) belongs to the given set if either (2x+y) = (x+y+1)
or (2x + y) = −(x + y + 1). The first equation represents the line x = 1,
the second the line 3x + 2y = −1. Therefore the given set is the union of
these two lines.
3. Yes, one can do this. The idea is to take three pairs of parallel lines as
shown on Figure 2. Each line will intersect all lines which are not parallel
to it, i.e., four lines out of five. Now these lines can be shortened to
segments and if these segments are sufficiently long they will also satisfy
the property.
Figure 2:
4. Let us prove that the combined area of parts A and C is equal to the
combined area of parts B and D. Let x be the sidelength of the large
square and y be the sidelength of the small one. Let us denote hA , hB ,
hC , hD the altitudes of the trapeziums A, B, C, D, respectively (see
Figure 3).
As hA + hC = hB + hD = x − y, the combined area of A and C is
x+y x+y x+y x+y x2 − y 2
hA + hC = (hA + hC ) = (x − y) = .
2 2 2 2 2
Similarly, the combined area of B and D is
x+y x+y x+y x+y x2 − y 2
hB + hD = (hB + hD ) = (x − y) = .
2 2 2 2 2
3
hD
hA hC
hB
Figure 3:
5. We will start from 245 and move backwards as fast as we can. Since
245 is not the square of a whole number the last move could be only
doubling: 245 → 244 . Then we can extract square root three times in a
row: 244 → 222 → 211 . This is again not a square of the whole number
and we can get it only from 210 . Eventually we get
This steepest descent gives us 9 moves. The 10th move we can get at the
very beginning by squaring 1. Thus the ten moves will be
7. No, it is impossible. Since the knight has to visit every cell exactly once,
it has to make exactly 63 moves. At each move the knight changes the
colour of the cell. Therefore the initial cell and the cell where the knight
stops have to be of different colours. But the lower left-hand corner of the
board and the upper right-hand corner are black.
√ √ √ √ √ √
8. Since 17−12 2 = (3−2 2)2 , 3−2 2 = ( 2−1)2 , and 3+2 2 = (1+ 2)2
√ √ √
17 − 12 2 + 3 − 2 2 + 3 + 2 2 =
√ √ √
(3 − 2 2) + ( 2 − 1) + (1 + 2) = 3.
4
9. Suppose that the incircle touches the sides of ABC at points K, L, M , as
shown in Figure 4. We note that AK = AM = r, BK = BL, CM = CL,
and as the angle A = 90◦ we have BL + LC = 2R. Therefore r + R =
AK + BL + LC = p, the semiperimeter. Now, since r < R, we have
L
K
A M C
Figure 4:
10. Put arbitrary 27 coins on the left pan of the balance and another 27
coins on the right pan of the balance. If their weights are equal then
the counterfeit coin is among those 26 coins which are set aside. If one
pan is lighter than the other then we know that the counterfeit coin is
one of the coins on this pan. In any case we can locate 27 coins with
the counterfeit coin among them. Now we deal with these 27 coins and
divide them in three groups with 9 coins in each group. Setting one group
aside we compare the two others. As before, as a result of this second
weighing we will find a group of 9 coins with the counterfeit coin among
them. By the third weighing such a group can be reduced to a group of 3
coins. Setting one of them aside and weighing the two others we find the
counterfeit coin as a result of the fourth and final weighing.
5
Auckland Mathematical Olympiad 1998
Division 1
Questions
1. During her journey in Wonderland Alice changed her size four times.
She successively: took a sip from a bottle marked “Drink me!” and
became 25% taller; made a bite of a pie marked “Eat me!” and became
10% shorter; took a sip from a bottle marked “Drink me!” and became
10% taller; made a bite of a pie marked “Eat me!” and became 20%
shorter. Was she taller or shorter after the journey than she was before?
C E
O
n
A m B
Let O be the centre of the square. Given that the legs AB and AC
have lengths m and n, respectively, find the distance AO.
1
4. The parabola whose equation is 8y = x2 meets the parabola whose
equation is x = y 2 at two points. What is the distance between these
two points?
2
Auckland Mathematical Olympiad 1998
Division 2
Questions
6. Find all real solutions of the system of equations
x + y + xy = 11
x2 + xy + y 2 = 19
7. Some cells of an infinite square grid are coloured black and the rest
are coloured white so that each rectangle consisting of 6 cells (2 × 3
or 3 × 2) contains exactly 2 black cells. How many black cells might a
9 × 11 rectangle contain?
8. Two circles C1 and C2 of radii r1 and r2 touch a line at points A1 and
A2 , as shown in the figure below.
N C2
C1
A1 A2 l
3
Solutions
1. Let h be Alice’s initial height. Then at the end of her journey her
height was h × 1.25 × 0.9 × 1.1 × 0.8 = 0.99h, i.e., after her trip she
was slightly shorter than she originally was.
3. Let us rotate the square BCDE clockwise about its centre O through
90◦ , 180◦ and 270◦ . Vertex A will be then mapped onto A1 , A2 and A3 ,
respectively (see Figure 3).
A1 D A2
E
C O
A B A3
4
4. One point is clearly (0, 0). Solving the system of equations
2
x = 8y
x = y2
5. Let u be the speed of the ship and v be the speed of the current. Then
the time which is needed for the ship to get from A to B and back to
A will be
10 10 20u 20
+ = 2 = 2 .
u+v u−v u −v 2
u − vu
20
This is clearly greater than , which is the time required to steam
u
20km in the lake.
5
Then the two neighboring 3 × 1 rectangles contain only white cells,
otherwise we can find a 3 × 2 rectangle with more than two black cells
in it. In the emerging 3 × 3 square, shown in the Figure, at least one
2 × 3 rectangle contains only one black cell. Hence, it is not possible
that two cells in a 3 × 1 rectangles are black. It is also impossible that
all of them are white as the neighboring 3 × 1 rectangle must in this
case have two black cells which, as we know, is not possible. Therefore
every 3 × 1 rectangle contains exactly one black cell.
A1 A2 l
Similarly
ρ sin ∠M A1 A2 = r2 sin ∠A1 A2 M.
Multiplying these two equations we get ρ2 = r1 r2 .
6
9. We prove this by contradiction. The equation sin2 α + sin2 β = sin(α +
β) is equivalent to
Now both cases lead to a contradiction. If α+β < π/2, then α < π/2−β
and β < π/2 − α, whence
π π
sin α < sin − β = cos β, sin β < sin − α = cos α,
2 2
hence (1) cannot be fulfilled as the left-hand-side of (1) is negative.
If α + β > π/2, then α > π/2 − β and β > π/2 − α, whence
π π
sin α > sin − β = cos β, sin β > sin − α = cos α,
2 2
hence (1) also cannot be fulfilled as the left-hand-side of (1) is now
positive.
7
Auckland Mathematical Olympiad 2001
Division 1
Questions
1. Kate walks to school every morning. Once, when she had walked 1/5
of the way, Kate realised that she had left her homework behind. If
she continued walking, she would get to school five minutes before the
bell. If she returns home to collect her homework, she would arrive to
school one minute late. How long does her usual trip to school take?
|x − a| + |x + 3a − 8| = 4
5. Among four given coins three coins are genuine and have the same
weight which is unknown. The remaining one is false and its weight
is different. There is a spring balance, which shows the correct weight
but only when two or more coins are measured. The weight of a single
coin cannot be measured correctly. Using four measurements how is it
possible to determine which coin is false and whether it is heavier or
lighter than a genuine one?
1
Auckland Mathematical Olympiad 2001
Division 2
Questions
6. How many solutions in positive integers has the equation
√ √ √
x + y = 2001.
9. Two players are playing a game using two heaps of beans. A legal move
is to take one bean from a single heap (either of the two), or else to
take one bean from each of the two heaps. The loser is the player who
cannot make a legal move. Determine all positions in which the first
player has a winning strategy.
10. There is an island in the Pacific where only honest people and liars live.
Honest people always tell the truth, liars always lie. When presidential
elections were announced, there were n ≥ 3 candidates, all of them
locals. During a TV debate all the candidates, each in turn, made the
following statements. The kth candidate said:
Among the candidates, except me, there are k more liars than
honest people.
2
Solutions
C B D
3
is negative, then the equation takes form (x − a) − (x + 3a − 8) = 4 or
a = 1. Substituting a = 1 we get the equation
|x − 1| + |x − 5| = 4,
which indeed has infinitely many solutions, namely the whole interval
1 ≤ x ≤ 5.
If x − a is negative, then then the equation takes form −(x − a) + (x +
3a − 8) = 4 or a = 3. Let a = 3, then the equation will be
|x − 3| + |x + 1| = 4.
5. Let us weigh every combination of three coins from among the four. We
will have four measurements. Three of these measurements will show
the weight of two genuine coins and one false coin, so they are the
same. One measurement will show the weight of three genuine coins.
This measurement will be different. Immediately we can find a false
coin - this is the coin which did not participate in the weighing which
appeared to be different. If on one hand this triple of coins is heavier
than any other triple then a genuine coin is heavier than the false one.
If on the other hand this triple of coins is lighter than any other triple
then a genuine coin is lighter than the false one.
√ √ √
6. Suppose that x + y = 2001. Then x < 2001 and y < 2001. Then
√ √ √ √
x = 2001 − y and x = 2001 + y − 2 2001y. Hence
4 × 3 × 23 × 29 × y = n2 .
4
7. Suppose that this tourist will eventually return to the capital. Let us
denote B as B1 and let B2 , . . . , Bn be all other cities that the tourist
had visited before returning to the capital. Then we have
This cannot be the case since it means that Bn not B1 was the farthest
city from A, contrary to the initial assumption.
8. Let O1 be the centre of the second circle. Then AO1 = O1 O and the
triangle O1 AO is isosceles. As O1 A ⊥ AC and AB ⊥ O1 O we see that
∠BAC = ∠AO1 O. Also ∠ACB = 12 ∠AOB = ∠AOO1 . Hence the
triangles ABC and O1 OA are similar and ABC is also isosceles.
O1
B
A C
9. The players must obey (if they can) the following Golden Rule:
If in her first move the first player can leave an even number of beans
in each heap, then she wins. Indeed, the second player will not be able
to fulfil the Golden Rule and the first player again makes the numbers
of beans in each heap by simply repeating the second player’s move.
The second player will always leave an odd number of beans at least in
one heap, thus she cannot win. Hence the winning positions are those
for which at least one heap contains an odd number of beans.
5
10. If all candidates were liars then the statement of the next to last can-
didate would have been truthful. If there were at least two honest
candidates they would have made identical statements. Therefore only
one candidate was honest and she was the (n−1)th candidate to speak.
If n > 3 then the statement of the (n − 3)th candidate would have been
also truthful. Hence only the case n = 3 does not contradict the con-
ditions of the problem.
6
Auckland Mathematical Olympiad 2002
Division 1
Questions
1. Nine identical books cost less than $10 in total and ten such books
cost more than $11. How much does one book cost?
A
B
5. Given that there exists a triangle with lengths of its sides√a, b, c. prove
√ √
that there exists a triangle with lengths of its sides a, b, c.
1
Auckland Mathematical Olympiad 2002
Division 2
Questions
6. Solve the system of equations
2
x + y2 + z2 = 14
2
x + y 2 + t2 = 21
x2 + t2 + z 2 = 26
2
t + y2 + z2 = 29
Q c3
B
I
R
c2 c1
P
A
2
Solutions
1. Let x be the price of one book. Then 9x < 10 and 10x > 11 from
which we have 1.1 < x < 1.1111... The only possibility is x = 1.11, i.e.
one dollar and 11 cents.
2. Let us denote the lengths of the sides of these squares as a and b,
respectively.
M
a
O b
√ √ √ √
c ≤ a + b ≤ a + b,
√ √ √
which, together with √a ≤ b ≤ c, gives us the existence of a
√ √
triangle with sides a, b, c.
3
6. Adding all equations together we get 3(x2 + y 2 + z 2 + t2 ) = 90 or
(x2 + y 2 + z 2 + t2 ) = 30. Subtracting each equation in turn from this
total, we get x2 = 1, y 2 = 4, z 2 = 9, t2 = 16. Thus x = ±1, y = ±2,
z = ±9, t = ±4
7. Let N = 11
. . . 1 be a multiple of 37. Suppose m = 3k + 2, then
m
N = 11
. . . 1 = 11
. . . 1 00 + 11
m 3k
8. We cut it as shown below on the left picture and join the two parts as
shown on the right one.
9. The equation
10. Instead of proving that CR passes through A, we will draw the seg-
ments CR and AR and prove that ∠CRA = 180◦ . Let us draw the
segments IP, IQ, IR. Since the quadrilateral AP IR is cyclic, we ob-
tain that ∠ARI = 180◦ − ∠AP I and therefore ∠ARI = ∠BP I.
Similarly ∠IRC = ∠BQI. But ∠BP I + ∠BQI = 180◦ . Hence
∠ARC = ∠ARI + ∠IRC = ∠BP I + ∠BQI = 180◦ .
4
Auckland Mathematical Olympiad 2003
Division 1
Questions
2. Show all points (x, y) on the coordinate plane which satisfy the con-
dition
x2 − 4x + 4 + y ≤ x.
G K B
C
F E
4. Prove that the last digit (of units) of n5 is the same as the last digit
of n.
5. 1,000,000 points are marked on the plane. Prove that there exists a
circle which contains exactly 2003 marked points in its interior.
1
Auckland Mathematical Olympiad 2003
Division 2
Questions
6. A number 2n + 1 is a square of a positive integer. Prove that n is a
multiple of 4.
7. Given that
(x + x2 + 1)(y + y 2 + 1) = 1.
prove that x + y = 0.
8. A starfish often seen at Piha beach looks like the star on the picture
C
B
A
E
2
Solutions
1. On each rainy day, exactly half of the day (morning or afternoon) was
rainy. Therefore we are able to count the total number of mornings
and afternoons in one week: 6+7+9=22. Therefore a week lasts 11
days.
√
2. Since x2 − 4x + 4 = (x − 2)2 = |x − 2| we obtain an equivalent
inequality
|x − 2| + y ≤ x.
For x ≥ 2 all points (x, y) with y ≤ 2 satisfy this inequality and for
x < 2 only those which lie under the line y = 2x − 2.
G K B
C
F N E
5. For any two of the marked points let us draw the perpendicular bisec-
tor. They will intersect at a finite number of points. We may always
3
choose a point O where no two perpendicular bisectors intersect. Let
us draw a very small circle centred at O, so small that it does not con-
tain any of the marked points. Then let us start gradually increasing
its radius. The marked points will get into the interior of the circle
one at a time. Eventually there will be 2003 of them.
6. Suppose that 2n + 1 = a2 , then a is odd. We have 2n = a2 − 1 =
(a − 1)(a + 1). Since A is odd, one of the two numbers a − 1, a + 1
is divisible by 2 and another by 4. Hence 2n is divisible by 8 and n is
divisible by 4.
√
7. Multiplying by x − x2 + 1 we get
y + y 2 + 1 = x − x2 + 1
and multiplying by y − y 2 + 1, we get
y − y 2 + 1 = x + x2 + 1
∠B + ∠D + ∠E + ∠F DE + ∠F ED = 180◦
C
B
D
F
A
E
4
9. Suppose that there are no n equal numbers but still the condition
is satisfied. Then there will be at least five distinct numbers, say
a, b, c, d, e. By the assumption, a, b, c, d are four consequtive members
of an arithmetic progression, i.e
b = a + d, c = a + 2d, d = a + 3d
P2
S
P1
B
Q1
Q2
5
Auckland Mathematical Olympiad 2004
Division 1
Questions
1. Let a and b be two odd integers such that a > b. Prove that a2 − b2 is
a multiple of 8.
4. The sum of three positive integers is 2005. What is the minimal value
of their least common multiple?
1
Auckland Mathematical Olympiad 2003
Division 2
Questions
4 cos x
6. Find two solutions to the equation 3 = sin x belonging to the
interval [0, 2π].
8. Write down a polynomial P (x) with real coefficients such that P (1) = 1,
P (2) = 2 and P (n) is irrational for all integers n = 1, 2.
10. 21 vertices of a regular 50-gon are coloured. Prove that there exist
three coloured vertices that are the vertices of an isosceles triangle.
2
Solutions
E
F
C
A
H
G
√
Thus we have the equation 4 × 12 x(a + x) = a2 from which x = 3−1
2 a.
3
Hence lcm (a, b, c) ≥ 802. At the same time lcm (a, b, c) = 802 is
realisable, when a = 401, b = c = 802.
5. Suppose that the desired assignment is achieved and, for each vertex,
the sum of the labels of its adjacent edges is N . Then the sum of all
labels will be 12 × 8N = 4N since every label is counted twice. But on
the other hand, it is 1 + 2 + · · · + 12 = 78, which is not divisible by
four. Contradiction.
Since 21 points are coloured, at least one of the above regular pen-
tagons will have three coloured vertices. It is now easy to check that
any three vertices of a regular pentagon will be the vertices of an
isosceles triangle.
4
Mathematical Olympiad Training
Solutions to the Dublin Area First Qualification Test
10th February 2007
1. Three people A, B and C play a tournament of table-tennis. After each match, the winner
plays the person who didn’t play last time. At the end of the tournament, A has played
34 matches, B has played 47 matches and C has played 57 matches.
Solution:
(a) The total number of matches played is (34 + 47 + 57)/2 = 69. Since C played 57
matches we deduce that A and B played each other in exactly 69 − 57 = 12 matches.
Similarly we find that A played C in exactly 69 − 47 = 22 matches and B played C
in exactly 69 − 34 = 35 matches.
Since matches between B and C cannot be consecutive, we see that B and C must
have played each other in matches number 1,3,5,. . .,69. Therefore A played the 4th
match (against B or C) and lost.
(b) Either of B or C could have played A in the fourth match. A played all of the 34
even numbered matches and lost each one. Since A played B 12 times, A played C
22 times, and 12 + 22 = 34, there is no conditioning on which order these happened
in. It is easy to write down an example of a tournament in which B played A in the
fourth match and won, and an example where C played A and won.
2. Let H be the set {1, 5, 9, 13, . . .} of all positive integers which leave remainder 1 on division
by 4. Say that a number in H, other than 1, is a H-prime if it cannot be expressed as a
product of two smaller numbers belonging to H. Thus 5 and 9 are the first two H-primes.
Find four H-primes p1 , p2 , p3 , p4 , no two equal, with the property that p1 p2 = p3 p4 .
Solution: Clearly if p is an ordinary prime number and if p belongs to H, then p is a
H-prime. However, it is a fundamental property of ordinary primes that if q1 ≤ q2 and
q3 ≤ q4 are primes with q1 q2 = q3 q4 then q1 = q2 and q3 = q4 . So we can’t obtain examples
in this way.
On the other hand, a product of two numbers each of which leave remainder 3 on division
by 4 is a number leaving remainder 1:
In particular, if q1 and q2 are both primes of the form 4k + 3, then q1 q2 is a H-prime (since
the nontrivial factors of this number do not belong to H).
Thus, taking any 4 primes of the form 4k + 3 - eg. q1 = 3, q2 = 7, q3 = 11 and q4 = 19
- we can obtain the four distinct H-primes p1 = q1 q2 , p2 = q3 q4 , p3 = q1 q3 , p4 = q2 q4 ,
satisfying p1 p2 = q1 q2 q3 q4 = p3 p4 .
1
3. Prove that the equation
x2 + y 2 = 2007 + z 2
has infinitely many integer solutions (i.e. with x, y, z all integers).
Solution: Re-write the equation as
x2 − z 2 = 2007 − y 2 .
Let y be any even integer. Then 2007−y 2 is odd, and so has the form 2m+1 for some integer
m. On the other hand, if we let x = z + 1, then x2 − z 2 = (x − z)(x + z) = x + z = 2z + 1.
So we can let z = m (and x = z + 1) to get a solution.
With this method we get the following infinite set of integer solutions:
For each n = 1, 2, . . . let
(2007 − y 2 ) − 1
y = 2n, z = = 1003 − 2n2 , x = z + 1 = 1004 − 2n2 ;
2
i.e., we have the family of integer solutions
(x, y, z) = (1004 − 2n2 , 2n, 1003 − 2n2 ), n = 1, 2, 3, . . .
4. (a) Find, with proof, the greatest possible value of xyzw subject to the condition that
x, y, z, w are positive real numbers with x + 2y + 3z + 4w = 16.
(b) Find, with proof, the smallest possible value of xyzw subject to the condition that
x, y, z, w are positive integers with x + 2y + 3z + 4w = 16.
Solution:
(a) Recall the Arithmetic-Geometric Mean Inequality (AGM). This states that if x1 , x2 , ... , xn
are positive real numbers, then the product
x1 + x2 + ... + xn n
x1 · x2 · ... · xn ≤
n
with equality if and only if x1 = x2 = ... = xn .
Here, take n = 4, x1 = x, x2 = 2y, x3 = 3z and x4 = 4w to get:
x + 2y + 3z + 4w 4
4
16
(x)(2y)(3z)(4w) ≤ = = 44 ,
4 4
so
44 32
xyzw ≤ = .
2·3·4 3
So the maximum of xyzw is 32/3 , with equality when x = 2y = 3z = 4w = 4, that
is, when x = 4, y = 2, z = 4/3, w = 1.
(b) The popular choice w = 2, z = 1, y = 2, x = 1 gives xyzw = 4. The better choice
w = 1, z = 3, y = 1, x = 1 gives xyzw = 3. We now show this is the minimum possible
under the given hypotheses.
For suppose xyzw < 3. Since x = y = z = w = 1 does not satisfy the hypotheses,
xyzw = 2 and one of the x, y, z, w must be equal to 2 and the rest all equal to 1.
But then x + 2y + 3z + 4w = 16 is not satisfied.
Hence the minimum is 3.
2
5. A triangle has side lengths a, b, c. Prove that:
√ √ √ √ √ √
b+c−a+ c+a−b+ a+b−c≤ a+ b+ c.
Solution: The fact that a, b, c are the side lengths of a triangle implies that a + b ≥
c, b + c ≥ a, c + a ≥ b so none of the terms under the square root signs are negative.
Recall that for real numbers x, y the inequality 2(x2 + y 2 ) ≥ (x + y)2 holds, since
√ √
2(a + b − c + c + a − b) ≥ ( a + b − c + c + a − b)2
that is √ √
4a ≥ ( a + b − c + c + a − b)2 .
Hence √ √ √
2 a≥ a+b−c+ c+a−b .... (1).
Similarly √ √ √
2 b≥ a+b−c+ b+c−a .... (2).
and √ √ √
2 c≥ a+c−b+ c+b−a .... (3).
Adding (1),(2),and (3) gives
√ √ √ √ √ √
2( a + b + c) ≥ 2( a + b − c + b + c − a + c + b − a).
6. Find, with proof, the greatest positive integer n which is divisible by all positive integers
k < n1/3 .
Solution: Note that the problem requires n to be divisible by all the positive integers
k < n1/3 but it does not require n to be divisible by the product of all such k (for
example, 4 is divisible by 2 and 4 but not by 2 × 4).
Let h be the greatest integer < n1/3 . If h = 7, then n must be divisible by 1, 2, 3, 4, 5, 6, 7
and hence n must be divisible by 4 × 3 × 5 × 7 = 420. Since 73 = 343 < 420 < 512 = 83 ,
n = 420 satisfies the conditions.
We now show that h cannot be greater than 7.
For suppose that h > 7. Then n must be divisible by 8 and hence by 8 × 3 × 5 × 7 = 840.
However, 840 > 729 = 93 , so n must also be divisible by 9 and hence by 8×9×5×7 = 2520.
So n ≥ 2520.
Observe that 2(x − 1)3 > x3 for all real numbers x > 4. So, since (n1/3 − 1) ≤ h < n1/3 ,
we deduce that h3 > n/2. Let r, s, t be the integers satisfying
3
2r ≤ h < 2r+1 , 3s ≤ h < 3s+1 , 5t ≤ h < 5t+1 .
Then h is divisible by 2r , 3s and 5t . Also, n > 113 , so by hypothesis, 7 and 11 also divide
n.
Hence n is divisible by 2r 3s 5t × 7 × 11. But then
If F0 = a, F1 = b and F2 = c are all odd, then we find, by using the above table ‘Case (1)’,
that F3 , F4 and F5 will all be odd also. It follows that all subsequent entries will be odd.
We denote this by Case (1) ⇒ case (1). Similarly case (8) ⇒ case (8), producing an infinite
sequence of only even entries.
We find case (2) ⇒ case (5) ⇒ case (7) ⇒ case (4) ⇒ case (2), therefore containing an
infinite number of odd and an infinite number of even entries.
Also, case (3) ⇒ case (6) ⇒ case (3), therefore containing an infinite number of even and
an infinite number of odd entries.
From this, we may deduce that {Fn }n≥0 will contain an infinite number of odd entries and
an infinite number of even entries if and only if a, b, c are not all odd and not all even.
(Equivalently one could say there must be at least one odd and at least one even number
in {a, b, c}.)
4
8. 25 points are placed randomly inside a regular hexagon with side-length 2 units.
(a) Prove there are two points that are no farther than 1 unit apart.
(b) Show that with 24 points instead, the points may be placed so that no two are less
than 1 unit apart.
Solution:
(a) Divide the hexagon into 24 equilateral triangles of side length 1 as shown:
If we distribute 25 points amongst the 24 equilateral triangles, one triangle will contain
at least d25/24e = 2 points. If two points are placed in, or on the boundary of, an
equilateral triangle of side length 1, they are no farther than 1 unit apart.
(b) If we are dealing with 24 points instead, then the points may be placed as in the
diagram:
The black points in adjacent equilateral triangles are exactly 1 unit apart.
9. Determine the number of north-east lattice paths from the origin (0, 0) to the point (9, 9)
which never pass through the point (5, 5). By a north-east lattice path, we mean a path
whose steps are formed by going 1 unit north (0, +1) and 1 unit east (+1, 0).
Solution:
The number of such paths is the number of paths from (0, 0) to (9, 9) less the number of
paths from (0, 0) to (9, 9) which always pass through the point (5, 5). Every path that
goes from (0, 0) to (9, 9) and passes through (5, 5) corresponds to a path from (0, 0) to
(5, 5) and another path from (5, 5) to (9, 9). The number of such paths is 5+55
4+4
4 =
252 × 70 = 17640.
The number of paths from (0, 0) to (9, 9) is 9+9
9 = 48620.
Thus the answer is 48620 − 17640 = 30980.
5
10. Consider the sequence of numbers a1 , a2 , . . . , an , . . . defined in the following way:
a1 = a2 = 1, a3 = 251 and for all n ≥ 3
2007 + an an−1
an+1 = .
an−2
for n ≥ 4.
Therefore
an+1 an−2 − an an−1 = 2007 = an an−3 − an−1 an−1
for n ≥ 4.
Rearranging gives:
an−2 (an+1 + an−1 ) = an (an−1 + an−2 )
or
an+1 + an−1 an−1 + an−3
=
an an−2
for all n ≥ 4.
If n is even, we obtain
an+1 + an−1 an−1 + an−3 a3 + a1
= = ··· = = 252
an an−2 a2
6
TWENTIETH IRISH MATHEMATICAL OLYMPIAD
10 a.m.– 1 p.m.
First Paper
1. Find all prime numbers p and q such that p divides q + 6 and q divides p + 7.
3. The point P is a fixed point on a circle and Q is a fixed point on a line. The
point R is a variable point on the circle such that P , Q and R are not collinear.
The circle through P , Q and R meets the line again at V . Show that the line
V R passes through a fixed point.
4. Air Michael and Air Patrick operate direct flights connecting Belfast, Cork,
Dublin, Galway, Limerick and Waterford. For each pair of cities exactly one
of the airlines operates the route (in both directions) connecting the cities.
Prove that there are four cities for which one of the airlines operates a round
trip. (Note that a round trip of four cities P , Q, R and S, is a journey that
follows the path P → Q → R → S → P .)
< 2n−2
r=0
n+1−r r
for all n ≥ 9.
n n!
(Note that = . Also, if x is a real number then ⌊x⌋ is the
r r!(n − r)!
unique integer such that ⌊x⌋ ≤ x < ⌊x⌋ + 1.)
Solutions
4 ≤ p + q ≤ pm + qn = 13,
2. Suppose one of ∠A, ∠B, ∠C is a right angle. Say ∠A is. Then ∠B +∠C = π/2
and so
or
(b2 − c2 )2 − a4 = 0, (b2 − c2 − a2 )(b2 − c2 + a2 ) = 0,
i.e., cos B cos C = 0, a contradiction. Hence, one of cos A, cos B, cos C is zero.
Second solution: Let S be the circumcircle of ABC and suppose that S has
diameter d. Using the sine rule we have
1 2
sin2 A + sin2 B + sin2 C = (a + b2 + c2 ).
d2
Suppose that ABC is not a right angled triangle. There are two cases to
consider
Case I: One of the angles is obtuse. Without loss of generality, suppose that
A > π2 . It is easy to see from a diagram that a < d and that b2 + c2 < d2 .
Thus
1 2
(a + b2 + c2 ) < 2
d2
in this case.
Case II: ABC is an acute angled triangle (i.e. all angles < π2 ). Then Let X
be the point on S that is diametrically opposite to A (so |AX| = d). Let
e = |BX| and f = |CX|. Pythagoras’ Theorem implies that
b2 + e2 + c2 + f 2 = 2d2
•
W
•
X •
V
•
Q
n+1−2r n
5. Define S(n, r) := n+1− r r
, for all pairs r, n with −1 ≤ r and 2r ≤ n + 1. In
particular S(n, r) = 0 if r = −1 or if 2r = n + 1. Note that S(1, 0) = 1. We
prove that if n ≥ 2 and 0 ≤ r ≤ n/2 then
P
The final statement is that ⌊n/2⌋
r=0 S(n, r) < 2
n−2
, for n ≥ 9. The base case
here is n = 9, where the values of S(9, r) for r = 0, 1, 2, 3, 4 are 1, 8, 27, 48, 42,
respectively. These sum to 126, which is less than 29−2 = 128. The inductive
step follows from the fact that
X
⌊n/2⌋
X
⌊n/2⌋
S(n, r) = [S(n − 1, r) + S(n − 1, r − 1)]
r=0 r=0
X
⌊(n−1)/2⌋
≤2 S(n − 1, r) < 2 × 2(n−1)−2 = 2n−2 .
r=0
(each S(n − 1, r − 1) with r < n/2 contributes twice to the sum: to S(n, r − 1)
and S(n, r + 1). When r = n/2, S(n − 1, n/2 − 1) contributes only once: to
S(n, n/2 − 1).)
Note: This problem is a simple case of the ‘hook formula’ for the dimension
of certain irreducible complex representations of the symmetric group Sn . The
number S(n, r) is the dimension of the Specht module corresponding to the
two part partition n = (n − r) + r. The recursion formula follows from the
‘Branching rule’ that gives the decomposition of the Specht module into Specht
modules for Sn−1 . In this case there are only two potential Specht modules for
Sn−1 , corresponding to the partitions n − 1 = (n − r) + (r − 1) and n − 1 =
(n − r − 1) + r.
The estimate for the sum of the S(n, r)’s is probably not very good asymp-
totically. It arose out of the observation that the S(n, r)’s are a truncation of
Pascal’s triangle, where the row sum is 2n .
Second Solution: Let
n + 1 − 2r n
S(n, r) = .
n+1−r r
(a) Then
n+1−r n r n
S(n, r) = −
n+1−r r n+1−r r
n rn!
= −
r r!(n + 1 − r)(n − r)!
n n!
= −
r (r − 1)!(n + 1 − r)!
n n
= − ,
r r−1
X n + 1 − 2r n
⌊n/2⌋
X
⌊n/2⌋
= S(n, r)
r=0
n + 1 − r r r=0
⌊n/2⌋
X n n
= [ − ]
r=0
r r−1
n
= .
⌊n/2⌋
We’ll use induction to establish this considering separately when n is even and
when n is odd.
Case (i): Suppose n = 2m, m ≥ 5. Since
n (2m)!
= ,
⌊n/2⌋ (m!)2
and
10 10.9.8.7.6
= = 4.63 < 28 = 210−2 ,
5 5.4.3.2.1
we can start the induction at m = 5. So, assuming that
(2m)!
< 22m−2 , ∀m ≥ 5,
(m!)2
we see that
(2(m + 1))! 2(m + 1)(2m + 1) (2m)! 2m + 1 2m−1
2
= 2 2
< 2 < 22m .
((m + 1)!) (m + 1) (m!) m+1
and
9 9.8.7.6
= = 2.63 < 27 = 29−2 ,
4 4.3.2.1
we can start the induction at m = 4. So, assuming that
(2m + 1)!
< 22m−1 , ∀m ≥ 4,
m! (m + 1)!
we see that
(2m + 3)! (2m + 3)(2m + 2) (2m + 1)! 2m + 3 2m
= < 2 < 22m+1 .
(m + 2)!(m + 1)! (m + 1)(m + 2) m! (m + 1)! m+2
2 p.m.– 5 p.m.
Second Paper
f (x) = x2 + ax + b
has no nonnegative real roots. Prove that there exist two polynomials g, h,
whose coefficients are nonnegative real numbers, such that
g(x)
f (x) = ,
h(x)
for all real numbers x.
Solutions
1. Proposed by Stephen Buckley.
Solution
First Solution.
Call the indicated sum S. Note that S = 3 − 2R, where
1 1 1
R= + + .
r+1 s+1 t+1
Moreover r + 1, s + 1, t + 1 are the roots of the polynomial q, where
q(x) = p(x − 1) = x3 − 3x2 − 2004x + 4008.
Using theP usual formulae for the sums of products of roots of a polynomial
f (x) = ni=0 ci xi , we see that the sum of the reciprocals of the roots of f is
−c1 /c0 . In particular, R = −(−2004)/4008 = 1/2 and S = 3 − 1 = 2.
Second Solution.
Since −1 is not a root of p, we see that (r +1)(s+1)(t+1) 6= 0. The expression
in question is equal to
(r − 1)(s + 1)(t + 1) + (s − 1)(r + 1)(t + 1) + (t − 1)(r + 1)(s + 1) A(r, s, t)
≡ .
(r + 1)(s + 1)(t + 1) B(r, s, t)
Now
(r − 1)(s + 1)(t + 1) = (r − 1)(st + s + t + 1) = rst + rs + rt − st + r − s − t − 1.
Hence, permuting r, s, t, we see that
A = 3rst + (rs + st + tr) − (r + s + t) − 3.
Also,
B = (r+1)(s+1)(t+1) = (r+1)(st+s+t+1) = rst+(rs+st+tr)+(r+s+t)+1.
But
x3 −2007x+2002 = (x−r)(x−s)(x−t) = x3 −(r+s+t)x2 +(rs+st+tr)x−rst,
so that
r + s + t = 0, rs + st + tr = −2007, rst = −2002.
It follows that
A = −6006 − 2007 − 3 = −8016,
and
B = −2002 − 2007 + 1 = −4008.
Hence the value of the expression is A/B = 2.
2. Proposed by Finbarr Holland.
Solution
We first show that r
a+b+c a2 + b2 + c2
≤ ,
3 3
with equality iff a = b = c. The inequality is equivalent to saying that
i.e.,
2 a2 b2 c2 a2 2 a2 b2 b2 c2 2 b2 c2 c2 a2
2a ≤ 2 + 2 , 2b ≤ 2 + 2 , 2c ≤ 2 + 2 ,
c b c a a b
whence
2 2 a2 b2
2 b2 c2 c2 a2
2a + 2b + 2c ≤ 2 2 + 2 2 + 2 2 ,
c a b
the claimed result. Further, equality holds if and only if a2 = b2 = c2 , i.e.,
a = b = c.
OR setting
bc ca ab
x= , y= z= ,
a b c
the inequality becomes
xy + yz + zx ≤ x2 + y 2 + z 2
Solution
There are various formulae for the lengths of the bisectors. The one appropri-
ate for the solution is given by
√ p
2 bc s(s − a)
d= ,
b+c
where 2s = a + b + c. One way to derive this formula is as follows. Since
1
∆(ABD) + ∆(DAC) = ∆(ABC) = ∆ = bc sin A,
2
we deduce that
A A A
d(b + c) sin = 2∆ = bc sin A = 2bc sin cos ,
2 2 2
whence
2∆ 2bc cos A2
d= = .
(b + c) sin A2 b+c
By the Cosine Rule
A 2bc + b2 + c2 − a2 (b + c)2 − a2 2s(s − a)
2 cos2 = 1 + cos A = = = ,
2 2bc 2bc bc
and so r
A s(s − a)
cos = .
2 bc
Hence √ p
2 bc s(s − a)
d= .
b+c
Alternatively, we can obtain this formula by appealing to the following facts,
which are propositions in Euclid’s Geometry, viz.,
|BD| |AB|
|AB| |AC| = |BD| |DC| + |AD|2 , and = .
|DC| |AC|
(Here’s a trigonometric derivation of these formulae. By the Sine Rule,
|BD| sin ∠BAD sin ∠CAD |DC|
= = = ,
|BA| sin ∠BDA sin ∠CDA |CA|
which is equivalent to the second formula. Next
|AB| |AC| |BD| |DC| sin ∠BDA sin ∠CDA sin ∠BAD sin ∠CAD
2
− 2
= −
|AD| |AD| sin B sin C sin B sin C
2 2 A
sin ∠BDA − sin 2
=
sin B sin C
sin2 ∠(B + A2 ) − sin2 A2
=
sin B sin C
(sin ∠(B + A2 ) − sin A2 )(sin ∠(B + A2 ) + sin A2 )
=
sin B sin C
4 cos( 2 ) sin 2 sin A+b
A+B B
2
cos B2
=
sin B sin C
sin(A + B) sin B
=
sin B sin C
= 1.
This is equivalent to the first statement.)
To continue, we have
|BD| c
bc = |BD| |DC| + d2 , and = ,
|DC| b
and since |BD| + |DC| = a, we deduce that
ca ab
|BD| = , |DC| = .
b+c b+c
Hence
a2 bc bc[(b + c)2 − a2 ] 4bcs(s − a)
d2 = bc − = = ,
(b + c)2 (b + c)2 (b + c)2
whence the same result ensues.
OR, applying the Cosine Rule to the angles ∠BAD, ∠DAC, we see that
c2 + d2 − |BD|2 b2 + d2 − |DC|2
= ,
2cd 2bd
whence
b(c2 + d2 ) − c(b2 + d2 ) = b|BD|2 − c|DC|2
ba2 c2 ca2 b2
= −
(b + c)2 (b + c)2
a2 bc(c − b)
= .
(b + c)2
Hence
2 a2 bc(c − b)
bc(c − b) − d (c − b) = ,
(b + c)2
and so, if b 6= c,
Similarly √ p √ p
2 ca s(s − b) 2 ab s(s − c)
e= , f= .
c+a a+b
Hence
p
8abc s3 (s − a)(s − b)(s − c) 8abcs∆
def = = ,
(a + b)(b + c)(c + a) (a + b)(b + c)(c + a)
by Heron’s formula.
Solution
For each positive integer k, we let F (k) denote the number of positive integers
less than or equal to 2007 which are divisible by k. Clearly, F (k) = b 2007k
c,
2007
the integer part of the rational number k .
Because 55 > 2007, the exponent of 5 in the decimal expansion of 2007! is
equal to
F (5) + F (52 ) + F (53 ) + F (54 ).
An easy calculation gives F (5) = 401, F (25) = 80, F (125) = 16 and F (625) =
3, hence the exponent of 5 in the decimal expansion of 2007! is equal to 500.
On the other hand, there are 1003 even numbers among the positive integers
less than 2007 which implies that the exponent of 2 in the decimal expansion
of 2007! is at least 1003. This proves that 10500 divides 2007!, but 10501 does
not divide 2007!. The decimal expansion of 2007! ends in 500 zeros.
The idea for the calculation of the digit directly in front of these 500 zeros
is the following. We calculate modulo 10 the product of all odd factors in
the product 2007!, discarding those which are divisible by 5. The product
of all even factors is equal to 1003! × 21003 and we calculate modulo 10 the
product of all those factors in 1003! which are co-prime to 5. From the factors
not considered so far, we split off the factor 5 and proceed as before. After
repeating this procedure a few times we obtain 2007! = n × 21003 × 5500 . The
calculation gives the value of n modulo 10.
The calculations modulo 10 simplify if we take into account that for each in-
teger k we have
and
9
Y
(10k + i) ≡ −6 mod 10. (2)
i=1
i6=5
M1 × 5201 × 401!!,
where M1 ≡ 1 mod 10 and 401!! denotes the product of all positive odd
integers less or equal to 401.
Similarly, 401!! = M2 × 540 × 79!! with M2 ≡ (−1)40 ≡ 1 mod 10. In the next
step we get 79!! = M3 × 58 × 15!! with M3 ≡ (−1)8 ≡ 1 mod 10. Finally,
15!! = 1 × 3 × 5 × 7 × 9 × 11 × 13 × 15 = M4 × 52
2007!! = M × 5251
1003! = N × 5249
Solution
First Solution. Since f (x) = 0 has no nonnegative real solutions, b = f (0) > 0.
If a ≥ 0, then take g(x) = f (x), h(x) = 1. Suppose that a < 0. Since
f (x) =√0 has no nonnegative roots, we must have a2 < 4b. Replacing f (x) by
b−1 f (x b), we may assume that b = 1.
Put c1 = −a and f1 (x) = f (x) = x2 − c1 x + 1. Note that c21 < 4. Put
f2 (x) = f1 (x)(x2 + c1 x + 1) = x4 − c2 x2 + 1, where c2 = c21 − 2. If c2 ≤ 0, take
g(x) = f2 (x), h(x) = g(x)/f (x) to satisfy the conclusion. If c2 > 0, then put
1 1 1
where there are h terms 2 under the radical sign. Hence c21 > 21+ 2 + 22 + ... +
2m+1 ,
for all positive integers m.
Since the sum of the geometric progression
1 1 1
1+ + 2+ ... + + ..
2 2 2n
is 2, while c21 < 4, this is a contradiction.
Hence ct ≤ 0 for some positive integer t, and the proof is complete.
Second Solution.
This is based on the following observation, viz., if
p(x, θ) = x2 − 2 cos θx + 1,
then
If cos 2θ ≤ 0, we stop and take g(x) = p(x2 , 2θ) and h(x) = p(x, θ + π).
Otherwise, we repeat the process and use the fact that
n−1
2Y
2n n k
g(x) = p(x , 2 θ), h(x) = p(x, θ + π) p(x2 , 2k θ + π).
k=1
It’s clear that g, h are polynomials whose coefficients are nonnegative, and that
f = g/h.
TWENTY FIRST IRISH MATHEMATICAL OLYMPIAD
First Paper
3. Determine, with proof, all integers x for which x(x + 1)(x + 7)(x + 8)
is a perfect square.
4. How many sequences a1 , a2 , . . . , a2008 are there such that each of the
numbers 1, 2, . . . , 2008 occurs once in the sequence, and i ∈ {a1 , a2 , . . . , ai }
for each i such that 2 ≤ i ≤ 2008?
1. Solution: There are many ways to go about this. One can get upper
bounds on each of p1 , p2 , p3 , p4 and work from there. Alternatively, you
can use simple number theory ideas.
As p1 , p2 , p3 , p4 are all different there can be at most one of them even.
If they were all odd, the LHS of the first equation would be odd. Thus
one of p2 , p3 , p4 is an even prime and hence equal to 2. Now look at the
second equation and we see that p2 or p3 is 2.
Case 1. p2 = 2.
2. Solution 1: We have
ai ∈
/ {a1 , a2 , . . . , aai −1 }.
1 + 2k−1 + 2k−2 + · · · + 2 + 1 = 2k .
0.
If a = c then |AD| = b + c > c + c which contradicts the triangle in-
equality. Hence ab = 2c2 and from previous calculations sin(∠CBD) =
c2 /(ab) = 1/2. Thus ∠CBD = 30◦ .
2 2
Conversely, sin(∠CBD) = b +2bc−a2ac
= 1/2 implies b2 +2bc−a2 −ac = 0.
Also sin(∠CBD) = c /ab = 1/2 implies ab = 2c2 . Substituting for
2
1. Find, with proof, all triples of integers (a, b, c) such that a, b and c are
the lengths of the sides of a right angled triangle whose area is a + b + c.
2. Circles S and T intersect at P and Q, with S passing through the centre
of T . Distinct points A and B lie on S, inside T , and are equidistant
from the centre of T . The line P A meets T again at D. Prove that
|AD| = |P B|.
3. Find a3 , a4 , . . . , a2008 , such that ai = ±1 for i = 3, . . . , 2008 and
2008
X
ai 2i = 2008,
i=3
a 2 + b2 = c2 . (1)
ab − 4(a + b) + 8 = 0
or
ab − 4(a + b) + 16 = 8.
Thus
(a − 4)(b − 4) = 8. (3)
Now, there are only two ways to factorise 8 in positive integers. Thus,
either (a, b) = (5, 12) or (a, b) = (6, 8). Thus, there are (up to permu-
tations) two triples that satisfy the given conditions namely, (5, 12, 13)
and (6, 8, 10). 2
Marking Scheme:
• +2 for writing down the triples (5, 12, 13) and (6, 8, 10) (1 mark
each) without any proof that there aren’t any others.
• +1 for correctly formulating the problem in terms of simultaneous
diophantine equations.
• +2 for arriving at the equation ab − 4(a + b) + 8 = 0.
(b) Applying the same map α to the set F0 (n) − ~0 (where ~0 is the
sequence of all zero’s) gives a bijection between F0 (n) − ~0 and
F2 (n). Thus
Partial:
• Noticing that
fi (n + 1) = f(i−1) mod 4 (n) + fi (n) + f(i+1) mod 4 (n)
for all 0 ≤ i ≤ 3. [2 marks]
Also, the quadruple of numbers (f0 (n), f1 (n), f2 (n), f3 (n)) could
be thought of as Pascals cylinder of circumference 4 since every
entry is the sum of the 3 entries above it, where f−1 (n) := f3 (n)
and f4 (n) := f0 (n):
p p √
3
= 9( 3 x2 y 2 + 3 y 2 z 2 + z 2 x2 )
p
≥ 27 9 x4 y 4 z 4
≥ 27,
with equality throughout iff x = y = z = 1.
OR, expanding the RHS,
i.e.,
Equivalently,
7 ≤ (u − 2)2 + 2v,
where u = x + y + z, v = xy + yz + zx. But u ≥ 3 and v ≥ 3, with
equality in both of these inequalities iff x = y = z = 1. Hence
(u − 2)2 + 2v ≥ 1 + 6 = 7,
3 ≤ x2 + y 2 + z 2 , 3 ≤ xy + yz + zx.
TWENTY SECOND IRISH MATHEMATICAL OLYMPIAD
First Paper.
1. Hamilton Avenue has eight houses. On one side of the street are the houses
numbered 1,3,5,7 and directly opposite are houses 2,4,6,8 respectively. An
eccentric postman starts deliveries at house 1 and delivers letters to each of
the houses, finally returning to house 1 for a cup of tea. Throughout the
entire journey he must observe the following rules. The numbers of the houses
delivered to must follow an odd-even-odd-even pattern throughout, each house
except house 1 is visited exactly once (house 1 is visited twice) and the postman
at no time is allowed to cross the road to the house directly opposite. How
many different delivery sequences are possible?
2. Let ABCD be a square. The line segment AB is divided internally at H
so that |AB|.|BH| = |AH|2 . Let E be the mid point of AD and X be the
midpoint of AH. Let Y be a point on EB such that XY is perpendicular to
BE. Prove that |XY | = |XH|.
3. Find all positive integers n for which n8 + n + 1 is a prime number.
4. Given an n-tuple of numbers (x1 , x2 , . . . , xn ) where each xi = +1 or −1, form
a new n-tuple
(x1 x2 , x2 x3 , x3 x4 , . . . , xn x1 ),
and continue to repeat this operation. Show that if n = 2k for some integer
k ≥ 1, then after a certain number of repetitions of the operation, we obtain
the n-tuple
(1, 1, 1, . . . , 1) .
Considering the order in which the houses 1,2,3,4 are visited we have six pos-
sibilities
1234, 1243, 1324, 1342, 1423, 1432
For each of these we can find an ordering of 5678 which describes the order
in which the houses 5,6,7,8 are visited. In each case there turn out to be two
orderings which satisfy the criteria. Intertwining these with the ordering of
1234 gives a total of twelve delivery sequences as follows:
Let the square ABCD have length 2a. Let |AH| = x. Then
x2 = 2a(2a − x)
Hence
x2 + 2ax = 4a2
√
Solving we find x = 5 − 1.
Observe that 4BXY and 4BEA are similar. Hence
|BX|
|XY | = √
5
√ √
5−1
3− 5+ 2
= √
5
√
5−1
=
2
Hence |XH| = |XY |.
3. Proposed by Bernd Kreussler.
f (1) = 3
f (2) = 259 = 7 × 37
f (3) = 6565 = 5 × 13 × 101
f (4) = 65541 = 3 × 7 × 3121.
These numbers may suggest that f (n) will be a prime number only if n = 1.
To prove this, we try to factorise the polynomial x8 + x + 1. Progress can be
made if it is suspected that x2 + x + 1 is a factor. This can quickly be tested
by using a cubic root of unity ω 6= 1. It satisfies ω 2 + ω + 1 = 0 and ω 3 = 1,
hence ω 8 = ω 2 from which we directly see f (ω) = 0. Polynomial division gives
now easily the factorisation f (x) = (x2 + x + 1)(x6 − x5 + x3 − x2 + 1).
Another way to obtain this factorisation is the following. We write x8 +x+1 =
x8 − x2 + x2 + x + 1 and observe
(x1 x2 2 x3 , x2 x3 2 x4 , . . . , xn−1 xn 2 x1 , xn x1 2 x2 )
can be written as
(x1 x3 , x2 x4 , x3 x5 , . . . , xn−1 x1 , xn x2 )
which is the result of the interlacing of the two ( n2 )-tuples
The same rule can be used to obtain the fourth iteration of the original n-
tuple by interlacing the second iteration of the two ( n2 )-tuples of (∗∗), the
sixth iteration of the original by interweaving the third iterations etc.. Thus
2 j iterations (j ≥ 2) of the original n-tuple yields the same result as the
interlacing of the j th iterations of the two ( n2 )-tuples of (∗∗). But the induction
hypothesis guarantees that these iterations of the (∗∗) tuples consist only of
ones for sufficiently large j. Thus we conclude that, for j sufficiently large, 2 j
iterations of the original n-tuple gives the n-tuple
(1, 1, . . . , 1)
as required.
Second Solution: Throughout, we assume that all subscripts are read “mod-
ulo n”. For example, if n = 4, then x5 is the same as x1 , x6 means x2 , etc.
More generally, xn+i is to identified with xi .
Let (x1,r , x2,r , . . . , xn,r ) be the rth iterate. So
Qr (rj)
= j=0 xi+j
as required. QED
Observe that µn−1 ¶
Y n−1
Y
(nj) (nj)
xi,n = xi xi+j xi+n = xi+j
j=1 j=1
First Solution. Since the result is trivial if one of a, b, c is zero, and not all
of the nonzero ones can have the same sign, we may suppose without loss of
generality that a, b > 0 and c < 0.
Then c = −(a + b), whence
1 = a2 + b2 + c2 = 2(a2 + ab + b2 ),
and so
1
a2 + ab + b2 = .
2
Hence, by AM–GM,
1
3ab = ab + 2ab ≤ ab + a2 + b2 = ,
2
i.e., ab ≤ 1/6, with equality if and only if
1
a=b= √ .
6
It follows that
1 1 1 2
c2 = a2 + 2ab + b2 = + ab ≤ + = ,
2 2 6 3
with equality as before. So
1 2 1
a2 b2 c2 = (ab)2 (c2 ) ≤ = ,
36 3 54
with equality if and only if
1 2
a = b = √ , c = −√ .
6 6
Finally, removing the sign restriction imposed at the outset, we see that the
result
√ holds and that there is equality√ only when two of a, b, c are equal to
±1/ 6 and the third is equal to ∓2/ 6.
Second Solution. First of all,
0 = (a + b + c)2 = a2 + b2 + c2 + 2(ab + bc + ca),
i.e.,
1
ab + bc + ca = − ,
2
and so a, b, c are the roots of the cubic
1
x3 − x − abc = 0.
2
Since this cubic is in normal form x3 − px − q = 0, and the roots of this are
real, 27q 2 ≤ 4p3 , with equality if and only if two of the roots are equal, and
the third is the negative of one of these, (*)
we may deduce that
1 1 1
27(abc)2 ≤ 4( )3 = , a2 b2 c2 ≤ ,
2 2 54
with equality as before.
Remark. Proof of (*). This follows from the following well-known statement
about the discriminant of a cubic in normal form:-
Suppose a, b, c are the roots of the cubic x3 − px − q. Then
(a − b)2 (b − c)2 (c − a)2 = 4p3 − 27q 2 .
Second Paper
1. Let p(x) be a polynomial with rational coefficients. Prove that there exists a
positive integer n such that the polynomial q(x) defined by
3. Find all pairs (a, b) of positive integers, such that (ab)2 − 4(a + b) is the square
of an integer.
5. In the triangle ABC we have |AB| < |AC|. The bisectors of the angles at B
and C meet AC and AB at D and E respectively. BD and CE intersect at
the incentre I of 4ABC.
Prove that 6 BAC = 60◦ if and only if |IE| = |ID|.
1
Solutions
1. Proposed by Stephen Buckley.
Solution
Solution
Solution
2
the only possibility is b − 2 − x = 2 and b − 2 + x = 4. This yields (a, b) = (1, 5)
as the only possible solution with 1 = a ≤ b.
If a = 2, we have 4b2 − 4(b + 2) = x2 , which is equivalent to (2b − 1 − x)(2b −
1 + x) = 9. Here we have two possibilities. Either 2b − 1 − x = 2b − 1 + x = 3
or 2b − 1 − x = 1, 2b − 1 + x = 9. In the first case we obtain b = 2 and in the
second b = 3. So we have shown that (a, b) = (2, 2) and (a, b) = (2, 3) are the
only possible solutions with 2 = a ≤ b.
A simple calculation verifies that the five pairs (1, 5), (5, 1), (2, 2), (2, 3) and
(3, 2) indeed satisfy the requirements of the problem.
Solution
Suppose there were n people at the party. For each person Pi at the party, let
Si = {j : Pi knows Pj }.
Fix i. We count the number of distinct pairs (j, k) such that j ∈ Si and
k ∈ Sj . There are 222 = 484 such pairs in all. There are 22 such pairs with
k = i. Suppose k 6= i. Then Pk is one of the n − 22 − 1 people different from
Pi that Pi does not know and there are 6 corresponding j for which we must
include (j, k) in our count. Hence 484 = 22 + 6(n − 23) and n = 100.
Solution
Let 6 BAC = 2α, 6 CBA = 2β and 6 ACB = 2γ. Assume first that 2α =
6 BAC = 60◦ . This implies 2β + 2γ = 120◦ , i.e. β + γ = 60◦ . Hence, 6 DIE =
6 BIC = 120◦ . Therefore, 6 BAC + 6 DIE = 180◦ and the quadrilateral EIDA
γa
α
β
D
B
E
C
A
DIcb 0
3
Conversely, assume |IE| = |ID|. The bisector BD divides CA in the ratio
|AB| : |BC|. This can easily be seen from the sine rule for the two triangles
4BDA and 4BCD and using that sin(180◦ − x) = sin(x).
Let |BC| = a, |CA| = b and |AB| = c. From |CD|
|DA|
= ac and |CD|+|DA| = b we
bc bc
obtain obtain |DA| = a+c . Similarly we get |AE| = a+b . Because |CA| > |AB|
bc bc
by assumption, we have b > c and so a+c > a+b , hence |DA| > |AE|.
Let D0 be the reflection of D in AI. Since |DA| > |AE|, D0 will lie between
E and B on AB. Then 4AID ≡ 4AID0 , hence |ID0 | = |ID| and 6 ID0 A =
6 ADI = 2γ + β. Since |IE| = |ID| we have |IE| = |ID 0 | from which we get
6 D 0 EI = 6 ID 0 A = 2γ + β. From 6 IEA = 2β + γ we obtain now
4
XV Mexican Mathematical Olympiad
1. Find all 7-digits numbers which are multiples of 3 and 7, and whose digits are 3 or 7.
Solution:
Answer
3373377, 7373373, 7733733, 3733737, 7337337, 3777333.
Considering the sum of the digits mod 3, we see that there must be seven 3s, four 3s
and three 7s, or one 3 and six 7s. 7 does not divide 1111111, so the first case does not
work.
The last case can be written as 7777777 − 4 · 10k for k = 0, 1, ..., 6. So if this is a
multiple of 7, then so is 4 · 10k . But it obviously is not.
In the middle case we must have 10a + 10b + 10c + 10d ≡ 0 mod 7 for some distinct a, b,
c, d in {0, 1, 2, 3, 4, 5, 6}. We have 10a ≡ 1, 3, 2, 6, 4, 5, 1 mod 7 for a = 0, 1, 2, 3, 4, 5, 6.
So we have 14 = 6 + 5 + 2 + 1 = 6 + 4 + 3 + 1 = 5 + 4 + 3 + 2, 7 = 3 + 2 + 1 + 1, and
hence the possible a, b, c, d are {2, 3, 5, 6}, {0, 2, 3, 5}, {0, 1, 3, 4}, {1, 3, 4, 6}, {1, 2, 4, 5},
{0, 1, 2, 6}.
2. Given some colored balls (at least three different colors) and at least three boxes, the
balls are put into the boxes so that no box is empty and we cannot find three balls of
different colors which are in three different boxes. Prove that there is a box such that
all the balls in all the other boxes have the same color.
Solution:
If we take three balls of different colors, these balls are in one or two boxes only. Let
us see that we can find three balls of different colors in two different boxes.
Suppose that any three balls of different colors are always in only one box. Let A,
B, C be three balls of different colors (there are at least three different colors). They
should be in the same box. Let P be any other ball. The color of the ball P is different
of the color of at least two of the balls A, B and C, then it belongs to the same box
that contains A, B and C. Then, all the balls are in one box, and since there are at
least three boxes, there are empty boxes, which is a contradiction. Therefore there are
three balls A, B and C of different colors such that A and B are in the same box, and
C is in other box.
Now, consider a ball P that is not in the boxes that contain A, B, and C (there are
at least three boxes). Then, A, C and P are in different boxes, and therefore, P is of
the same color as A or of the same color as C. Similarly, taking B, C and P , we see
that P is of the same color as B or of the same color as C. Therefore, P has the same
color as C. Thus, any ball in a different box than the box that contains A (and B)
and C is of the same color as C. If we choose now a ball C 0 from one of these boxes
(that is, from a box different from the ones that contain A, B and C) and repeating
1
the argument, we see that, all the balls in the same box as C are of the same color as
C 0 , and therefore, they are of the same color as C. In this way all the balls that are
not in the box that contains A and B are of the same color.
3. Let ABCD be a cyclic quadrilateral and let M be the midpoint of CD. The diagonals
meet at P . The circle through P which touches CD at M meets AC again at R and
BD again at Q. The point S on BD is such that BS = DQ. The line through S
parallel to AB meets AC at T . Prove that AT = RC.
Solution:
By the power of a point theorem, we have
CR · CP = CM 2 = DM 2 = DQ · DP = BS · DP,
CP BS CP BP
so DP = CR . But AP B and CP C are similar triangles, then DP
= AP
. Also ST is
parallel to AB, so BP
AP
= BS
AT
. Hence AT = RC.
A Q
M
T P
S R
B C
4. For positive integers n, m define f (n, m) as follows. Write a list of 2001 numbers ai ,
where a1 = m, and ak+1 is the residue of a2k mod n (for k = 1, 2, ..., 2000). Then put
f (n, m) = a1 − a2 + a3 − a4 + a5 − ... + a2001 . For which n ≥ 5 can we find m such that
2 ≤ m ≤ n2 and f (m, n) > 0?.
Solution:
The answer is n ≥ 6.
Let a1 , a2 , ..., a2001 be the list (without signs) that we get for m = 2 (where a1 = 2).
If f (2, n) ≤ 0, we take m = a2 , its associated list is a2 , a3 , ..., a2001 , a2002 . Then
f (a2 , n) = −(f (2, n) − 2) + a2002 = −f (2, n) + 2 + a2002 > 0. Therefore, if 2 does not
satisfy the condition, a2 does, whenever 2 ≤ a2 ≤ n2 . If n ≥ 9, a2 = 4 and there is
in the desired interval, therefore, for n ≥ 9 there exist m that satisfies the conditions.
Let us analyze n = 5, 6, 7, 8:
For n = 5, the only m in the interval allowed is 2, and it does not work. Its associated
list is 2, 4, 1, 1, 1, ..., and f (2, 5) = −1.
For n = 6, we take m = 2. Its list is 2, 4, 4, 4, ... and f (2, 6) = 2.
2
For n = 7, we take m = 3. Its list is 3, 2, 4, 2, 4, 2, 4, ... and f (3, 7) = 3+2·1000 = 2003.
For n = 8, we also choose m = 3. Its list is 3, 1, 1, 1, ... and f (3, 8) = 3.
A
M D
B C
6. A collector of rare coins has coins of denominations 1, 2, ..., n (several coins for each
denomination). He wishes to put the coins into 5 boxes such that:
(a) In each box there is at most one coin of each denomination.
(b) Each box has the same number of coins and the same denomination total.
(c) Any two boxes contain all the denominations.
(d) No denomination is in all 5 boxes.
For which n is this possible?
Solution:
Let C1 , ..., C5 be the boxes. We introduce auxiliary boxes D1 , ..., D5 . In the box Di we
put a coin of each denomination that is missing in Ci . Note that (a) and (b) are true
for the boxes Di , but (c) and (d) change to:
(c0 ) Any two different Di0 s can not have common denominations.
(d0 ) For any denomination, there is a coin of this denomination in some Di .
3
Then, (c0 ) and (d0 ) tell us that the denominations are distribute in the boxes Di . We
will solve the problem for these boxes.
By (a), (b) and (c0 ), if each Di has t coins, then n = 5t. Here, t can not be 1 by (b).
We will prove that n can be any 5t with t ≥ 2. For t = 2 we distribute the coins as
follows:
D1 D2 D3 D4 D5
1 2 3 4 5
10 9 8 7 6
D1 D2 D3 D4 D5
1 2 3 4 5
8 9 10 6 7
15 13 11 14 12
Observe that, given a distribution of the coins in boxes that satisfy (a), (b) and (c0 ), we
can add the same value to each coin in these boxes, and the distribution satisfy the three
conditions. Also, if we have two distributions that satisfy these three conditions and
that do not have common denominations, we can join them in a unique distribution that
also satisfies the conditions. We simply put in the first box of the new distribution, the
coins that are in the first boxes of the other two distributions, in the second box of the
new distribution, the coins that are in the second boxes of the other two distributions,
and so on.
Then, we can make a distribution for t = 5 as follows: we make the distribution for
t = 3 (this uses the denominations 1, 2, ..., 15), then we make the distribution for t = 2
adding to each coin 15 ( this uses the denominations 16, 17, ..., 25); finally, we join these
two distributions.
Now, with the distribution for t = 5 we can make one for t = 7, 9, 11, .... Also, instead
of using the distributions for t = 3 and t = 2, we can use several times the one for
t = 2; in this way we obtain distributions for t = 4, 6, 8, ....
4
XVI Mexican Mathematical Olympiad
1. The numbers 1 to 1024 are written one per square on a 32 × 32 board, so that the first
row is 1, 2, ..., 32, the second row is 33, 34, ..., 64 and so on. Then, the board is divided
into four 16 × 16 boards and the position of these boards is moved round clockwise, so
that
A B D A
goes to
D C C B
then each of the 16 × 16 boards is divided into four equal 8 × 8 parts and each of these
is moved around in the same way (within the 16 × 16 board). Then, each of the 8 × 8
boards is divided into four 4 × 4 parts and these are moved around, then each 4 × 4
board is divided into 2 × 2 parts which are moved around, and finally the squares of
each 2 × 2 part are moved around. What numbers end up on the main diagonal (from
the top left to bottom right)?
Solution:
The answer is 993, 962, ..., 63, 32, (originally the other main diagonal, from bottom to
top).
We show by induction on n that for a 2n × 2n board we get the other main diagonal
(OM D) from bottom to top. For n = 1 this is obvious. Suppose it is true for n. Now
consider a 2n+1 × 2n+1 board. After the first move, the top left quadrant is the original
bottom left quadrant which contains the bottom half of the OM D as its other main
diagonal. Similarly, the bottom right quadrant is the original top right quadrant which
contains the top half of the OM D as its other main diagonal. Hence, by induction,
the subsequent moves give the OM D from bottom to top.
2. Let ABCD be a parallelogram and let K be the circumcircle of ABD. The lines BC
and CD meet K again at E and F . Prove that the circumcenter of CEF lies on K.
Solution:
Let O be the center of K. Let AO meet K again at G. We show that G is the
circumcenter of CEF . Note that AD is parallel to BE, then AB = DE. Similarly,
AB is parallel to DF , then AD = BF . Hence the arcs AE and AF are equal and the
arcs GE and GF are equal, therefore ∠AOE = 2∠AGE = ∠EGF . Hence triangles
AOE and F GE are similar.
CF CB DA
We have CD · CF = CB · CE, so CE = CD = DE . Also ∠ADE = ∠DAB = ∠F CE.
Then, the triangles ADE and F CE are similar. Thus the figures ADEO and F CEG
are similar. But O is the circumcenter of ADE, so G is the circumcenter of F CE.
1
3. Let n be a positive integer. Does n2 have more divisors of the form 4k + 1 or of the
form 4k − 1?.
Solution:
It has more of the form 4k + 1. It is sufficient to prove the result for all odd n, because
the odd divisors of n are the same as the odd divisors of n0 , where n0 is the largest
odd factor of n. Then, we will assume n odd. We proceed by induction on n. It is
true for n = 1. Suppose p is a prime factor of n and that p2a is the highest power of
2
p dividing n2 . Let h be the number of divisors of pn2a which are congruent to 1 mod
4 and k the number which are congruent to 3 mod 4. By induction h > k. Let H
be the number of divisors of n2 which are congruent to 1 mod 4 and K the number
which are congruent to 3 mod 4. If p ≡ 1 mod 4, then H = (2a + 1)h, K = (2a + 1)k,
so H > K. If p ≡ 3 mod 4, then there are a + 1 powers of p dividing n2 which are
congruent to 1 mod 4 (namely p0 , p2 , ..., p2a ) and there are a powers of p which are
congruent to 3 mod 4 (namely p1 , p3 , ..., p2a−1 ), then H = (a + 1)h + ak = a(h + k) + h,
K = ah + (a + 1)k = a(h + k) + k, therefore H > K.
4. A domino piece has two numbers (which may be equal) between 0 and 6, one at each
end. The domino pieces may be turned around, that is, 4 5 is the same domino piece
as 5 4 . There is one domino of each type, so 28 in all. We want to form a chain in
the usual way, so that adjacent dominoes have the same number at the adjacent ends.
Dominoes can be added to the chain at either end. We want to form the chain so that
after each domino has been added the total of all the numbers is odd. For example, we
could place first the domino 3 4 , total 3 + 4 = 7. Then 1 3 , total 1 + 3 + 3 + 4 = 11,
then 4 4 , total 11 + 4 + 4 = 19.
What is the largest number of dominoes that can be placed in this way?
How many maximum-length chains are there?
Solution:
The answer is 16 and 3456, respectively.
The first domino put down must have an odd total, subsequent dominoes must have
an even total. One of the numbers of the first domino will be odd and the other even.
So any domino put next to the odd number must be odd, odd. Similarly any domino
put next to the even number must be even, even. There are 12 dominoes with one odd
and one even number, 6 with two odd numbers, and 10 with two even numbers. Thus
there are 12 choices for the first domino.
Consider first the dominoes added at the odd end. Suppose the odd number on the
first domino is a. Let the other two odd numbers (in {1, 3, 5}) be b and c. We have
two choices for the first non-double. It must be ab or ac. Ignoring doubles, the order
is then determined. For example, after ab we must put bc, then ca. Now the aa can
be put either in front of the ab or after the ca. There is only one position for each of
the other two doubles. Thus we have 4 possible ways to add the 6 odd-odd dominoes
at the odd end.
Now consider the even end. Again we start by ignoring the doubles. There are 6
2
non-doubles: 02, 04, 06, 24, 26, 46. Each number not at one of the two ends of the
subchain of even-even non-doubles must occur an even number of times. But we have
four numbers each of which appears an odd number of times in the complete set of
six. So we must exclude at least one even-even non-double. Suppose the even number
on the odd-even domino is A and that the other even numbers are B, C, D. The first
non-double in the even-even subchain can be AB, AC or AD. There are then two
choices for the second. For example, if the first was AB, the second can be BC or
BD. Suppose the second was BC. Then the remaining choices are AB, BC, CA, AD,
DC or AB, BC, CA, AD, DB or AB, BC, CD, DA, AC. In each case we have two
choices for AA (before AB or next to CA) and two choices for the other double which
can go at an end, but only one choice for the other two doubles, so 4 ways of placing
the doubles. Hence 3 · 2 · 3 · 4 = 72 possibilities in all for the even-even subchain.
Thus the maximum length is 1 + 6 + 9 = 16, and there are 12 · 4 · 72 = 3456 maximal
length chains.
5. A trio is a set of three distinct integers such that two of the numbers are divisors or
multiples of the third. Which trio contained in {1, 2, ..., 2002} has the largest possible
sum? Find all trios with the maximum sum.
Solution:
The answer is (a, 2002 − a, 2002), where
a = 1, 2, 7, 11, 13, 14, 22, 26, 77, 91, 143, 154, 182, 286.
Let the numbers be a < b < c. There are 3 possibilities: (1) a and b are divi-
sors/multiples of c; (2) a and c are divisors/multiples of b, so a must divide b and b
must divide c; (3) b and c are both divisors/multiples of a. In case (1) a and b must
both divide c, so b ≤ 2c and a ≤ 3c , so a + b + c ≤ 11 6c < 4004. In case (2), a and b both
divide c, so this is a special case of (1). In case (3), b and c must both be multiples of
a. Hence b ≤ c − a, so a + b + c ≤ 2c ≤ 4004.
We can achieve 4004 by, for example, (a, b, c) = (1, 2001, 2002). So 4004 is the maxi-
mum sum. Evidently it can only be achieved in case (3) and only by taking c = 2002,
a + b = 2002, and a a divisor of 2002. There are 14 divisors of 2002 (apart from 2002
and 1001, which do not work, since a, b, c must be distinct), and each gives a solution.
For example, (1, 2001, 2002), (2, 2000, 2002), (7, 1995, 2002).
KP KQ
+ = 1.
PA QB
Solution:
The quadrilateral BCKM is cyclic since the opposite angles are 90◦ . Then, ∠ABK =
3
∠M BK = ∠M CK = ∠M CD. Similarly, ∠BAK = ∠M DC, then ∠ABK +∠BAK =
∠M CD + ∠M DC = 180◦ − ∠CM D = 90◦ , for which ∠AKB = 90◦ .
Since AKB is a right triangle, the midpoint M of AB is the circumcenter of AKB,
and therefore, AM = M K. Then, the right triangles AM D and KM D have an equal
corresponding leg and share the hypotenuse M D, for which are congruent. Similarly
M KC and M BC are congruent. In particular, AD = DK and KC = BC.
Let E be the intersection point between AC and BD. By Menelaus’s theorem in the
triangle BKD with the line EQC, we obtain:
KQ BE DC
· · = 1.
QB ED KC
BE BC
Since AD and BC are parallel, ED
= AD
. Using this, KC = BC and that CD =
AD + BC, we get
KQ BC
= .
QB AD + BC
Similarly
KP AD
= ,
PA AD + BC
and the addition of the two fractions is one.
4
XVII Mexican Mathematical Olympiad
1. Find all positive integers with two or more digits such that if we insert a 0 between
the units and tens digits we get a multiple of the original number.
Solution:
The answer is 15, 18, 45, or any multiple of 10.
Let the number be n. Let n0 be the number obtained by inserting the 0. Then n must
divide 10n − n0 . If the last digit of n is d, then 10n − n0 = 9d. Then n must divide 9d.
In particular, n must be a 2 digit number. For example if d = 9, we need a two digit
number ending in 9 that divides 81. There are none. Similarly, we check d = 8 giving
n = 18, d = 7 giving no solutions, d = 6, giving no solutions, d = 5 giving n = 15
or 45, d = 4 giving no solutions, d = 3 giving no solutions, d = 2 giving no solutions,
d = 1 giving no solutions. Finally if d = 0, then any number works.
2. Let A, B, C be three collinear points, with B between A and C. Let K1 be the circle
with diameter AB, and let K2 be the circle with diameter BC. Another circle touches
AC at B and meets K1 again at P and K2 again at Q. The line P Q meets K1 again
at R and K2 again at S. Show that the lines AR and CS meet on the perpendicular
to AC at B.
Solution:
We show that ARSC is cyclic. We have ∠P RA = ∠P BA (circle diameter AB) = P QB
(circle P BQ) = ∠SQB (same angle) = ∠SCB. Hence ∠ARS + ∠SCA = 180◦ , so
ARSC is cyclic. Let K3 be the circle ARSC. Then AR is the radical axis of K3 and
K1 , CS is the radical axis of K3 and K2 , and the perpendicular to AC at B is the
radical axis of K1 and K2 , and the three radical axes concur.
3. At a party there are n women and n men. Each woman likes r of the men, and each
man likes s of then women. For which r and s must there be a man and a woman who
like each other?
Solution:
Consider the number of pairs (W, M ), where W is a woman and M a man. If no pair
like each other, then the nr pairs (W, M ) where W likes M and the ns pairs (W, M ),
where M likes W must all be distinct. But the total number of available pairs is n2 ,
so we must have nr + ns ≤ n2 and hence r + s ≤ n.
Conversely, suppose r + s ≤ n. Label the women W1 , W2 , ..., Wn and the men
M1 , M2 , ..., Mn . Let woman Wi like men Mi+k for k = 0, 1, 2, ..., r − 1, and let man Mi
like women Wi+k for k = 1, 2, ..., s (we use the cyclic subscript convention, so Wn+1
means W1 etc). Then it is clear that no woman and man like each other.
4. The quadrilateral ABCD has AB parallel to CD. Let P be a point on the side AB
and Q on the side CD such that PAPB = DQ
CQ
. Let M be the intersection point of AQ
1
and DP , and N be the intersection point of P C and QB. Find M N in terms of AB
and CD.
Solution:
AB · CD
The answer is M N = .
AB + CD
D P B
M N
A Q C
AM AP
Since AM P and QM D are similar triangles, we have M Q
= DQ . Also, P N B and
PN PB AP PB AM
CN Q are similar triangles, then N C = CQ . But DQ = CQ (given), then M Q
= PNNC
and hence M N is parallel to AB. Also, MCD
N
= P MP+M
M
D
= APAP
+DQ
. Similarly, M
AB
N
=
QM DQ MN MN
QM +M A
= AP +DQ . Hence CD + AB = 1.
5. Some cards have a pair of numbers written on each of them. There is just one card for
each pair (a, b) with 1 ≤ a < b ≤ 2003. Two players play the following game. Each
removes a card in turn and writes the product ab of its numbers on the blackboard. The
first player who causes the greatest common divisor of the numbers on the blackboard
to fall to 1 loses. Which player has a winning strategy?
Solution:
Consider the numbers on the board before the losing move. They must have gcd d > 1.
If d is not a prime number, then it has some proper factor k, so the card (1, k)
can still be played. Contradiction. So d must be a prime number, and every pair
(a, b) with d dividing ab must have been played. There are 2002 pairs (a, d), be-
cause a can be any of 1, 2, 3, ..., 2003 except d. Similarly, there are 2002 pairs (a, 2d),
provided that 2d ≤ 2003. However, this double-counts the pair (d, 2d). So if d
is chosen so that 2d < 2003 < 3d, then there will be 4003 possible pairs. The
first player can bring this about by playing (1, 997). Then the possible plays are
(k, 997) for k = 2, 3, ..., 996, 998, 999, ..., 2003 (2001 possibilities), and (k, 1994) for
k = 1, 2, ..., 996, 998, 999, ..., 1993, 1995, 1996, ..., 2003 (2001 possibilities). So there are
an even number of moves available and the first player will win (the only way the
second player can reduce the number of moves available is by losing).
6. Given a positive integer n, an allowed move is to form 2n + 1 or 3n + 2. The set Sn
is the set of all numbers that can be obtained by a sequence of allowed moves starting
with n. For example, we can form 5 → 11 → 35 so 5, 11 and 35 belong to S5 . We call
m and n compatible if Sm ∩ Sn is non-empty. Which members of {1, 2, 3, ..., 2002} are
compatible with 2003?.
Solution:
The answer is 166, 333, 500, 667, 1001, 1335, 1502.
2
Let D be the operation a → 2a + 1, and T the operation a → 3a + 2. Note first that D
and T commute, and they are obviously injective. Now we claim that if a = D m b = T n c,
then we can find d such that b = T n d and c = D m d. We use induction on m.
Consider first m = 1. Note that k is odd iff T k is odd. Now a = Db, so a is odd. But
a = T n c, so c is odd. Hence we can find d such that c = Dd. Then Db = DT n d, so
b = T n d, and the result is true for m = 1.
Suppose it is true for m and that a = D m+1 b = T n c. Then T n c is odd, so c is odd,
and c = De. Hence D m b = T n e. Then, by induction, we can find d such that b = T n d,
e = D m d. Then c = D m+1 d, b = T n d, as required. So the result is true for m + 1 and
hence for all m.
It follows that if a = D r T s b = D m T n c, then b and c can both be obtained from some
d. (wlog r ≥ m, so D r−m T s b = T n c. If s ≥ n, then we are home since c = D r−m T s−n b,
if not then D r−m b = T n−s c and we use the result just proved.)
Thus, if we take m to be the smallest number which can lead to n, then we have
n = D r T s m for some r, s and then the numbers which can lead to n are just D a T b m
for 0 ≤ a ≤ r, and 0 ≤ b ≤ s. (If k leads to n, then we can find d which leads to m
and k, but d cannot be smaller than m, so d = m.)
Thus if k ∈ S2003 ∩ Sn , then 2003 and n can both be obtained from some d. Working
backwards, we find that 2003 = D 2 T 166, where 166 is not odd and not 2 mod 3,
then, it cannot be obtained from anything else. Hence the only numbers that lead
to numbers derived from 2003 are those that derive from 166. We get 4333= D166,
500 = T 166, 667 = D 2 166, 1001 = DT 166, 1335 = D 3 166, 1502 = T 2 166 (the others
are all ≥ 2003).
3
XVIII Mexican Mathematical Olympiad
1. Find all the prime number p, q and r with p < q < r, such that 25pq + r = 2004 and
pqr + 1 is a perfect square.
Solution:
We have that pqr + 1 is a perfect square, then pqr = m2 − 1 = (m + 1)(m − 1), for
some integer m.
We analyze two cases:
(i) If p | m − 1,
(a) If m + 1 = qr, then m − 1 = p and qr − p = 2, which is impossible since
qr > p2 ≥ 2p ≥ p + 2.
(b) If m + 1 = q, then m − 1 = pr, and q > pr > r, which is not possible.
(c) If m + 1 = r, then m − 1 = pq, and pq = r − 2 = (2004 − 25pq) − 2.
It follows then,
26pq = 2002 =⇒ pq = 7 · 11 =⇒ p = 7 and q = 11. Thus, r = pq + 2 = 7 · 11 + 2 = 79.
(ii) If p | m + 1,
(a) If m − 1 = qr, then m + 1 = p, but then p > qr > r, which is not possible.
(b) If m − 1 = q, then m + 1 = pr and pr − q = 2, but this is impossible since
pr > 2r > 2q > q + 2.
(c) If m − 1 = r, then m + 1 = pq, and pq = r + 2 = (2004 − 25pq) + 2.
2006
Therefore 26pq = 2006, and there is not solution since 26
is not an integer.
Thus, the only solution is p = 7, q = 11 and r = 79.
2. Find the maximum number of positive integers such that any two of them a, b (with
ab
a 6= b) satisfy that |a − b| ≥ 100 .
Solution:
Suppose that a1 < a2 < ... < an is a collection with the maximum number of integers
that satisfy the property of the problem.
It is clear that ai ≥ i, for all i = 1, ..., n.
ab
If a and b are two integers in the collection with a > b, since |a − b| = a − b ≥ 100
, we
b 100b
have that a(1 − 100 ) ≥ b, then, if 100 − b > 0, we have a ≥ 100−b .
Note that there are not two integers a and b in the collection greater than 100, in fact,
ab
if a > b > 100, then a − b = |a − b| ≥ 100 > a, which is false.
1
Also, we have that for integers a and b less than 100, it is true that
100a 100b
≥ ⇐⇒ 100a − ab ≥ 100b − ab ⇐⇒ a ≥ b.
100 − a 100 − b
{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 17, 21, 27, 37, 59, 144} .
3. Let Z and Y be the tangency points of the incircle of the triangle ABC with the sides
AB and CA, respectively. The parallel line to Y Z through the midpoint M of BC,
meets CA in N . Let L be the point in CA such that N L = AB (and L on the same
side of N than A). The line M L meets AB in K. Prove that KA = N C.
Solution:
Let N 0 be the intersection point between M N and AB. Since AZ and AY are tangent
to the incircle of ABC, then AZ = AY , and since N 0 N is parallel to ZY , we have that
AN 0 = AN .
By Menelaus’s theorem in the triangle ABC, with N 0 , M and N collinear, we get
AN 0 BM CN
· ·
N 0B M C N A
= −1, and BM = M C ⇒ CN = BN 0 .
Observe that AC = AN + N C = AN 0 + N C = (AB + BN 0 ) + N C = AB + 2N C and
that AC = AL + LN + N C = AL + AB + N C, therefore AL = N C.
2
K
A
L
Y
Z
B
M C
N0
Applying again Menelaus’s theorem to the triangle ABC, with K, M and L collinear,
AK
we get KB · BM
MC
· CL
LA
= −1 ⇒ CL LA
= KB
KA
⇒ CL
LA
− 1 = KB
KA
− 1 ⇒ CL−LA
LA
= KB−KA
KA
⇒
CL−CN AB NL AB
LA
= KA
⇒ LA
= KA
, and N L = AB ⇒ LA = KA ⇒ KA = CN .
4. At the end of a soccer tournament in which any pair of teams played between them
exactly once, and in which there were not draws, it was observed that for any three
teams A, B and C, if A defeated B and B defeated C, then A defeated C.
Any team calculated the difference (positive) between the number of games that it won
and the number of games it lost. The sum of all these differences was 5000. How many
teams played in the tournament? Find all possible answers.
Solution:
Let n be the number of teams in the tournament, since any team played against all
the other teams exactly once, then every team played n − 1 games.
Suppose that two teams X and Y , both won k games, then if X defeated Y , X defeated
all the teams that Y defeated (by hypothesis), and then X won at least k + 1 games,
which contradicts that X and Y won k games; the same argument is used to show that
Y did not defeat X. Therefore, since there are not draws, there are not two teams with
the same number of wins. Since there are at most n possible values for the number of
games won, we have that the teams won n − 1, n − 2, ..., 1, 0 in some order.
If one team won h games, then it lost n−1−h games, for which its difference (positive)
between the number of games won and the number of games lost is |n − 1 − 2h|.
Let D be the sum of all these differences, then:
a) If n is even, n = 2m with m an integer and
D = (2m − 1) + (2m − 3) + ... + 1 + 1 + ... + (2m − 3) + (2m − 1) = 2[(2m − 1) + (2m −
3) + ... + 1] = 2m2 .
b) If n is odd, n = 2m + 1 with m an integer and
D = 2m + (2m − 2) + ... + 2 + 0 + 2 + ... + (2m − 2) + 2m = 2[2m + (2m − 2) + ... + 2] =
4[m + (m − 1) + ... + 1] = 4 m(m+1)
2
= 2m(m + 1).
3
Since D = 5000, then:
a) 2m2 = D = 5000 ⇒ m = 50 ⇒ n = 2m = 100.
b) 2m(m + 1) = D = 5000 ⇒ m(m + 1) = 2500, but 49 · 50 < 2500 < 50 · 51, therefore
there is not solution in this case.
Thus the only possible answer is n = 100.
5. Let A and B be two circles such that the center O of B lies in A. Let C and D be the
two intersection points of the circles. Let A be a point on A and let B be a point on
B such that AC is tangent to B in C and BC is tangent to A in C. The line segment
AB meets B again in E and also meets A again in F . The line CE meets A again in
G and the line CF meets the line GD in H. Prove that the intersection point of GO
and EH is the center of the circumcircle of the triangle DEF .
Solution:
A E
F B
H
D
G
Since O is the center of B, we have CO = OD and ∠DCO = ∠CDO, and since CGDO
is cyclic, ∠CGO = ∠CDO = ∠DCO = ∠DGO, therefore GO is an internal angle bi-
sector of ∠CGD.
Since CA is tangent to B, we have ∠ACO = 90◦ , then, ∠AF O = 90◦ (this follows
since AO is the diameter of A or since ACOF is cyclic). Then OF is the perpendicular
bisector of EB, which implies EF = F B.
Now, since CA is tangent to B and CB is tangent to A, we have ∠ACE = ∠CBE = α
and ∠BCF = ∠CAF = β, then ∠CEF = ∠ACE + ∠EAC = α + β = ∠CBF +
∠BCF = ∠CF E, hence EC = CF .
Also, CADF is cyclic, then ∠DAF = ∠DCF = γ, ∠CDF = ∠CAF = β and
∠COD = 180◦ −∠DAC, and since CBDE is also cyclic, we obtain ∠DBE = ∠DCE =
θ.
Since the triangles CAE and BCF are similar by having corresponding equal angles,
AE CE AE
then CF = BF ⇒ CE = CF
BF
. Taking the power of E with respect to A, we get
AE
AE · EF = CE · EG ⇒ CE = EG EF
CF
, and then BF = EG
EF
⇒ EG
CF
EF
= BF = 1 ⇒ EG = CF .
4
In the triangle ABC we have 180◦ = ∠CAB +∠ABC +∠BCA = β +α+(β +γ +θ+α),
then ∠COD = 180◦ −∠DAC = 180◦ −(∠CAF +∠F AD) = 180◦ −(β +γ) = 2α+β +θ;
and on the other hand ∠COD = 2∠CBD = 2(∠CBE + ∠EBD) = 2(α + θ), then
2α + β + θ = 2α + 2θ ⇒ β = θ. ⇒ ∠CDF = ∠DCE ⇒ F D k CG.
Now, since F D and CG are parallel, DF CG is an isosceles trapezoid (since it is also
cyclic), and then we have GD = CF and HD DG
= HF
FC
⇒ HD = HF ⇒ HG = HC,
therefore the triangles CHG and F HD are isosceles. Moreover, since GE = EC, then
HE is the perpendicular bisector of GC, and since F DGC is an isosceles trapezoid,
HE is also a perpendicular bisector of F D.
Finally, since GD = CF = EG, the triangle EGD is isosceles, and since GO is an
internal angle bisector of ∠EGD, then GO is also a perpendicular bisector of ED,
therefore, the intersection of GO and EH is the circumcenter of the triangle DEF .
5
Alberta High School
Mathematics Contest
2006/2007-2013/2014
Alberta High School Mathematics Competition
First Round November 21, 2006.
(a) 216 (b) 252 (c) 268 (d) 284 (e) none of these
2. The number of non-congruent rectangles with integer sides and area 2006 = 2 × 17 × 59 is
(a) 100 (b) 101 (c) 200 (d) 201 (e) none of these
4. In a city, all streets run north-south or east-west, dividing the city into squares. A, B, C and
D are four students who live at four street intersections which define a rectangle, with A and
C at opposite corners of this rectangle. They all go to the same school, which is at some street
intersection within this rectangle. Each goes to school by a most direct route along streets.
A travels 10 blocks, B 20 blocks and C 50 blocks. The number of blocks D travels is
5. When (1 + x)(1 + x2)(1 + x3)(1 + x4 )(1 + x5 ) is expanded, the coefficient of the term x9 is
6. On a plane are two points A and B at a distance 5 apart. The number of straight lines in
this plane which are at a distance 2 from A and at a distance 3 from B is
7. A country has three provinces, each province has three cities, each city has three wards and
each ward has three electors. In a two-way election, a candidate wins a ward by getting more
votes in the ward, wins a city by winning more wards in the city, wins a province by winning
more cities in the province, and wins the election by winning more provinces. Only electors
may vote, and they must vote. The minimum number of votes needed to guarantee winning
the election is
8. The teacher asked, “What is the largest possible diameter of a circular coin of negligible
thickness which may be stored in a rectangular box with inner dimensions 7 × 8 × 9?” Ace
said less than 8, Bea said 8, Cec said strictly between 8 and 9, Dee said 9 and Eve said more
than 9. The one who was right was
(a) Ace (b) Bea (c) Cec (d) Dee (e) Eve
9. If a and b are two real numbers which satisfy a + b − ab = 1 and a is not an integer, then b
12. All positive integers which can be expressed as a sum of one or more different integer powers
of 5 are written in increasing order. The first three terms of this sequence are 1, 5 and 6. The
fiftieth term is
(a) 3751 (b) 3755 (c) 3756 (d) 3760 (e) 3761
√ √
13. Consider all polynomials whose coefficients are all integers, whose roots include 23 and 32
and whose degree is as small as possible. Among the coefficients of these polynomials, the
smallest positive coefficient is
15. The base of a tetrahedron is an equilateral triangle of side 1. The fourth vertex is at a distance
1 above the centre of the base. The radius of the sphere which passes through all four vertices
of the tetrahedron is
√ √
1 3 1 3 2
(a) 3
(b) 6
(c) 2
(d) 3
(e) 3
16. If p(x) is a polynomial of degree 4 such that p(−1) = p(1) = 5 and p(−2) = p(0) = p(2) = 2,
then the maximum value of p(x) is
2. There are 4 such rectangles, namely, 1 × 2006, 2 × 1003, 17 × 118 and 34 × 59. The answer
is (b).
3. Since 1004 = 100000000, (100,1) is a desired pair. In fact, m can be any positive integer up to
100, and there is a unique positive integer n such that m4 + n = 100000001 for this particular
m. Hence the total number of pairs is 100. The answer is (a).
4. A and C together travel as many north-south blocks as B and D together. A and C together
also travel as many east-west blocks as B and D together. Hence A and C together travel
as many blocks as B and D together. It follows that the number of blocks D travels is
10 + 50 − 20 = 40. The answer is (d).
5. We are counting the number of ways of making 9 from 1, 2, 3, 4 and 5, using each number at
most once. There are 3 ways, namely 1+3+5, 2+3+4 and 4+5. The answer is (d).
6. Draw a circle with centre A and radius 2. Draw another circle with centre B and radius 3.
The lines we seek are the common tangents of these two circles, of which there are 3. The
answer is (d).
7. We can steal the election by winning as little as 16 votes. We can win 2 provinces, 2 cities
within each of these 2 provinces, 2 wards within each of these 4 cities, and 2 electors within
each of these 8 wards. Hence (81 − 16) + 1 = 66 votes are required to guarantee winning the
election. The answer is (c).
8. Let A and B be the respective midpoints of two opposite edges of length 9. Let C and D be
the respective centres of the two 7 × 8 faces. (See the daigram below.) Then AB and CD
intersect at the centre O of the box. Place a coin of diameter 9 on the plane determined by
AB and CD with centre O.√Its circumference will pass through C and D, but A and B are
not covered up since AB = 72 + 82 > 9. Rotate the coin about AB so that it just comes off
C and D. We can then expand the coin slightly and still have it fit inside the box. The answer
is (e). We do not know the actual maximum value. That is why the question is phrased in its
current form.
.
.......................
............. .....
..............
............. .....
............. .....
. .
........ . . ....... ....
........
....
C
..... ......................................................................................................................................................
. ...
.....
.
..
. ..... ........
.... .... .
.
. ..
.... ...
.... ...... .
.
. ...... ....
... ...
. ..
. .
... ..
... .... ..
. .... ...
.... ..
. ...
. ... ....
... .. .
. . ..
.
... ... .... ...
.. ...
.... ... ... .. ...
... .. ... . ..
....................................................................................................................................................
A ....
..
....
...
O
...
.
.
....
.
...
...
.... .. .... .. ...
...
...
..
..
..
.
.
..
.
. .
..
.
.
..
. ...
...
B
... .. .
. .
. ...
...
... ... .... ..
.
. . ...
... .... .
. .. ...
... .... .
.
. ..... ...
..... ...
... ....... .... .. .
... ..
...............................................................................................................................................................................
D
9. Solving for b, we have b(1 − a) = 1 − a. Since a is not an integer, 1 − a 6= 0 and can be
cancelled. Hence b = 1, and is a positive integer. The answer is (b).
12. We change the base-ten number 50 to base-two and obtain the number 110010, representing
25 + 24 + 22 . We now interpret this as a base-five number, representing 55 + 54 + 52 . Changing
this number to base-ten, we obtain 3755. The answer is (b).
√ √ √ √
13. Since 32 and 23 are roots, we must also have − 32 and − 23 as roots in order to have rational
coefficients. Thus the degree of the polynomial cannot be less than 4, but 4 is sufficient. Of
these polynomials, the one with 1 as the leading coefficient is
√ ! √ ! √ ! √ !
2 2 3 3 2 2 2 3 35 1
x− x+ x− x+ = x − x − = x4 − x2 + .
3 3 2 2 9 4 36 6
Since we want integral coefficients, we clear the denominators to obtain 36x4 − 35x2 + 6. Since
the coefficients are relatively prime (though not pairwise relatively prime) and the smallest
absolute value among the coefficients is 6, the smallest positive coefficient is also 6. The
answer is (b).
14. We have a + bc = 11 and b + ac = 14. Adding the two equations yields (a + b) c+1 c
= 25 or
(a + b)(c + 1) = 25c. Since c + 1 and c are relatively prime, c + 1 must divide 25. Hence c = 4
or c = 24. If c = 24, then a + b = 25 but at least one of ac and bc is not an integer. Hence
c = 4, a + b = 20 and a+bc
= 5. The answer is (b).
16. Note that p(−2) < p(−1) > p(0) < p(1) > p(2). Hence the graph of this fourth degree
polynomial opens down. Let p(x) = −x4 + ax3 + bx2 + cx + d. Then d = p(0) = 2. From
p(±2) = 2, we have −16±8a+4b±2c+2 = 2. Hence 4b−16 = ±(8a+2c). This is only possible
if both sides are equal to 0, so that b = 4. Similarly, from p(±1) = 5, we have 25a + 5c = 0.
Combining with 8a + 2c = 0, we have a = c = 0, so that p(x) = −x4 + 4x2 + 2 = 6 − (x√
2
− 2)2 .
It follows that the maximum value of p(x) is 6, occurring when x2 − 2 = 0 or x = ± 2. The
answer is (b).
Alberta High School Mathematics Competition
Second Round February 7, 2007.
Problem 1.
Determine all positive integers n such that n is divisible by any positive integer m which satisfies
m2 + 4 ≤ n.
Problem 2.
The numbers 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 and 15 are arranged to form a 5 × 3 table
in each of the 15! possible ways. For each table, we compute the sum of the three numbers in
each row, and record in a list the largest and the smallest of these sums. Determine the sum of the
2 × 15! numbers on our list.
Problem 3.
One angle of a triangle is 36◦ while each of the other two angles is also an integral number of degrees.
The triangle can be divided into two isosceles triangles by a straight cut. Determine all possible
values of the largest angle of this triangle.
Problem 4.
1 − a3 1 − b3 1 − c3
Let a, b and c be distinct non-zero real numbers such that = = . Determine
a b c
all possible values of a3 + b3 + c3 .
Problem 5.
A survey in Alberta was sent to some teachers and students, a total of 2006 = 2 × 17 × 59 people.
Exactly a% of the teachers and exactly b% of the students responded, yielding an overall response
rate of exactly c%, where a, b and c are integers satisfying 0 < a < c < b < 100. For each possible
combination of values of a, b and c, determine the total number of teachers and the total number
of students who responded to the survey.
Alberta High School Mathematics Competition
Solutions and Comments to the Second Round, 2007.
Problem 1.
This problem really consists of two parts, finding values for n and proving that there are no more.
Most contestants got somewhere with the first part, but many faltered in the second.
For n = 1, 2, 3 and 4, there are no positive integers m such that m2 + 4 ≤ n. Hence these four
values have the desired property vacuously. While not an essential part of the problem, these values
should be included for completeness.
If the maximum value of m is 1, then 12 + 4 ≤ n < 22 + 4 and n = 5, 6 or 7. Since 1 divides
all of them, these three values have the desired property. If the maximum value of m is 2, then
22 + 4 ≤ n < 32 + 4 and n = 8, 9, 10, 11 or 12. Of these, only 8, 10 and 12 are divisible by both 1
and 2. If the maximum value of m is 3, then 32 + 4 ≤ n < 42 + 4 and n = 13, 14, 15, 16, 17, 18
or 19. Of these, only 18 is divisible by all of 1, 2 and 3. If the maximum value of m is 4, then
42 + 4 ≤ n < 52 + 4 and n = 20, 21, 22, 23, 24, 25, 26, 27 or 28. Of these, only 24 is divisible by
all of 1, 2, 3 and 4. It will turn out that no positive integers other than 1, 2, 3, 4, 5, 6, 7, 8, 10, 12,
18 and 24 have the desired property.
For the second part, Jeffrey Mo of William Aberhart High School argued as follows. Suppose the
maximum value of m is k for some integer k ≥ 5. Then k 2 + 4 ≤ n < (k + 1)2 + 4. In order for n to
be divisible by just k − 1 and k, it has to be a multiple of k(k − 1) since k − 1 and k are relatively
prime. Now k(k − 1) < k 2 + 4 while 2k(k − 1) − ((k + 1)2 + 4) = k 2 − 4k − 5 = (k + 1)(k − 5) ≥ 0
for k ≥ 5. Hence n cannot be a multiple of k(k − 1), so that there are no solutions for m ≥ 5.
Jerry Lo of Ross Sheppard High School argued as follows. Suppose we have solutions n for some
m ≥ 5. Then n must be a multiple of m. Now m2 +4 < m2 +m < m2 +2m < (m+1)2 +4 ≤ m2 +3m,
with equality holding in the last case only for m = 5. If n = m2 + 3m, then we must have m = 5
so that n = 40, but 40 is not divisible by 3. Hence n = m(m + 1) or m(m + 2). Note that n must
also be a multiple of m − 1. Note that m − 1 and m are relatively prime. If n = m(m + 1), then
m − 1 must divide m + 1 = (m − 1) + 2. Hence it must divide 2, so that m ≤ 3. If n = m(m + 2),
then m − 1 must divide m + 2 = (m − 1) + 3. Hence it must divide 3, so that m ≤ 4. Either case
contradicts m ≥ 5. Hence there are no solutions n for m ≥ 5.
Problem 2.
Far too many contestants did not know that the total number of tables is 15!. For those who did,
the majority merely observed that the maximum sum of a row is 13+14+15=42 and the minimum
sum is 1+2+3=6. From these, they concluded that the total of the two sums must be 48, in that
if the maximum sum drops, the minimum sum would rise and compensate. While this may be a
loose description of what is the case, it did not explain why this is the case. The argument really
rests on one simple fact. The following solution by Linda Zhang of Western Canada High School
is typical of those of the top contestants.
For each table A, there is a table B which may be obtained from A by subtracting each number in
A from 16. Note that A and B are distinct tables. Now the row in A with the largest sum turns
into the row in B with the smallest sum, and the row in A with the smallest sum turns into the row
in B with the largest sum. The largest row sum of A plus the smallest row sum of B is 48, as is the
largest row sum of B plus the smallest row sum of A. Since the 15! tables may be divided into 15!2
such pairs, the sum of the 2 × 15! numbers on our record is 48 × 15!.
Problem 3.
This turned out to be the problem in which most contestants could make some progress. However,
many approached it haphazardly, and managed to find only some of the answers. Others found
all the answers but did not prove that there are no more. We give the solution by Jarno Sun of
Western Canada High School.
Let ABC be the triangle. Let 6 ABC = 36◦ . We may assume that 6 CAB ≥ 6 BCA. Then
◦ ◦
6 CAB ≥ 180 −36 = 72◦ > 6 ABC. In order for ABC to be divided into two triangles with a
2
straight cut, the cut must pass through a vertex. We consider three cases:
Case 1. The cut passes through B.
Let the cut meet CA at E. Since 6 CAB > 6 ABC > 6 ABE, 6 BEA must be one of the equal
angles in triangle BEA. It follows that 6 BEA is acute so that 6 BEC is obtuse. (See the diagram
below.) Let 6 EBC = 6 BCA = x◦ . Then 6 BEA = 2x◦. We consider two subcases:
Subcase 1a. 6 BEA = 6 CAB.
Then 6 ABE = 180◦ − 4x◦ and 36◦ = 6 ABC = (180◦ − 4x◦ ) + x◦. This yields x = 48 but then
6 ABE = −12◦ . This is impossible.
B C
Case 2. The cut passes through A.
Let the cut meet BC at D. We consider three subcases:
Subcase 2a. 6 BDA = 6 ABC = 36◦
◦
Then 6 ADC is obtuse. (See the first diagram below.) We must have 6 BCA = 6 CAD = 362 = 18◦ ,
so that ABC is a (126◦ , 36◦ , 18◦ ) triangle.
Subcase 2b. 6 BAD = 6 ABC = 36◦ .
◦
Then 6 BDA = 108◦ . If AD = CD, then 6 DAC = 6 BCA = 108 2
= 54◦ and 6 CAB = 90◦ . (See
◦ ◦ ◦
the second diagram below.) It follows that ABC is a (90 , 54 , 36 ) triangle. If AD = AC, then
6 BCA = 6 ADC = 72◦ and 6 CAB = 180◦ − 36◦ − 72◦ = 72◦ . (See the third diagram below.) It
follows that ABC is a (72◦ , 72◦ , 36◦ ) triangle. Finally, if AC = CD, then 6 CAD = 6 ADC = 72◦ .
Hence 6 BCA = 36◦ and 6 ABC = 108◦ . (See the fourth diagram below.) It follows that ABC is a
(108◦ , 36◦ , 36◦ ) triangle.
Subcase 2c. 6 BAD = 6 BDA = 72◦ .
◦
Then 6 ADC is obtuse. We must have 6 BCA = 6 CAD = 722 = 36◦ and ABC is again a
(108◦ , 36◦ , 36◦ ) triangle.
A.......
.... ...............
A ...
..........
A ..
.........
A ....
....... ....
... ..... ........... ... . .. . ..... .. ........
.... .... ........... .... ... ..... .... .. ..
.... .... ........... ..... .... .... ... ... .... ..
.... ....
....
.... ..... ........... .....
... .... .... ... .... .....
..... .... ...........
....
. ... ..... .. .... . ....
... .... .......... ..
. ... ... .
..... .
.. .. ... .. ....
..... .... ...........
........... ..... .. ... .... .. .. ..... ..
. ....
... . ..... .. ... . .
.. ... ..... ... . ... . .
.. ....
.....................................................................................................................................................................
... . ..............................................................................
.. . ................................................................. .....................................................................................................
... .
B D C B D C B D C B D C
Case 3. The cut passes through C.
Let the cut meet AB at F . Since 6 CAB ≥ 6 BCA > 6 ACF , 6 AF C must be one of the equal
angles in triangle AF C. It follows that 6 CF B is obtuse. It follows that 6 BCF = 6 ABC = 36◦
and 6 AF C = 72◦ . Since 6 CAB ≥ 6 BCA, ABC is again a (72◦ , 72◦ , 36◦ ) triangle.
In summary, the largest angle of ABC, namely 6 CAB, may be 72◦ , 90◦ , 108◦ , 126◦ or 132◦ .
Problem 4.
With greater reliance on graphing calculators and computer software, the majority of students
nowadays are very uncomfortable with algebraic manipulations. A problem such as this has become
inaccessible to most contestants.
Brett Baek of Western Canada High School used the following approach.
3 3
From 1−aa
= 1−bb
, we have b − a3b = a − ab3. Hence a − b = ab(b2 − a2) so that ab(a + b) = −1.
Similarly, bc(b + c) = −1. From these two equations, we have a2 − c2 = bc − ab or (a + c)(a − c) =
−b(a − c). Since a 6= c, we have a + b + c = 0. Hence abc(a + b) = −c = a + b. Since a + b + c = 0
but c 6= 0, a + b 6= 0 and we have abc = 1. Now
0 = (a + b + c)3
= a3 + 3a2 (b + c) + 3a(b + c)2 + (b + c)3
= (a3 + b3 + c3) + 3(a + b + c)(bc + ca + ab) − 3abc
= (a3 + b3 + c3) + 0 − 3.
x3 + kx − 1 = (x − a)(x − b)(x − c)
= x3 − (a + b + c)x2 + (bc + ca + ab)x − abc.
It follows that a+b+c = 0, abc = 1 and a3 +b3 +c3 = (a+b+c)(a2 +b2 +c2 −bc−ca−ab)+3abc = 3.
Problem 5.
This problem, which looks deceptively easy, is very annoying. Only one contestant gave a complete
argument, and a handful of others came close. There is a relatively easy part of the problem that
many contestants got, that is, showing that c = 50. Suppose z people in all responded to the survey.
z c
Then 2006 = 100 or 50z = 1003c. Since 50 and 1003 are relatively prime, c must be a multiple of 50.
Since we are given that 0 < a < c < b < 100, the only possible value is c = 50. After this, things
get messy. What follows is the approach by Jeffrey Mo.
Let the total number of teachers be d and the number of those teachers who responded be x.
Then xd = 100a
and 1003−x
2006−d
b
= 100 . From the first, we have ad = 100x. From the second, we have
2006b − bd = 100300 − 100x = 100300 − ad. This may be rewritten as (b − a)d = 2006(b − 50). It
follows that 1003 = 17 × 59 divides (b − a)d. Now b − a < 100 < 1003 and we also have d < 1003
since a < c = 50. Hence there are two cases.
Case 1. 59 divides b − a.
This means of course that b − a = 59 and d = 2 × 17(b − 50). Hence 50x = ad2
= 17a(a + 9). Since
25 is relatively prime to 17 and to at least one of a and a + 9, it must divide either a < 50 or
a + 9 < 59. We consider three subcases.
Subcase 1a. a = 25.
We have b = 25 + 59 = 84, x = 17×25(25+9)50
= 289 and d = 2 × 17(84 − 50) = 1156. Hence
1003 − 289 = 714 and 2006 − 1156 = 850. It follows that 289 of 1156 teachers and 714 of 850
students responded to the survey.
Subcase 1b. a + 9 = 25.
We have a = 25 − 9 = 16, b = 16 + 59 = 75, x = 17×16×2550
= 136 and d = 2 × 17(75 − 50) = 850.
Hence 1003 − 136 = 867 and 2006 − 850 = 1156. It follows that 136 of 850 teachers and 867 of 1156
students responded to the survey.
Subcase 1c. a + 9 = 50.
We have a = 50 − 9 = 41 and b = 41 + 59 = 100. This contradicts b < 100 and there are no
solutions in this subcase.
Case 2. 17 divides b − a.
Then b−a = 17n where n ≤ 5. We have nd = 2×59(b−50). Hence 50nx = and 2
= 59a(17n−50+a).
We consider five subcases, none of which yields additional solutions.
Subcase 2a. n = 1.
We have 50x = 59a(a − 33) and 25 must divide either a or a − 33. The former means a = 25,
but then a − 33 < 0. The latter means a − 33 ≥ 25, but then a ≥ 58 > 50 = c. Both lead to
contradictions.
Subcase 2b. n = 2.
We have 100x = 59a(a − 16) and 25 must divide either a or a − 16. The former means that a = 25,
but then 59a(a − 16) is odd. The latter means a − 16 = 25, but then 59a(a − 16) is again odd.
Subcase 2c. n = 3.
We have 150x = 59a(a + 1) and 25 must divide either a or a + 1. The former means that a = 25,
but then 59a(a + 1) is not divisible by 3. The latter means a + 1 = 25 or 50. If a = 49, 59a(a + 1)
is again not divisible by 3. If a = 24, then x = 236, but then d = 100×236
24
is not an integer.
Subcase 2d. n = 4.
We have 200x = 59a(a + 18) and 25 must divide either a or a + 18. The former means that a = 25,
but then 59a(a + 18) is odd. The latter means a + 18 = 25 or 50. If a = 7, 59a(a + 18) is again
odd. If a = 32, then b = 32 + 68 = 100, and this contradicts b < 100.
Subcase 2e. n = 5.
We have 250x = 59a(35+ a) and 25 must divide either a or 35+ a. However, this means that a ≥ 25
and b = a + 85 > 100, a contradiction.
A shorter approach goes as follows. Let s and t be the respective numbers of students and teachers in
ta sb ta sb
the survey. Then s+t = 2006, both 100 and 100 are integers, and 100 + 100 = 1003. Note that 5 cannot
divide both s and t. If 5 does not divide s, then b must be a multiple of 25. Since 50 < b < 100, we
must have b = 75. If 5 does not divide t, then a must be a multiple of 25. Since 0 < a < 50, we must
have a = 25. If 5 does not divide either s or t, then a = 25 and b = 75 and we have t + 3s = 4012.
Subtract from this s + t = 2006 and we have 2s = 2006, so that s = t = 1003. However, neither
ta sb
100
nor 100 is an integer. Henceforth, we assume that 5 divides exactly one of s and t. We consider
two cases. Suppose 5 divides t. Then b = 75 and we have ta + 75s = 2006 × 50. Subtract this from
75t +75s = 2006× 75, we have (75 − a)t = 2006× 25. Since 5 divides t, 75 − a divides 2 × 17× 59× 5.
Since 0 < a < 50, 25 < 75 − a < 75. Hence we must have 75 − a = 34 or 59. If a = 41, both t
ta
and a are odd, and 100 will not be an integer. If a = 16, we have t = 850. This leads to s = 1156.
Thus 867 students and 136 teachers responded to the survey, yielding a total of 1003, as required by
c = 50. Finally, since (100 − a)t + (100 − b)s = 100(s + t) − (at + bs) = 200600 − 100300 = 100300,
the only other solution is b = 100 − 16 = 84 and a = 100 − 75 = 25, as indicated above since now 5
divides s instead of t. Solving s + t = 2006 and 84s + 25t = 100300, we have s = 850 and t = 1156.
Thus 714 students and 289 teachers responded to the survey, again yielding the desired total of
1003.
Alberta High School Mathematics Competition
1. A positive integer has 1001 digits all of which are 1s. When this number is divided by 1001,
the remainder is
2. Some cats have got into the pigeon loft because the total head count is 34 but the total leg
count is 80. The number of cats among the pigeons is
3 5
(a) 1 (b) 2
(c) 2 (d) 2
(e) none of these
4. The number of ways in which five As and six Bs can be arranged in a row which reads the
same backwards and forwards is
5. Among twenty consecutive integers each at least 9, the maximum number of them that can
be prime is
6. The non-negative numbers x and y are such that 2x + y = 5. The sum of the maximum value
of x + y and the minimum value of x + y is
5 15
(a) 0 (b) 2
(c) 5 (d) 2
(e) none of these
7. We wish to choose some of the positive integers from 1 to 1000 inclusive, such that no two
differ by 3 or 5. The maximum number of positive integers we can choose is
(a) 200 (b) 300 (c) 333 (d) 500 (e) none of these
8. The number of polynomials p with integral coefficients such that p(9) = 13 and p(13) = 20 is
2 8 2
11. The real numbers x and y are such that x + y
= 3
and y + x
= 3. The value of xy is
3 4
(a) 2
(b) 3
(c) 2 (d) 4
12. Let θ be an acute angle such that sec2θ+tan2 θ = 2. The value of csc2θ+cot2 θ is
13. The diameter AC divides a circle into two semicircular arcs. B is the midpoint of one these
arcs, and D is any point on the other arc. If the area of ABCD is 16 square centimetres, the
distance, in centimetres, from B to AD is
√ √
(a) 2 (b) 2 2 (c) 4 (d) 4 2
14. Five students took part in a contest consisting of six true-or-false questions. Student #i gave
the answer T to question #j if and only if i < j. The total number of incorrect answers is 8
or 9, and there are more incorrect answers of T than incorrect answers of F. The student who
has both an incorrect answer of T and an incorrect answer of F is
15. An integer n is randomly chosen from 1099 to 10100 − 1 inclusive. The real number m is
defined by m = 9n5
. Of the following five numbers, the one closest to the probability that
99 100
10 ≤ m ≤ 10 − 1 is
1 4 1 5 2
(a) 3
(b) 9
(c) 2
(d) 9
(e) 3
16. The smallest value of the real number k such that (x2 + y 2 + z 2 )2 ≤ k(x4 + y 4 + z 4 ) holds for
all real numbers x, y and z is
1. The number 111111 is divisible by 1001. Now 1001 = 6×166+5. Hence the desired remainder
is the same when we divide 11111 by 1001, which is 100. The answer is (d).
2. Tell the cats to put their front legs up. Now there are still 34 heads, but only 34 × 2 = 68 legs
on the ground. Hence 80 − 68 = 12 legs are up in the air, and each cat puts up 2 of them. It
follows that the number of cats is 12 ÷ 2 = 6. The answer is (a).
3. Since AB ≤ 1 and BC ≤ 2, the area of triangle ABC is at most 2. This maximum value √
can
be attained when AB = 1 and BC = 2 and are perpendicular to each other. Now CA = 5,
and we indeed have 2 ≤ CA ≤ 3. The answer is (a).
4. The middle symbol must be an A. The first five symbols consist of two As and three Bs, and
they can be arranged in all possible ways. The last five symbols, consisting also of two As
and three Bs, must be in reverse order with respect to the first five symbols. In the first five
symbols, we only have to find
the number of ways of choosing two of the five positions for the
5
two As. This is given by 2 = 10. The answer is (c). An exhaustive analysis also works.
5. The integers from 11 to 30 include six primes, namely 11, 13, 17, 19, 23 and 29. In the ten odd
numbers among any twenty consecutive integers each at least 7, at least three are multiples
of 3 and exactly two are multiples of 5, but at most one can be a multiple of 15. Hence the
maximum is indeed six. The answer is (c).
6. We have 2x+2y = 5+y ≥ 5, so that the minimum value of x+y is 52 , attained at (x, y) = ( 52 , 0).
Also, x + y = 5 − x ≤ 5, so that the maximum value of x + y is 5, attained at (x, y) = (0, 5).
The answer is (d).
7. If we take all the even numbers, clearly no two will differ by 3 or 5. Hence we can take at least
500 numbers. Now partition the integers from 1 to 1000 into blocks of 10. From each of the
following five pairs, we can take at most one number: (10n + 1, 10n + 4), (10n + 2, 10n + 5),
(10n + 3, 10n + 8), (10 + 6, 10n + 9) and (10n + 7, 10n + 10). Hence we can take no more than
500 numbers. The answer is (d).
8. Suppose there exists such a polynomial p. Since an − bn is divisible by a − b for all positive
integers a, b and n with a 6= b, 13 − 9 must divide p(13) − p(9). However, 4 does not divide
7, and we have a contradiction. The answer is (a). A parity argument also works.
9. The centre O of the circle lies on the axis of symmetry of ABCD. Let y be its height above
BC. Then OB 2 = y 2 + 32 while OA2 = (8 − y)2 + 12 . Equating these two values yields y = 72 .
q √
Hence the radius is ( 72 )2 + 32 = 85
2
. The answer is (c).
A .................... .. D
.............. ............. .. ....................
........ . .. .. .
.. . .. .....
..... .. ... ... ... ....
.... .. ... ... ... ....
... .. .. .. ...
..... ... ... .... .. ...
...
.
.... ... .. ...
.
.. ...
..
..
..
..
.
. . .. ..
... ... .. .. ..
.
.. .... .
..
... .. ... ... ..
..
... ... .... . .
... ... .... .. ...
....
... .
..
.
. .
.
.O
.
....
... ... . ..
.. ..
..
.
.
.. ... ... ...
. ..
. ..
.. . .... .
.
.
..
. .
.
.
.. . ... .. ..
... ... ... .... .. ..
... .. ... ... .. ...
... ... ..... ... .. .....
.... ...... .
. . ...
....................................................................................
..... .
....... .....
B ...........
....................................
...... C
10. Let the positive integral roots be r ≤ s ≤ t. Then x3 − 10x2 + ax + b = (x − r)(x − s)(x − t).
Expansion yields x3 − (r + s + t)x2 + (st + tr + rs)x − rst. Hence r + s + t = 10. The possible
partitions are (1,1,8), (1,2,7), (1,3,6), (1,4,5), (2,2,6), (2,3,5), (2,4,4) and (3,3,4). The answer
is (b).
4
11. Multiplying one equation by the other, we have xy + 4 + xy = 8. This may be rewriten as
2 2
0 = (xy) − 4xy + 4 = (xy − 2) . Hence xy = 2. The answer is (c).
13. Let E be the point on AD such that BE is perpendicular to AD. Complete the rectangle
BEDF . Now AB = BC, 6 AEB = 90◦ = 6 CF B and 6 ABE = 90◦ − 6 CBE = 6 CBF . Hence
ABE and CBF are congruent triangles and they have equal area. It follows that BEDF is
a square, and its area is also 16. Hence BE = 4. The answer is (c).
B .............................................
F
QQ
.......... .......
....... ....
....... ....
. ....
....
Q
....
.
. ... ...
Q
..
. ...
... ...
Q
. ..
... ..
...
QC
..
... ...
.. ..
..
.... ...
... ..
..
...
..
.. ....
...
..
A ..
..
... E ..
..
.. D
... ..
... ...
...
.... ....
.... ....
..... ....
....... .....
. .....
......... .
...............................................
14. The number of incorrect answers for each of questions 1 and 6 is 0 or 5. The number of
incorrect answers for each of questions 2 and 5 is 1 or 4. The number of incorrect answers
for each of questions 3 and 4 is 2 or 3. A total of 8 incorrect answers can only be made up
from 0+1+3+3+1+0. However, we would have an equal number of incorrect answers of T
and incorrect answers of F. Hence the total must be 9, and it can be made up from either
0+1+2+2+4+0 or 0+4+2+2+1+0. However, the latter yields more incorrect answers of F
than incorrect answers of T. It follows that the correct answers for the six questions are F, F,
F, T, F and T respectively. Only student #4 has both an incorrect answer of T (for question
5) and an incorrect answer of F (for question 4). The answer is (d).
15. We have 1099 × 59 ≤ n ≤ (10100 − 1) 59 . Since n is an integer, 5 × 1098 < n < 5 × 1099 . However,
we must eliminate those values of n where 5×1098 < n < 1099 . Thus the number of acceptable
values of n is about 4.5 × 1099 . Since 1099 ≤ n ≤ 10100 − 1, the desired probability is very
close to 12 . The answer is (c).
16. We can rewrite the inequality as (k − 3)(x4 + y 4 + z 4 ) + (y 2 − z 2)2 + (z 2 − x2)2 + (x2 − y 2)2 ≥ 0,
from which it is clear that k ≥ 3. The answer is (c).
Alberta High School Mathematics Competition
Part II February 6, 2008.
Problem 1.
The function f (n) = an + b, where a and b are integers, is such that for every integer n, f (3n + 1),
f (3n) + 1 and 3f (n) + 1 are three consecutive integers in some order. Determine all such f (n).
Problem 2.
In a contest, no student solved all problems. Each problem was solved by exactly three students
and each pair of problems was solved by exactly one student. What is the maximum number of
problems in this contest?
Problem 3.
From a jar of candies, Autumn takes a% of the candies plus a more candies. Brooke takes b% of
the remaining candies plus b more candies. Here, a and b are positive integers less than 100. If
Autumn and Brooke have taken the same number of candies, determine all possible values of a and
b.
Problem 4.
Let a, b, c and d be real numbers. The equation x2 + ax + b = 0 has two real roots. On the
other hand, the equation (x2 − 2cx + d)2 + a(x2 − 2cx + d) + b = 0 has no real roots. Prove that
d2 + ad + b > c4.
Problem 5.
In triangle ABC, AB = AC and 6 A = 100◦ . D is the point on BC such that AC = DC, and F is
the point on AB such that DF is parallel to AC. Determine 6 DCF .
Alberta High School Mathematics Competition
Solutions and Comments to Part II, 2008.
Problem 1.
We have f (3n + 1) = 3an + b + a, f (3n) + 1 = 3an + b + 1 and 3f (n) + 1 = 3an + b + (2b + 1).
Hence a, 1 and 2b + 1 must be three consecutive integers in some order. Since one of them is 1,
they can only be (−1, 0, 1), (0,1,2) or (1,2,3). Since 2b + 1 is odd, the second case is impossible. In
the first case, we must have 2b + 1 = −1 and a = 0, yielding f (n) = −1. In the third case, we must
have 2b + 1 = 3 and a = 2, yielding f (n) = 2n + 1.
Problem 2.
Let problem 1 be solved by students A, B and C. Since each pair of problems was solved by exactly
one student, every other problem was solved by exactly one of A, B and C. Suppose the number of
problems is at least eight. By the Pigeonhole Principle, at least three of the other seven problems
were solved by one of A, B and C, say A. Let these be problems 2, 3 and 4. Then apart from
A, no student solved more than one of problems 1, 2, 3 and 4. Since A did not solve all prolems,
there is one, say problem 5, which A did not solve. In order to have a common solver with each of
problems 1, 2, 3 and 4, problem 5 must be solved by at least four students, which is a contradiction.
Hence the number of problems is at most seven. The following scheme, which has all the desired
properties, shows that the number of problems can be exactly seven.
Problem 3.
na
Let the total number of canides be n initially. After Autumn has taken 100 + a candies, Brooke
na b
will take (n − 100 − a) 100 + b candies. Equating these two expressions and simplifying, we obtain
na + 100a = nb − nab100
− ab + 100b. This may be rewritten as (n + 100)(b − a − 100 ab
) = 0. Since
100a
n 6= −100, the second factor must be zero so that b = 100−a . Note that a < 50 so that 100 − a > 50.
Let p be any prime divisor of 100 − a. Then p must divide 100a so that it divides either 100 or a.
It follows that p must divide 100, so that p can only be 2 or 5. This means that 100 − a = 64 or
80. However, 36 does not divide 6400. Hence (a, b)=(20,25) is the only possibility. This does work
if we take n = 5k where 3k > 40. Autumn will take k + 20 candies, leaving behind 4k − 20. Then
Brooke will take (k − 5) + 25 = k + 20 candies.
Problem 4.
Let r and s be the two real roots of x2 + ax + b = 0. Then r + s = −a and rs = b. That
(x2 − 2cx + d)2 + a(x2 − 2cx + d) + b = 0 has no real roots means that neither x2 − 2cx + d = r
nor x2 − 2cx + d = s has any real roots. It follows that (−2c)2 < 4(d − r) or c2 < d − r. Similarly,
c2 < d − s. Multiplication yields c4 < d2 − d(r + s) + rs = d2 + ad + b.
Problem 5.
Since AB = AC and 6 CAB = 100◦ , 6 ABC = 6 BCA = 40◦ . Now 6 CAD = 6 CDA = 70◦ since
AC = DC, so that 6 BAD = 30◦ . Since ED is parallel to AC, 6 F DA = 70◦ and 6 BDF = 40◦ . Let
P be the point on CD such that 6 P AD = 6 F AD = 30◦ . Then 6 P AC = 40◦ so that P A = P C.
Now triangles P AD and F AD are congruent, so that AP = AF . Since 6 P AF = 60◦ , P AF is an
equilatral triangle. Hence 6 AP F = 60◦ so that 6 F P D = 20◦ . Moreover, P F = P A = P C. Hence
6 P CF = 6 P F C = 10◦ .
A ......
............ .. . . .
.... .. ... .....
..... .. .. .......
.... ... .... ....
.
...... .. ... ....
....
.....
. .. .. ....
...... ...
.
..
. ....
... . .. ....
.. . .
... ....
...... ..
. . ....
...... .
.. ...
...
....
....
..... .. ....
.... .. ... ....
. . . . ....
... . ..
F ...
...
....... .
... ................................................. .
.
.
.
.
.. .
...
...
..
.....
....
....
....
..... .... ........... ..................... . ....
. . .... .
............ . ..... .
................... .
...... ...... ...
. .
.
.......... ..
......
...
....................
....
....
...... .. . .
..... . ..
. ..
..... ....
..... ....
.. .. ...............
. ... ...................
...
. ..
.. .
.. ....
.... .... . ......... .. ................... ....
. .
. ... . . ....
...... . . .
.................. ...
...........................................................................................................................................................................................................................................................................................
B D P C
Alberta High School Mathematics Competition
Part I November 18, 2008.
2. When the positive integers a, b and c are divided by 13, the respective remainders are 9, 7
and 10. When a + 2b + 3c is divided by 13, the remainder is
3. A polygon has area greater than 0. All side lengths are integers, the largest of which is 10.
The smallest possible perimeter of this polygon is
4. Let f and g be functions such that f (x) = g(2x) and g(x) = 2f (x) for all real numbers x. If
g(2) = 3, the value of f ( 12 ) is
1 1
(a) 3
(b) 2
(c) 2 (d) 3 (e) 6
6. A building is in the shape of a right circular cylinder, with mirrors for its interior wall. A
horizontal ray starts from a point on the wall, reflects off the wall exactly 11 times and returns
to its starting point for the first time. The number of possible directions along which it may
have started is
7. For a real number t ≥ 0, |t| = t, and for a real number t < 0, |t| = −t. The number of real
numbers x satisfying |||||x − 1| − 2| − 3| − 4| − 5| = 0 is
8. A rectangular box has integral dimensions and volume 2008 cubic centimetres. In square
centimetres, the minimum value of its surface area is
(a) 3028 (b) 4024 (c) 4534 (d) 5028 (e) none of these
9. The positive integers a and b are such that there are exactly 10 integers greater than a and
less than b, and exactly 1000 integers greater than a2 and less than b2. The value of b is
(a) 50 (b) 51 (c) 52 (d) 55 (e) 102
10. Linda is walking at constant speed halfway between two parallel train tracks. On each track
is a train of the same length. They are approaching Linda from different directions, both at
V kilometres per hour. The one going the same way as Linda takes t1 seconds to pass her,
while the other takes t2 seconds to pass her. In kilometres per hour, Linda’s walking speed is
t1 −t2 t2 −t1 t1 +t2 t2 +t1
(a) t1 +t2
V (b) t2 +t1
V (c) t1 −t2
V (d) t2 −t1
V
11. In base 10, the positive integer a has 2 digits, the positive integer b has a digits and the
positive integer c has b digits. The smallest possible value for c is
9 9 −1 9 10 −1 10
(a) 109 (b) 1010 (c) 1010 (d) 1010 (e) 1010 .
12. Of the eight members of a Sports Club, two are senior boys, two are senior girls, two are
junior girls and two are junior boys. An official team is of size four, and must consist of two
seniors and two juniors, as well as two girls and two boys. The number of different official
teams is
(a) 2 (b) 8 (c) 10 (d) 16 (e) 18
13. On a vertical wall are drawn four geometric figures with equal area. The first is an equilateral
triangle with a side along the floor. The second is an isosceles right triangle with one of the
short sides along the floor. The third is a square with a side along the floor. The fourth is a
circle tangent to the floor. The figure which reaches the highest point above the floor is
(a) only the equilateral triangle (b) only the isosceles right triangle
(c) either triangle (d) only the square (e) only the circle
1. In order for m to be an integer, n must be a multiple of 5. Since there are 19 integer values
of n within range, the number of corresponding values of m that are integers is also 19. The
answer is (b).
2. When a+2b+3c is divided by 13, the remainder will be the same as when 9+2×7+3×10 = 53
is divided by 13. The latter is clearly 1. The answer is (a).
3. The total length of all but one side in a polygon with positive area must be greater than the
length of that side. To minimize the perimeter, choose that side to be the longest. Hence the
perimeter is greater than 20. Since all side lengths are integers, the minimum is at least 21.
This minimum value may be achieved with a triangle of side lengths 5, 6 and 10. The answer
is (d).
4. Note that f (x) = x3 and g(x) = x6 satisfy the hypothesis. In any case, we have f ( 12 ) = g(1) =
2f (1) = 2g(2) = 6. The answer is (e).
5. From the first condition, the desired remainder is one of 6, 13, 20 and 27. From the second
condition, the desired remainder is one of 1, 5, 9, 13, 17, 21 and 25. The only common value
is 13. The answer is (d).
6. Consider a horizontal cross-section of the room as a clock, and let the ray start at the 12
o’clock position. It must travel directly at another point on the clock in order to return to
its starting position after 11 bounces. However, some of these 11 paths take it back to the
starting point before 11 bounces. The initial destination must be a point which is relatively
prime to 12, namely, 1, 5, 7 or 11. The answer is (a).
7. We have ||||x − 1| − 2| − 3| −4| = 5. Now |||x − 1| − 2| − 3| = 4 ± 5. Since the left side can never
be equal to −1, we must have |||x − 1| − 2| − 3| = 9. Similarly, ||x − 1| − 2 = 12, |x − 1| = 14
and x = 1 ± 14 = −13 or 15. The answer is (c).
8. Since 2008 = 2 × 2 × 2 × 251, the box must be one of 2 × 4 × 251, 2 × 2 × 502, 1 × 8 × 251,
1 × 4 × 502, 1 × 2 × 1004 and 1 × 1 × 2008, with respective surface area 3028, 4024, 4534,
5028, 6028 and 8034. The answer is (a).
9. We have b − a = 11 and b2 − a2 = 1001, so that b + a = 91. Hence 2b = 102 and b = 51. The
answer is (b).
10. Let Linda’s walking speed be v kilometres per hour. Then the length of the trains is given by
t1(V − v) = t2 (V + v). It follows that v = tt11 −t
+t2
2
V . The answer is (a).
11. The smallest value of a leads to the smallest value of b, and of c. The smallest value of a is
10, a 1 followed by 2 − 1 0s. The smallest value of b is 109 , a 1 followed by 10 − 1 0s. The
9
smallest value of c is 1010 −1 , a 1 followed by 109 − 1 0s. The answer is (b).
12. If we take both senior boys, we must complement them with both junior girls. If we take
neither senior boy, we must take both senior girls and both junior boys. If we take only one
senior boy, then we must take one senior girl, one junior girl and one junior boy. In each
category, there are two choices. Hence the number of different teams is 1 + 1 + 24 = 18. The
answer is (e).
13. The height of the circle is 2r where r is its radius. From πr2 = 1, we have 2r = √2π . Since
√
2 < π < 4, this is greater than √24 = 1, the height of the square, and less than √22 = 2, the
√
height of the right isosceles
√ triangle. The height
√ of √
the equilateral triangle
√ is√ 3s √
where 2s
2 4 4 4
is its side length. From 3s = 1, we have 3s = 3. Since 3 < 4, 3 < 4 = 2. The
answer is (b).
14. Let a, b and c be the roots. Then a + b + c = 0 and bc + ca + ab = −3. It follows that
a2 + b2 + c2 = (a + b + c)2 − 2(bc + ca + ab) = 6. Since x3 = 3x − 1, we have
x5 = x2(3x − 1) = 3(3x − 1) − x2 = −3 + 9x − x2 .
15. In moving from city to city, we either pick up an extra prime or discard one. The numbers of
prime divisors of 99 = 3 × 3 × 11 and 100 = 2 × 2 × 5 × 5 are 3 and 4 respectively, and there
are no common divisors. To change from one lot to the other, we need to make 7 moves. The
answer is (d).
16. We can guarantee that at least one ticket wins by buying the tickets (1,2), (1,3), (2,3) and
(4,5). If neither 4 nor 5 is drawn, the last ticket wins. If at least one of them is drawn, then at
most one of 1, 2 and 3 is drawn. Then one of the first three tickets wins. If we only buy three
tickets, we have to choose 6 numbers. By the Pigeonhole Principle, one of the numbers 1, 2,
3, 4 and 5 will appear on at least two of our tickets. If it appears on all three, none of them
wins if this number is drawn. Suppose it appears only on the first two tickets. If this number
is drawn along with one of the numbers on our third ticket, we will not have a winning ticket.
It follows that the minimum number of tickets to guarantee that at least one of them wins is
4. The answer is (b).
Alberta High School Mathematics Competition
Part II, 2009.
Problem 1.
Let w, x, y and z be non-negative numbers whose sum is 100. Determine the maximum possible
value of wx + xy + yz.
Problem 2.
1
Determine all positive integers a and b, a < b, so that exactly 100
of the consecutive integers
a2, a2 + 1, a2 + 2, . . . , b2 are the squares of integers.
Problem 3.
A game is played on a 7 × 7 board, initially blank. Betty Brown and Greta Green make alternate
moves, with Betty going first. In each of her moves, Betty chooses any four blank squares which
form a 2 × 2 block, and paints these squares brown. In each of her moves, Greta chooses any blank
square and paints it green. They take alternate turns until no more moves can be made by Betty.
Then Greta paints the remaining blank squares green. Which player, if either, can guarantee to be
able to paint 25 or more squares in her colour, regardless of how her opponent plays?
Problem 4.
A, B and C are points on a circle Ω with radius 1. Three circles are drawn outside triangle ABC
and tangent to Ω internally. These three circles are also tangent to BC, CA and AB at their
respective midpoints D, E and F . If the radii of two of these three circles are 23 and 11 2
, what is
the radius of the third circle?
A...............................................................................................
........................ ... .. .....
.............
. ..........
......... .... .. ....
.... ... ....
...........E ......
.......... .. ..
............... ..............
...
...
.... ...... ....
.......... ...
.... F
.. ... .
... ..
B....................................................................................................................................................................................C
.
.
.
.
. ............
....
.. .....
.. ........ ..
.....
....
...
..
...
...
.... D ................ ..
...
...
... ... ... ..
... ... .. ...
... .. .. ..
...
...
.
..
.
. .
...
.. . .. .
... ..... ... ..
.. ... . ...
.. .. .. ..
.. ... ... ...
...
...
...
... ....
..
.. ..
.
...
...
.
... Ω
.. ....
... ..
.... ... .
... ......
.... ... . .
..... .... ... .....
............ ..... ......
................ .... ......
................. ................
....................................
Problem 5.
Prove that there are infinitely many positive integers k such that k k can be expressed as the sum
of the cubes of two positive integers.
Alberta High School Mathematics Competition
Solutions and Comments to Part II, 2009.
Problem 1.
Since (w + y) + (x + z) = 100, we have w + y = 50 + t and x + z = 50 − t for some real number t.
Hence wx + xy + yz ≤ (w + y)(x + z) = (50 + t)(50 − t) = 2500 − t2 ≤ 2500. This maximum value
may be attained for instance when w = x = 50 and y = z = 0.
Problem 2.
The number of integers between a2 and b2 inclusive is b2 − a2 + 1. The number of squares between
a2 and b2 inclusive is b − a + 1. From b2 − a2 + 1 = 100(b − a + 1), we have (b + a − 100)(b − a) = 99.
Since 99 has 6 positive divisors, there are 6 solutions, as shown in the chart below.
b + a − 100 b − a 2b − 100 b a
1 99 100 100 1
99 1 100 100 99
3 33 36 68 35
33 3 36 68 65
9 11 20 60 49
11 9 20 60 51
Here is a slightly different approach. Let d = b − a. Then there are (a + d)2 − a2 + 1 = 2ad + d2 + 1
integers under consideration, d + 1 of which are the squares of integers. It follows that we need
100(d + 1) = 2ad + d2 + 1, so that
100(d + 1) − d2 − 1 100 − d 99
a= = + .
2d 2 2d
If d is even, the first term is an integer and the second is not. Hence d must be odd. Then the
first term is a fraction with denominator 2, so that the second term must also be a fraction with
denominator 2. This means that d must be a divisor of 99, that is, d is 1, 3, 9, 11, 33 or 99.
If d = 1, then a = 992
+ 99
2
= 99 and b = 99 + 1 = 100.
If d = 3, then a = 2 + 99
97
6
= 65 and b = 65 + 3 = 68.
91 99
If d = 9, then a = 2 + 18 = 51 and b = 51 + 9 = 60.
If d = 11, then a = 89 2
+ 99
22
= 49 and b = 49 + 11 = 60.
If d = 33, then a = 67 2
+ 99
66
= 35 and b = 35 + 33 = 68.
1 99
If d = 99, then a = 2 + 198 = 1 and b = 1 + 99 = 100.
Problem 3.
There are 9 squares at the intersections of even-numbered rows and even-numbered columns. Any
2 × 2 block chosen by Betty must include one of these 9 squares. Hence Greta should play only on
these squares in her first four moves. This will ensure that Betty has at most five moves, and can
paint at most 20 squares brown. Hence Greta wins.
. ... .... . . ... .... . . ... ... ..
. ... .... . . ... .... . . ... ... ..
. ... .... . . ... .... . . ... ... ..
. ... .... . . ... .... . . ... ... ..
. . .. . . . .. . . . .. .
Problem 4.
Denote the circumcentre of Ω by O and note that it lies within the circle with radius 23 . We have
2 1 2 2 2 32
BC = 4BD = 4(OB − OD ) = 4 1 − =
9 9
and
2 49 288 2 2 2
CA = 4CE = 4(OC − OE ) = 4 1 − = .
121 121
2 +OC 2 −BC 2 2 +OA2 −CA2
By the Cosine
√
Law, cos BOC = OB
√ 2OB·OC
= − 79 and cos COA = OC 2OC·OA 23
= − 121 . Hence
4 2 84 2
sin BOC = 9 and sin COA = 121 . It follows that
833
cos AOB = cos(6 BOC − 6 COA)) = (cos BOC)(cos COA) + sin BOC sin COA = .
1089
512
By the Cosine Law again, AB 2 = OA2 + OB 2 − 2OA · OB cos AOB = 1089 . Hence we have
OF = OA −AF = 1089 and OF = 33 . It follows that the radius of the third circle is 12 (1− 31
2 2 2 961 31
33
1
) = 33 .
.....................................................
.................. ..........
............ ..
... .......... ............. .....................
........ ....
A .......
............
........ ............. ..
.......
...
. .
.. ..................
.. ......
. ........ ... ............. . ... .. .....
....
. .. .......... . . ..
..... ... ... .......... ..... ..
.. .... ....
.. . .... ..... ... .. ...
. ............ . .
. .
....
....
...... ..... .. ..
... ..........
..
... . . ..
. ....
... ..... ... .. . . . . . ...
.. ... ...
......... ... . . ...
. ........... .... . . . .. . ..
............ .. .
.
. .... ...
. ...... .......... ... .... . ....... ...
...
.......................... .
.... .................. ..
.... ... . .......... ...
.. .... .... . . ...
.
.
.. .....
.. ....
.
F .....
. ....
......
..
...
. .
E ..
.
.
.
. ..
...........
. .
.............
.. .
.. .........
...
...
..
.. ..... .......
...
... .. . . . . . .......... ..
.. ....
. ..... ... ... ..
.............. ..
..
B ......... ....
.....
.
...............
. .
.
D ..
...............................................................................................................................................................................................................................................................................................................
.
.... ................... ...............
...
.
..
.....
.
... ... C
.......... .... ......... .. .. . .
. . . . .......... .. ...... .
. ..
... .......... ... .... . .
. . . ........... ........... ..
.. .......... .......... ...
.... .
.. ..... .......... ..
... .......... ..... ........ ..
... .... ..... ......... ..
... .......... ....... .... ...
. . . ..... ................... ...
... .. .. . . . . .
.... .................... ....
..
... .. ..
. . .. .
.... ............. ..
... ..... ..........
..
.... .. .. .
. . . . ...
. .... .....
. .... ..
.. .......... .... .. .. . .......... ... ...
... .. .. ... ...
.......... ... .. . . . . .. ...
. . ....
... ...
. .................... ................... .... ...
... ... .................... . ....
... . .. ..
.
..
. ..
....
...
.. .
...
..
. ...
.
.
.
..
O ..
..
... .
.
.
..
.
..
... . . ... .
.. ..... ...
... .. ..
...
... ... .. ..
..
.. .. ... ..
..
... .... .
. ... ..
.. ... .... .... ..
.. ... ..
.. ... .. ..
.. ..... ... .... ..
.. . . . ...
.. ... . . .
.. ... .... ..
.. ..
..
... .. ... ... ...
... ... .. ..
...
... ... .
. ... ....
... ..
.. .... ..
.. ...
... .. ... .. ...
... .. ... .. ...
....
... ... .
. ... .
.....
... ....
....
.... ... .... ...
.
....
.... ... ... ... ....
.... .... .... ... .....
..... ... ....
..... ....... .. ... .. .
..... . ... .... ........
...... ........ ....
....
.... ......
.
....... ..... ..... .......
........ ..... .. ......................
......... ....... .
. ...
....
....................
...................... ..
. ..... .
..
..
..
....................
.
.........................................................
Problem 5.
We have (a + 1)a+1 = (a + 1)a (a + 1) = a(a + 1)a + (a + 1)a . Choose a = 33t for an arbitrary
3t−1
positive integer t. Then a = (3t )3 and (a + 1)a = ((33t + 1)3 )3 are both cubes. If we take
3t−1 3t−1
k = 33t + 1, m = 3t (33t + 1)3 and n = (33t + 1)3 , then k k = m3 + n3 . Since t is an arbitrary
positive integer, the number of possible choices for k is infinite.
Essentially the same solution is given by Jarno Sun of Western Canada High School, who took
k = 27n3 + 1 for any positive integer n. Then
3 +1 3 +1 3 3
(27n3 + 1)27n = (27n3 + 1)27n − (27n3 + 1)27n + (27n3 + 1)27n
3 3
= (27n3 + 1)27n (27n3 + 1 − 1) + (27n3 + 1)27n
3 3
= ((27n3 + 1)9n 3n)3 + ((27n3 + 1)9n )3 .
Yuri Delanghe of Harry Ainlay High School argued as follows. Let t be any integer congruent to
t2t −1
4 modulo 6. Then t ≡ 1 ≡ 2t (mod 3). Hence t2t − 1 is divisible by 3. Let m = n = 2 3 and
t t
k = 2t . Then m3 + n3 = 2t2 = (2t )2 = k k .
When t = 4, k = 16, and this was also the initial example of Danny Shi of Sir Winston Churchill
High School. He showed inductively that for any solution k, 64k is also a solution, in that
where k k = a3 + b3 .
The Alberta High School Mathematics Competition
Part I, November 17, 2009
1. If 2x = 3y , then 4x is equal to
2. Caroline bought some bones for her 7 dogs. Had she owned 8 dogs, she could have given each
the same number of bones. As it was, she needed two more bones to give each dog the same
number of bones. The number of bones she could have bought was
3. Ace calculates the average of all the integers from 1 to 100. Bea calculates the average of
all the integers from 1001 to 1100 and subtracts 1000. Cec calculates the average of all the
integers from 1000001 to 1000100 and subtracts 1000000. The largest answer is given by
(a) Ace only (b) Bea only (c) Cec only (d) exactly two of them
(e) all three of them
4. A large rectangular gymnasium floor is covered with unit square tiles, most of them blank,
in the pattern shown in the diagram below. Of the following fractions, the one nearest to the
fraction of tiles which are not blank is
1 1 1 1 1
(a) 12
(b) 8
(c) 6
(d) 5
(e) 4
@@ @@
@@ @@
@@ @@
@@ @@
@@ @@
@@ @@
@@ @@
@@ @@
@@ @@
@@ @@
@@ @@
@@ @@
5. The number of integers between 1 and 2009 inclusive which can be expressed as the difference
of the squares of two integers is
6. Among the positive integers with six digits in their base-10 representation, the number of
those whose digits are strictly increasing from left to right is
(a) between 1 and 50 (b) between 51 and 100 (c) between 101 and 500
8. If 22009 has m digits and 52009 has n digits in their base-10 representations, then the value of
m + n is
(a) 2007 (b) 2008 (c) 2009 (d) 2010 (e) 2011
√
9. An equilateral triangle has area 2 3. From the midpoint of each side, perpendiculars are
dropped to the other two sides. The area of the hexagon formed by these six lines is
√ √
(a) 23 (b) 1 (c) 3 (d) 2 (e) none of these
10. Two sides of an obtuse triangle of positive area are of length 5 and 11. The number of possible
integer lengths of the third side is
11. Q(x) is a polynomial with integer coefficients such that Q(9) = 2009. If p is a prime number
such that Q(p) = 392, then p can
12. A parallelogram has two opposite sides 5 centimetres apart and the other two opposite sides
8 centimetres apart. Then the area, in square centimetres, of the parallelogram
14. A chord of a circle divides the circle into two parts such that the squares inscribed in the two
parts have areas 16 and 144 square centimetres. In centimetres, the radius of the circle is
√ √ √
(a) 2 10 (b) 6 2 (c) 9 (d) 85 (e) 10
15. The number of prime numbers p such that 2p + p2 is also a prime number is
5. Observe that x2 − y 2 = (x − y)(x + y) is the product of two integers of same parity. Hence
x2 − y 2 is either odd or divisible by 4. Thus a number which is neither odd nor divisible by
4 cannot be expressed as a difference of two squares. On the other hand, if n is odd, then
n = 2k + 1 = (k + 1)2 − k 2 . If n is divisible by 4, then n = 4k = (k + 1)2 − (k − 1)2 . Between
1 and 2009 inclusive, there are 1005 numbers that are odd and 502 that are divisible by 4.
The answer is (d).
9
6. We can choose any six of the nine non-zero digits. The number of choices is 6
= 84. Each
choice gives rise to a unique number. The answer is (b).
7. Assume that the first A appears before the first B, and the first B before the first C. Then we
must start with AB and continue with A or C. If we continue with A, the last three letters
must be CBC. If we start with ABC, we must continue with A or B. In either case, either of
the last two letters can appear before the other. So the total is 1 + 2 × 2 = 5. Relaxing the
order of appearance, the total becomes 5 × 3! = 30. The answer is (a).
8. Since 10n−1 < 22009 < 10n and 10m−1 < 52009 < 10m , we have 10m+n−2 < 2200952009 < 10m+n .
It follows that 10m+n−1 = 2200952009 = 102009. Hence m + n − 1 = 2009. The answer is (d).
9. Let ABC be the triangle and DREP F Q be the hexagon, as shown in the diagram below.
Triangles AP E, AP F, ERD and F QD are all congruent to one another.√ Hence DREP F Q
has the same area as the parallelogram AF DE, which is one half of 2 3. The answer is (c).
A
..........
... ... ...
.. ... ...
... ... ...
.... .... ....
. ... ...
... ... ...
..
.. ..... ...
.
... ..
. ..
...
..
.. ...... .........
.
.. ...........
... ...... ....
F .
.....
.
........... P ........ ...
...... ..
E
........
.....
........ .........
.. .. ... .. .. ..
.... .... .... ... .... ....
. .
... .... .... ... ... ....
. ... ... ... ..... ..
... .... .. .. ...
.. ... .. .. ..
... ..
. .... .. .
. ...
... ...
... ... .
.
. ...
... ........ ... ... . .. . ...
... ...... . .
.. ........
. ..
.. ...... ... . ......... ...
.
.
.
.
Q ...
...... .. .. ......
..... . .
.
.
....
. R ...
..
.....................................................................................................................................................................
B D C
10. By the Triangle Inequality, the third side must be from 7 to 15. Now 92 < 112 − 52 < 102 , so
that (5,7,11), (5,8,11) and (5,9,11) are obtuse triangles. Also, 122 < 112 + 52 < 132 , so that
(5,11,13), (5,11,14) and (5,11,15) are obtuse triangles. The other three are not. The answer
is (c).
11. Since Q(9) = 2009, x − 9 is a factor of Q(x) − 2009. Since Q(x) has integral coefficients, p − 9
divides Q(p) − 2009 = 392 − 2009. Since this number is odd, p − 9 must be odd. Since p is
prime, we must have p = 2. Now 392 − 2009 = −1617 = −231 × 7, so that Q(x) does exist.
For instance, we may have Q(x) = 231x − 70. The answer is (a).
12. Let 5 centimetres be the height of the parallelogram. Its base is a segment intercepted by the
other pair of parallel lines 8 centimetres apart. Hence its length is at least 8 centimetres and
can be arbitrarily large. The answer is (b).
√
13. q
With one square root sign, n < 10 is equivalent to n < 100. With two square root signs,
√ √
n + n < 10 is equivalent to n + n < 100, which is in turn equivalent to n < 91. With
r q √ √
three square root signs and n < 91, we have n + n + n < n + 10 ≤ 10. With more
square root signs, the same inequality will hold. There are 90 positive integers which satisfy
n < 91. The answer is (b).
14. Let x be the distance from the centre of the circle to the bottom edge of the larger square.
2
The square of the radius of the circle is√given by 6√ + x2 = 22 + (4 + 12 − x)2 . This yields
x = 7 so that the radius of the circle is 62 + 72 = 85. The answer is (d).
......................................................................................................
................. ... .............
......... ....
.. ..
......... ....
...... ...
... ........
......
.. ...
..... ... .. ... .....
.
....... .
. ... .
.
.
.....
.....
....
..... .. ..
. ..
. . ....
.... .. ... .. ..
. ....
.. . .
. .. .
. .... ....
.. .
. .
. ...
.... . ..
.
. .
.
.
.
.
. ...
... .. .... .. ... ..
...............................................................................................................................................................................................................
.
. . .
.. ... .. .
. .
. ..
. . . . ...
..
.
.
.
.
.. ..
.. . . .
.
. ..
.
.. ..... .. ... .... ..
..
..
. .
.. . . .
. .
. ..
.. . .. ... .
.
. ..
... ..
... ...
.. .. . .
.
. ...
.. .... .. .. ..
. ..
...
.. .. ... ... ...
. ..
... .... .. ... ... ..
.... .. ....
......
.
. ..
... .... ..
. ...
.... ... .
. ..
. ...
... . ... .
.
... .
... ...
. . . ..
... ... . . ..
. ..
.
... ... . ... ... .
.
. .
.
.. .. .. . . .
.
... . ..
. .
. .
. ..
.
... .... .... .... ..
.. ... ...
.. . ... ... ... ...
... ... .... .... ..
.. .
. ...... . . .
.
..
.. ... ... ..
.. . ... .... .... ..
..
.. ..... ... .... .... ..
.. ... ... .. .. ..
... . ..... .
. .
. ....
... . . ...
... .... .... .... .... ...
... ... ... ... ...
.... .... ...... ... ... ......
... ... .... .
. .
. ..
.... .. ..
........................................................................................................................................................................
.... .
.... ....
..... .....
...... ......
........
......... ..
............
............ ........
...............................................................
1. Of Melissa’s ducks, x% have 11 ducklings each, y% have 5 ducklings each and the rest have
3 ducklings each. The average number of ducklings per duck is 10. Determine all possible
integer values of x and y.
2. (a) Find all real numbers t 6= 0 such that tx2 − (2t − 1)x + (5t − 1) ≥ 0 for all real numbers
x.
(b) Find all real numbers t 6= 0 such that tx2 − (2t − 1)x + (5t − 1) ≥ 0 for all x ≥ 0.
(a) Prove that if M and m are positive integers such that M is divisible by f (m), then
f (M + m) is also divisible by f (m).
(b) Prove that there exists a positive integer n such that each of f (n) and f (n + 1) is a
composite number.
The Alberta High School Mathematics Competition
Solution to Part II, 2010.
triangles BED and BCD are congruent, so that BE = BC = BA = AE, triangle BAE is
equilateral and 6 BAD = 60◦ .
4. First Solution:
The area of the punctured board is 22n − 1. The base-2 representation of this number consists
of 2n 1s. Since the area of each rectangle in the partition is a power of 2, we must have at
least 2n rectangles. There exist such partitions with exactly 2n rectangles. Divide the board
in halves by a horizontal grid line. Set aside the one with the missing square and cover the
other with a rectangle of height 2n−1 . Repeating the process with the strips set aside, we
obtain rectangles with decreasing heights 2n−2 , 2n−3 , . . . , 21 and 20 , a total of n rectangles.
We now divide the resulting 2n × 1 board in halves by a vertical line. Set aside the one with
the missing square and cover the other with a rectangle of width 2n−1 . Repeating the process
with the strips set aside, we obtain another n rectangles with decreasing widths, for a total
of 2n rectangles in the overall partition.
Second Solution:
Divide the board into four congruent quadrants. Set aside the one with the missing square.
Merge two of the other quadrants into one rectangle and keep the third quadrant as the second
rectangle. In reducing a 2n × 2n board down to a 2n−1 × 2n−1 board, we use two rectangles. It
follows that we will use exactly 2n rectangles in the overall partition. We now prove that we
cannot get by with a smaller number. The area of a rectangle of the prescribed type is a power
of 2. The smallest has area 1, and the largest has area 22n−1 . Thus there are 2n different sizes.
If we use one of each size, the total area of these 2n rectangles is 1 + 2 + · · · + 22n−1 = 22n − 1,
exactly the size of the punctured chessboard. Consider any other collection of rectangles
whose areas are powers of 2 and whose total area is 22n−1 − 1. Replace any pair of rectangles
of equal area by one with twice the area. Repeat until no further replacement is possible. The
resulting collection consists of rectangles of distinct areas which are powers of 2, and with
total area 22n−1 − 1. It can only be our collection, and since mergers only reduce the number
of rectangles, 2n is indeed minimum.
5. (a) Note that f (M + m) − f (m) is a sum of terms of the form ak ((M + m)k − mk ) where ak is
the coefficient of the term xk in f (x). Since each term is divisible by M = (M + m) − m,
so is f (M + m) − f (m). Since M is divisible by f (m), f (M + m) − f (m) is divisible by
f (m). It follows that f (M + m) is divisible by f (m).
(b) Since all the coefficients of f are non-negative and f is non-constant, it is strictly increas-
ing. Let M = f (2)f (3) and n = M + 2. By (a), f (n) is divisible by f (2) and f (n + 1)
is divisible by f (3). Since f (n + 1) > f (n) > f (3) > f (2) > f (1) ≥ 1, both f (n) and
f (n + 1) are composite.
The Alberta High School Mathematics Competition
Part I, November 16, 2010
1. The number of positive integers n such that the number 4n has exactly two digits is
2. A 4 × 6 plot of land is divided into 1 × 1 lots by fences parallel to the edges of the plot, with
fences along the edges as well. The total length of fences is:
3. The greatest common divisor and least common multiple of two positive integers are 1 and
10 respectively. If neither of them is equal to 10, their sum is equal to
(a) 2511 (b) 2512 (c) 2513 (d) 2514 (e) none of these
6. Alice, Brian, Colin, Debra and Ethel are in a hotel. Their rooms are on floors 1, 2, 3, 21
and 40 respectively. In order to minimize the total number of floors they have to cover to get
together, the floor on which the get-together should be is
7. A square pigeon coop is divided by interior walls into 9 square pigeonholes in a 3 × 3 config-
uration. Each of two pigeons chooses a pigeonhole at random, possibly the same one. The
probability that they choose two holes on the opposite sides of an interior wall is
1 1 4 8 1
(a) 18
(b) 9
(c) 27
(d) 27
(e) 3
1
8. The set of all values of the real number x such that ≤ −3 ≤ x is
x
(a) 80◦ (b) 90◦ (c) 100◦ (d) 110◦ (e) 120◦
10. We are constructing isosceles but non-equilateral triangles with positive areas and integral side
lengths between 1 and 9 inclusive. The number of such triangles which are non-congruent is
11. In each of the following numbers, the exponents are to be evaluated from top down. For
c c
instance, ab = a(b ) . The largest one of these five numbers is
3 2 2 2 2
22 23 32 22 22
( a) 22 (b) 22 (c) 22 (d) 23 (e) 32
12. A gold number is a positive integer which can be expressed in the form ab + a + b, where a
and b are positive integers. The number of gold numbers between 1 and 20 inclusive is
13. The edges DA, DB and DC of a tetrahedron ABCD are perpendicular to one another. If
the length of DA is 1 cm and the length of each of DB and DC is 2 cm, the radius, in cm,
of the sphere passing through A, B, C and D is
3
√
5+1
√ √ 1
(a) 2
(b) 2
(c) 3 (d) 2+ 2
(e) none of these
14. Let f (x) = x2 and g(x) = x4. We apply f and g alternatively to form
f (x) = x2, g(f (x)) = g(x2) = (x2)4 = x8, f (g(f (x)) = f (x8 ) = (x8)2 = x16,
and so on. After we have applied f 50 times and g 49 times, the answer is xn where n is
(a) 148 (b) 296 (c) 2148 (d) 2296 (e) none of these
15. Triangle ABC has area 1. X, Y are points on the side AB and Z a point on the side AC such
that XY = 2AX, XZ is parallel to Y C and Y Z is parallel to BC. The area of XY Z is
1 2 1 2 1
(a) 27
(b) 27
(c) 9
(d) 9
(e) 3
1. Since 10 ≤ 4n ≤ 99, 3 ≤ n ≤ 24. Hence there are 24 − 3 + 1 = 22 such values. The answer is
(b).
2. There are 7 fences of length 4 and 5 fences of length 6. The total length is 7 × 4 + 5 × 6 = 58.
The answer is (a).
3. Since the least common multiple is even, at least one number is even. Since the greatest
common divisor is odd, exactly one number is even. We can show in a similar manner that
exactly one of the two numbers is divisible by 5. Since neither is 10, one of them is 2 and the
other is 5, yielding a sum of 7. The answer is (c).
5. Note that 2010 × 54 = 2512.5. There are 502 multiples of 5 from 5 to 2510 inclusive. Hence
2512 is the (2512 − 502)-th or 2010-th number in the punctured sequence. The answer is (b).
6. Alice and Ethel are 39 floors apart, and as long as the get-together floor is in between, the
total number of floors they cover is 39. Similarly, the total number of floors Brian and Debra
cover is 19. The minimum number of floors Colin covers is 0, when they get together on floor
3. The answer is (e).
7. The pigeons can choose the pigeonholes in 9 × 9 = 81 ways. There are 12 pairs of rooms
separated by an interior wall. Since the pigeons can choose these two rooms in 2 ways, the
desired probability is 2×12
81
8
= 27 . The answer is (d).
A B
..................................................................................................................................................
....... ...... .... ...
...... ... ...... ....
......... .... ...... ...
....
........ ...
. ............ ....
..
.. ... ...
. ...
.. ... ...
...
....
. . ... ...... ....
.... .. ....
......... ...
.. ......... ...
...
......... ...
.... ...... ........ ....
....... . .. ..
................................................................................................................................................................................................................................................................
. .
D M C
10. We first count the triangles in which the equal sides of length k are longer than the third side,
which can be of length from 1 to k−1. Summing from k = 1 to 9, we have 0+1+2+· · ·+8 = 36
such triangles. We now count the triangles in which the equal sides of length k are shorter
than the third side, which can be of length from k + 1 to 2k − 1. Summing from k = 1 to 9,
we have 0 + 1 + 2 + 3 + 4 + 3 + 2 + 1 + 0 = 16. The total is 36 + 16 = 52. The answer is (c).
256 512 81
11. The first three choices are equal respectively to 22 , 22 and 22 . Clearly, the second one is
16
the largest among them. The fourth number is equal to 23 . Since 2512 = 4256 > 3256 > 316,
16
the second number is larger than the fourth one. The fifth number is equal to 32 . Clearly,
256 255 255 16
22 = 42 > 32 > 32 . Hence the second number is the largest among the five choices.
The answer is (b).
12. Note that ab + a + b + 1 = (a + 1)(b + 1). Every composite number can be written in this
form and no prime number can be written in this form. Therefore, the positive integers that
are not gold numbers are those that are one less than a prime. By simple counting, we see
there are 8 primes from 2 to 21. Therefore, the number of gold numbers between 1 and 20
inclusive is 20 − 8 = 12. The answer is (e).
13. The sphere which passes through A, B, C and D also passes through the other four vertices
of a 1 × 2 × 2 block having
√ A, B, C and D as four of its vertices. Since the space diagonal
2 2 2 3
of this block is of length 2 + 2 + 1 = 3, the radius of the sphere is 2 . The answer is (a).
14. Each application of f doubles the exponent while each application of g quadruples the ex-
ponent. After 50 applications of f and 49 applications of g, the exponent has been doubled
50 + 2 × 49 = 148 times so that n = 2148 . The answer is (c).
15. Denote the area of triangle T by [T ]. Since triangles AXZ and AY C are similar, ZC = 2AZ.
Since triangles AY Z and ABC are similar, Y B = 2AY . It follows that
2 2 2 2
[XY Z] = [AY Z] = [AY C] = [ABC] = .
3 9 27 27
The answer is (b).
A......
.... ..
.... ....
....
X ...
..
.... ....
..
..
...
.... ...... ..
...... ...
.... ....
.
.... .
... . ... ...
.. ..... ...
.
..... .... ...
.
Y .
.
.... ...
....................................................................................
.... .......
Z
..
... .... ..
. ... ..
... .... ..
...... ......
..
..
...... ......
..
..
.... .... ..
.... ..... ..
..
..... ..... ...
.
. ... . ..
... .... ..
.. . .... ..
..... . ... ..
..... .. ...
... .... ..
.. ..... ..
..... ..... ..
..... .
...
..
..
..... .. ...
.... .... ..
. ..... .
..... ..... ....
....
...
. ..... ...
...... . .... ...
.. .. ..
......................................................................................................................................................................................................................................
B C
2
16. When n3 −3n+2 is divided by 2n+1, the quotient is n2 − n4 − 11 8
and the remainder is 27
8
. Hence
3 2 3
8(n − 3n + 2) = (2n + 1)(4n − 2n − 11) + 27, so that 2n + 1 divides n − 3n + 2 if and only if it
divides 27. The set of all values of n for which 2n+1 divides 27 is {−14, −5, −2, −1, 0, 1, 4, 13},
and there are 8 such values. The answer is (e).
The Alberta High School Mathematics Competition
Part II, February 2, 2011.
Problem 1.
A cross-shaped figure is made up of five unit squares. Determine which has the larger area, the
circle touching all eight outside corners of this figure, as shown in the diagram below on the left, or
the square touching the same eight corners, as shown in the diagram below on the right.
.......................................
............. .........
......... .......
......... ... ........
..................................................................................................................................................................
............ ...... .... ...............
... ... ..... .... ...... ....
...
........ ... ... .... .... ...
...
....... .
. ... ... ... ....
.... ... ..... .... ... ....
....
.... ...
..
.. .
. . .... .....
... .... ... .... .... .... .... ...
... .... .... .... .... ... ... .
. ... .... ..... .... ...
.......... .... ..... ......
...... .... .......
. ....
.... .... .
.. .. ...... ....
........ .... .... ...... ........ .... .... ......
....
. ........ . ...... . . .
. .....
.. ..... ............ ...... ... .... ......
.... ...... .... ..
.
.
. ..... .... . ... ...... ... .... ...... .... ... .... ....
. .... . .... .. .. ... ...
... ... ..... ..... .... .. .... .... .. .... .. ...
.. .... .... ... .... .. .... ... .... ... ...
.. ... ....
... .... ... .... ...
.....
....
...
....
... ... .. ... .... .... .... .... ....
....
.... ... ... . .... ... . .
. ... ... .... ....... .... ....... ..
.... ........ ....... ..
. ... ........ ........ ...
. ...... .......
...
.
..
.. .....
..
.
..
.. .....
.. ... .... . .
... ......
. .
... .....
...
... . . ... .. .... ... ... .. .. ...
.. ..... .
. .... ..... ..... .. ... . .... .... ..... .... ...
...
..
. .. . . .
... . .
.. ... .... ....
.... ....
...
... . .... . ... ... .... .. ....
.... ... .... .... .. ... . . ... . .... ....
..
.. ...... .... ... ... .. .... ......
.. ... .. . .
.. .... .... ....... .... .... ....
.... .... .. .... ...
...... ...... ... .. ........ ....... .......
...... .
. .
.. ...... . ..
... .... .... ... .... .... .... ......
....... ... ...... ..... .... ...... ... ...... .... ....
....... ... .... ...... ... .... ...
... .... ... .... .... .. ... .... ... ... ....
... ... .... ........ .... .... ..... ..
.
.... ....
... ... ...... .
. ... . .... .... .... ... .... ....
.... ...
... .... ... .... ... .... .... .... .... ..
.........
........ ..... .... ............. ... ... ...... .... ...... ..
.... ........... .. .
..........
........ .. .. ..........................................................................................................................................................................
........... ......
.................................................
Problem 2.
There is exactly one triple (x, y, z) of real numbers such that x2 + y 2 = 2z and x + y + z = t.
Determine the value of t.
Problem 3.
On the side BC of triangle ABC are points P and Q such that P is closer to B than Q and
6 P AQ = 1 6 BAC. X and Y are points on lines AB and AC, respectively, such that 6 XP A = 6 AP Q
2
and 6 Y QA = 6 AQP . Prove that P Q = P X + QY .
Problem 4.
Determine all the functions f from the set of integers to the set of positive integers such that
f (n − 1) + f (n + 1) ≤ 2f (n) for all integers n.
Problem 5.
Seven teams gather and each pair of teams play one of three sports, such that no set of three teams
all play the same sport among themselves. A triplet of teams is said to be diverse if all three sports
are played among themselves. What is the maximum possible number of diverse triplets among the
seven teams?
The Alberta High School Mathematics Competition
Solution to Part II, 2011.
Problem 1. √
The diameter
√ of the circle, being the diagonal of a 1 × 3 rectangle, is 10, so the area of the circle
2
is π( 10/2)2 = 5π 2
. The diagonal of the square is 4, so the side of the square is 42 = 8. Since
π < 3.2 = 16
5
, we have 5π 2
< 8. Thus the square has greater area than the circle.
Problem 2.
Eliminating z, we have x2 + y 2 = 2(t − x − y) so that (x + 1)2 + (y + 1)2 = 2(t + 1). In order to
have a unique solution for x and y, we must have 2(t + 1) = 0 or t = −1.
Problem 3.
Let M be the point on P Q such that 6 MAP = 6 BAP . Then
6 MAQ = P AQ − 6 MAP 6
1
= (6 ABC − 6 MAB)
2
1
= 6 MAC
2
= 6 CAQ.
Since 6 XP A = 6 MP A, triangles XAP and MAP are congruent by the ASA Postulate, so that
P X = P M. Similarly, we can prove that QY = QM, so that P X + QY = P M + QM = P Q.
A..
........... ....... ...
........... .. ..
.......... .. .
... ................ .... ...
... .. .. ... ...
..... ... ... .. ..
.... ..... ... ... ..
..... ... ...
... ... ..... ..... ..
..
..
..
...... ..... .... .. ..
....... .... .... ...
. ..
...
.
..... ..... .... ..
. ...
....... ..... .... .. ..
.
. .... .. .. ...
. ..
. ..
..... ..... ... ... ..
..
X .
...
.... ...
.........
.......
... . ...
....
.
.......
.
.
.
.
.
.
.
..
..
..
..
... . . ... .. ..
.
... . .. .. . ..
... ... ..... .. .
... .. ..
.......................................................................................................................................................................
........
..
C
..
B P M Q .........
........
......... ...
........ ..
Y
.....
Problem 4.
Since f (n) takes on only positive integral values, it has a minimum value m. Let n be such that
f (n) = m. Then 2m ≤ f (n−1)+f (n+1) ≤ 2f (n) = 2m, which implies that f (n−1) = f (n+1) = m
also. It follows easily that f (n) = m for all integers n.
Problem 5.
We first show that the conditions of the problem can be satisfied. Construct a graph where the
teams are represented by vertices Ti , 0 ≤ i ≤ 6. In the diagram below, we partition the graph into
three subgraphs. Two teams play each other in the first sport if and only if the vertices representing
them are joined by an edge in the first subgraph, the second sport in the second subgraph and the
third sport in the third subgraph. None of the subgraphs contains a triangle.
T ... 0
....... ..............
T .. 0
... ...
T......0
........ ........ ... ...... .....
....... ....... ... .. ..
....... ...
T 6 ......... ...
.... ........
..... T
... 1
..
T .... T
6 ............................................................................................... 1 T6 ........
.......... .
.
.. ..
.. ....
.. ....
T
.......
...........
1
... ... .. .. ...
... ....
... ........
... ........ .... . ......... ...
.. ... .. .... ... . ... ......... ................. .....
.... ... .... ... .. ... . ... .
.. . .
.
..
...
... ...... .... ... ........................... ....
. .. ............ ..............
... ... ..... ...... .. . ..... ...........
... .. .... .. ... ........ .......
...
...
...
.
.
... ... .. ...... ............. .
...... .....
.... ........
.......
T ...
5 ..... . .
T2
...
. T .
..........
5 ........... ... .. .
.
.
.. T2...
.......
...............
T 5
...
.
.... ...... ... T2
.......................................................................................................................
... . .. ......... .. ............ ....
...
.... . ............
.....
........... .. ... ... ...
... .. ......... ..
... ... .. ....... .............. ... ... .... ... ..
.... ... .................. .. ... ....
... ..
... ... ..
... .............. ........ ...
... ..
................................................... ......... ......
..
T4 T3 T4 .... ....
T3 T4 T3
The edges in the same subgraph have the same length, and those in different subgraphs have
different lengths. In geometric terms, a diverse triple is a scalene triangle. There is basically one
such triangle, namely T0 T1T3. Six others can be obtained from it by rotation, and seven more by
reflection. Thus we may have as many as 14 scalene triangles.
We now prove that there are at most 14 diverse triples. Construct a complete graph on 7 vertices
which represent the 7 teams. Paint an edge in the i-th colour if the teams represented by its
endpoints play each other in the i-th sport, 1 ≤ i ≤ 3. A triangle is diverse if all three sides are
of different colours, and non-diverse otherwise. Since there are no monochromatic triangles, a non-
diverse triangle has two sides of the same colour. Call the vertex at the junction of the two sides
of the same colour its pivot. The number of pivots is equal to the number of non-diverse triangles.
There are six edges incident with each vertex. If at least 3 of them are of the same colour, then
this vertex is the pivot of at least 3 non-diverse triangles. If not, then exactly 2 edges are of each
colour, so that the vertex is the pivot of exactly 3 isosceles triangles. Hence each vertex is the pivot
of at least 3 non-diverse triangles. Since there are 7 vertices, this brings the total to at least 21, so
that the maximum number of diverse triangles or diverse triples is 14.
The Alberta High School Mathematics Competition
Part I, November 15, 2011
(a) 2013 (b) 2014 (c) 3018 (d) 4024 (e) not an integer
2. Mini-marshmallows are cubes 1 centimetre on each side, while giant marshmallows are cubes
3 centimetres on each side. The number of mini-marshmallows whose combined surface area
is the same as the surface area of one giant marshmallow is
3. The number of customers in a restaurant on Tuesday is 20% more than the number on Monday,
the number of customers on Wednesday is 50% more than the number on Monday, and the
number of customers on Wednesday is n% more than the number on Tuesday. The value of
n is
4. Sawa starts from point S and walks 1 kilometre north, 2 kilometres east, 3 kilometres south
and 4 kilometres west. At this point, her distance, in kilometres, from S is
√ √
(a) 5 (b) 2 2 (c) 4 (d) 8 (e) 10
5. A millenium number is a positive integer such that the product of its digits is 1000. The
number of six-digit millenium numbers is
6. Let x1, x2 , . . . be a sequence of positive rational numbers such that x1 = 16, x2 = 32 and
x +x
xn = n−l 2 n−2 for all positive integers n ≥ 3. Then the value of x6 is
8. Let f (x) be a quadratic polynomial. If f (1) = 2, f (2) = 4 and f (3) = 8, then the value of
f (4) is
10. The perimeter of a square lawn consists of four straight paths. Annabel and Bethany started
at the same corner at the same time, running clockwise at constant speeds of 12 and 10
kilometres per hour respectively. Annabel finished one lap around the lawn in 1 minute.
During this minute, the number of seconds that Annabel and Bethany were on the same path
is
11. ABCD is a quadrilateral with AD = BC and AB parallel to DC. It is only given that the
lengths of AB and DC are 20 and 15 centimetres respectively. Adrian puts n copies of this
tile together so that the edge BC of each copy coincides with the edge AD of the next, and
the edges DC of all copies together form a regular n-sided polygon. Then the value of n is
12. The sum of twenty positive integers, not necessarily different, is 462. The largest possible
value of greatest common divisor of these numbers is
13. The largest real number m such that (x2 + y 2)3 > m(x3 + y 3)2 for any positive real numbers
x and y is
1 1
(a) 3
(b) 2
(c) 1 (d) 2 ( e) none of these
14. Of the 49 squares of a 7 × 7 square sheet of paper, two are to be coloured black while the
others remain white. Two colourings are called distinct if one cannot be obtained from the
other by rotating the sheet of paper about its centre. The number of distinct colourings is
(a) 288 (b) 294 (c) 296 (d) 300 (e) 588
15. The lengths of the sides of triartgle ABC are consecutive positive integers. D is the midpoint
of BC and AD is perpendicular to the bisector of 6 C. The product of the lengths of the three
sides is
16. For any real number r, brc is the largest integer less than or equal to r. For example, bπc = 3.
Let n be a positive integer. Let a1 = n, a2 = b a31 c, a3 = b a32 c and a4 = b a33 c. The number of
positive integers n from 1 to 1000 inclusive such that none of a1, a2, a3 and a4 is divisible by
3 is
(a) 144 (b) 192 (c) 210 (d) 280 ( e) none of these
The Alberta High School Mathematics Competition
Solution to Part I, 2011
2. The surface area of a mini-marshmallow is 6 square centimetres while that of a giant marsh-
mallow is 54 square centimetres. Thus the desired number of mini-marshmallows is 54÷6 = 9.
The answer is (c).
3. Suppose there are m customers on Monday. Then there are 1.2m on Tuesday and 1.5m on
Wednesday. The increase of 0.3m from Tuesday to Wednesday is 25% of 1.2m. The answer
is (b).
4. Sawa is 2 kilometres
√ south√and 2 √
kilometres west of S. Her distance from S, by the Pythagorean
2 2
Theorem, is 2 + 2 = 8 = 2 2 kilometres from S. The answer is (b).
8. Note that g(x) = f (x + 1) − f (x) is a linear polynomial. Since g(1) = f (2) − f (1) = 2 and
g(2) = f (3) − f (2) = 4, we have g(3) = 6. Hence f (4) = f (3) + g(3) = 8 + 6 = 14. The
answer is (b).
9. Since a lucky number n is divisible by 7, it has the form n = 7k for some positive integer k.
If k is not a prime number, then it has a divisor h where 1 < h < k, and 7h is a divisor of n
larger than 7 but not equal to n. Hence k must be a prime number. Moreover, it cannot be
greater than 7. Hence there are only 4 lucky numbers, namely, 14, 21, 35 and 49. The answer
is (d).
10. Annabel spent 15 seconds on each path, and Bethany 18 seconds. On the first path, Bethany
was with Annabel all 15 seconds. On the second path, Bethany joined Annabel 3 seconds late,
and was with her for 12 seconds. On the third path, Bethany was with Annabel for 9 seconds.
On the fourth path, Bethany was with Annabel for 6 seconds. The total is 15+12+9+6=42
seconds. The answer is (b).
11. We can draw a regular polygon of any number of sides such that the side length is 20 centime-
tres. We can then draw a regular polygon of the same number of sides but with side length
15 centimetres, placed centrally inside the larger polygon. Then a tile can be chosen which
can pave the ring-shaped region inside the larger polygon but outside the smaller one. Hence
the answer is (e).
12. Let x1 , . . . , x20 be the given numbers. If d is the greatest common divisor of these numbers
then
x1 x20
x1 + · · · + x20 = d + ··· + = 462 = 21 · 22.
d d
The value d = 22 is obtained if x1 = · · · = x19 = d and x20 = 2d. For each i, xdi ≥ 1. Hence
d ≤ 462
20
= 23.1. Since d divides 462, the largest value for d is indeed 22. The answer is (b).
13. Dividing throughout by y, we have (z 2 + 1)3 > m(z 3 + 1)2 where z = xy . This is equivalent to
15. Let AD intersect the bisector of 6 C at G. Then 6 CGA = 90◦ = 6 CGD, 6 GCA = 6 GCD and
GD = GD. Hence triangles GCA and GCD are congruent, so that AC = DC. It follows that
we have BC = 2DC = 2AC. Now among three consecutive positive integers, one is double
another. This is only possible if the integers are 1, 2 and 3, or 2, 3 and 4. The former does
not yield a triangle. Hence AC = 2, AB = 3 and BC = 4, so that AB · BC · CA = 24. The
answer is (a).
A ....
.......... ....
....... .. ......
............ ... ....
.... . ...
...... ... ....
...... .. ....
....
........................ .. ...
....
.... ......... .
..
..................... .
.
.
.
..........
.
.G..
. ............
....
....
....
...... .. ......... ...
.... . ....
......... ....
......... ... ....
......... ....
..... .
..
.... ..
...
.... ........... ......
.
... . ......... ....
........ .. ....... ..
.................................................................................................................................................................................................................
. .
B D C
16. Note that if we write a positive integer m in base 3, then the base 3 representation of b m 3
c
is simply the base 3 representation of m with the rightmost digit removed. Also, a positive
integer m is divisible by 3 if and only if the rightmost digit of m is 0. Hence, in order that none
of a1, a2, a3 and a4 is divisible by 3, the rightmost four digits of the base 3 representation of
n are all non-zero. Note that 1000 > 2(35 + 34 + 33 + 32 + 3 + 1). If n has at most 6 digits
in its base 3 representation, the first two can be any of 0, 1 and 2, while the last four cannot
be 0. There are 32 × 24 = 144 such numbers. Clearly, n cannot have more than 7 digits as
otherwise n ≥ 37 > 1000. Suppose n has exactly 7 digits. As before, the last four cannot be
0. Since 1000 < 36 + 35 + 33 + 32 + 3 + 1, the first one must be 1, the second must be 0 and
the third can be any of 0, 1 and 2. Hence, there are 3 × 24 = 48 such numbers. The total is
192. The answer is (b).
The Alberta High School Mathematics Competition
Part II, February 1, 2012.
Problem 1.
A rectangular lawn is uniformly covered by grass of constant height. Andy’s mower cuts a strip of
grass 1 metre wide. He mows the lawn using the following pattern. First he mows the grass in the
rectangular “ring” A1 of width 1 metre running around the edge of the lawn, then he mows the
1-metre-wide ring A2 inside the first ring, then the 1-metre-wide ring A3 inside A2, and so on until
the entire lawn is mowed. Andy starts with an empty grass bag. After he mows the first three rings,
the grass bag on his mower is exactly full, so he empties it. After he mows the next four rings, the
grass bag is exactly full again. Find, in metres, all possible values of the perimeter of the lawn.
A4
A3
A2
A1
Problem 2. 2
PA PD
In the quadrilateral ABCD, AB is parallel to DC. Prove that = , where P is a point
PB PC
on the side AB such that 6 DAB = 6 DP C = 6 CBA. .
Problem 3.
A positive integer is said to be special if it can be written as the sum of the square of an integer
and a prime number. For example, 101 is special because 101=64+37. Here 64 is the square of 8
and 37 is a prime number.
(a) Show that there are infinitely many positive integers which are special.
(b) Show that there are infinitely many positive integers which are not special.
Problem 4. √
In triangle ABC, AB = 2, BC = 4 and CA = 2 2. P is a point on the bisector of 6 B such
that AP is perpendicular to this bisector, and Q is a point on the bisector of 6 C such that AQ is
perpendicular to this bisector. Determine the length of P Q.
Problem 5
Determine the smallest positive integer n for which there exist real numbers x1 , . . . , xn , 1 ≤ xi ≤ 4
for i = 1, 2, . . . , n, which satisfy the following inequalities simultaneously:
7n
x 1 + x2 + · · · + xn ≥
3
1 1 1 2n
and + + ··· + ≥ .
x1 x2 xn 3
The Alberta High School Mathematics Competition
Solution to Part II, 2012.
Problem 1.
Let the dimensions of the lawn be a metres by b metres. The area of the first three rings is given
by ab − (a − 6)(b − 6) = 6(a + b) − 36. Similarly, the area of the next four rings is given by
(a − 6)(b − 6) − (a − 14)(b − 14) = 8(a + b) − 160. These two regions contain the same amount of
grass and so must be the same area. Thus 6(a + b) − 36 = 8(a + b) − 160. It follows that the only
possible value of the perimeter of the lawn is 2(a + b) = 124 metres.
Problem 2.
Since 6 DAB = 6 CBA and AB is parallel to DC, we have AD = BC. Since AB is parallel to DC,
6 BP C = 6 P CD. It follows that triangles BP C and P CD are similar. A similar argument shows
Problem 4.
Extend AP and AQ to cut BC√ at M and N respectively. √ Then ABM and ACN are isosceles,
so that BM = 2 and NC = 2 2. Hence MN √ = 2 2 − 2. Now P Q is the segment joining the
MN
midpoints of AM and AN . Hence P Q = 2 = 2 − 1.
A ...
............... . ..
.... ... .. .............
.... .. .. .......
.... ... .... .......
....... .. .. .......
.......
.... . ..
............. Q .
.
..
. P ..
..
...................................
.. . .
.......
.......
.......
......
.... .............. ................... .......
.... .. .
......... . .
.. ................... .......
... ...... . ................ ......
...... .............. ..
. ..
. ..................... .............
..
. .. .............. .
. ..
. .............. .......
. . .................. ..
. ..
. ............. ......
.... ..
............................................................................................................................................................................................................................
B N M C
Problem 5.
Suppose the real numbers x1, . . . , xn , 1 ≤ xi ≤ 4 for i = 1, 2, . . . , n, satisfy the two given inequalities.
Then (xi − 1)(xi − 4) ≤ 0 so that xi + x4i ≤ 5. Equality holds for xi = 1 or xi = 4. From these
inequalities and the given ones, we obtain
7n 8n 1 1 1
5n = + ≤ x1 + x2 + · · · + xn + 4 + + ··· + ≤ 5n.
3 3 x1 x2 xn
Hence xi = 1 or 4, i = 1, 2, . . . , n. Suppose x1 = x2 = · · · = xk = 1 and xk+1 = xk+2 = · · · = xn = 4
for some index k. Then x1 + x2 + · · · + xn = k + 4(n − k) = 7n 3
. Hence 5n = 9k so that 9 divides
n. It follows that the smallest value of n is 9, with the numbers 1, 1, 1, 1, 1, 4, 4, 4 and 4.
The Alberta High School Mathematics Competition
Part I, November 21, 2012
1. Each day, Mr. Sod visited pubs A, B, C and D in that order, always spending $35, $12, $40
and $27 at the respective places. His total expenditure at the pubs, from the beginning of
the month up to a certain moment that month, was $1061. Which pub would he be visiting
next?
2. Meeny, Miny and Moe were playing tennis. From the second game on, the one who sat out
the preceding game would replace the loser of that game. At the end, Meeny played 17 games
and Miny played 35 games. How many games did Moe play?
3. A circle of diameter r is drawn inside a circle of diameter R. For which of the following pairs
(r, R) is the area of the smaller circle closest to half the area of the larger circle?
(a) (1, 3) (b) (2, 4) (c) (3, 5) (d) (4, 6) (e) (5, 7)
4. A quadratic polynomial f (x) satisfies f (0) = 1, f (1) = 0 and f (2) = 3. What is the value of
f (3)?
6. For how many integers n ≥ 2 is the sum of the first n positive integers a prime number?
7. In a test, Karla solved four-fifth of the problems and Klaus solved 35 problems. Half of the
problems were solved by both of them. The number of problems solved by neither was a
positive one-digit number. What was this number?
8. What is the largest possible integer a such that exactly three of the following statements are
true: a < 1, a > 2, a < 3, a > 4 and a < 5?
12. Weifeng writes down 28 consecutive numbers. If both the smallest and the largest number
are perfect squares, what is the smallest number she writes down ?
15. At the beginning of the year, there were more robots than androids. On the first day of each
month, each robot made 7 androids and each android made 7 robots. The next day, each old
android would pick a fight with a new android, and they would destroy each other. At the
end of the year, there were 46875 million robots and 15625 million androids. What was the
difference between the numbers of robots and androids at the beginning of the year?
(a) less than 10 (b) at least 10 but less than 100 (c) at least 100 but less than 1000
(d) at least 1000 but less than 10000 (e) at least 10000
16. Let m and n be positive integers such that 11 divides m + 13n and 13 divides m + 11n. What
is the minimum value of m + n?
1. Note that 35 + 12 + 40 + 27 = 114 and 1061 = 9 × 114 + 35. Thus Mr. Sod had spent $35 on
the tenth day of that month at pub A. The answer is (b).
2. Since Meeny played 17 games, Miny and Moe played each other at most 17 + 1 = 18 times,
and each could play at most 18 + 17 = 35 games. As Miny played 35 games, Moe did not
play Meeny but played Miny 18 times. The answer is (a).
3. We want ( Rr )2 to be close to 12 . We have ( 13 )2 < ( 24 )2 < ( 35 )2 < ( 46 )2 = 4
9
and ( 57 )2 = 25
49
. Since
25
49
− 12 = 98
1
< 181
= 12 − 49 , the answer is (e).
4. Let f (x) = ax2 + bx + c. Then 1 = f (0) = c, 0 = f (1) = a + b + c and 3 = f (2) = 4a + 2b + c.
We have c = 1, a + b = −1 and 2a + b = 1. Hence a = 2 and b = −3, so that f (3) = 10. The
answer is (d).
5. Triangles GAD and GF E are similar, with AD = 3EF . Hence the vertical height of triangle
EF G is 13 of the vertical height of triangle ADG. Hence it is equal to 14 AB = 3 cm so that
the area of triangle EF G is 12 × 3 × 4 = 6 cm2. The answer is (a).
A D
J
JG
J
J
J
B E F C
n(n+1)
6. The sum of the first n positive integers is 2 . Suppose n is even. Then we must have
either n2 = 1 or n + 1 = 1. Both lead to n = 2. Suppose n is odd. Then we must have either
n+1
2
= 1 or n = 1. However, n = 1 is not allowed by the hypothesis. The answer is (b).
7. The fraction of problems solved only by Karla was 45 − 12 = 10 3
so that the total number of
3 7
problems is a multiple of 10. The fraction of problems solved by Klaus was at most 1− 10 = 10 .
Thus the total number of problems was at least 50. If it were 50, then 10 problems were solved
by Klaus alone, and as Karla solved 45 × 50 = 40 problems, the number of problems solved by
neither is 0. The total number of problems could only be as large as 70 since 35 problems would
be solved by both. In this case, the number of problems solved by neither was 15 × 70 = 14.
It follows that the total number of problems must be 60, of which 30 were solved by both, 5
3
by Klaus alone, 10 × 60 = 18 problems by Karla alone, and 60 − 30 − 5 − 18 = 7 by neither
of them. The answer is (d).
8. Note that a > 2 and a < 3 cannot both be true as there are no integers between 2 and 3.
Similarly, a > 4 and a < 5 cannot both be true. Since exactly three of the statements are
true, a < 1 must be true. Hence the largest possible value is a = 0, and for this value, the
three statements a < 1, a < 3 and a < 5 are true and the two statements a > 2 and a > 4
are false. The answer is (a).
9. We have 70 = 1 × 70 = 2 × 35 = 5 × 14 = 7 × 10. Thus there are four possible shapes of the
rectangle, with respective perimeters 142 cm, 74 cm, 38 cm and 34 cm. The answer is (d).
10. Solving (n + 5)2 < 2n2 < (n + 6)2 yields 50 < (n − 5)2 and (n − 6)2 < 72. Thus 8 ≤ n − 5 and
n − 6 < 9 or 13 ≤ n ≤ 14. The answer is (c).
11. We shade the regions AP QB and CRSD while leaving the regions AP SD and BQRC un-
shaded. Extend the sides of P QRS to the perimeter of ABCD, creating four rectangles at
the corners each of which consists of two congruent triangles, one shaded and one unshaded.
The difference between the total area of the unshaded regions (not counting P QRS) and the
total area of the shaded regions is 1113 − 363 = 750 cm2. The difference in the lengths of
AD and AB is 15 cm. Hence the side length of P QRS is 750 ÷ 15 = 50 cm, and the area of
P QRS is 2500 cm2, The answer is (c).
A D
...............................................................................................................................................................................................................
........................................................................................................................................................................................................................
................................ ............................................................................
........................................
P
..................................
...............................
S
............................................................
...........................................................................
.............................................
........................ .........................................................................
. ... ...
.......................................... ..............................................................
......................... .............................................
................................ .........................................................................
....................................... ............................................................
.......................... ............................................................
................................ ............................................................
....................................... ............................................................
.......................... ............................................................
....................................... ..............................................................
......................... ..........................................................
................................ ............................................................
....................................... ............................................................
.......................... ............................................................
...................................... ............................................................
............................... ............................................................
.................. ............................................................
. ... ...
........................................ ............................................................
.......................... .............................................
Q R
.........................................................................................................................................................................................................................................................
.................... .. ... .......................................
.......... ... . ..... .....
.............................................................................................................................................................................................
B C
12. Let the smallest and the largest numbers Weifeng writes down be n2 and m2 respectively.
Since they are the ends of a block of 28 consecutive numbers, (m + n)(m − n) = m2 − n2 = 27.
We may have m + n = 27 and m − n = 1, whereby m = 14 and n = 13. We may have
m + n = 9 and m − n = 3, whereby m = 6 and n = 3. Thus the smallest number Weifeng
writes down may be 32 = 9 or 132 = 169. The answer is (e).
13. We have
1 1 1
= 2 + 2
8 a + 4b + 4 b + 4a + 4
1 1
= +
(a − 2)2 + 4a + 4b (b − 2) + 4b + 4a
1 1
≤ +
4(a + b) 4(a + b)
1
= .
2(a + b)
Hence a + b ≤ 4. This maximum value is attained if and only if a = b = 2. The answer is (d).
14. Let M be the midpoint of BC and D the point where the circle is tangent to BC. Let
B 0, C 0 and M 0 be the respective projections of B, C and M on EF . Now AEF is a right
isosceles triangle. Hence so are BB 0F and CC 0E. Hence BB 0 = BF
√ and CC 0 = CE
2
√ , so that
2 √
M M 0 = 12 (BB 0 + CC 0) = 2
1
√
2
(BF + CE) = 2
1
√
2
(BD + CD) = BC
√
2 2
= 4
2
. The answer is (a).
A ......
..... .....
...
B0
.........
.. .......................
....
.......
...
...
...
........................ . ................................ ...
... ....................... .. .
.............. ........... .....
...
...
..
.......................
F
........................ ....... .
. .. .
.........................
... .........................
....... ...
..... ...
......
......
...
.... .
.....
......... ..
.. 0
.......................
E
.............................
........................
...
...
.
.... ..
. . .
..
.. ... M .
.
.
.
..
...
....
.....
........................
....................... C
....................
0
... ...... .... ..
. ..... .
... ..... .
.. .
.
.
. .. .... ...
.
... .. ... ..
.
.. .... ...
. ... .. ... ..
.. .... ..... ... .. .... ..
... .... .. .... ... ..
.... ....... .. ..
.
. . ... .
.
... ... ... .
.. .... ... ... ... ... ..
... .... .. ... ... ..
... ....
... ... .. ... ...
.... ....... ..
. .
... .... ...
.. ..
.
.. .. ...
.. .... ... ... .. ... ..
... ..... ... ... ... ... ...
... .... ... .. ... ... ..
.... ... .. ... ... ..
.... ..... .
.... .. .
. . ... .... .
.
... .... ..... .. .... ... ...
.. ...... ....... .... ... .
. ...... ... ..
... .... ... ......... ......... ..
.............................................................................................................................................................................................................................................................................................................................................
B M D C
15. Let the numbers of robots and androids be r and a respectively. After one month, these
numbers became r+7a and 7r−a. After another month, they became (r+7a)+7(7r−a) = 50r
and 7(r + 7a) − (7r − a) = 50a. Hence after a two-month period, the number of robots became
50 times the original number, and the same goes for the number of androids. There being 6
two-month periods in a year, the initial number of robots was 46875000000 ÷ 506 = 3 and the
initial number of androids was 15625000000 ÷ 506 = 1. The answer is (a).
16. Since 13 divides 6(m + 11n) = (6m + n) + 13(5n), 13 divides 6m + n. Since 11 divides
6(m + 13n) = (6m + n) + 11(7n), 11 also divides 6m + n. Hence 11 × 13 = 143 divides 6m + n,
so that 6m+n = 143k for some integer k. Since 6(m+n) = 143k +5n = 6(24k +n)−(k +n), 6
divides k +n so that k +n ≥ 6. Now 6(m+n) = 143k +5n = 138k +5(k +n) ≥ 138+30 = 168.
Consequently m + n ≥ 28, and this is attained if m = 23 and n = 5. The answer is (c).
The Alberta High School Mathematics Competition
Part II, February 6, 2013.
Problem 1.
Determine all pairs of positive integers (a, b) with a ≤ b such that
6 6
a+ b+ = 25.
b a
Problem 2.
A set S of positive integers is called perfect if any two integers in S have no common divisors greater
than 1. Candy wants to build a perfect set of numbers between 1 and 20 inclusive, in such a way
that her set contains as many numbers as possible.
Problem 3.
Randy plots a point A. Then he starts drawing some rays starting at A, so that all the angles he
gets are integral multiples of 10◦ . What is the largest number of rays he can draw so that all the
angles at A between the rays are unequal, including all angles between non-adjacent rays?
Problem 4.
In a convex pentagon of perimeter 10, each diagonal is parallel to one of the sides. Find the sum of
the lengths of its diagonals.
Problem 5.
Find all integers r > s > t and all quadratic polynomials of the form f (x) = x2 + bx + c such that
b and c are integers, r + t = 2s, f (r) = 1, f (s) = b and f (t) = c.
The Alberta High School Mathematics Competition
Solution to Part II, 2013.
Problem 1.
36
The given equation may be rewritten as ab + ab
+ 12 = 25. Therefore
(a) Candy’s perfect set may be {1, 2, 3, 5, 7, 11, 13, 17, 19}. We claim that this number is the
highest possible. Now a maximal perfect set must contain the element 1, as otherwise we can
add 1 and obtain a larger perfect set. Also, a maximal perfect set cannot contain an element
which is divisible by two distinct primes, as otherwise we can replace that element by the two
primes and obtain a larger perfect set. Hence each element pther than 1 is a positive power
of a prime. Moreover, distinct elements are powers of distinct primes. Since there are only 8
primes less than 20, namely, 2, 3, 5, 7, 11, 13, 17 and 19, we claim is justified.
(b) Every maximal perfect set Candy can build must have the form
where each exponent is a positive integer. Since 52 > 20, the exponent for all primes greater
than or equal to 5 must be 1. Since 24 ≤ 20 ≤ 25 and 32 ≤ 20 ≤ 33 , the exponent for 2 must
be 1, 2, 3 or 4, and the exponent for 3 must be 1 or 2. This yields eight different maximal
perfect sets.
Problem 3.
Let n ≥ 2 be the number of rays drawn by Randy. Then there are n2 = n(n−1) 2
pairs of rays. Each
◦
pair determines two angles adding up to 360 . Hence the total number of angles between 2 of the n
rays is exactly n(n − 1). The measure of such an angle is clearly less than 360◦ . Since it is supposed
to be an integral multiple of 10◦ , there are at most 35 values for the measures of these angles. Since
they are distinct, n(n − 1) ≤ 35. Now 6 × 5 = 30 < 35 < 42 = 7 × 6. Hence n ≤ 6. It is possible
for Randy to draw 6 rays, determining 30 distinct angles. In the diagram below, 6 U AV = 60◦ ,
6 V AW = 40◦ , 6 W AX = 10◦ , 6 XAY = 20◦ , 6 Y AA = 140◦ and 6 ZAU = 90◦ .
X..........................W ......... V
..............................
Z
We now verify that the 30 angles between two rays are distinct. We have 6 W AY = 30◦ , 6 V AX = 50◦ ,
6 V AY = 70◦ , 6 U AW = 100◦ , 6 U AX = 110◦ , 6 U AY = 130◦ , 6 ZAV = 150◦ , 6 XAZ = 160◦ as well
as 6 W AZ = 170◦ . These are 9 different angles distinct from the 6 between adjacent rays. All have
measures less than 180◦ . Corresponding to these 15 angles, we have 15 other angles greater than
180◦ , yielding a total of 30 distinct angles.
Problem 4.
Let L be the point of intersection of EC and DB. Let M be the point on the extension of AB
such that M C is parallel to AE. Then ABLE and AMCE are parallelograms. Note that triangles
DLC and EAB are similar, as are triangles AMC and ELD. It follows that
EC EL + LC LC DL DL AB
= =1+ =1+ =1+ =1+ .
AB AB AB EA CM EC
√
Let x = EC
AB
. Then x = 1 + x1 so that x2 − x − 1 = 0. Hence x = 1+2 5 . Similarly, we have
DB AC AD EB
√
1+ 5
√
AE
= ED
= BC
= DC
= 2
, so that EC + DB + AC + AD + EB = 5(1 + 5).
A .......
.......... ....
.... .. .. ....
.... .... .... .......
........ .
. ..
..
....
....
.. .
..... .. .. ....
.... .. .. ....
. .. .... ..
.
.
..
..
....
....
....... .
.
. ..
. ....
....
.. .. .
. .. ....
B ...
. . ... .
.
...
. .
.. ... E
.............................................................................................................................................................
.
.... .......... .. .. ... ..
.... .
. . .. ..... .
.
.. ..
. . ....... ...
..... .. .... .. .. .
M ........
....
...
..
..
..
....
....
.... ..
.... ..
.
.
..
..
..
..
.
.. ..... .
.. ....
....
..
..
..
.... .. ..... .. ... ..
.. ..
... ..
... .. .. .. ... .. ..
.... .. .. ........ .... .... ..
... .. .. .... .... .. ..
.... .. .. .... ........ .. ...
.... ..
. .
... ........ ... ..
.... . ..
... ..
.. ..
. ..... ....... ..
.. ..
... .... ..
.... ... ....
... .. ..
.... .. .. .......
....
.... L ....
....
..... .... ....
...... .. .
..
.
. .
..
... .. ... ..... ... .. ..
............
.................................................................................................
C D
Remark:
The regular pentagon is used in the illustrative diagram. Many students√may get the correct answer
by treating only this special case, essentially proving that cos 36◦ = 1+4 5 .
Problem 5.
The conditions are:
r2 + br + c = 1, (1)
s2 + bs + c = b, (2)
t2 + bt + c = c, (3)
r+t = 2s. (4)
From (3), t(t + b) = 0 so that either t = 0 or t = −b. We consider these two cases separately.
Case 1: t = 0.
From (4), we have r = 2s. Substituting into (1), we have 4s2 + 2bs + c = 1. Subtracting (2) from
this, we have 3s2 + bs = 1 − b which may be rewritten as (s + 1)(3s − 3 + b) = −2. Hence 2 is
divisible by s + 1, so that s = −3, − 2, 0 or 1. However, since s > t = 0, we may only have s = 1.
It follows that b = −1. Hence f (x) = x2 − x − 1, with r = 2, s = 1 and t = 0.
Case 2: t = −b.
From (4), we have r = 2s + b. Substitoting into (1), we have 4s2 + 6sb + 2b2 + c = 1. Subtracting (2)
from this, we have 3s2 + 5sb + 2b2 = 1 − b which may be rewritten as (3s + 2b + 3)(s + b − 1) = −2.
Hence −2 is divisible by s + b − 1. From r > s > t = −b, we have s + b > 0. Hence s + b − 1 > −1 so
that s + b − 1 = 1 or 2. If s + b − 1 = 1, we have 3s + 2b + 3 = −2 so that s = −9 and b = 11. Hence
f (x) = x2 + 11x + 30 with r = −7, s = −9 and t = −11. If s + b − 1 = 2, we have 3s + 2b + 3 = −1
so that s = −10 and b = 13. Hence f (x) = x2 + 13x + 43, with r = −7, s = −10 and t = −13.
The Alberta High School Mathematics Competition
Solution to Part I, 2013.
1. Of the first 100 positive integers 1, 2, . . . , 100, the number of those not divisible by 7 is
Solution:
When 100 is divided by 7, the quotient is 14, with a remainder of 2. Thus 14 of the first 100
positive integers are divisible by 7. It follows that the number of these integers not divisible
by 7 is 100 − 14 = 86. The answer is (d).
2. The total score of four students in a test is 2013. Ace scores 1 point more than Bea, Bea
scores 3 points more than Cec, and Cec scores 2 points more than Dee. None of their scores
is divisible by
Solution:
Since the average score is just over 500, we try 500 as a score for Dee. Then Cec’s score is
502, Bea’s is 505 and Ace’s 506. The total is indeed 2013, so that no adjustment is necessary.
Now 500 is divisible by 4, 500 and 505 are divisible by 5, and 506 is divisible by 11 and 23.
The answer is (a).
1 2 3 4 6
(a) 75
(b) 149
(c) 224
(d) 299
(e) 449
Solution:
12
The lowest common numerator is 12. The fractions then become , 12 , 12 , 12
900 894 896 897
and 12
898
respectively. The answer is (b).
4. Two teams A and B played a soccer game on each of seven days. On each day, the first
team to score seven goals wins. There were no ties. Over the seven days, A won more games
than B, but B scored more goals than A overall. The difference in the total numbers of goals
scored by B and A is at most
Solution:
B won at most three games, and for each of these games, B wins by at most 7 goals with a 7
to 0 score. In the other four games, B loses by at least 1 goal with a 7 to 6 score. The goal
difference is at most 7 × 3 − 1 × 4 = 17. The answer is (a).
5. ABCD is a quadrilateral with AB = 12 and CD = 18. Moreover, AB is parallel to CD
and both 6 ADC and 6 BCD are less than 90◦ . P and Q are points on side CD such that
AD = AP and BC = BQ. The length of P Q is
Solution:
From A and B, drop perpendiculars onto CD at the points E and F respectively. Since both
6 ADC and 6 BCD are less than 90◦ , E and F do lie on the segment CD. Note that
DE + F C = CD − EF = CD − AB = 6.
6. Each of four cows is either normal or mutant. A normal cow has 4 legs and always lies. A
mutant cow has either 3 or 5 legs and always tells the truth. When asked how many legs they
have among them, their respective responses are 13, 14, 15 and 16. The total number of legs
among these four cows is
Solution:
Since all four responses are different, at least three of them are wrong. If all four are wrong,
then the cows are all normal, and they will have 16 legs among them. However, this makes
one of the responses right. Hence one of the responses is indeed right. The three normal cows
have 12 legs among them. Hence the mutant cow must have 3 legs in order to make one of
the responses right. The answer is (c).
a
7. Let a and b be positive integers such that ab < 100 and b
> 2. Denote the minimum value of
a
b
by m. Then we have
Solution:
We have 100 > ab > b(2b+1) so that b ≤ 6. Thus the minimum value of m is 2+ 16 = 2.1666 . . ..
The answer is (b).
8. Let ABCD be a quadrilateral with 6 DAB = 6 CBA = 90◦ . Suppose there is a point P on
side AB such that 6 ADP = 6 CDP and 6 BCP = 6 DCP . If AD = 8 and BC = 18, the
perimeter of the quadrilateral ABCD is
Solution:
Since 6 DAB + 6 CBA = 180◦ , AD is parallel to BC. Therefore, 6 ADC + 6 BCD = 180◦ .
Hence 6 P DC + 6 P CD = 90◦ . Consequently, 6 DP C = 90◦ . Let Q be the foot of the
perpendicular on CD from P . Note that triangle P DA is congruent to triangle P DQ, and
triangle P CB is congruent to triangle P CQ. Hence DQ = DA = 8, CQ = CB = 18 and
P A = P Q = P B. Since 6 DP C = 90◦ , triangle DP Q is similar to triangle P CQ. Hence
DQ
QP
= PQC
Q
. Therefore, P Q2 = 8 × 18 = 144 and P Q = 12. The perimeter of ABCD is
therefore AP + P B + BC + CQ + QD + DA = 12 + 12 + 18 + 18 + 8 + 8 = 76. The answer
is (d).
..........
........ .. ..
C
......... .... ....
.
............... ... ..
.
........ ...
. ...
......... ... ....
........
......... .. ....
..
............. .... ..
............. ..
..
...
. .
........... ... ....
.
........... ... ..
............. ... ...
....
......... .
.. ....
...........
. ... ..
............. . .. ...
.......... .. ...
Q ..
.................
...... ...
... ....
...
...
............. ... ...
. ...
...
......... ..
. .
.. ...
..
........... ..
. ... ...
............
. ..
....
...
.
............ ..
. ... ...
...... .. ..
D
..............
....
................ ...
... ........ ...
...
... .......
... .
.. ....
..... ... .
. ..
... ..... . ... ...
... .. ..
... ....... .
... .. ....
... ...... .. .. ..
... . ... ...
... ..... .. ..
... .....
..... .. .. ....
... ..... ... .. ..
... ..... .. ... ...
... ..... .. ... ....
... ..... .. ... ..
... ..... .. ..
... ....... ... .
.
. ...
... ...... ... ... ...
. ....... . .. ...
.... ..... ..
. .... ...
..... .. ..
.. ..... .
.. .. ...
... ..... .. ...
.... ..... .... .... ...
... ..... .. ... ...
..... ... ..
... ...... .. ..
.............................................................................................................................................................................................................................................................................................................
A P B
9. Two bus routes stop at a certain bus stop. The A bus comes in one-hour intervals while the
B bus also comes in regular intervals of a different length. When grandma rests on the bench
by the bus stop, one A bus and two B buses come by. Later, grandpa rests on the same bench
and eight A buses come by. The minimum number of B buses that must have come by during
that time is
Solution:
To minimize the number of B buses coming by, we stretch the length of their intervals as far
as possible. Suppose grandma sees the A bus that comes at 10:00. Then she does not see
the ones that come at 9:00 or 11:00. Thus the length of the interval between two B buses is
strictly less than 2 hours. The two B buses grandma sees may have come at 9:01 and 10:59,
in which case the interval is of length 118 minutes. Grandpa is on the bench for at least 7
hours. This is longer than three intervals for the B buses, so he must have seen at least 3 of
them. Suppose he sees the A buses at 11:00, 12:00, 13:00, 14:00, 15:00, 16:00, 1700 and 18:00.
Then he will see only the B buses at 12:57, 14:55 and 16:53. The answer is (a).
10. Suppose that 162013 = ab , where a and b are positive integers. The number of possible values
of a is
Solution:
Since 162013 = 24×2013, a must be of the form 2k where k is a positive integer divisor of
4 × 2013 = 22 × 3 × 11 × 61. The prime factorization of k may contain up to two 2s, one 3,
one 11 and one 61, so that there are (2 + 1)(1 + 1)3 = 24 possible values of k, and therefore
of a. The answer is (e).
11. The following five statements are made about the integers a, b, c, d and e: (i) ab is even and
c is odd; (ii) bc is even and d is odd; (iii) cd is even and e is odd; (iv) de is even and a is odd;
(v) ea is even and b is odd. The maximum number of these statements which may be correct
is
Solution:
If a, c and d are odd while b and e are even, then (i), (ii) and (iv) are all correct. Suppose
at least four statements are correct. By symmetry, we may assume that they are (i), (ii), (iii)
and (iv). However, by (i) and (ii), c and d are both odd, and yet by (iii), cd is even. This is
a contradiction. The answer is (c).
12. A very small cinema has only one row of five seats numbered 1 to 5. Five movie-goers arrive
one at a time. Each takes a seat not next to any occupied seat if this is possible. If not, then
any seat will do. The number of different orders in which the seats may be taken is
Solution:
The first two movie-goers to arrive may take the pair (1,5), (1,4), (2,5), (1,3), (2,4) or (3,5)
of seats. In each case, there are 2!=2 ways for them to do so. If they take (1,5), (1,3) or
(3,5), then the third movie-goer has only one choice of seat. The remaining two seats may be
occupied in 2!=2 ways. Otherwise, the last three movie-goers may take any vacant seats, and
this can be done in 3!=6 ways. Hence the total number of orders in which the seats may be
taken is 2 × 3 × (2 + 6) = 48. The answer is (c).
13. Let f (x) = x2 + x + 1. Let n be the positive number such that f (n) = f (20)f (21). Then the
number of distinct prime divisors of n is
Solution:
Note that f (m − 1)f (m) = (m2 − m + 1)(m2 + m + 1) = m4 + m2 + 1 = f (m2 ). Substituting
m = 21 yields f (20)f (21) = f (441). Therefore, n = 441 = 32 72 . The answer is (b).
14. The number of pairs (x, y) of integers satisfying the equation x2 + y 2 + xy − x + y = 2 is
Solution:
The equation can be written as x2 + (y − 1)x + y 2 + y − 2 = 0. By the Quadratic Formula,
the solutions are
q q
−(y − 1) ± (y − 1)2 − 4(y 2 + y − 2) −(y − 1) ± −3(y − 1)(y + 3)
x= = .
2 2
These are real if and only if (y + 3)(y − 1) ≤ 0. Since y is an integer, it must be one of −3,
−2, −1,0 and 1. If y = −3, then x = 2. If y = −2, then x = 0 or 3. If y = −1, x is not an
integer. If y = 0, then x = −1 or 2. Finally, if y = 1, then x = 0. The answer is (d).
15. A triangle ABC with AB = 7, BC = 8 and CA = 10 has an interior point P such that
6 AP B = 6 BP C = 6 CP A = 120◦ . Let r1 , r2 and r3 be the radii of the circles passing
through the vertices of triangles P AB, P BC and P CA respectively. The value of r12 + r22 + r32
is
Solution:
Let O be the centre of the circle passing through the vertices of tiangle P AB. Note that since
6 AP B > 90◦ , O lies on the perpendicular bisector of AB outside of triangle P AB. Since
OA = OP = P B,
(a) 981 (b) 982 (c) 984 (d) 985 (e) 999
Solution:
If we switch the powers of 3 to the powers to 2, then we get all the positive integers. Hence
we convert 100 into base 2, obtaining 100 = 26 + 25 + 22 . It follows that the 100-th number
on the list is 36 + 35 + 32 = 981. The answer is (a).
The Alberta High School Mathematics Competition
Solution to Part II, 2014
Problem 1.
ABCD is a square. The circle with centre C and radius CB intersects the circle with diameter AB
at E 6= B. If AB = 2, determine AE.
Solution: √ √
Let O be the midpoint of AB. Then OB = 1 and OC = 12 + 22 = 5. The line OC of centres of
the two circles is perpendicular to the common chord BE. AE is also perpendicular to BE since E
lies on the circle with diameter AB. Now 6 ABE = 90√◦ − 6 COB = 6 OCB. Hence triangles ABE
and OCB are similar, so that AE = AB·OB OC
= 2×1
√ = 2 5.
5 5
D.............................................................................................................................................................
C
... .
.. ...
..... .. ..
.. ..
........ ... ..
....... ... ....
...... . ...
..
... ... .. ...
.... .... .. ....
... .. ... ..
... ... ... ...
.... .... ... ...
... .. ... ...
... ... ... ...
.. ... ..
. ...
... ... ..
....................................... .. . ...
....
...E ...
...
... ..... .....
........
.......
. ... ..........
...........
...
...
... .
. . .
.................. .. .. .... ...
... .. .. ...... ...
... .
....... .................. ... ..... ...
.. ... .... ........ ..
... .
.. .... .. . . ...
... .... .... .... .............. .
..
.
...
... ...
.
... ... ... .... ....... . .
..... ........ .. . .. ...
... .. ... ..... .......
. ........
.. ..
.. ... .. .....
...... ... . ....... .. ...
.
....... ... ....... .. .......
........
.. ...
....
..... ... .
.... .. .................
. ........
.........
....
...
.. ..........
....... .. .... ....... ...... ...
................................................................................................................................................................................
A O B
Problem 2.
A family consists of two parents of the same age, and a number of children all of different ages.
The average age of the children is 15, and the average age of the whole family is 21. When each
child was born, the parents were at least 25 and at most 35 years old. All ages are given in whole
numbers of years. Find all possible values of the number of children in this family.
Solution:
Let the age of the parents be p and let the number of children be n. Then the total age of the
family is 15n + 2p = 21(n + 2), which simplifies to p = 3n + 21. Since the children are of different
ages and their average age is 15, the age of the eldest one is at least 15 + n−12
= n+29
2
. It follows
that 3n + 21 = p ≥ n+29 2
+ 25 = n+79
2
. This simplifies to 5n ≥ 37 which implies that n ≥ 8.
n−1 31−n
On the other hand, the age of the youngest child is at most 15 − 2 = 2 . It follows that
3n + 21 = p ≤ 31−n
2
+ 35 = 101−n
2
. This simplifies to 7n ≤ 59 which implies that n ≤ 8. It follows
that the only possible value is n = 8. This may be realized if the children are of ages 11, 12, 13, 14,
16, 17, 18 and 19, and both parents are of age 45.
Problem 3.
Two cars 100 metres apart are travelling in the same direction along a highway at the speed limit
of 60 kph. At one point on the highway, the speed limit increases to 80 kph. Then a little later,
it increases to 100 kph. Still later, it increases to 120 kph. Whenever a car passes a point where
the speed limit increases, it instantaneously increases its speed to the new speed limit. When both
cars are travelling at 120 kph, how far apart are they?
Solution:
Let the first car be at a point B while the second car is at a point A, both in the 60 kph zone. Then
AB = 100 metres. Let the first car be at a point D while the second car is at a point C, both in
the 120 kph zone. Now the amount of time the second car takes to go from A to C is the same as
the amount of time the first car takes to go from B to D. Both cars take the same amount of time
going from B to C. Hence the amount of time the second car takes to go from A to B at 60 kph
is the same as the amount of time the first car takes to go from C to D at 120 kph. It follows that
CD = 2AB = 200 metres.
Problem 4.
Let p(x)be a polynomial with integer coefficients such that p(1) = 5 and p(−1) = 11.
(a) Give an example of p(x) which has an integral root.
(b) Prove that if p(0) = 8, then p(x) does not have an integrral root.
Solution:
(a) We are given two pieces of information. So we seek a polynomial with two undetermined
coefficients. The first attempt is p(x) = ax+b. Then 5 = p(1) = a+b and 11 = p(−1) = −a+b.
Hence a = −3 and b = 8, but the only root of −3x + 8 = 0 is x = 83 , which is not integral.
However, it is easy to modify our polynomial to p(x) = 8x2 − 3x. We have p(1) = 5 and
p(−1) = 11, but this time, we have an integral root x = 0 in addition to x = 38 .
(b) Suppose p(x) has an integral root x = r. Then r − 1 divides p(r) − p(1) = −5, so that r is
one of −4, 0, 2 or 6. Also, r + 1 = r − (−1) divides p(r) − p(−1) = −11, so that r is one
of −12, −2, 0 and 10. The only common value between the two lists is r = 0, but p(0) = 8.
This is a contradiction.
Problem 5.
On a 2 × n board, you start from the square at the bottom left corner. You are allowed to move
from square to adjacent square, with no diagonal moves, and each square must be visited at most
once. Moreover, two squares visited on the path may not share a common edge unless you move
directly from one of them to the other. We consider two types of paths, those ending on the square
at the top right corner and those ending on the square at the bottom right corner. The diagram
below shows that there are 4 paths of each type when n = 4. Prove that the numbers of these two
types of paths are the same for n = 2014.
Solution:
The path of the marker is uniquely determined by its vertical moves. The only condition is that
no two vertical moves can be made in adjacent columns. Whether the path ends in the upper or
lower right corner is determined by the parity of the number of vertical moves. Let the columns
be represented by elements in the set {1, 2, . . . , n}. Consider all subsets which do not contain two
consecutive numbers. Let an be the number of such subsets of even size, and bn be the number of
such subsets of odd size. Then a0 = a1 = a2 = 1 because of the empty subset, b0 = 0, b1 = 1 and
b2 = 2.
For n ≥ 3, classify the subsets of {1, 2, . . . , n} into two types, those containing n − 1 and those not
containing n − 1. A subset of the first type cannot contain either n − 2 or n. Hence the number of
such subsets of even size is bn−3 and the number of such subsets of odd size is an−3 . The subsets
of the second type may be divided into pairs such that in each pair, the two subsets are identical
except that one contains n and the other does not. Hence the number of such subsets of even size
is equal to the number of such subsets of odd size. It follows that an − bn = bn−3 − an−3 . Hence
1995-2001
BULGARIAN NATIONAL OLYMPIAD IN MATHEMATICS
Third round
1995
Problem 1. Let p and q be positive numbers such that the parabola y = x2 ; 2px + q has
no common point with the x-axis. Prove that there exist points A and B on the parabola such
that the segment AB is parallel to the x-axis and 6 AOB = 90 (O is the coordinate origin) if
and only if p2 < q 14 . Find the values of p and q for which the points A and B are de
ned in
an unique way.
Solution. Since the parabola has no common point with the x-axis, then the roots of the
equation x2 ; 2px + q = 0 are not real and hence p2 < q . Let the points A(x1 y0 ) and B (x2 y0)
(Figure 1) be with the required properties. Then x1 and x2 are the roots of the equation
x2 ; 2px + q ; y0 = 0 and y0 > q ; p2, because the vertex of the parabola has coordinates
(p q ; p2 ). On the other hand OA2 = x21 + y02 , OB 2 = x22 + y02 , AB 2 = (x1 ; x2 )2 and it follows
from the Pythagorean theorem that y02 + x1x2 = 0. But x1 x2 = q ; y0 and thus y02 ; y0 + q = 0.
Consequently the existence of the points A and B is equivalent to the assertion that the equation
f (y) = y2 ; y + q = 0 has a solution y0 > q ; p2. (A and B are de
ned in an unique way if
this is the only solution.) A necessary condition is that the discriminant of the equation is not
negative, i.e. q 41 . The last condition is sucient because f (q ; p2) = (q ; p2 ) + p2 > 0 and
1 > 1 q ; p2 . The corresponding solution y is unique i q = 1 .
2 4 0
4
Figure 1. Figure 2.
1
Problem 2. Let A1A2A3A4A5A6A7, B1B2B3 B4B5B6B7, C1C2C3C4C5C6C7 be regular
heptagons with areas SA , SB and SC , respectively. Let A1 A2 = B1 B3 = C1C4. Prove that
1 < SB + SC < 2 ; p2:
2 SA
Solution. Let A1 A2 = a, A1 A3 = b, A1 A4 = c (Figure 2). By the Ptolomeus theorem for the
quadrangle A1 A3 A4 A5 it follows that ab + ac = bc, i.e. a + a = 1. Since 4A1A2 A3
= 4B1 B2 B3 ,
b c
then B1 B2 = a and hence B B = a . Analogously C C = a . Therefore SB + SC = a + a .
2 2 2 2
B12B3 2 b 1 2
b 1 2
c SA b2 c2
a a 1 a a 1 a a
Then + > ( + )2 = (equality is not possible because 6= ). On the other hand
b c 2 b c 2 b c
a2 + a2 = a + a 2 ; 2a2 = 1 ; 2a2 :
b2 c2 b c bc bc (1)
a 2 sin2 7 1 2 <
By the sine theorem we get bc = = . Since cos
sin2 7 sin 47 4 cos 27 (1 + cos 27 ) 7
p p
cos 4 = 22 , then abc > p 1 p = 2 ; 1. From here and from (1) we get the right hand
2
2 2
4 2 (1 + 2 )
side inequality of the problem.
Problem 3. Let n > 1 be an integer. Find the number of the permutations (a1 a2 : : : an) of
the numbers 1 2 : : : n with the following property: there exists only one index i 2 f1 2 : : : n ;
1g such that ai > ai+1 .
Solution. Denote by pn the number of the permutations with the given properties. Obviously,
p1 = 0 and p2 = 1. Let n 2. The number of the permutations with an = n is equal to pn;1.
Consider all the permutations
! (a1 a2 : : : an ) with ai = n, where 1 i n ; 1 is
xed. Their
number is ni ;; 11 . Consequently
nX !
;1
n;1 n;1
pn = pn;1 +
i=1 i ; 1 = pn;1 + 2 ; 1:
From here
pn = (2n;1 ; 1) + (2n;2 ; 1) + + (2 ; 1)
= 2n ; n ; 1:
Problem 4. Let n 2 and 0 xi 1 for i = 1 2 : : : n. Prove the inequality
n
(x + x + + x ) ; (x x + x x + + x x + x x )
1 2 n 1 2 2 3 n;1 n n 1 : 2
When is there an equality?
Solution. Denote by S (x1 x2 : : : xn ) the left hand side of the inequality. This function is
linear with respect to each of the variables xi . Particularly,
S (x1 x2 : : : xn) max (S (0 x2 : : : xn) S (1 x2 : : : xn)) :
2
From here it follows by induction that it is enough to prove the inequality when all xi are
equal to 0 or 1. On the other hand for arbitrary xi we have
2S (x1 x2 : : : xn) = n ; (1 ; x1 )(1 ; x2) ; (1 ; x2)(1 ; x3 ) ; ; ( )
;(1 ; xn)(1 ; x1) ; x1x2 ; x2x3 ; ; xn x1
i.e. S (x1 x2 : : : xn ) n , when xi 2 0 1]. In the case when xi are equal to 0 or 1, the left
2 n
hand side of the last inequality is an integer. Consequently S (x1 x2 : : : xn) 2 . It follows
from ( ) that
when n is even, the equality is satis
ed i (x1 x2 : : : xn) = (0 1 0 1 : : : 0 1)
when n is odd, the equality is satis
ed i (x1 x2 : : : xn) = (x 0 1 0 1 : : : 0 1), where
x 2 0 1] is arbitrary.
Problem 5. The points A1, B1, C1 lie on the sides BC , CA, AB of the triangle ABC
respectively and the lines AA1 , BB1 , CC1 have a common point M . Prove that if the point M
is center of gravity of 4A1B1 C1, then M is the center of gravity of 4ABC .
Solution. Let M be the center of gravity of 4A1B1 C1. Let A2 be a point on MA! such
that B1 A1 C1A2 is a parallelogram. The points B2 and C2 are constructed analogously. Since
A1C1kA1B1kC1B2, then the points A2, C1, B2 are colinear and C1 is the midpoint of A2B2.
The same is true for the points A2 , B1 , C2 and C2 , A1 , B2 . We shall prove that A2 = A, B2 = B
and C2 = C , which will solve the problem.
Assume that A2 6= A and let A be between A2 and M . Then C2 is between C and M , B is
between B2 and M and consequently A2 is between A and M , which is a contradiction.
Problem 6. Find all pairs of positive integers (x y) for which xx ;+ yy is an integer which
2 2
is a divisor of 1995.
Solution. It is enough to
nd all pairs (x y ) for which x > y and x2 + y 2 = k(x ; y ), where
k divides 1995 = 3:5:7:19. We shall use the following well-known fact: if p is a prime number
of the type 4q + 3 and if it divides x2 + y 2 , then p divides x and y . (For p = 3 7 19 this can
be proved directly.) If k is divisible by 3 then x and y are divisible by 3 too. Simplifying by
9 we get an equality x21 + x21 = k1(x1 ; y1 ), where k1 divides 5:7:19. Considering 7 and 19 in
an analogous way we get an equality a2 + b2 = 5(a ; b) (it is not possible to get an equality
a2 + b2 = (a ; b)), where a > b. From here (2a ; 5)2 + (2b ; 5)2 = 50, i.e. a = 3, b = 1 or a = 2,
b = 1.
The above considerations imply that the pairs we are looking for are of the type (3c c),
(2c c), (c 3c), (c 2c), where c = 1 3 7 19 3:7 3:19 7:19 3:7:19.
3
BULGARIAN NATIONAL OLYMPIAD IN MATHEMATICS
Fourth round
1995
Problem 1. Find the number of all integers n > 1, for which the number a25 ; a is divisible
by n for every integer a.
Solution. Let n be with the required property. Then p2 (p prime) does not divide n since
p2 does not divide p25 ; p. Hence n is a product of pairwise dierent prime numbers. On the
other hand 225 ; 2 = 2:32:5:7:13:17:241. But n is not divisible by 17 and 241 because 325 ;3
(mod 17) and 325 32 (mod 241). The Fermat theorem implies that a25 a (mod p)
when p = 2 3 5 7 13. Thus n should be equal to the divisor of 2 3 5 7 13, dierent from 1.
Therefore the number we are looking for is 25 ; 1 = 31.
Problem 2. A triangle ABC with semiperimeter p is given. Points E and F lie on the
line AB and CE = CF = p. Prove that the excircle k1 of 4ABC to the side AB touches the
circumcircle k of 4EFC .
Solution. Let P and Q be the tangent points of k1 with the lines CA and CB, respectively.
Since CP = CQ = p, then the points E , P , Q and F lie on the circle with center C and radius p.
We denote by i the inversion dened by this circle. Since i(P ) = P , i(Q) = Q, then i(k1) = k1.
On the other hand i(E ) = E and i(F ) = F . Hence i(k) is the line AB . But k1 touches AB and
thus k touches k1.
Problem 3. Two players A and B take stones one after the other from a heap with n 2
stones. A begins the game and takes at least 1 stone but no more then n ; 1 stones. Each
player on his turn must take at least 1 stone but no more than the other player has taken before
him. The player who takes the last stone is the winner. Find who of the players has a winning
strategy.
Solution. Consider the pair (m l), where m is the number of the stones in the heap and l
is the maximal number of stones that could be taken by the player on turn. We must nd for
which n the position (n n ; 1) is winning (i.e. A wins) and for which n it is losing (B wins).
We shall apply the following assertion several times: If (m l) is a losing position and l1 < l,
then (m l1) is losing too.
Now we shall prove that (n n ; 1) is a losing position i n is a power of 2.
Suciency : Let n = 2k , k 1. If k = 1 then B wins on his rst move. Assume that
(2k 2k ; 1) is a losing position and let consider the position (2k+1 2k+1 ; 1). If A takes at least
2k stones on his rst move, then B wins at ones. Let A take l stones, where 1 l < 2k . By
the inductive assumption B could play in such a way that he could win the game (2k l) since
l 2k ; 1 the last move will be the move of B. After this move we get the position (2k m) with
m l, which is losing for A, according to the inductive assumption.
Necessity: It is enough to prove that if n is not a power of 2, then (n n ; 1) is a winning
position. Let n = 2 + r, where 1 r 2k ; 1. On his rst move A takes r stones and B is
k
faced to the position (2k r), which is losing for B.
1
Problem 4. The points C1, A1 and B1 lie on the sides AB, BC and CA of the equilateral
triangle ABC respectively in such a way that the inradii of the triangles C1AB1 , B1 CA1, A1 BC1
and A1 B1 C1 are equal. Prove that A1 , B1 and C1 are the midpoints of the corresponding sides.
Solution. We shall prove that BA1 = CB1 = AC1 (Figure Figure 1.
1). Assume the contrary and let BA1 CB1 > AC1 . Let
be the rotation at 1200 which center coincides with the in center
of the incircle of 4ABC . This rotation transforms the incircles
of the triangles C1BA1 , A1CB1 and B1 AC1 to the incircles of
the triangles A1CB1 , B1 AC1 and C1BA1 , respectively. Let A2 =
(A1), B2 = (B1) and C2 = (C1). It follows that BB2 < BC1
and BC2 < BA1 . But the incircles of the triangles BC1 A1 and
BC2B2 have equal radii (because (4AC1B1 ) = 4BC2B2 ), which
is a contradiction.
Let r be the radius of the incircles of the triangles C1 AB1 ,
B1CA1, A1 BC1pand A1 B1C1. From the triangle B1 AC1 we have
r = 1 ; B2 1 C1 : 33 , and from 4A1B1C1 which is equilateral we
p
have r = B1 C1 : 63 . From here B1 C1 = 12 and consequently A1, B1 , C1 are midpoints of the
corresponding sides.
Problem 5. Let A = f1 2 : : : m + ng, where m and n are positive integers and let the
function f : A ! A be dened by the equations:
f (i) = i + 1 for i = 1 2 : : : m ; 1 m + 1 : : : m + n ; 1
f (m) = 1 and f (m + n) = m + 1:
a) Prove that if m and n are odd then there exists a function g : A ! A such that g (g (a)) =
f (a) for all a 2 A.
b) Prove that if m is even then m = n i there exists a function g : A ! A such that
g (g (a)) = f (a) for all a 2 A.
Solution. a) Let m = 2p +1, n = 2q +1 and g(i) = p + i +1 for i = 1 2 : : : p g(i) = q + i +1
for i = m + 1 m + 2 : : : m + q g (2p + 1) = p + 1 g (p + 1) = 1 g (m + 2q + 1) = m + q + 1
g (m + q + 1) = m + 1. It is easy to check that g (g (a)) = f (a) for all a 2 A.
b) Let m = n and g (i) = m + i for i = 1 2 : : : m g (m + i) = i + 1 for i = 1 2 : : : m ; 1
g(2m) = 1.
For the converse let M = f1 2 : : : mg. It follows by the denition of f that the elements
of M remain in M after applying the powers of f with respect to superposition. Moreover,
these powers scoop out the whole M . The same is true for the set A n M . The function f is
bijective in TA and if there exists g verifying the condition, then g is bijective too. We shall prove
that g (M ) M = . It follows from the contrary that there exists i 2 M such that g (i) 2 M .
Consider the sequence i g (i) g 2(i) : : : and the subsequence i f (i) f 2(i) : : :. It is easy to see that
g(M ) = M . We deduce that there exists a permutation a1 a2 : : : am of elements of M , such
that g (ai) = ai+1 for i = 1 2 : : : m ; 1 g (am ) = a1 and f (a2i;1) = a2i+1 for i = 1 2 : : : s ; 1
f (a2s;1 ) = a1 , whereTm = 2s. The last contradicts to the properties of f which were mentioned
already. Thus g (M ) M = . Analogously g (A n M ) = A n M , if g (i) 2 A n M for i 2 A n M .
At last let us observe that when starting from an element of M and applying g we go to A n M ,
but when applying g for a second time we go back to M . The same is true for the set A n M .
2
From here and from the bijectivity of g it follows that M and A n M have one and the same
number of elements, i.e. n = m.
Problem 6. Let x and y be dierent real numbers such that xx ;; yy is an integer for some
n n
n ; yn
four consecutive positive integers n. Prove that xx ; y is integer for all positive integers n.
Solution. Let tn = xx ;; yy . Then tn+2 + b:tn+1 + c:tn = 0 for b = ;(x + y), c = xy, where
n n
3
BULGARIAN NATIONAL OLYMPIAD IN MATHEMATICS
Third round
1996
Problem 1. Prove that for all positive integers n 3 there exist an odd positive integers
x and y , such that
n n
7x2 + y 2 = 2 :
n n
n
Solution. If n = 3 we have x3 = y3 = 1.
Suppose that for an integer n 3 there are odd positive integers x , y , such that 7x2 + y 2 =
n n n n
2 . We shall prove that for each pair
n
X = x +2 y Y = j7x 2; y j and X = jx ;2 y j Y = 7x 2+ y
n n n n n n n n
we have 7X 2 + Y 2 = 2 +1 . Indeed,
n
2 2
7 x 2 y + 7x 2 y = 2 7x2 + y 2 = 2 2 = 2 +1 :
n n n n
n n
n n
Since x and y are odd, i.e. x = 2k + 1 and y = 2l + 1 (k, l are integers), then
x + y = k + l + 1 and jx ; y j = jk ; lj, which shows that one of the numbers x + y
n n n n
n n n n n n
2 2 2
and j x
n ; y jn
is odd. Thus, for n + 1 there are odd natural numbers x +1 and y +1 with the
2 n n
required property.
Problem 2. The circles k1 and k2 with centers O1 and O2 respectively are externally tangent
at the point C , while the circle k with center O is externally tangent to k1 and k2 . Let ` be
the common tangent of k1 and k2 at the point C and let AB be the diameter of k, which is
perpendicular to `, the points A and O1 lie in one and the same semiplane with respect to the
line `. Prove that the lines AO2, BO1 and ` have a common point.
Figure 1. Figure 2.
1
Solution. Denote by r, r1 and r2 the radii of k, k1 and k2, by M and N the tangent points
of k with k1 and k2, respectively and by P the common point of ` and AB (Figure 1).
It follows from O1 O2 ? ` and AB ? ` that 4BON 4CO2N . Then CNO2 = ONB , 6 6
Figure 3.
12 x ; 12 x + 21 , we nd that the function
y = 4x3 ; 3x
has a local maximums when x = 12 . Then its maximal
value in the interval ;1 1]is the biggest
among the
1 1
r r r r
value of y = 4x ; 3x is 1.
The equality M = 1 is reached only when a = 0, b = ;3 and c = 0.
Problem 4. The real numbers a1 a2 : : : a (n 3) form an arithmetic progression. There
n
2
Find the numbers a1 a2 : : : a , if they are pairwise dierent and the biggest among them is
n
equal to 1996.
Solution. Let a1 < a2 < < a = 1996 and q be the quotient of the geometric progression
n
progression which quotient is q1 . Thus, we can assume that jq j > 1, i.e. q > 1 or q < ;1. Then
ja 1 j < ja 2 j < < ja n j, from where a 6= 0 for all i.
i i i i
More exactly, either all numbers are positive (q > 1) and then a 1 < a 2 < < a n , which
i i i
together with a1 < a2 < < a shows that a k = a , i.e. the numbers a1 a2 : : : a form
n i k n
signs alternatively (q < ;1) and then the positive ones form an increasing geometric progression
with quotient q 2 , and the order is the same as in the arithmetic progression. (The numbers
a1 a2 : : : a could not be all negative, because a = 1996 > 0.)
n n
Assume now that 3 among the numbers a1 a2 : : : a are positive. Then 0 < a 2 < a 1 <
n n; n;
Thus at most two among the numbers are positive. Analogously, at most two among the
numbers are negative. Consequently, n 4.
Let n = 4. Then a1 < a2 < 0 < a3 < a4 and 2a2 = a1 + a3 , 2a3 = a2 + a4 . But q < ;1 and
the geometric progression is either a3 a2 a4 a1 or a2 a3 a1 a4. Let it be a3 a2 a4 a1. Then
a2 = a3q, a4 = a3q2 and a1 = a3 q 3 . Thus, 2a3q = a3q3 + a3 and 2a3 = a3q + a3q2 . From here
q = 1, which contradicts to q < ;1.
So n = 3. There are two possibilities:
I. a1 < a2 < 0 < a3 = 1996. Then the geometric progression is a2, a3 = a2q, a1 = a2q2. It
follows from 2a2 = a1 + a3 that 2a2 = a2q 2 + a2 q , i.e. q 2 + q ; 2 = 0. Thus, q = ;2, ;2a2 = 1996,
a2 = ;998 and the numbers are (;3992 ;998 1996).
II. a1 < 0 < a2 < a3 = 1996. Now the geometric progression is a2, a1 = a2q, a3 = a2q2.
From 2a2 = a1 + a3 we obtain 2a2 = a2 q + a2 q 2, i.e. again q = ;2. Therefore, a3 = 4a2 = 1996
and a2 = 499. The numbers are (;998 499 1996).
Problem 5. A convex quadrilateral ABCD, for which ABC + BCD < 180 , is given. 6 6
The common point of the lines AB and CD is E . Prove that ABC = ADC if and only if 6 6
AC 2 = CD CE ; AB AE:
Solution. Let ABC = , ADC = , BAC = ' and CAD =
(Figure 4). The point A
6 6 6 6
is between E and B and the point D is between E and C . Also, AEC = + ' +
; 180 . 6
4
BULGARIAN NATIONAL OLYMPIAD IN MATHEMATICS
Fourth round
1996
Let now p and q be such prime numbers that (5 ; 2 )(5 ; 2 ) is an integer. If pj (5p ; 2p ),
p p q q
pq
then p = 3. Since 53 ; 23 = 3 3 13, then either q j (5q ; 2q ), i.e. q = 3, or q = 13. Therefore the
pairs (3,3), (3,13), (13,3) satisfy the problem condition. It remains the case when p 6= 3 q 6= 3.
Now pj (5q ; 2q ) and q j (5p ; 2p ). We can assume that p > q . It is clear that (p q ; 1) = 1 and
consequently, there are positive integers a and b, for which ap ; b(q ; 1) = 1 (Bezou theorem).
Since (q 5) = (q 2) = 1, it follows by the Fermat theorem that 5q;1 2q;1 (mod q ). From
5p 2p( (mod q ) we deduce that 5ap 2ap (mod q ) and therefore, 5b(q;1)+1 2b(q;1)+1
(mod q ). But 5b(q;1)+1 5 (mod q ) and 2b(q;1)+1 2 (mod q ). Thus, q = 3, which is a
contradiction. Finally, (p q ) = (3 3) (3 13) (13 3).
Problem 2. Find the side length of the smallest equilateral triangle in which three disks
with radii 2, 3 and 4 without common inner points can be placed.
Solution. Let in a equilateral 4ABC two disks with radii 3 and 4 without common inner
points be placed. It is clear that a line ` exists, which separates them, i.e. the disks are in
dierent semiplanes with respect to ` (Figure 1).
Figure 1. Figure 2.
This line divides the triangle into a triangle and a quadrilateral or into two triangles. In
both cases the disks can be replaced in the
gure in a way that each of them is tangent to two
of the sides of 4ABC . It is clear that the new disks have no common inner point. Let the disks
be inscribed in 6 A and 6 B of 4ABC , respectively. We translate the side BC parallelly to itself
1
towards the point A, till the disk which is inscribed in 6 B touches the disk which is inscribed in
6 A (Figure 2). Thus, we get an equilateral 4A1B1 C1 with a smaller sides, in which two disks
with radii 3 and 4 and without common inner points are placed.
Figure 3. Let A1 B1 = x, I be the incenter of 4A1B1 C1, while O1
and
x O2 be the centers of the two disks. Then A1I = B1 I =
p A1O1 = 6 B1O2 = 8. Since the disk with radius 4 is
3
inside thep4A1B1 C1, then O2 2 IB1 . Thus, B1 O2 B1 I ,
i.e. x 8 3. On the other hand O1I = px ; 6 O2I = px ;
3 3
8 O1O2 = 7 and 2 by the cosine
2 theorem for 4
x O 1O 2 I we
nd
x x x
that p ; 6 + p ; 8 + p ; 6 p ; 8 = 49.
3p 3 p3 3
Butpx 8 3, and from here x = 11 3. Consequently, AB
11 3. On thep other hand in the equilateral 4ABC with
side length 11 3 three disks with radii 2, 3 and 4 (without
common inner points) can be placed inscribing circles with
these radii in the angles of the triangle (Figure 3).
Note that the disks wit radii 3 and 4 are tangentpto each other. It follows from the above
considerations that the solution of the problem is 11 3.
Problem 3. The quadratic functions f (x) and g(x) are with real coecients and have the
following property: if the number g (x) is integer for a positive x, then the number f (x) is integer
too. Prove that there are such integers m and n, that f (x) = mg (x) + n for all real x.
q
Solution. Let g (x) = px2 + qx + r. We can assume that p > 0. Since g (x) = p(x + )2 + r ;
q2
2p 4p
q
after the variable change of x by x + 2p we reduce the problem for the following quadratic
functions
s f (x) = ax2 + bxs+ c and!g(x) = px2 + s p > 0. Letsk be such
! an integer thatsk > s and
k ; s > q . Since g k ; s = k is integer, then f k ; s = a(k ; s) + b k ; s + c
p 2p p p p p
is an integer too. Consequently, the number
s ! s !
f k + 1 ; s ; f k ; s = pb : p 1 p +a (1)
p p p k+1;s+ k;s p
is an integer for all k which are suciently big. It follows from here that ap is an integer. Indeed,
suppose that a is not an integer. If b > 0, we chose k in a way that
p
a
pp k + 1 ; s + k ; 1 < p + 1 ; ap
b :p 1 p
2
for all k, which are suciently
s big.! This is possible only when b = 0.
Let = m. Then, f k ; s = m(k ; s) + c is an integer (when k is suciently big), i.e.
a
p p
c ; ms is an integer. Let n = c ; ms. Now it is clear that f (x) = mg(x) + n for all x.
Problem 4. The sequence fan g1n=1 is de
ned by
a1 = 1 an+1 = ann + an n 1:
n
Prove that ba2n c = n when n 4 (it is denoted by bxc the integer part of the number x).
x n
Solution. Let f (x) = + . Since f (a) ; f (b) =
(a ; b)(ab ; n2 ) , it follows that the
n x abn
function f (x) is decreasing in the interval (0 n).p
Firstly, by induction we shall prove that n an p n when n 3. We have
p p n ; 1n
a1 = 1 a2 = 2 and a3 = 2, i.e. 3 a3 p2 . Let n an p
3
for an integer n 3.
n ; 1
p p
Then, an+1 = f (an ) f ( n) = np+n1 and an+1 = f (an ) f p n = p n > n+1
n;1 n;1
and thus the induction
p
nishes. p
Since an n, it remains to prove, that an < n + 1. We have an+1 = f (an )
f pn = p n when n 3. Consequently, an pn ; 1 when n 4. Then,
n;1 n;1 n;2
n ; 1 (n ; 1)2 + n2 (n ; 2) p
an+1 = f (an ) < f p = p < n+2
n;2 (n ; 1)n n ; 2
pn an < p4.n +(The
when last inequality is equivalent to 2n2(n ; 3) + 4n ; 1 > 0.) Therefore,
1 when n 4, i.e. ba2n c = n.
n
Problem 5. The quadrilateral ABCD is inscribed in a circle. The lines AB and CD meet
each other in the point E , while the diagonals AC and BD | in the point F . The circumcircles
of the triangles AFD and BFC have a second common point, which is denoted by H . Prove
that 6 EHF = 90.
Solution. Let O be the circumcenter of ABCD. We shall prove that O is the second common
point of the circumcircles of 4AHB and 4CHD. (Since AB and CD are not parallel, then
O 6= H .) After that we shall prove that the points E , H and O are colinear and 6 OHF = 90.
We shall consider the possible positions of H .
Let G be the common point of AD and BC (these lines are not parallel because the cir-
cumcircles of 4AFD and 4BFC are not tangent). It is clear that H is in the interior of
6 AGB .
1) H is in 4CGD. Then, 6 CHD = 6 CHF + 6 DHF = 180 ; 6 CBF + 180 ; 6 DAF =
360 ; CD d > 180 (from CD d < AB d and AB d + CDd < 360), which is impossible.
2) H is in 4CFD. Then, 6 CHD = 360 ; 6 CHF ; 6 DHF = 6 CBF + 6 DAF = CD d=
6 COD and 6 AHB = 6 AHF + 6 BHF = 6 ADF + 6 BCF = AB d = 6 AOB .
3) H is in 4ABF . Analogously, 6 CHD = 6 COD and 6 AHB = 6 AOB .
4) H is on AB . Again 6 CHD = 6 COD and 180 = 6 AHB = 6 AOB . Consequently, O is
the midpoint of AB .
5) H is not in 4ABG. Then 6 CHD = 6 COD and 6 AHB = 360 ; 6 AOB .
3
Note that in the cases 2), 3) and 5) the points O and H are in one and the same semiplane
with respect to the line AB and with respect to the line CD. Consequently, the points A B H
and O are concyclic. We have the same for the points C D H and O.
Now we shall prove that the line EH passes through the point O. Let this line meet the
circumcircles of 4AHB and 4CHD at the points O1 and O2 , respectively. Since these points
lie on the ray EH ! , it follows from the equalities EH:EO1 = EA:EB = EC:ED = EH:EO2
that O1 O2 O.
The points O and H are in one and the same semiplane with respect to CD and we can
assume that the quadrilateral COHD is convex. Let H be in 4CFD. Then, 6 OHF = 6 FHC ;
6 OHC = 180 ; 6 FBC ; 6 ODC = 180 ; 21 :6 COD ; (90 ; 12 :6 COD) = 90. The other
possibility for H is to be inside 6 AGB and outside the non-convex quadrilateral AFBG.
Hence 6 OHF = 6 OHC + 6 FHC = 6 ODC + 6 FBC = 90 .
Problem 6. A square table of size 7 7 with the four corner squares deleted is given.
Figure 4. a) What is the smallest number of squares which need to be colored black
so that a 5-square entirely uncolored Greek cross (Figure 4) cannot be found
on the table?
b) Prove that it is possible to writte integers in each square in a way that
the sum of the integers in each Greek cross is negative while the sum of all
integers in the square table is positive.
Solution. Denote the square in row i and column j by (i j ). Note that
a cross is uniquely determined by its central cell. The cross with central cell
(i j ) is denoted by Cij , 2 i j 6. The number of all crosses is 25.
a) The squares (1 i), (i 1), (7 i), (i 7), i = 2 : : : 6, are included in exactly one cross the
squares (2,2), (2,6), (6,2), (6,6) are included in exactly 3 crosses the squares (2 i), (i 2), (6 i),
(i 6), i = 3 4 5 | in exactly 4 crosses and
nally, the squares (i j ) 3 i j 5 are included
in exactly 5 crosses. Since C22 contains a colored square, then at least one of (1,2), (2,1), (2,2),
(2,3), (3,2) should be colored. Similarly, at least one of (2,7), (1,6), (2,6), (2,5), (3,6), at least
one of (7,2), (6,1), (6,2), (5,2), (6,3) and at least one of (6,7), (7,6), (6,6), (6,5), (5,6) are colored.
Any of them is contained in at most four crosses (the
rst two in each quintuple in 1 cross, the
third one in 3 crosses and the remaining two | in 4 crosses). Denote by x the number of the
colored squares among (i j ) 3 i j 5. The number of crosses containing a colored square is
not greater than 4:4 + 5x, whence
16 + 5x 25: (1)
Thus, x 2 and the number of the colored cells is at least 6.
Suppose that the number of the colored squares is 6. Then x = 2. Moreover, acording (1)
there exists at most one Greek cross containing more than one colored square. If two squares
with a common side or a common vertex are colored, then it is easy to check that there are two
crosses with at least two colored squares each. Therefore, the squares (4,4), (3,3), (3,5), (5,3),
(5,5) should be uncolored. With no loss of generality, let the two colored squares be (4,3) and
(4,5). But now the crosses C34 and C54 do not contain colored squares.
To prove that the minimal number of colored squares is 7, color for example the squares
(2,5), (3,2), (3,3), (4,6), (5,4), (6,2), (6,5).
b) Let us write ;5 in each of the colored squares from a) and 1 in the remaining squares.
Since every Greek cross contains a colored square, the sum of the numbers in its squares does not
exceed 1+1+1+1;5 = ;1 < 0. The sum of all numbers in the table is 7:(;5)+(45;7):1 = 3 > 0
and we are done.
4
XLV National Mathematics
Olympiad: 3rd round, April
1997
Problem 1. Find all natural numbers a, b and c such that the
roots of the equation
x2 ; 2ax + b = 0
x2 ; 2bx + c = 0
x2 ; 2cx + a = 0
are natural numbers.
Solution: Let fx1 x2g, fx3 x4g and fx5 x6g be the roots of the
rst, second and third equation respectively, and let all of them be
natural numbers.
Assume that x 2 for all i = 1 2 : : : 6. Then 2a = x1 + x2
i
of generality suppose x1 = 1, so 1 ; 2a + b = 0.
If x 2 for i = 3 4 5 6, then
i
2
Solution: Let 6 AEB = , EC = c, ED = d, ;!i = 1c ;! EC and
j = d1 ;!
;! ED. Since ABCD is an inscribed quadrilateral, CDAB =
AE = BE = k. Therefore ;! EA = kc;!
j and ;!
EB = kd ;!i . Since
CE DE
F 2 AC and F 2 BD there exist x and y such that
;!
EF = x;!
EA + (1 ; x);!
EC = xkc;!j + (1 ; x)c;!
i
and ;!
EF = y;!EB + (1 ; y);!
ED = ykd;! i + (1 ; y)d;!
j:
Comparing the coecients of ;!
i and ;!
j in these equalities gives
xkc = (1 ; y)d and ykd = (1 ; x)c. This implies x = (kkd2 ;;1)c c .
Therefore
;!
EF = k2 k; 1 (kd ; c);!
j + (kc ; d);!
i
and thus
!2
k
EF = k2 ; 1 (kd ; c)2 + (kc ; d)2 + 2(kd ; c)(kc ; d) cos :
2
MN = 1 AB ; CD
EF 2 CD AB
Problem 3. Prove that the equation
x2 + y2 + z2 + 3(x + y + z) + 5 = 0
has no solution in rational numbers.
Now 2 ; + 14 = 0, so = 21 .
n
for all n. Thus f (x0) = f (x1) = which means that f (x0) = f 21
1
for all x0 2 0 2 .
(II) x0 > 12 . Consider the following sequence:
(2) x0 x1 : : : x : : :
n
s
dened by x +1 = x ; 14 .
n n
1
f (x +1 ) = f x +1 + 4 = f (x )
n
2
n n
for all n we get that f (x0) = f 21 .
Therefore f (x) is a constant function in the interval 0 +1), and
since it is even, it is a constant for all x.
Conversely, any constant function satises the conditions of the
problem.
such that there are no two consecutive numbers in one and the same
set.
f1 = 1, f2 = 2, f3 = 4.
Divide the subsets of S having no two consecutive numbers into
n
group is f ;2 + 1. Therefore
n
f = f ;1 + f ;2 + 1:
n n n
u1 = 2 u2 = 3 u = u ;1 + u ;2 :
n n n
n
5
8
XLV National Mathematics
Olympiad: 4th round, May
1997
Problem 1. Consider
!
the polynomial
! ! !
Pn (x) = 2 + 5 x + 8 x + + 3k n+ 2 xk
n n n 2
n 2
where n 2 is a natural number and k = 3 .
;
(a) Prove that Pn+3 (x) = 3Pn+2 (x) 3Pn+1 (x) + (x + 1)Pn (x)
;
(b) Find
;
all integer numbers a such that Pn (a3) is divisible by
n
3 2 ] for all n 2.
1
Solution:
(a) Compare the coe
cients in front of xm, 0 m
n + 1 . It su
ces to show that
3 ! ! ! ! !
n+3 =3 n+2 n + 1 n n
3m + 2 3m + 2 3 3m + 2 + 3m + 2 + 3m 1 :
;
;
1
! ! !
Using the identity a +b 1 = ab + b a 1 we get that
;
! !! ! !!
n+3 n+2 2 n + 2 n + 1 +
3m + 2 ! 3m + 2 !! 3m + 2! 3m + 2
; ; ;
+ 3nm++12 ;
3 m
n
+ 2 ;
3m
n
1 =
! ! ! !
;
n + 2 n + 1
= 3m + 1 2 3m + 1 + 3m + 1 n n =
;
! !!
;
3 m 1 ;
= n + 2 n + 1 +
3m + 1 ! 3m + 1 !!
;
!
n+1 n n
;
3!m + 1 ! 3m + 1 ! 3m 1 =
; ;
;
= n3+m1 ;
n
3m ;
n
3m 1 =
;
= 0:
(b) Suppose a satises the condition of (b). Then P5(a3) =
10 + a3 is divisible by 9 and so a ; 1 (mod 3). On the contrary,
let a ; 1 (mod 3). Now a3 + 1 0 (mod 9). Since P2(a3) =
ity
sin 6 CAM + sin 6 CBM p
2
3
2
(a) if the circumscribed circle of AMC is tangent to the line AB
4
and 6 CB1M 90. Now sin 6 CAM + sin 6 CBM sin 6 CA1M +
sin 6 CB1M 2 .
p
3
3
It remains to consider the case 6 CA1M > 90, 6 CB1M 90
(the above angles could not both be obtuse). It follows from CA1M
4
(a1 b1 c1 are sides of A1B1C ). We know from (a) that a21 + b21 = 2c21
4
and the above inequality becomes a21 > 7b21. Again from (a) we
obtain
v
u !
b sin b u
1 t a 2 + b2 2
sin 6 CB1M = 1 1
= 1 4a1b1 :
1 1
a1 3 a1 3
p p ;
1
s
sin 6 CB1M = 1p
14x x2 1 < 1 2 49 1 1= 1
7
p p
4 3 4 3
; ; ; ;
which is equivalent to
3x2y + xy2 + 6xy 5x2 y2 24x 3y 27 0:
; ; ; ; ;
and the Sine Law that DB1 = DA sin 6 DAB1 = DA sin 6 DAC =
DA DC (R is the circumradius of ABC ). Analogously DA =
2R 4 1
6
DB DC and DC = DA DB . Our equality is now equivalent to
2R 1
2R
AD CD = BD CD + AD BD and so it su
ces to prove that
(1) DB1 = DA1 + DC1
Denote by m the distance from M to AB and BC and by n the
DM = x (x > 1). Further,
distance from N to AC and BC . Let MN
DB1 = x, DC1 = x 1 and DA1 m = x. Therefore DB = nx,
;
n m ;
n m ;
1
holds.
n-tuples (a1 a2 : : : an) and (b1 b2 : : : bn) formed from distinct ele-
ments of X are called `disjoint' if distinct indices i and j exist such
that ai = bj . Find the maximal number of n-tuples any two of which
are `disjoint'.
ordered n-tuples such that any two of them are `disjoint'. Also let
S (X ) be a set of such n-tuples for which S (X ) = A(n + 1). It is
j j
7
We prove now that A(n + 1) = (n +2 1)! by constructing a set of
(n + 1)! ordered n-tuples, any two of which are `disjoint'. We may
2
assume that X = 1 2 : : : n + 1 . Consider a set E of all even
f g
8
XLVII National
Mathematics Olympiad:
3rd round, 25{26 April 1998
Problem 1. Find the least positive integer number n (n 3)
with the following property: for any colouring of n dierent points
A1 A2 : : : An on a line and such that A1A2 = A2A3 = : : : =
An;1An in two colours, there are three points Ai Aj A2j;i(1 i <
2j ; i n) which have the same colour.
Solution: Assume the two colours are white and black. Consider
8 points coloured as follows: A1 A2 A5 A6 (white), A3 A4 A7 A8
(black). Obviously no three points Ai Aj A2j;i (1 i < 2j ; i n)
have the same colour and therefore n 9.
If we can show that n = 9 has the required property, we will be
done. Suppose there are 9 points coloured black or white and no
three points Ai Aj A2j;i (1 i < 2j ; i n) have the same colour.
First assume that for i = 3, i = 4 or i = 5 points Ai and Ai+2
have the same colour (say white). Then the points Ai;2 Ai+1 Ai+4
1
should be black (note that i ; 2 1 and i + 4 9), which is a
contradiction.
Suppose now that for i = 3 4 5 the points Ai and Ai+2 have
dierent colours. Without loss of generality assume A5 is a white
point. Then A3 and A7 are black. Because of the symmetry we may
suppose that A4 is white and A6 is black. Consiquently A8 is white,
A2 is black (2 + 8 = 2 5) and A9 is white (7 + 9 = 2 8). Therefore
A1 should be both white (1 + 3 = 2 2) and black (1 + 9 = 2 5),
which is again a contradiction.
Consequently the assumption is not true and so n = 9.
2
Note: The assertion is also true if the condition 6 ABC < 90
is left out.
4
1 (a(b2 + c2 ; a2) + b(c2 + a2 ; b2) + c(a2 + b2 ; c2) ; 2abc) =
= 2abc
= cos 6 CAB + cos 6 ABC + cos 6 BCA ; 1:
b.) Applying continuously the equality from a.) and using the
fact that ABCDE is inscribed in a circle convex pentagon, it is easy
to see that
rABC + rAEC + rEDC = rAED + rABD + rBCD :
The condition of the problem and the above equality imply rBCD =
rEDC . Since 4BCD and 4EDC have a side in common and equal
circumradiuses we get that 4BCD = 4EDC (prove it using a.)).
In particular BC = ED and using rABC = rAED again, we get
4ABC = 4AED.
5
(u2 + w2)(v2 + t2) = 2u2v2. Further, since (x1 y1 z1) = 1, it
follows that (u w) = 1 (v t) = 1. Therefore
u2 + w2 = v2 v2 + t2 = 2u2
or
u2 + w2 = 2v2 v2 + t2 = u2:
Without loss of generality we may assume that the rst pair of
equalities hold. It is easily seen that v and u are odd integer numbers.
It follows now from u2 + w2 = v2 that u = m2 ; n2 w = 2mn v =
m2 + n2, where m and n are coprime natural numbers (of distinct
parity). Substitution in v2 + t2 = 2u2 shows that t2 + (2mn)2 =
(m2 ; n2)2 and so t = p2 ; q2 mn = pq m2 ; n2 = p2 + q2 for some
natural numbers p and q. Therefore
p2 q2 = m2(m2 ; p2 ; q2)
which shows that p, q, m is a solution of the original equation. It re-
mains to be seen that pq
m = n < d ( p 2
; q 2
)2 mn = xy , which contra-
z
dicts the way we have chosen x y z.
6
XLVII National
Mathematics Olympiad: 4th
round, 16{17 May 1998
Problem 1. Let n be a natural number. Find the least natural
number k for which there exist k sequences of 0's and 1's of length
2n + 2 with the following property: any sequence of 0's and 1's of
length 2n + 2 coincides in at least n + 2 positions with some of these
k sequences.
; 2
x )Pn;1 (y + 2 x)
!
; 2) + ( (y + x ; 1)( + 1)x P n;1 (y x + 2)
+ (y y
x ) ; 2) n;1 (
x P y x
+ ( + ; 1)( + 1)( ;
2
x y y) n;1 ( + 2 )
x x P y x
+( ; )( + ; 1)( + 1) n;1 ( + 2 )
2
y y x y x P x y :
Solution: Let the square, the n-gon and the m-gon be constructed
on the sides AB , BC and CA, respectively. Denote their centres
by O1, O2 and O3 denote by A1, B1 and C1 the centres of the
equilateral triangles constructed externally on BC , CA and AB .
2
The lines O1C1 O2A1 and O3B1 intersect at the circumcentre O of
4ABC . Since 4A1A2A3 is equilateral, it follows straightforwardly
that 4O1O2O3 is equilateral if and only if C1A1jjO1O2 A1B1jjO2O3
and B1C1jjO1O3. This is equivalent to
OC1 = OA1 = OB1 = k:
C1O1 A1O2 B1O3
On the other hand,
OC1 = cot C + tan 30
C 1 O1 cot 45 ; tan 30
OA1 = cot A + tan 30
A1O2 cot 180n ; tan 30
OB1 = cot B + tan 30 :
B1O3 cot 180m ; tan 30
180 = y. The above identities imply that
Set cot 180
n = x and cot m
cot A = kx ; kp+ 1 cot B = ky ; kp+ 1 cot C = k ; kp+ 1 :
3 3 3
From the identity cot A cot B + cot B cot C + cot C cot A = 1 we get
p
k = p 2(
p x + y + 1 ; 3) p
3xy + ( 3 ; 2)(x + y) p + 3;2
cot C = p x +py ; xy + 3 ; 2 3p :
3xy + ( 3 ; 2)(x + y) + 3 ; 2
p p
Since m n 6 it follows that x y 3,i. e. xy p3(x + y) ; 3.
The inequality cot C p0 implies p x + y ; xy + 3 ; 2 3 0. p and
therefore x + y + 3 ; 2 3 pxy 3(x + y) ; 3 ,i. e. x + y 2 3.
This shows that x = y = 3, i. e., m = n = 6. Hence cot C =
0 cot A = cot B = 1, so 6 C = 90 6 A = 6 B = 45 .
3
Problem 4. Let a1 a2 : : : an be real numbers, not all of them
zero. Prove that the equation
p p p
1 + a1x + 1 + a2x + : : : + 1 + an x = n
has at most one nonzero real root.
X n
Solution: The given equation is equivalent to x p1 +ai a x = n.
i=1 i
a
Since the function p1 + a x (ai =
i
6 0) is strictly decreasing, it follows
i
that this equation has at most one nonzero root.
4
(i) for each colour a and any two vertices A and B of X , the
segment AB is coloured in colour a or there is a vertex C such
that AC and BC are coloured in colour a
(ii) the sides of any triangle with vertices among the vertices of X
are coloured in at most two colours.
Prove that k 2.
5
XLVIII National
Mathematics Olympiad:
3rd round, 17{18 April 1999
Problem 1. Find all triples (x y z) of natural numbers such that
y is a prime number, y and 3 do not divide z, and x3 ; y3 = z2.
Nikolay Nikolov
2
Similar equalities hold for S4NEP S4PEQ and S4QEM . By combin-
ing the above we obtain
SMNPQ = AC BD sin 4AEB (R2 ; OE 2 ) SABCD
6
R2 2
Q. E. D.
3
!
follows that
X
8
ai = 24. It is easy to prove now that
X
8
ai
30.
i=2 ! i =2 2
Therefore 56 =
X8
ai 58, which is false.
i=1 2
0 0 0 0 0 0 0
0 1 1 1 1 0 0
The diagram on the right shows 0 1 1 0 0 1 1
0 0 0 1 1 1 1
that it is possible to have exactly 1 0 1 0 1 0 1
7 contestants: 1 0 1 1 0 1 0
1 1 0 0 1 1 0
1 1 0 1 0 0 1
4
Solution: Note that the incircles of 4ABD and 4ACD are tan-
gent if and only if AB + AD ; BD = AC + AD ; CD, so AB + CD =
AC + BD.
Suppose AB1DC1 is circumscribed and the incircle touches AB1,
B1D, DC1 , C1A in the points M N P Q, respectively. Therefore
AB + CD = AQ + BQ + CP ; DP = AM + BN + CM ; DN =
AC + BD.
Conversely, let the incircles of 4ABD and 4ACD be tangent.
Denote the point of intersection of the tangent through C (dierent
from CA) with the incircle of 4ABB1 by D0 . It follows from the
above that BD0 ; CD0 = AB ; AC = BD ; CD, so DD0 = jCD ;
CD0j. Therefore D0 D, which completes the proof.
Solution: Divide each side of the triangle into ve equal parts
and draw lines parallel to the sides through these points. Thus the
triangle is divided into 25 equilateral triangles of side 51 . The total
number of vertices is 21 > 6 3. Therefore there exist 4 points which
are interior
p to one and the same circle. It is easy to see now that
r 103 , which solves the problem.
5
XLVIII National
Mathematics Olympiad: 4th
round, 18{19 May 1999
Problem 1. The faces of an orthogonal parallelepiped whose di-
mensions are natural numbers are painted green. The parallelepiped
is partitioned into unit cubes by planes parallel to its faces. Find
the dimensions of the parallelepiped if the number of cubes having
no green face is one third of the total number of cubes.
Sava Grozdev
(x ; z)2 +(y ; t)2. It follows from the conditions of the problem that
q = Rr = abc
4S S p = abc(a + b + c)
8S 2
where S is the p p Since S is2 rational (prove it!), it
p area ofpthe triangle.
follows that p ABC ( pA + B + C ) =p8S q is a rational number.
Therefore Ap BC + B AC = 8S 2q ; C AB and after squaring we
obtain that AB is a rational number. Thus AB is a perfect square.
By analogy both BC and CA are perfect squares. Let AB = E 2,
BC = F 2 and CA = G2, where E , F and G are integer. Write A B
and C in the following form: A = a1a22 B = b1b22 and C = c1c22,
where a1 b1 and c1 are square-free integers. So a1b1(a2b2)2 = m2
and therefore a1b1 is a perfect square, whence a1 = b1. By analogy
3
a1 = c1. Thus A = ma21 B = mb21 C = mc21, where m is square-free.
It follows from ma21 = n that m = n a1 = 1 and we obtain
x2 + y 2 = n
z2 + t2 = nb21
(x ; z)2 + (y ; t)2 = nc21
Since both b1 and c1 are integer, it follows from the Triangle Inequal-
ity that 1+b1 > c1 and 1+c1 > b1, whence b1 = c1. It is easy to deter-
mine now that x2 + y2 = 2(xz + yt) and consequently 2(xz + yt) = n.
Let 2(xt ; yz) = k. Then n2 + k2 = 4(x2 + y2)(z2 + t2) = 4n2b21,
so k2 = n2(4b21 ; 1). Therefore 4b21 ; 1 is a perfect square, which is
impossible.
5
;! of 4ABC
troid ;! and with ;! ;2 is 4A0B0C;!
coecient ;! 0 . Therefore
;!
MH0 = ;2 MH and since MH = ;2 MO, we obtain OH0 = ; OH .
6
Union of Bulgarian Mathematicians
BULGARIAN
MATHEMATICAL COMPETITIONS
2000
Soa, 2000
Winter Mathematical Competition
Russe, 4-6 February 2000
Problem 8.1 Given the inequality (n2 ; 1)x < ;3n3 ; 4n2 + n + 2
where n is an integer.
a) Factorize the expression ;3n3 ; 4n2 + n + 2:
b) Find all n for which the inequality holds true for any positive
number x:
Solution: a) ;3n3 ; 4n2 + n + 2 = (n + 1)2(2 ; 3n):
b) Since 0:x < 0 is not true for any x it follows that n 6= ;1: If
n > ;1 then the inequality is equivalent to (n;1)x < (n+1)(2;3n):
If n = 1 then 0:x < ;2 which is not true for any x: Let n 6= 1:
If n ; 1 > 0 then (n + n1)(2 ; 3n) < 0 and the inequality is not
;1
true for any positive x: If n ; 1 < 0 then the inequality becomes
x > (n + n1)(2 ; 3n) and n = 0 is the only solution. If n < ;1 then
;1
(n + 1)(2 ; 3n) > 0 and there exists x > 0 which is not a solution.
n;1
Therefore the inequality has no solution when n < ;1:
Problem 8.2 In an isosceles 4ABC (AC = BC ) the points A1 B1
and C1 are midpoints of BC AC and AB respectively. Points A2
and B2 are symmetric points of A1 and B1 with respect to AB: Let
M be the intersecting point of CA2 and A1C1 and let N be the
intersecting point of CB2 and B1C1: The intersecting point of AN
and BM is denoted by P: Prove that AP = BP:
2
Solution: Since CC1 k A1A2 and CC1 = A1A2 we have that
CC1A2A1 is a parallelogram. Thus, A1M = C1M: But A1B1C1B is
also a parallelogram and therefore the intersecting point of BM and
AC is B1: Hence P lies on the median BB1: Analogously P lies on
the median AA1: In the isosceles 4ABC the medians AA1 and BB1
are of the same length. Therefore AP = 32 AA1 = 23 BB1 = BP:
Problem 8.3 Find all pairs of prime numbers p and q such that
p2 + 3pq + q2 is:
a) a perfect square
b) a power of 5.
Solution: a) Let p2 + 3pq + q2 = r2 where p and q are prime
numbers. If p 6= 3 q 6= 3 then p2 + 3pq + q2 2(mod 3) and
r2 2(mod 3) a contradiction. Without loss of generality p = 3
and we get that q2 + 9q + 9 = r2 and 4q2 + 36q + 36 = (2r)2:
Therefore (2q ; 2r +9)(2q +2r +9) = 45: We may assume that r > 0
and so 2q +2r +9 = 15 or 2q +2r +9 = 45: In the rst case q + r = 3
which is impossible and in the second case solving the system
q+r = 18
2q ; 2r + 9 = 1
we nd q = 7: Because of the symmetry the only solutions are p =
3 q = 7 and p = 7 q = 3:
b) Let p2 + 3pq + q2 = 5n where n is a natural number. Since
p 2 q 2 we have p2 + 3pq + q2 20 and so n 2: It follows
now that 25=(p2 + 3pq + q2) and 5=(p2 + 3pq + q2) = (p ; q)2 + 5pq:
Thus, 5=(p ; q)2 and 25=(p ; q)2: Therefore 25=5pq showing that
p = 5 or q = 5: But if p = 5 then q = 5 (and vice versa). We
obtain p2 + 3pq + q2 = 125 = 53: The only solution of the problem
is p = q = 5:
3
Problem 9a.1 Given the equation jx ;1 2j = jx ;152aj where a is
a parameter.
a) Solve the equation.
b) If a is the square of a prime number prove that the equation
has a solution which is a compose integer.
Solution: After squaring and simple calculations we obtain (26a ;
1)x = (26a ; 1)(26a + 1):
a) If a = 261 then every x 6= 2 is a solution. If a 6= 1 then the
26
only solution is x = 26a + 1:
b) Let a = p2 where p is a prime number. If p = 3 then x = 235
is not a prime. If p 6= 3 then p = 3k 1 and x = 26(3k 1)2 + 1 =
3A + 27 which is divisible by 3:
Problem 9a.2 The quadrilateral ABCD is inscribed in a circle with
diameter BD: Let M be the symmetric point of A with respect to
BD and let N be the intersecting point of the straight lines AM and
BD: The line passing through N which is parallel to AC intersects
CD and BC in P and Q respectively. Prove that the points P C Q
and M are vertices of a rectangle.
Solution: It follows from the condition of the problem that _M lies
on the circumcircle of ABCD: Since <) MAC =<) MBC = MC 2 and
<) MNQ =<) MAC i.e. <) MNQ =<) MBC , we get that the points
M N B and Q lie on a circle. Since <) MNB = 90 we conclude that
<) BQM = 90 : Also, since 4BDC is a right angle triangle we _ have
that MQ k PC: From the other hand <) MDC =<) MAC = 2 and MC
therefore <) MDC =<) MNQ so the points N P M and D lie on a
circle. Thus, <) MPD =<) MND = 90 and MP k CQ: Therefore
P C Q and M are vertices of a rectangle.
4
Problem 9a.3 See Problem 8.3.
Problem 9b.1 Given the system:
1 +x = a;1
x+y
x
x + y = a ; 2
where a is a real parameter.
a) Solve the system if a = 0:
b) Find all values of a such that the system has an unique solu-
tion.
c) If a 2 (2 3) and (x y) is a solution of the system nd all values
of a such that the expression x + y takes its minimal value.
y x
Solution: It follows easily that x and x +1 y are roots of the equation
t2 ; (a ; 1)t + a ; 2 = 0: There are two cases to be considered:
x = 1 x = 1
(1) 1 = a ; 2 () 3 ; a when a 6= 2
x+y y = a ; 2
and
x = a;2 x = a;2
(2) 1 = 1 ()
x+y y = 3 ; a:
(1) AM = BN
AD BD
Further if CH ? AB (H 2 AB ) then 4ALM 4AHC and so
AL = AM : In the same manner BL = BN : But CL is a bisec-
AC AH BC BH
tor and therefore AL = BL so AM = BN : The last equation
AC BC AH BH
combined with (1) gives D H which implies CP ? AB:
Problem 9b.3 Prove that the digit of the hundreds of 21999 +22000 +
6
22001 is even.
Solution: Write the number 21999 +22000 +22001 in the form 21999(1+
2 + 4) = 7:29:21990 = 7:29:210:21980 = 7:29:210:(220)99: Since 29 =
512 210 = 1024 and 220 = (210)2 we have that the last two digits of
220 coincide with the last two digits of 242 so the last two digits of
220 are 76: Moreover the last two digits of 76:76 are also 76: Therefore
the last two digits of the given number are the last two digits of the
product 7:12:24:76 which are 1 and 6: Since 21999 + 22000 + 22001 is
divisible by 8 and it ends by 16 the digit of the hundreds is even.
Problem 10.1 Find all values of the real parameter a such that the
nonnegative solutions of the equation (2a ; 1) sin x +(2 ; a) sin 2x =
sin 3x form an innite arithmetic progression.
Solution: Since sin 2x = 2 sin x cos x and sin 3x = sin x(4 cos2 x;1)
we may write the equation in the form
sin x (2 cos2 x ; (2 ; a) cos x ; a) = 0: Thus sin x = 0 cos x = 1 or
cos x = ; a2 : The nonnegative solutions of the equations sin x = 0
and cos x = 1 are x = k and x = 2k k = 0 1 2a : : : respectively.
Let jaj > 2: In this case the equation cos x = ; 2 has no solution
and therefore the nonnegative solutions of the initial equation are
0 2 : : : which form an arithmetic progression. Let now jaj
2 and let x0 be the only solution of the equation cos x = ; a2 in
the interval 0 ]: In this case the nonnegative solutions of the last
equation are x = x0 + 2k and x = 2 ; x0 + 2k: It is clear now
that the nonnegative solutions form an arithmetic progression only
when x0 = 0 x0 = 2 and x0 = so giving a = ;2 a = 0 and a = 2:
The values of a are a = 0 and jaj > 2:
Problem 10.2 Let O I and H be respectively the circumcenter,
incenter and orthocenter for an acute nonequilateral 4ABC: Prove
7
that if the circumcircle of 4OIH passes through one of the vertices
of 4ABC then it passes through another vertex of 4ABC:
Solution: Assume that O I H and C lie on a circle. It is well known
that CI is the bisector of <) HCO: Thus <) IHO =<) ICO =<) ICH
=<) HOI and it follows from 4IHO that IH = IO = t:
We shall prove that if <) BAC 6= 60 then O I H and A lie on
a circle. Denote by M and N the projection points of I respec-
tively on AO and AH: Let O1 and O2 be such that IO1 = IO2 = t
and O1 lies between A and M and M lies between O1 and O2:
Analogously let H1 and H2 be such that IH1 = IH2 = t and H1
lies between A and N and N lies between H1 and H2: If O
O1 H H1 or O O2 H H2 then 4AIO 4AIH and there-
fore AO = AH: But AH = 2AO cos <) BAC and so <) BAC = 60 :
If O O1 H H2 or O O2 H H1 then it follows from
<) IO1O2 =<) IO2O1 =<) IH1H2 =<) IH2H1 that AOIH is inscribed.
Suppose now that A and B do not lie on the circumcircle of
4OIH: In this case <) BAC =<) ABC = 60 and therefore 4ABC
is equilateral which is a contradiction.
Problem 10.3 In each of the cells of a 3
3 table is written a real
number. The element in the i;th row and j ;th column equals to
the modulus of the dierence of the sum of the elements from the
i;th row and the sum of the elements from the j ;th column. Prove
that every element of the table equals either to the sum or to the
dierence of two other elements of the table.
Solution: Let p1 p2 p3 and q1 q2 q3 be the sum of the elements in
the rst, second and third row and in the rst, second and third
column respectively. It is clear that p1 + p2 + p3 = q1 + q2 + q3:
Therefore the element in the rst row and the rst column equals to
jp1 ; q1j: From the other hand jp1 ; q1j = jp2 + p3 ; q2 ; q3j which
implies jp1 ; q1j = 1jp2 ; q2j + 2jp3 ; q3j where 1 2 2 +1 ;1: Since
8
jp1 ; q1j 0 it is clear that 1 = 2 = ;1 is impossible. Therefore
jp1 ; q1j is either the sum or the dierence of jp2 ; q2j and jp3 ; q3j:
By analogy every element of the table is the sum or the dierence
of two other elements.
Problem 11.1. Prove that for every positive number a the se-
quence fxng1 n=1 such that x1 = 1 x2 = a xn+2 = xn+1 xn n 1
q
3 2
n k
1) = ; 31 : Adding the equalities k+2 ; k+1 = ; 13 for k =
n+1
1 ; ; 13
1 1
1 n 3 (1 ; ; 1 n+1 ): Since
;3 + : : : + ;3 = = 4 3
1 + 13
0 = 0 and nlim
p2 = 4a + 129b ; 3c q2 = 3b + 69c ; 2a
2 2 2 2 2 2
(2)
b) It follows from the condition of the problem that <) ADB >
90 and so c > a: Let D1 be a point on AB such that D1B = DB:
Further <) AD1B =<) ABD + 180 ; 2<) ABD = 180 + 2<) ABD =
<) ADB: Therefore 4AD1D 4ADB and thus b2 = c(c ; a): A
substitution in (2) implies p = 3c ;3 2a and q2 = 9c ; 3ac ; 2a2 :
2
9
Hence q2 = p(p ; a): Let B1 be a point on BC (B lies between C
and B1), such that BB1 = BD = a: Since qp = p +q a it follows that
4DBC 4B1DC: Therefore <) DBC =<) BB1D+ <) BDB1 =
2 <) BB1D = 2 <) BDC:
Problem 11.3 See problem 10.3.
10
Spring Mathematical Tournament
Jambol, 24-26 March 2000
Problem 8.1. Let f (x) be a linear function such that f (0) = ;5
and f (f (0)) = ;15: Find all values of m for which the set of the
solutions of the inequality f (x):f (m ; x) > 0 is an interval of length
2:
Solution: Let f (x) = ax + b: It follows from f (0) = ;5 that b = ;5
and from f (f (0)) = ;15 that a = 2: Therefore the function is f (x) =
2x ; 5: Consider the inequality (2x ; 5)(2(m ; x) ; 5) > 0 ()
(2x ; 5)(2m ; 5 ; 2x) > 0: The solution of the last inequality is an
interval with end points 25 and 2m2; 5 : Therefore 25 ; 2m2; 5 = 2
so j5 ; mj = 2: Finally, we obtain that m = 3 and m = 7:
Problem 8.2 Given an isosceles right angle triangle ABC with
<) ACB = 90 : Point P lies on BC M is the midpoint of AB and
let L and N be points from the segment AP such that CN ? AP
and AL = CN:
a) Find <) LMN
b) If the area of 4ABC is 4 times greater than the area of
4LMN nd <) CAP:
Solution: a) Let <) CAP = : We nd <) ACN = 90 ; and
<) MCN =<) ACN ; 45 = 45 ; =<) LAM: Since AM = CM and
AL = CN it follows that 4AML = 4CMN: Therefore <) AML =
<) CMN and so <) LMN = 90 ; <) AML+ <) CMN = 90 :
b) It follows from 4AML
= 4CMN that LM = MN and since
11
<) LMN = 90 we get SLMN = MN Also SABC = AC : Now
2 2
2
: 2
4MN 2 = AC 2 applies that MN = AC : Denote by Q the midpoint
2 2 2
AC
of AC: Thus QM = QN = 2 = MN: Therefore 4QMN is
equilateral and <) QNM = 60 which implies <) QNA = 60 ; 45 =
15 : But AQ = QN and so <) CAP =<) QNA = 15 :
Problem 8.3 There are 2000 white balls in a box. There are also
suciently many white, green and red balls. The following opera-
tions are allowed:
1) Replacement of two white balls with a green ball
2) Replacement of two red balls with a green ball
3) Replacement of two green balls with a white bal and a red
ball
4) Replacement of a white ball and a green ball with a red ball
5) Replacement of a green ball and a red ball with a white ball
a) After nitely many of the above opperations there are three
balls left in the box. Prove that at least one of them is a green ball.
b) Is it possible after nitely many opperations to have only one
ball left in the box?
Solution: Consider a box with x white, y green and z red balls.
Direct verication shows that after applying any of the allowed op-
erations the sum x + 2y + 3z does not change modulo 4. Since the
initial values are x = 2000 y = z = 0 we obtain that this sum is
congruent to 0 modulo 4.
a) There are 3 balls in the box and therefore x + y + z = 3:
Moreover x +2y +3z 0(mod4): If a green ball is not in the box then
y = 0 and so x + z = 3 and x +3z x +3(3 ; x) 1 ; 2x 0(mod4)
12
which is impossible.
b) Suppose that there is only one ball left in the box. Therefore
x + y + z = 1 and x + 2y + 3z 0(mod4) which is impossible.
Problem 9a.1 Find all values of m such that the equation
1 + m ; 2m (jx ; mj ; m) = 0
x + m x ; m m2 ; x2
has exactly one nonnegative root.
Solution: The equation x +1 m + x ;mm ; m22;m x2 = 0 is equivalent
to (when x 6= m) to (m + 1)x = ;m(m + 1): When m = ;1 it has
innitely many roots { all numbers x 6= 1: If m 6= ;1 we obtain
x = ;m: The equation jx ; mj ; m = 0 has two roots: x = 0 and
x = 2m when m > 0 an unique root: x = 0 when m = 0 and has
no roots when m < 0:
Let m < 0 and m 6= ;1: In this case the equation has an unique
root x = ;m and it is nonnegative. Let m = 0: Then the equation
becomes x1 jxj = 0 which obviously has no roots. Let m > 0: The
equation has three roots x = ;m x = 0 x = 2m and two of them
are nonnegative.
Thus, the desired values of m are m < 0 and m 6= ;1:
Problem 9a.2 Given an acute-angled triangle ABC and let
(x + y)2 = t2 + 2t1:
equalities t2 ; 2t1 0 and t2 + 2t1 0 hold true. It suces to prove
that when A < 14 the roots t1 < t2 of the equation g(t) = t2 ; t + A
satisfy the inequalities t2 ; 2t1 0 and t2 + 2t1 0: If A = 0
then t1 = 0 and t2 = 1 and the inequalities hold true. It is clear
that we can consider only the case A 2 (0 41 ): Now t1 > 0 t2 > 0
and the inequality t2 + 2t1 0 holds true. From the other hahd
t1 + t2 = 1 and the inequality t2 ; 2t1 0 is equivalent to t2 23 :
The same inequality is equivalent to t1 13 : For the roots t1 and
t2 we obtain t1 31 t2 23 which is equivalent to gg(( 32 )) 0
1
3p 0:
15
the other hand <) RC1A =<) RHA =<) AB1T and therefore B1ATC1
is inscribed. Hence, T = k \ B1Q: This implies that T S which
shows that the three lines intersect in a point.
Problem 9b.3 See Problem 8.3.
Problem 10.1 Solve the equation px + p3 x + 7 = p4 x + 80:
Solution: It is clear that x 0: Note that x = 1 is a root of
the equation. We shall prove that there are no other p roots.
p Ras-
ingpthe p equation to the p forth
p power wepget x + 4( x) x + 7 +
2 3 3
= x + 80:
Let f ( x ) = 4( px)3 p3 x + 7 + 6(px)2(p3 x + 7)2
p p p
+4( x)( 3 x + 7)3 +( 3 x + 7)4: Obviously f (x) is an increasing func-
tion. If x > 1 then it follows from the inequalities x2 > x f (x) >
f (1) = 80 that x2 + f (x) > x + 80 a contradiction. If x < 1
then it follows from the inequalities x2 < x f (x) < f (1) = 80 that
x2 + f (x) < x + 80 a contradiction. This completes the prove.
Problem 10.2 The incircle of an isosceles 4ABC touches the legs
AC and BC at points M and _
N respectively. A tangent t is drawn
to the smaller of the arcs MN and let t intersects NC and MC at
points P and Q respectively. Let T be the intersecting point of the
lines AP and BQ:
a) Prove that T lies on the segment MN
b) Prove that the sum of the areas of triangles ATQ and BTP
is the smallest possible when t is parallel to AB:
Solution: a) Let the incircle touches AB and PQ at points R and
S respectively. Let MN and SR intersect QB in points T1 and
T2 respectively. Since <) T1MQ =<) T1NC = 180 ; <) T1NB and
<) MT1D =<) BT1N it follows from the Law of Sines for 4MT1D and
16
DT1 = BT1 so QT1 = MQ : By analogy QT2 = SQ :
4BT1N that MD BN BT BN 1 BT BR 2
q s
by 3 and after multiplying 2:AB:AD cos 1(mod 3) by AC 2 we
obtain 2:AC 2:AB:AD: cos cos
1(mod 3) a contradiction to
AC 2:AB:AD: cos cos
1(mod 3): Therefore at least one of the
distances is divisible by 3.
Let n 4: Since there exist n4 sets with four elements each
!
4
by 3. Each such distance is counted exactly n ;2 2 times and we
!
n
= 16 n2 :
!
18
a) Find the greatest value of f (x)
f (x)
x 2
; 5x +
b) Find the greatest value of the function x2 + 5x + 20 10
!
:
Solution: a) We shall prove that the greatest value of f (x) equals
2. Since x2 + 7x + 14 > 0 8x we obtain f (x) 2 =) (x + 5)2 0
and an equality occurs only when x = ;5:
b) Let g(x) = xx2 ; 5x + 10 : Since x2 +5x +20 > 0 8x we obtain
2
+ 5x + 20
g(x) 3 =) (x + 5)2 0 and equality occurs only when x = ;5:
Since x2 ; 5x +10 > 0 8x we have that the function h(x) = g(x)f (x)
is correctly dened. Further, when f (x) > 0 i.e. x 2 ;3 ;1] then
h(x) 32 = 9: From the other hand g(x) 1 =) x ;1 and so
h(x) 1 when f (x) 0: Therefore the greatest value of h(x) equals
9 and h(x) = 9 when x = ;5:
Problem 11.2 A point A1 is chosen on the side BC of a triangle
ABC such that the inradii of 4ABA1 and 4ACA1 are equal. De-
note the diameters of the incircles of 4ABA1 and 4ACA1 by da:
In the same manner dene db dc: If BC = a CA = b AB = c p =
a + b + c and h h h are the altitudes of the triangle ABC and d
a b c
2
is the diameter of the incircle of 4ABC prove that:
q
p(p ; a)
a) da + a d = ha
b) da + db + dc + p ha + hb + hc :
Solution: a) Let O1 and O2 be the incenters of 4ABA1 and 4ACA1
and p1 and p2 be semiperimeters of the same triangles. We have
SABC = SABA1 + SACA1 = ra:p1 + ra:p2 = rc(p1 + p2) = rc :(p + CC1)
where ra = d2a : Therefore ra(p + AA1) = SABC : If P and Q are
the touching points of the incircles of 4ABA1 and 4ACA1 with
19
BC then the quadrilateral O1PQO2 is rectangle and so O1O2 =
PQ = PA1 + QA1 = p1 ; AB + p2 ; AC = p1 + p2 ; AC ; BC =
p + AA1 ; AC ; BC: It follows from the similarity of 4IO1O2 and
4IBC where I is the incenter of 4ABC that OBC 1 O2
= r ;r ra =)
AA1 + p ; AC ; BC = r ; rc : We obtain the system
BC r
ra(p + AA1) = S q
AA1 + AB ; p = r ; ra Thus, AA1 = p(p ; a) and ra =
c p pr p q
rp =
r p( p ; p ; a) = ha ; r p(p ; a) which
a 2 a
q
p + p(p ; a)
implies a).
pp ; a pp ; b
b) By a) the inequality is equivalent to a + b +
pp ; c pp pp ; a pp ; b pp ; c
c p d : Further p a + b + p c =
p;a p;b p;c
(p ;pb) + (p ; c) (p ;p a) + (p ; c) (pp; a) + (p ; b)
+ +
p p ;pa + p p ;pb + p p ;pc =
2 p ; b p ; c 2 p ; ap p ; c 2 p ; a p ; b
p p
q = d:
(p ; a)(p ; b)(p ; c)
Problem 11.3 See problem 10.3.
20
XLIX National Mathematical Olympiad
Third Round, 15-16 April 2000
Problem 1. Find all value of the real parameter a such that the
equation
9t ; 4a3t + 4 ; a2 = 0
has an unique root in the interval (0 1):
Solution: After the substitutions x = 3t and f (x) = x2 ; 4ax +
4 ; a2 the problem is equivalent to: nd all values of a such that
the equation f (x) = 0 has an unique root in the interval (1 3): It
is easily seen that if f (1) = 0 or f (3) = 0 then a = 1 a = ;5 or
a = ;13 are not solutions of the problem. Therefore the equation
f (x) = 0 has an unique root in the interval (1 3) when f (1):f (3) < 0
or Df = 0 2a 2 (1 3): It follows now that f (1):f (3) < 0 () (a ;
p < 0 () a 2 (;13 ;5) or 5a2 ; 4 = 0 2a 2 (1 3)
1)2(a +5)(a +13)
and so a = 2 5 5 :
22
Solution: Let <) AEB = 90 : Since <) CEB < 90 there exists a
point F on the side AB such that <) BEF =<) BEC: Thus 4BCE
=
4BFE which implies BF = BC and <) BFE =<) BCE: From the
other hand
() sin <AE = AF AE = AD :
) AFE sin <) AEF sin <) ADE sin <) AED
Since <) AED =<) AEF and <) AFE + <) ADE = 180 we obtain
AF = AD and so AB = AD + BC:
Conversely, let AB = AD + BC: There exists a point F on
the segment AB such that AF = AD and BF = BC: Therefore
4BFE = 4BCE so <) BFE =<) BCE and <) BEF =<) BEC: It
follows from () and AF = AD that sin <) AED = sin <) AEF: Since
<) AED+ <) AEF < 180 we have <) AED =<) AEF and therefore
<) AEB = 90 :
Problem 5. Prove that for any two real numbers a and b there
exists a real number c 2 (0 1) such that
ac + b + c +1 1 > 241 :
25
XLIX National Mathematical Olympiad
Fourth Round, 16-17 May 2000
Problem 1. In an orthogonal coordinate system xOy a set consisit-
ing of 2000 points Mi (xi yi) is called "good" if 0 xi 83 0
yi 1 i = 1 2 : : : 2000 and xi 6= xj for i 6= j: Find all natural
numbers n with the following properties: : a) For any "good" set
some n of its points lie in a square of side length 1:
b) There exists a "good" set such that no n + 1 of its points lie
in a square of side length 1:
(A point on a side of a square lies in the square).
Solution: We shall prove that n = 25 is the only solution of the
problem. We show rst that for a "good" set some 25 points lie
in a square of side length 1. All points lie in the rectangle 1
x 83 0 y 1: Divide this rectangle to 83 squares of side
length 1: If some 25 points lie in one of these rectangles then we
are done. Conversely, in every square there are at least 26 or at
most 24 points. We prove now that there exists a square with at
least 26 points and there exists a square with at most 24 points.
Indeed, if a square with 26 points does not exist then the points are
at most 83:24 = 1992 < 2000: If there is no square with less than
25 points then the points are 83:26 ; 82 > 2000: Further, move the
square with more than 25 points towards the square with less that
25 points. Since the number of points in this square changes at most
by one we get the assertion of the problem.
To prove b) let x1 = 0 xi = xi;1 + 1999 83 and y = 0 for i =
i
0 2 4 : : : 2000 while yi = 1 for i = 1 3 : : : 1999: Let XY ZT be an
unit square. WLOG we assume that it intersects the lines
26
y = 0 and y = 1 in the points P Q and R S respectively. Then
PQ+QR+RS +SP < PY +Y Q+QZ +ZR+RT +TS +SX +XP = 4:
But SP QR 1 and we get PQ + RS < 2: This implies that in the
square XY ZT there are no more than 25 points.
We found that n = 25 is a solution of the problem. It is unique
since 24 < 2000
83 < 25:
Problem 2. Given an acute 4ABC: Prove that there exist unique
points A1 B1 and C1 on BC AC and AB respectively with the fol-
lowing property: Each of the points is the midpoint of the segment
with ends the orthogonal projections of the other two points on the
corresponding side. Prove that 4A1B1C1 is similar to the triangle
formed by the medians of 4ABC:
Solution: It is easy to be seen that the perpendicular through C1 to
AB intersects A1B1 at its midpoint. The same is applied for A1 and
B1: Therefore the tree perpendiculars intersect at the medcenter of
4A1B1C1; the point P:
27
Let T be the midpoint of A1B1 <) PB1A1 = x =<) PCA1 <) PA1B1 =
y =<) PCB1: The Law of Sines for 4B1TP and 4A1TP gives:
sin = B1T = A1T = sin
sin x TP AP sin y
where sin x = sin : Further, if CN is the median in 4ABC similar
sin y sin
<) ACG+ <) BCG = and is acute it follows that x =<) ACG y =
<) BCG: It is clear now that CP is symmetric to the median in
4ABC through C with respect to the bisector of angle : The same
is true for AP and BP: Therefore the point P is unique (and there-
fore A1 B1 and C1 are unique). Further, <) B1C1A1 =<) B1C1P +
<) A1C1P =<) B1AP + <) A1BP =<) BAG+ <) ABG =<) BGK where
K is the symmetric point of G with respect to the midpoint of BC:
By analogy <) C1A1B1 =<) GBK and <) A1B1C1 =<) GKB: There-
fore 4A1B1C1 is similar to the triangle formed by the medians of
4A1B1C1:
28
Problem 3. Let p 3 be a prime number and a1 a2 : : : ap;2 be
a sequence of natural numbers such that p does not divide both ak
and akk ; 1 for all k = 1 2 : : : p ; 2: Prove that the product of some
elements of the sequence is congruent to 2 modulo p:
Solution: Consider the sequence 1 a1 a2 : : : ap;2: We shall
prove by induction that for any i = 2 3 : : : p ; 1 there exist in-
tegers b1 b2 : : : bi each of which is a product of some elements from
the above sequence and bm 6 bn(mod p) for m 6= n: Indeed, for
i = 2 we can choose b1 = 1 b2 = a1(a1 6 1(mod p)): Suppose we
have chosen b1 b2 : : : bi such that bm 6 bn(mod p) for m 6= n: Con-
sider b1ai b2ai : : : biai: It is easily seen that any two of them are not
congruent modulo p: Further, if bj ai for any j is congruent to bl for
some l we get that b1ai b2ai : : : biai modulo p is a permutation of
b1 b2 : : : bi modulo p: Thus,
(b1ai):(b2ai): : : : :(biai) b1:b2: : : ::bi(mod p)
and therefore aii 1(mod p); a contradiction.
It follows now that for any s = 2 3 : : : p ; 1 there exist few
elements of the sequence from the condition of the problem such
that their product is congruent to s modulo p:
F H DO
0 0 F H GG
It follows from GG00 =0 DO0 O0G0 = DG and <) DBG = 2 ; 90
that F 0H 0 = BD:O GD
D = ;tg2 :O0D: Denote BC \ EF 00 = I: Since
<) CBF 00 = 180 ; 2 and BE = 2O0D it is clear that F 00H 00 =
BF 00 sin = cos(180 BI sin = ;BE sin cos = ;O0Dtg2 =
; 2 ) cos 2
F 0H 0: This completes the prove.
Problem 6. Let A be the set of all binary sequences of length n
and let 0 2 A be the sequence with zero elements. The sequence c =
c1 c2 : : : cn is called sum of a = a1 a2 : : : an and b = b1 b2 : : : bn
if ci = 0 when ai = bi and ci = 1 when ai 6= bi: Let f : A ! A be
a function such that f (0) = 0 and if the sequences a and b dier in
exactly k terms then the sequences f (a) and f (b) dier also exactly
in k terms. Prove that if a b and c are sequences from A such that
a + b + c = 0 then f (a) + f (b) + f (c) = 0:
Solution: Consider the sequence e1 = 1 0 : : : 0 0 e2 = 0 1 : : : 0
: : : en;1 = 0 0 : : : 1 0 en = 0 0 : : : 0 1: It follows from the condi-
31
tion of the problem that (since f (0) = 0) for all p 1 p n there
exists q 1 q n such that f (ep) = eq:
It is clear also that f (ep) 6= f (eq ) for 1 p q n p 6= q:
Therefore
(1) ff (e1) f (e2) : : : f (en)g = fe1 e2 : : : eng:
Consider an arbitrary sequence a = a1 a2 : : : an with t ones. If
f (ep) = eq and ap = 1 then the q;th term of the sequence f (a) is
also 1 (otherwise ep and a dier at t ; 1 terms whereas f (ep) = eq
and f (a) dier at t + 1 terms). By analogy if ap = 0 then the q;th
term of f (a) is also 0.
Finaly, consider the sequences a = a1 a2 : : : an b = b1 b2 : : : bn
and c = c1 c2 : : : cn such that a + b + c = 0: This means that
for every i 1 i n the sum ai + bi + ci is even number. Fix
i 1 i n and let f (ei) = ej : It follows now that the j ;th terms of
the sequences f (a) f (b) f (c) coincide with ai bi ci respectively and
using (1) we obtain that f (a) + f (b) + f (c) = 0:
32
Union of Bulgarian Mathematicians
BULGARIAN
MATHEMATICAL COMPETITIONS
2001
Soa, 2001
Winter mathematics competition
Bourgas, 2-4 February 2001
Problem 9.1. a) Draw all points in the plane with coordinates
(x y) such that
(j3x ; yj ; 3)(j3x + yj ; 3) = 0
b) Find all x and y for which
(j3x ; yj ; 3)(j3x + yj ; 3) = 0
y ; f4xg = 0
;1 x 1
(For a real number x we denote the unique number in the interval
0 1) for which x ; fxg is an integer by fxg).
Solution: a) It is easy to see that these are the points on the four
lines l1 : 3x ; y = 3 l2 : 3x ; y = ;3 l3 : 3x + y = 3 and l4 : 3x + y =
;3:
b) There are two types of solutions:
y = ;3x + 3
1. Solutions of y = f4xg
;1 x 1
y = 3x + 3
2. Solutions of y = f4xg
;1 x 1
Denote the integer part of 4x by 4x] i.e. 4x = 4x] + f4xg: In
the rst case we have ;3x + 3 = f4xg = 4x ; 4x] i.e 7x = 3 + 4x]:
3
Since the right hand side is an integer all posiible values of x are
0 71 72 : : : 1: Direct verication shows that only x = 75 y = 67
x = 76 y = 37 x = 1 y = 0 are solutions.
In the second case 3x + 3 = f4xg = 4x ; 4x] i.e. x = 3 + 4x]:
It follows that x is an integer, i.e. x = ;1 0 or 1: Direct verication
shows that solution is only x = ;1 y = 0.
Thus, there are four solutions:
x = 75 y = 76 x = 76 y = 37 x = 1 y = 0 x = ;1 y = 0:
Problem 9.2. Points A1 B1 and C1 are chosen on the sides BC CA
and AB of a triangle ABC: Point G is the centroid of 4ABC and
Ga Gb and Gc are centroids of 4AB1C1 4BA1C1 and 4CA1B1
respectively. The centroids of 4A1B1C1 and 4GaGbGc are denoted
by G1 and G2 respectively. Prove that:
a) the points G G1 and G2 lie on a straight line
b) lines AGa BGb and CGc intersect in a point if and only if
AA1 BB1 and CC1 intersect in a point.
Solution: a) Let O be an arbitrary point and
OA~ 1 = OB
~ + (1 ; )OC ~ OB
~ 1 = OA
~ + (1 ; )OC
~
~ 1 = OA
OC ~ + (1 ; )OB
~
where 2 (0 1): The existence of and follows from
the fact that A1 B1 and C1 lie on the sides BC CA and AB of
4ABC: Then we have
~ = 1 OA ~ + OB~ + OC ~ = 1 3OA ~ + 3OB~ + 3OC ~
OG 3 9
OG~ 1 = 13 OA
~ 1 + OB
~ 1 + OC
~1 =
4
1 ( + )OA
h
~ + ( ; + 1)OB ~ + (2 ; ; )OC
~ :
i
3
By analogy OG ~ a = 1 (1 + + )OA
h
~ + (1 ; )OB~ + (1 ; )OC
~ i
3
~ b = 1 OA~ + (2 + ; )OB
~ + (1 ; )OC ~
h i
OG 3
~ c = 1 OA~ + OB ~ + (3 ; ; )OC
~ :
h i
OG 3
Thus, OG~ 2 = 1 OA
~ 1 + OB
~ 1 + OC
~1 =
3
1 (1 + 2 + 2 )OA
h
~ + (3 + 2 ; 2 )OB
~ + (5 ; 2 ; 2 )OC~ : i
9
Since GG~ 1 = OG~ 1 ; OG~ we have
~ 1 = 1 ( + ; 1)OA
GG
h
~ + ( ; )OB
~ + (1 ; ; )OC
~ : i
3
Using the same arguments we obtain GG ~ 2 = OG
~ 2 ; OG
~ =
1 (2 + 2 ; 2)OA
h
~ + (2 ; 2 )OB~ + (2 ; 2 ; 2 )OC~ : It follows
i
9
~ 1 = 3 GG
from the last two equalities that GG ~
2 2 and we are done.
b) Since the lines AA1 BB1 and CC1 intersect in a point Ceva's
theorem gives AC1 BA1 CB1 = 1:
C1B A1C B1A
Denote the intersecting points of AGa BGb and CGc with the sides
BC CA and AB by A2 B2 and C2 respectively. A necessary and
sucient condition for lines AGa BGb and CGc to intersect in a
CA2 BC2 AB2 = 1:
point is A
2 B C2A B2 C
Denote the midpoint of B1C1 by A3: Let h1 and h2 be the alti-
5
tudes of 4AA2C and AA3B1 from A2 and A3: We have
SAA2 C = h1:AC = AA2:AC :
SAA3 B1 h2:AB1 AA3:AB1
By analogy
SAA2 B = AA2:AB :
S AA3 C1AA :AC 3 1
Dividing the above equalities and using that SAA3 C1 = SAA3 B1 and
SAA2 C = CA2 we obtain
SAA2 B BA 2
CA2 = AC AC1 :
A2B AB AB1
By analogy
BC2 = CB CB1 AB2 = BA BA1 :
C2A CA CA1 B2C BC BC1
Multiplying the above equalities gives
CA2 BC2 AB2 = AC AC1 BC CB1 BA BA1 = AC1 BA1 CB1 :
A2B C2A B2C AB AB1 AC CA1 BC BC1 C1B A1C B1A
Therefore the lines AGa BGb and CGc intersect in a point i the
lines AA1 BB1 and CC1 interect in a point.
Problem 9.3. Let An be the number of sequences from 0's and 1's
of length n such that no four consequtive elements equal 0101: Find
the parity of A2001:
Solution: Denote the number of sequences of length n, the last
three terms of which are ijk where i j k 2 f0 1g and no four con-
sequtive elements equal to 0101 by anijk :
6
Obviously anijk+1 = an0ij + an1ij when ijk 6= 101 and an101+1 = an110:
Adding the above equalities for all values of ijk we obtain
An+1 = 2An ; an010:
Therefore An+1 an010 an001;1 + an101;1 an000;2 + an100;2 + an110;2
a0003 + an100;3 a000
n; n;4 + an;4 + an;4 + an;4 an;5 + an;5 + an;5 +
100 010 110 000 001 010
an100;5 + an111;5 + an110;5 + an101;5 + an011;5+ An;5(mod 2):
Thus, Ak+6m Ak (mod 2) for all k and m:
Therefore A2001 A3 = 8 0(mod 2):
Problem 10a.1. Find all pairs (a b) of integers such that the system
x2 + 2ax ; 3a ; 1 = 0
y2 ; 2by + x = 0
has exactly three real solutions.
Solution: Let (a b) satisfy the condition of the problem. Since there
are exactly three real solutions the rst equation has two distinct
roots x1 < x2 which implies D1 = 4(a2 + 3a + 1) > 0: The discrim-
inant of the second equation in respect to y equals D2 = 4(b2 ; x)
and therefore there are exactly three real solutions i x1 < x2 = b2:
These conditions are satised pi a and b are integers such that
a + 3a + 1 > 0 and b2 = ;a + a2 + 3a + 1: It follows from the
2
7
Problem 10a.2. The tangential point of a circle k through the
vertex C of a 4ABC and the line AB is the vertex B . The circle k
intersects for a second time the side AC snd the median of 4ABC
through C at points D and E respectively. Prove that if the inter-
secting point of the tangents to k through C and E lies on the line
BD then <) ABC = 90:
Solution: Let F be the intersecting point of the tangents tC and
tE to k at C and E G = BD \ CE and ACBH is parallelogram.
We have that <) ABC = 90 () tC k AB () FD FB CA= CD :
CD CD GD
From the other hand CA = BH = GB i.e. it suces to show that
FD = GD (
): Since 4FBE 4FED and 4FBC 4FCD
FB GB
we obtain FBFE ED= BE and FB = BC : Further, FC 2 = FE 2 =
FC CD
FD CD:ED
FB:FD and so FB = CB:EB : Now the equality from (
) follows
from CD:ED = SCED = GD which completes the proof.
CB:EB SCEB GB
Problem 10a.3. Ivan and Peter alternatively write down 0 or 1
until each of them has written 2001 digits. Peter is a winner if the
number, which binary representation has been obtained, cannot be
expressed as a sum of two perfect squares. Prove that Peter has a
winning strategy.
Solution: First we prove that if the binary representation of a pos-
itive integer ends with two ones and even number of zeroes then
this integer cannot be represented as sum of two squares. Indeed,
such a number is of the form 4k (4s + 3) and if we suppose that
x2 + y2 = 4k (4s + 3) then using the fact that x2 + y2 equals 0 mod-
ulo 4 i x and y are even we get that there exist integers p q for
which p2 + q2 = 4s + 3 which is a contradiction.
8
The winning strategy of Peter could be:
If one of Ivan's digits is 1 then Peter simply repeats all digits
written by Ivan. The nal number is of the form 4k (4s + 3) and
cannot be written as x2 + y2: If all Ivan's digits are zeroes then
the rst three digits of Peter are 1 1 1 after which he writes only
zeroes. The nal number is (0101010 : : : 0)2 = 21:41998 and cannot
be represented as p2 + q2 since 21 cannot be written in that form.
Problem 10b.1. Find all values of the real parameter a such that
the equation
logx (x2 + x + a)2 = 4
has unique solution.
Solution: The equation is equivalent to (x2 + x + a)2 = x4 x >
0 x 6= 1: Further, (x2 + x + a)2 = x4 () p (x + a)(2x2 + x +
a) = 0 with roots x1 = ;a and x2=3 = ;1 4 1 ; 8a provided
; 1 ; p1 ; 8a
1 ; 8a 0: Since 4 < 0 we obtain that only x1 =
p
;a x2 = ;1 + 4 1 ; 8a can be roots of the equation from the prob-
lem. If a 0 then x1 0 and x2 0 which implies that the
equation has no roots. If a < 0 then x1 > 0 and x2 > 0: Note
that x1 = x2 implies a = 0 which is a contradiction. Therefore if
the equation has unique solution then it is necessary to have a < 0
and one of the two roots equals 1. Thus, x1 = 1 ) a = ;1 and
x2 = 1 ) a = ;3:
Problem 10b.2. On each side of a right isosceles triangle with
legs of length 1 is chosen a point such that the triangle formed from
these three points is a right triangle. What is the least value of the
hypotenuse of this triangle?
9
Solution: Consider a right isosceles triangle ABC with right angle
at C . Let A1 2 BC B1 2 CA and C1 2 AB be such that 4A1B1C1
is right triangle.
1. Suppose <) B1A1C1 = 90 : Assume that the circle k with di-
ameter B1C1 intersects BC at point X 6= A1: It is easy to be seen
that X is an interior point for the line segment BC: Draw a tangent
l to k which is parallel to BC
_
and the tangential point Y belongs
to the smaller of the arcs A1X : Denote the intersecting points of l
with AB and AC by C2 and B2 respectively. Consider a homothety
of center A such that the image of B2(C2) is C (B ): It is clear that
the image of 4B1C1Y is inscribed in 4ABC and its hypotenuse
is less than B1C1: Therefore wlog we may assume that BC is tan-
gent to k: Thus, if <) C1B1A1 = then <) C1A1B = : From the
Sine Low for 4BC1A1 we obtain BA1 = B1C1 sinsin sin( + 45) =
45
B1C1 sin (sin + cos ): Hence
(1) 1 = BA1 + A1C = B1C1 cos sin + B1C1 sin (sin + cos )
Therefore 1 = B1C1(sin2 + sin 2) () B1C1(1 + 2 sin 2 ;
cos 2) = 2: From the other hand 2 sin 2 ; cos 2 =
p 2 p p
5 p sin 2 ; p1 cos 2 = 5 sin(2 ;
) 5 where
is
!
5 5
such that sin
= p and cos
= p2 : Note that the equality holds
1
5 5
when 2 ;
= 90 and since
< 90 we have that < 90:
p
Further Bp1C1(1 + 5) B1C1(1 + 2 sin 2 ; cos 2p) = 2 and
so B1C1 52; 1 : It is easily seen that if B1C1 = 52; 1 and
2 ;
= 90 p then (1) holds true and therefore there exists triangle
with B1C1 = 52; 1 :
2. Suppose <) A1C1B1 = 90: Denote the projection of A1 and
10
B1 on AB by A2 and B2 respectively. Obviously AB2 = B1B2
and BA2 = A1A2: Let P be the midpoint of A1B1 and Q { the
midpoint of A2B2: Thus, A1B1 = 2PC1 2PQ = A1A2 + B1B2 and
A1B1 A2B2 = AB ; AB2 ; BA2 = AB ; B1B2 ; A1A2: Adding p
p
the above equalities gives 2A1B1 AB = 2 and so A1B1 22 :
p p
Since 22 > 52; 1 we obtain that the least possible value equals
p
5 ; 1:
2
Problem 10b.3. An element x is chosen from the set
A = f1 2 : : : 2n g n 3: Questions of the type: Does x belong
to B A where the sum of the elements of B equals 2n;2 (2n + 1)
are allowed? Prove that one can nd x with exactly n questions
stated in advance.
Solution:
Lemma There exist n sets each with 2n;1 elements, the sum
of the elements of each set equals 2n;2 (2n + 1) with the following
property: the elements from the set f1 2 : : : 2n g get as answers
distinct n;tuples from "yes" and "no".
Proof: Induction by n 3. For n = 3 the sum of the elements
of B is 18 and we use the sets B1 = f1 2 7 8g B2 = f1 3 6 8g and
B3 = f1 4 6 7g: The table shows that the elements from A get as
answers distinct triples.
1 2 3 4 5 6 7 8
B1 = f1 2 7 8g + + - - - - + +
B2 = f1 3 6 8g + - + - - + - +
B3 = f1 4 6 7g + - - + - + + -
+ means "yes", ; means "no".
11
The number of elements in each set is 22 = 23;1 :
Suppose the assertion is true for some m: Therefore there exist
sets B1 B2 : : : Bm each with 2m;1 elements, the sum of the elements
of each set equals 2m;2 (2m +1) and every element from f1 2 : : : 2mg
gets distinct m;tuple.
Consider the set f1 2 : : : 2m+1g: For any i 1 i m if Bi =
fa1i a2i : : : a2m;1i g let
Di = fa1i a2i : : : a2m;1i a1i + 2m a2i + 2m : : : a2m;1i + 2m g:
It is clear that each set Di 1 i m has exactly 2m elements
and the sum of the elements of Di is equal to: 2(a1i + a2i + : : : +
a2m;1i)+2m;1 :2m = 2:2m;2 (2m +1)+22m;1 = 22m;1 +2m;1 +22m;1 =
2m;1 (2m+1 + 1): It is easily seen that only the elements t and t + 2m
for 1 t 2m get equal m;tuples. Let P and Q be nonintersecting
sets such that jP j = jQj = 2m;1 and P Q = f1 2 : : : 2m g: Consider
a set Q obtained from Q by adding 2m to each of its elements. The
set Dm+1 = P Q has 2m elements and the sum of its elements
is equal to s2P s + s2Q s + 2m;1 :2m = 2m;1 (2m + 1) + 22m;1 =
P P
2m;1 (2m+1 + 1): It is clear that exactly one element of each pair
(t t + 2m ) for 1 t 2m belongs to Dm+1 : Hence, we have found
the desired sets D1 D2 : : : Dm+1:
It is obvious now that the sets, given by the Lemma solve the
problem.
Problem 11.1. A sequence a1 a2 : : : an : : : is dened by
a1 = k a2 = 5k ; 2 and an+2 = 3an+1 ; 2an n 1
where k is a real number.
a) Find all values of k such that the sequence fang1n=1 is conver-
gent.
12
b) Prove that if k = 1 then
an+2 = 7a1n++1a; +8aan an+1 n 1
" #
2
n n+1
where x] denotes the integer part of x:
Solution: a) Write the given reccurent relation in the form an+2 ;
an+1 = 2(an+1 ; an) and consider the sequence cn = an+1 ; an:
It is obvious that if the sequence fang1n=1 is convergent then the
sequence fcng1 n=1 is also convergent. From the other hand it follows
from c1 = a2 ; a1 = 4k ; 2 and cn+1 = 2cn that the sequence fcn g1n=1
is an arithmetic progression and cn = (4k ; 2):2n;1 for any positive
integer n: Thus, if 4k ;2 6= 0 then the sequence fcn g1n=1 is unbounded
and therefore is not convergent one. Therefore 4k ; 2 = 0 i.e. k = 12 :
For this value of k all terms of the sequence fang1n=1 are equal to 21
and therefore the sequence is convergent.
b) It easily follows by induction that an = 2n ; 1: From the other
hand the equality from the condition of the problem is satised for
n = 1 2: Suppose it is true for n = m and n = m + 1: Then
7a2m+1 ; 8amam+1 = 7(2m+1 ; 1)2 ; 8(2m ; 1)(2m+1 ; 1) =
" # " #
1 + am + am+1 1 + 2m ; 1 + 2m+1 ; 1
3:22m+2 ; 2m+2 + ;1 = 2m+2 ; 1 = a
" #
m+1
3:2m ; 1 3:2m ; 1
which completes the proof.
Problem 11.2. On each side of a triangle with angles 30 60 and
90 and hypotenuse 1 is chosen a point such that the triangle formed
from these three points is a right triangle. What is the least value
of the hypotenuse of this triangle?
13
Solution: Consider triangle ABC with angles and . Let
A1 2 BC B1 2 CA and C1 2 AB be such that 4A1B1C1 is right
with <) A1C1B1 = 90 : Suppose that the circle k of diameter A1B1
intersects AB at point X 6= C1: It is easy to see that if 90
and 90 then X is an interior point for line segment AB: Draw
a tangent l to k which is parallel to AB _
and the tangential point
Y belongs to the smaller of the arcs C1X : Denote the intersecting
points of l and lines AC and BC by B2 and A2 respectively. Con-
sider homothety of center C for which the image of B2(A2) is the
point A(B ): It is obvious that the image of 4B1A1Y is inscribed
in 4ABC and its hypotenuse is less than B1A1: Therefore wlog we
may suppose that AB is tangent to k: In this case if <) B1A1C1 =
15
n
!
n+a;b
2
X n+a+b ! n;a;b !
The sum 2
i n;a+b ; i equals to the coecient in front
2
i=b 2
of x n;2a+b in the expansion of (1 + x) n+2a+b (1 + x) n;2a;b = (1 + x)n:
n
!
n n
! !
n+a+b n;a+b :
2 2
2 2
16
Spring mathematics tournament
Kazanlak, 30 March - 1 April 2001
Problem 8.1. Let a be a real parameter such that 0 a 1: Prove
that the solutions of the inequality
jxj + jax + 21 j 1
form an interval of length greater or equal to 1.
Solution: If a = 0 then all numbers from the interval 12 ; 12 of
4 4
Further, assume that 0 < a < 1 and let x 0: In this case
ax + 21 > 0 and therefore the solutions are x 2(1 1+ a) : Let x < 0:
If ax + 21 0 i.e. x ; 12 the solutions satisfy x ; 2(1 1; a) : If
ax + 21 < 0 i.e. x < ; 21a the solutions satisfy x ; 3(1 1+ a) :
Let a 12 : Then ; 2(1 1; a) ; 21a and so all numbers x
; 2(1 1; a) are solutions of the inequality. Since ; 3(1 1+ a) > ; 21a
it has no other solutions. Therefore all solutions form an interval
; 2(1 1; a) 2(1 1+ a) of length 2(1 1+ a) + 2(1 1; a) = 1 ;1 a2 > 1:
" #
Let a > 12 : Then ; 2(1 3+ a) < ; 21a and the solutions are x
17
; 2(1 3+ a) x ; 21a or x 2 ; 2(1 3+ a) ; 21a : Therefore all so-
" #!
18
b) Find the least integer n n > 1 for which
12 + 22 + + n2
n
is a perfect square.
Solution:
a) Direct verication shows that
n(n + 1)(2n + 1) + (n + 1)2 = (n + 1)(n + 2)(2n + 3)
6 6
for any integer n: Using this equality the proof is easily done by
induction.
b) It follows from a) that n(n + 1)(2n + 1) = 6m2: Since 2n + 1
is odd then n + 1 is even, i.e. n is odd. Let n = 2k ; 1: Then
k(4k ; 1) = 3m2: Therefore 3=k or 3=4k ; 1 i.e. 3=k or 3=k ; 1: Let
k = 3l: Then l(12l ; 1) = m2: Since (l 12l ; 1) = 1 we have l = n2
and 12l;1 = v2: The latter equality is impossible (contradiction both
modulo 4 and modulo 3). Let k = 3l +1: Then (3l +1)(4l +1) = m2:
Since (3l + 1 4l + 1) = 1 we get that 3l + 1 = u2 4l + 1 = v2 u >
1 v > 1: Verifying consequently for v = 3 5 7 9 11 13 : : : we obtain
l = 2 6 12 20 30 42 56 : : : : Thus, 3l + 1 = 7 19 37 61 91 127 169
(rst perfect square). So, the least n is 2k ; 1 where k = 3l + 1 =
3:56 + 1 = 169 and therefore n = 337:
Problem 9.1. Let f (x) = x2 + 6ax ; a where a is a real parameter.
a) Find all values of a for which the equation f (x) = 0 has at
least one real root.
b) If x1 and x2 are the real roots of f (x) = 0 (not necessarily
distinct) nd the least value of the expression
A = (1 +9xa ;)(14a+ x ) ; (1 ; 6a ;70xa)(1+;1 6a ; x ) :
2 3
1 2 1 2
19
Solution: a) The discriminant of f (x) is D = 4(9a2 + a). Therefore
the equation f (x) = 0 has at least one real root i 9a2 + a 0, so
giving a 2 ;1 ; 91 0 +1).
1 ; 7a
The quadratic function g(a) = 10a2 + 2a ; 1 attains its minimal
value for a = ; 10 1 62 ;1 ; 1 0 +1): Therefore the minimal
9
value of A equals to the smallest of the numbers g(0) and g ; 1 ,
1
89
i.e. this value is g ; 9 = ; 81 .
20
() OA:CO: QDOO = OB:OD () OA:CO = Q1O:OB:
1
Therefore the quadrilateral ABCQ1 is cyclic. Thus, Q1 Q:
Problem 9.3. Prove that there exist eight consecutive positive
integers such that non of them can be written in the form
j7x2 + 9xy ; 5y2j, where x and y are integers.
Solution: Denote f (x y) = 7x2 + 9xy ; 5y2. Since f (0 0) = 0,
f (0 1) = 5, f (1 0) = 7, f (1 1) = 11 and f (0 2) = 20, rst possible
sequence of eight positive integers is 12 13 : : : 19. We shall prove
that non of these integers can be written in the form j7x2 +9xy ;5y2j,
where x and y are integers.
Let f (x y) = k, where x and y are integers. It suces to prove
that f (x y) = k has no solutions for k 2 f12 13 : : : 19g.
Suppose k is even. Then x and y are also even. If x = 2x1 and
y = 2y1 we get the equality 4f (x1 y1) = k which implies that k is
divisible by 4. Thus, k 6= 14 and k 6= 18. Let k = 16 and consider
the equation 4f (x1 y1) = 16 which is equivalent to f (x1 y1) = 4.
As above we conclude that x1 and y1 are both even and let x1 = 2x2
and y1 = 2y2. Therefore f (x y) = 1. By analogy if k = 12 we get
the equation f (x y) = 3.
Multiply the equation f (x y) = k by 28 and write it in the
form
(14x + 9y)2 ; 221y2 = 28k:
Since 221 = 13:17 it is appropriate to consider modules 13 and 17.
Denote t = 14x + 9y and consider all possibilities for k, i.e.
k 2 f1 3 13 15 17 19g.
1) If k = 13 then t2 28:13 (mod 17) and so t2 7 (mod
17). Raising this congruence to 8-th power gives t16 (7)8 ;1
21
(mod 17) which is a contradiction to Fermat's theorem. Therefore
k 6= 13.
2) If k = 15 then t2 28:15 5 (mod 17). Raising in 8-th
power gives t16 (5)8 ;1 (mod 17), a contradiction.
The cases k = 17 19 1 3 are treated similarly.
Problem 10a.1. Let a and b be positive numbers such that both
of the equations (a + b ; x)2 = a ; b and (ab + 1 ; x)2 = ab ; 1 have
two distinct real roots. Prove that if the two bigger roots are equal
then the two smaller roots are also equal.
Solution: Let a and b satisfy the condition of the problem. Both
equations have two distinct roots i a > b and ab > 1: Since a > 0
it follows that a2 > ab > 1 i.e. a > 1: Therefore a > b > a1 and
a > 1: It follows from
p p of the problem thatpa + b +
p the condition
a ; b = ab + 1 + abp ; 1 i.e. pa ; b = (a ; 1)(b ; 1) + ab ; 1:
If a > b 1 then a ; b ab ; 1 () (a + 1)(b ; 1)
0 () b 1: Therefore b = 1: Conversely if 1 < b 1 then
p p a
a ; b ab ; 1 () (a + 1)(b ; 1) 0 () b 1 i.e. b = 1:
Thus, the two bigger roots are equal i b = 1 and a > 1: In this case
the two smaller roots are also equal.
Problem 10a.2. Let A1 and B1 be points respectively on the sides
BC and AC of 4ABC D = AA1 \ BB1 and E = A1B1 \ CD: Prove
that if <) A1EC = 90 and the points A B A1 E lie on a circle, then
AA1 = BA1:
Solution: Let F = AE \ BC: We prove that EA1 is the bisec-
tor of <) BEF which solves the problem. Indeed, then we have
<) BAA1 =<) BEA1 =<) FEA1 =<) ABA1 i.e. AA1 = BA1:
22
Using Ceva's and Menelaus's theorems for 4AA1C we obtain
AD A1F CB1 = 1 AD A1B CB1 = 1 and so
A1D CF AB1 A1D CB AB1
(1) A1F = CF
A1B CB
Let B 0 be a point on the ray A1B ! such that <) B 0EA1 =<) A1EF:
Then EA1 is the bisector of <) B 0EF and since <) A1EC = 90 it
follows that EC is the external bisector of the same angle. Therefore
A1F = CF and it follows from (1) that A1B = A1B 0 i.e. B = B 0
A1B 0 CB 0 CB CB 0
which completes the proof.
Problem 10a.3. Find all positive integers x and y such that
x3 + y3 ; x2y2
(x + y)2
is a nonnegative integer.
Solution: Let x and y be positive integers such that
z = x +y ;x y
3 3 2 2
(x + y)2
is a nonnegative integer. Substitute a = x + y and b = xy and write
the expression in the form b2 +3ab ; a2(a ; z) = 0: The discriminant
of this quadratic equation a2(4a + 9 ; 4z) is a perfect square, so
(4a + 9 ; 4z) = (2t + 1)2: Thus, a = t2 + t + z ; 2 and from the
equation for b we obtain that b = a(t ; 1): Since t 2 we have
(x ; y)2 = a2 ; 4a(t ; 1) < (a ; 2(t ; 1))2: From the other hand
a t2 and therefore a2 ; 4a(t ; 1) (a ; 2(t ; 1) ; 2)2: Since
a2 ; 4a(t ; 1) 6= (a ; 2(t ; 1) ; 1)2 (the two numbers are of dierent
parity) it follows that (x ; y)2 = a2 ; 4a(t ; 1) = (a ; 2(t ; 1) ; 2)2:
23
Thus, a = t2 i.e. t + z = 2 and so t = 2 z = 0 which implies
a = b = 4: Therefore x = y = 2 and these are the only positive
integers satisfying the condition of the problem.
Problem 10b.1. Solve the equation:
p
3log (cos x+sin x)+ ; 2log (cos x;sin x) = 2:
3
1
2 2
Solution: Note that the admissible values are those x for which
cos x + sin x > 0 cos x ; sin x > 0: After simple calculations the
equation becomes
p p p
( 3 ; 1) cos x + ( 3 + 1) sin x = 2:
This equation is equivalent to
p p p p
6 ; 2 cos x + 6 + 2 sin x = 1 :
4 4 2
p p p p
Since cos 15 = 6+4 2 and sin 15 = 6;4 2 we have
sin(x + 15 ) = 12 :
From the roots of the later equation only x = 15 k360 are ad-
missible. Therefore the roots are x = 15 k360 :
Problem 10b.2. Given a triangle ABC: Let M be such an interior
point of <) BAC that <) MAB =<) MCA and <) MAC =<) MBA:
Analogously, let N be such an interior point of <) ABC that
<) NBA =<) NCB and <) NBC =<) NAB and let P be such an inte-
rior point of <) ACB that <) PCA =<) PBC and <) PCB =<) PAC:
Prove that lines AM BN and CP intersect in a point on circumcircle
of 4MNP:
24
Solution: Suppose <) C < 90 : The case <) C > 90 is treated simi-
larly. Denote the intersecting point of line CP and line segment AB
by C1. Since PC1 is the bisector of <) APB (<) APC1 =<) BPC1 =
=<) ACB ) we get BCAC1 = AP : Triangles APC and BPC are sim-
1 BP
AP
ilar which gives CP = BC and BP
AC
CP AC= BC =) AP = AC 2 = b2 :
BP BC 2 a2
By analogy, if A1 and B1 are the intersecting points of AM and
BA c2 CB
BN with BC and AC respectively then A C = b2 and B A = c2 :
1 1 a 2
1 1
AC 1 :BA1:CA1
Thus, C B:A C:B A = 1 i.e. according to Ceva's theorem lines
1 1 1
AM BN and CP intersect in a point. Dnote this point by K: Since
<) APB =<) AOB = 2 where O is the circumcenter of 4ABC we _
get that A P O and B lie on a circle and PC1 intersects the arc AB
at its midpoint C1. Therefore OC2 is a diameter of this circle and
<) OPC2 =<) OPC = 90 : It easily follows now that M N and P lie
on a circle of diameter OK:
Problem 10b.3. Consider a set P of six four-letter words over an
alphabet of two letters a and b: Denote by QP the set of all words
over the same alphabet which do not contain as subwords the words
from P . Prove that:
a) if QP is nite then it does not contain words of length 11
b) there exists a set P such that QP is nite and it contains word
of length 10.
Solution: a) Suppose that QP contains a word of length 11. We
will show that QP contains words of any length. Let ! be a word of
length 11. There are 9 subwords of ! of length 3. Since there are 8
distinct words of length 3 it follows that there exists a word that
appears as subword of ! twise. Let = 123 where i 2 fa bg:
25
Consider the subword of ! obtained after the second appearance of
i.e. consider the word
: : : 1231 : : : 123
Write 1 after 3. Obviously the new word does not contain subwords
from P:
: : :2312 : : : 231
By analogy write 2 and so on. Thus, we nd words of any length
without subwords from P: This contradiction shows that there are
no words of length 11 in QP .
b) A direct verication shows that the set
P = f0000 1000 1001 1010 1101 1111 g
is such that QP is nite and 0001011100 2 QP :
Problem 11.1. Prove that there exist unique numbers and
such that cos = 2 tg = 1 and 0 < < < 1:
Solution: The function f (x) = cos x ; x2 is continuous in the in-
terval (0 1) f (0) = 1 > 0 and f (1) = cos 1 ; 1 < 0: Therefore there
exists such that cos = 2: In the interval (0 1) the function cos x
is decreasing one, whereas the function x2 is increasing. Therefore
there exists unique 2 (0 1) such that cos = 2:
We show now that in the interval 0 1] there exists a unique
such that g( ) = 0 where g(x) = xtgx ; 1. The function g(x) is
increasing one because xtgx is increasing as product of two increasing
functions. Moreover tg 4 = 4 ; 1 < 0 g(1) = tg1 ; 1 = tg1 ;
tg 4 > 0 and the uniquennes of follows. Since sin x < x for positive
26
x it follows that g() = tg ; 1 = sin ; 1 < 0: Further, g(x) is
increasing in the interval 0 1] and so < :
Problem 11.2. Let AA1 and BB1 be the altituds of obtuse non-
isosceles 4ABC and O and O1 are circumcenters of 4ABC and
4A1B1C respectively. A line through C intersects the line segments
AB and A1B1 at points D and D1 respectively and E is point on
the line OO1 such that <) ECD = 90 : Prove that EO 1
EO CD= CD1 :
(3) CO = 2 sin BC
<) BAC
(4)
CD1 = CA1 sin <) B1A1C = CA1 sin <) BAC
sin(<) B1A1C + <) D1 CA1) sin(<) BAC + <) DCB )
27
It follows now from (1),(2),(3),(4) and (5) that
EO1 = A1C sin <) BAC sin <) BDC = CD1
EO BC sin <) ABC sin(<) BAC + <) DCB ) CD
which completes the proof.
Problem 11.3. There are 2001 towns in a country every one of
which is connected with at least 1600 towns by direct bus line. Find
the largest n for which there exist n towns any two of which are
connected by direct bus line.
Solution: Let S1 snd S1 be two towns connected by direct bus line.
If k is the number of towns connected to both S1 and S2 by bus line
then (1599 ; k)+(1599 ; k)+ k 1999 which implies that k 1198:
Therefore there exists town S3 connected to both S1 and S2: Further,
let k be the number of towns connected to all S1 S2 and S3: Therefore
(1197 ; k) + (1598 ; k) + k 1998 so giving k 797: Therefore
there exists town S4 connected to all S1 S2 and S3: By analogy let k
be the number of towns connected to all S1 S2 S3 and S4: We have
(796 ; k) + (1597 ; k ) + k 1997 which implies k 396: Therefore
there exists S5 connected to all S1 S2 S3 and S4: For the number n
from the condition of the problem we obtain n 5: We show that
n = 5: For, number the towns by S1 S2 : : : S2001 and connect Sk
and Sm with direct line for all k and m for which k 6 m(mod5):
Since 2001
28
L National Mathematics Olympiad
3rd round, 28-29 April 2001
Problem 1. For which values of the real parameter a the equation
lg(4x2 ; (8a ; 1)x +5a2 )+ x2 +(1 ; 2a)x +2a2 = lg(x2 ; 2(a +1)x ; a2 )
has exactly one root?
Solution: Write the equation in the form:
30
Problem 3. Find the least positive integer n such that there exists
a group of n people such that:
1. There is no group of four every two of which are friends
2. For any choice of k 1 people among which there are no
friends there exists a group of three among the remaining n ; k
every two of which are friends.
Solution: Consider a group of 7 people A1 A2 : : : A7 such that
Ai i = 1 2 : : : 7 is not friend only with Ai+1 and Ai;1 (we set that
A8 = A1 and A0 = A7). It is easily seen that there are no four every
two of which are friends. Also, for any choice of k 1 people (in
this case k is 1 or 2) every two of which are not friends there exists
a group of three among remaining 7 ; k people every two of which
are friends. Therefore k 7:
We prove that for any group of 6 which satisfy the condition 1)
it is possible to choose a group of k 1 every two of which are not
friends such that among remaining 6 ; k a group of three every two
of which are friends does not exist.
Denote the people by A1 A2 : : :A6: If some of them is friend with
the other 5 (wlog suppose this is A1) it is clear that there are no three
among A2 A3 : : :A5 every two of which are friends. Therefore the
choice of A1 solves the problem.
Suppose one of then is friend with exactly four others (wlog as-
sume A1 is friend with A2 A3 A4 and A5) Then the choice of A1 and
A6 solves the problem.
Therefore each person has 0 1 2 or 3 friends. It is obviuos that
there exists a group of three any two of which are friends (otherwise
the problem is trivial). Assume that the group A1 A2 and A3 has
this property. Wlog A1 and A4 are not friends. Therefore among
A2 A3 A5 and A6 there is a group of three any two of which are
31
friends. If this is A5 and A6 together with one of A2 or A3 then there
exists a person who is friend with at least four others, a contradiction.
Therefore wlog suppose that this group is A2 A3 and A5. Since A1
and A5 are not friends and since among the others there is a group of
three friends we obtain that either A2 or A3 has at least four friends
which is a contradiction.
Therefore k = 7:
Problem 4. Given a right triangle ABC with hypotenuse AB:
A point D distinct from A and C is chosen on the ray AC ! such
that the line through incenter of 4ABC parallel to the bisector of
<) ADB is tangent to the incircle of 4BCD: Prove that AD = BD:
Solution: First we show that C lies on the line segment AD: For,
suppose the contrary, i.e. <) ADB > 90 : Denote the tangential
point of incircle k(I r) of 4BCD and the side BD by P and the
tangential point of k and the line through the center J parallel to
bisector l of <) ADB by T . Since l ? DI we get T 2 DI: Thus,
<) IJT = <) CBD2 =<) IBP and since IT = r = IP we have that
4IJT and 4IBP are congruent. In particular IJ = IB which
implies that <) BJC < 90 a contradiction. Let A0 be such point on
the ray DA! that DA0 = DB and E is the midpoint of A0B: Denote
the tangential point of incircle of 4A0BC by F and its incenter by
J 0. Then we have
EF = jA0E ; A0F j = 21 jA0B ; (A0B + A0C ; BC )j =
= 12 jBC ; A0C j = 12 jBC ; (A0D ; CD)j =
1
2
jBC + CD ; BDj = r:
Therefore the line J 0F parallel to l is tangent to k: This implies
that J 0 2 JF: From the other hand J 0 2 JC and since JC is not
32
parallel to JF (<) ACJ = 45 > 21 <) ADB =<) ADI ) we get J = J 0:
Thus, <) ABJ =<) CBJ =<) A0BJ i.e. A = A0 which completes the
proof.
Problem 5. Find all triples of positive integers (a b c) such that
a3 + b3 + c3 is divisible by a2b b2c and c2a:
Solution: If d = gcd(a b c) it is easy to see that da db dc is
!
33
problem.
Supose now that c > b 3: Since 1 + b3 + c3 b2c2 it follows
that 2c3 > 1+ b3 + c3 and so 2c > b2 or c > b2 : It follows from 2c > b2
2
that 2c > b2 ; b + 1 i.e. (3) b ;cb + 1 < 2: From the other hand
2
Multiplying (3) and (4) gives b c+2 1 < 1 which is impossible since
3
n n
n 0.
Solution: Let xn = an +2an;1 , x0 = 3 and yn = an ;2an;1 , y0 = 1.
Then xn = 3xn;1 +4yn;1 and yn = 2xn;1 +3yn;1 . Since an = xn +yn,
it suces to prove that xn + yn = xyn ;+y7 , i.e. x2n = 2yn2 + 7.
2
n n
We prove this by induction. The assertion is obvious for n = 0.
Suppose that x2n;1 = 2yn2;1 + 7. Writing this equality in the form
(3xn;1 + 4yn;1)2 = 2(3yn;1 + 2xn;1)2 + 7 gives x2n = 2yn2 + 7 which
completes the proof.
Problem 2. Given nonisosceles triangle ABC . Denote the tan-
gential points of the inscribed circle k of center O with the sides
AB BC and CA by C1 A1 and B1 respectively. Let AA1 \ k =
A2 BB1 \ k = B2 and let A1A3, B1B3 be bisectors in triangle
A1B1C1 (A3 2 B1C1 B3 2 A1C1). Prove that:
a) A2A3 is bisector of <) B1A2C1
b) if P and Q are the intersecting points of circumcircles of tri-
angle A1A2A3 and triangle B1B2B3 then the point O lies on the line
PQ.
Solution: a) From the Low of Sine's we obtain
AB1 = sin <) B1A1A2 AC1 = sin <) C1A1A2
AA1 sin 1 AA1 sin 1
35
where 1 =<) A1B1C1 1 = A1C1B1: Since AB1 = AC1 we get
A2B1 = sin <) B1A1A2 = sin 1 = A1B1 = A3B1
A2C1 sin <) C1A1A2 sin 1 A1C1 A3C1
which implies that A2A3 is the bisector of <) B1A2C1:
b) Let M = AA1\BB1: It follows from MA1 : MA2 = MB1 : MB2
that M lies on the line PQ. Therefore it suces to prove that
OM ? O1O2, where O1 and O2 are circumcenters of 4A1A2A3 and
4B1B2B3. It follows from a) that the diametrically opposite point
of A3 in k1 { the circumcircle of 4A1A2A3, lies on the line B1C1.
Therefore O1 2 B1C1. Moreover <) B1B3A1 =<) CA1A3 = + 1 .
2
It easily follows now that O1 coinsides with the intersecting point
of B1C1 and BC . Let OO1 \ A1A2 = N and OO2 \ B1B2 = K . It
follows from 4OA1O1 that ON : OO1 = OA21 = r2 and by analogy
OK : OO2 = r2 where r is the radius of k. Since O, N , M and K lie
on the circle k3 of diameter OM we have that the line O1O2 is the
image of k3 by inversion of center O and degree r2, i.e. OO1 ? OM .
Problem 3. For a permutation a1 a2 : : : an of the numbers 1 2 : : : n
it is allowed to change the places of any two consecutive blocks, i.e.
from
a1 : : : ai ai+1 ai+2 : : : ai+p ai+p+1 ai+p+2 : : : ai+q ai+q+1 : : : an
| {z } | {z }
A B
by replacing A and B one can obtain
a1 : : : ai ai+p+1 ai+p+2 : : : ai+q ai+1 ai+2 : : : ai+p ai+q+1 : : : an.
| {z } | {z }
B A
Find the least number of such changes after which from n n ;
1 : : : 1 one can obtain 1 2 : : : n.
Solution: Call the change of two blocks a move. We shall prove
that the least number of moves such that from n n ; 1 : : : 1 one can
36
obtain 1 2 : : : n is n +2 1 .
Consider the number of pairs ai ai+1 such that ai < ai+1. This
number is 0 in the initial permutation n n ; 1 : : : 2 1 and is n ; 1
in the nal permutation 1 2 : : : n ; 1 n.
First we show that a move changes the number of pairs ai ai+1
such that ai < ai+1 at most by two. For, consider a move of the
blocks a : : : b and c : : : d of the permutation
: : : p a : : : b c : : :d q : : :
As a result we obtain
: : : p c : : : d a : : :b q : : :
It is clear that at most three pairs can change the ordering. Suppose
the elements in all three pairs change the ordering, i.e. from p > a,
b > c and d > q we get p < c, d < a and b < q. Adding the
rst three inequalities gives p + b + d > a + c + q and adding the
last three implies p + b + d < a + c + q, a contradiction. Therefore
a move changes the number of pairs ai ai+1 for which ai < ai+1
at most by two. It is easily seen that the rst and the last moves
change this number by one. Therefore if x is desired number we have
2 + 2(x ; 2) n ; 1 which implies x n +2 1 . It remaines to nd
39
have
2 2 p
p1 + p2 ; ( t)2
(1) 3
2 p
3
1 p2 = cos <) ACB > 21
3 3
p 2 2
p
( t)2 + p13 ; p23
(2) 2p p2 = cos <) BAC > ; 23 :
3
p
These inequalities
p are equivalent to t < 1 and t + t ; 1 > 0 i.e.
3 ; 5
!
t2 2 1 :
p
Conversely, let t 2 3 ;2 5 1 : Then we can construct a tri-
!
p
angle ABC such that AB = t BC = p2 CA = p1 : By (1) and
3 3
(2) it follows that <) ACB < 60 and <) ABC <<) BAC < 150 : Let
kA be the circle through B and C such that the arc BC , lying in
the half-plane (with respect to BC ) containing the point A is equal
to 60 : Denote by kB the analogous circle trough A and C: Then it
is easy to see that the second common point O of kA and kB lies
in the interior of 4ABC: (Indeed, assume the contrary. If O lies in
<) ACB then <) AOB =<) AOC + <) BOC = 150 + 150 = 300
which is impossible. If O lies in the opposite angle of <) ACB
then <) AOB =<) AOC + <) BOC = 30 + 30 = 60 which con-
tardicts to the inequalities <) AOB <<) ACB < 60: The other cases
for the position of O can be rejected in the same manner.) Hence
<) AOB = 360 ; <) AOC ; <)pBOC = 360 ; 150 ; 150 = 60:
Set x = AO y = BO z = CO 3: Applying the cosine theorem for
triangles AOB BOC and COA it follows that x y z t satisfy the
conditions of the problem.
40
Problem 6. Given the equation
(p + 2)x2 ; (p + 1)y2 + px + (p + 2)y = 1
where p is xed prime number of the form 4k + 3: Prove that:
a) If (x0 y0) is a solution of the equation where x0 and y0 are positive
integers, then p divides x0
b) The given equation has innitely many solutions (x0 y0) where
x0 and y0 are positive integers.
Solution: a) Set y ; 1 = z and write the equation in the form
(3) x2 = (z ; x)((p + 1)(z + x) + p):
If z ; x and (p + 1)(z + x) + p are relatively prime then they are
perfect squares which is impossible since the second one is of the
form 4k + 3: Let q be a common divisor of these numbers. It follows
from (3) that q=x and so q=z: Since q=(p + 1)(z + x) + p we have q=p
giving q = p which completes the proof.
b) It suces to prove that (3) has innitely many solutions in
positive integers. Let x = px1 and z = pz1: Then x21 = (z1 ; x1)((p +
1)(z1 + x1) + 1) and therefore there exist positive integers a and b
such that z1 ; x1 = a2 x1 = ab and (p + 1)(z1 + x1) + 1 = b2: It
follows now that
(4) (p + 2)b2 ; (p + 1)(a + b)2 = 1:
q q 2k+1 q q
Let p + 2 + p + 1 = mk p + 2 + nk p + 1 for any k =
0 1 : : : where mk and nk are positive integers. It is obvious that
q q q q
( p + 2 ; p + 1)2k+1 = mk p + 2 ; nk p + 1
and after multiplying we obtain that (p+2)m2k ;(p+1)n2k = 1 i.e. b =
mk and a + b = nk are solutions of (4): Hence, x = pmk (nk ; mk) and
41
z = pnk (nk ;mk ) are solutions of (3): The assertion of b) follows from
the fact that both sequences m1 m2 : : : and n1 n2 : : : are strictly
increasing.
42
SPRING MATHEMATICAL COMPETITION
1995
Grade 8.
Problem 1. Find all values of a, for which the system
x + 4jyj = jxj
jyj + jx ; aj = 1
has exactly two solutions.
Solution. Let (x y ) be a solution with x 0. Then y = 0 and jx ; aj = 1, i.e. x = a 1. It
is obvious that when a 1 the system has two solutions with x 0, namely (a ; 1 0), (a +1 0).
When ;1 a < 1 the system has only one solution (a + 1 0) with x 0. Let x < 0. Then
jyj = ; x2 and consequently jx ; aj = 1 + x2 . Since jx ; aj 0, then 1 + x2 0 or x ;2.
We have x ; a = 1 + x2 and x = 2(a + 1), x ; a = ;1 ; x2 . From here x = 23 (a ; 1). From
;2 2(a + 1) < 0 we get;2 a < ;1 and from ;2 23 (a ; 1) < 0 we get ;2 a < 1.
Obviously if (x y ) is a solution of the system with x < 0, then y 6= 0 and therefore (x ;y )
is a solution too. Thus, when a < ;2 the system has no solution. When a = ;2 we get
x = 2(a + 1) = ;2 and x = 32 (a ; 1) = ;2, i.e. the system has exactly two solutions (;2 1).
If 1 > a > ;2, then 2(a + 1) 6= 32 (a ; 1) and the two values of x give solutions, thus we get four
solutions with x < 0.
Therefore the system has two solutions only when a 1, namely (a ; 1 0) and (a + 1 0) and
when a = ;2, namely (;2 1).
Problem 2. Let M be the midpoint of the side BC of the parallelogram ABCD, N be the
common point of AM and BD, while P be the common point of AD and CN . Prove that
a) AP = AD
b) CP = BD i AB = AC .
Solution. a) Consider 4ABC . The lines AM and BD are medians and thus N is the center
of gravity. If Q is the intersection point of CP and AB , then Q is the midpoint of AB . It's easy
to see that 4APQ = 4BCQ (Figure. 1), from where AP = BC = AD.
b) Let AB = AC . Then 4ABC is isosceles and AM is a median in it. It is easy to
see that 4NBC is isosceles and BN = CN . Analogously NA is a median and an altitude
in 4PND, thus PN = DN , i.e. PC = PN + CN = DN + BN = BD (Figure 2). Let
CP = BD. Trough B we draw a line BF , parallel to CP . Obviously PFBC is a parallelogram
and therefore 6 CPD = 6 BFP . Since CP = BF , then 4DBF is isosceles. Consequently
1
6 NDA = 6 BFP = 6 CPD and DN = NP . A is the midpoint of PD and NA is perpendicular
to AD and BC . We get that AM is perpendicular to BC and we deduce from here that 4ABC
is isosceles, i.e. AB = AC .
Figure 1. Figure 2.
Let now M be the set of all pairs, that are consisted of a side and a vertex from which this
side is seen under an acute angle. Let (AB , C ) be an element of M . Consider the circumcircle of
4ABC and let N be the set of all such circles. We denote by k the circle in N with the biggest
radius. Let k be the circumcircle of 4A1A2 Am , where A1 A2 is a side of the polygon (Figure
2
4). We shall show that k is the circle we are looking for. Assume that there exists a vertex Ap
which is outside k. Then 6 A1 Ap A2 < 6 A1Am A2 < 90 and the circumcircle of 4A1A2 Ap is
from N and its radius is greater than the radius of k (Lemma 1). We get a contradiction.
Consider one of the acute angles in 4A1A2 Am . Let = 6 A2 A1 Am be acute. We shall prove
that Am = A3 , which means that k passes through 3 consecutive vertices of the polygon. Assume
that Am 6= A3. Then A3 is situated in the way which is shown in the Figure 4. If = 6 A2 A3 Am ,
then + > 180, i.e. 180 ; < < 90. Thus 6 A2 Am A3 < 90, which means that (A2A3 ,
Am ) is an element of M . Let c be the circumcircle of 4A2 A3Am and X be the intersection point
of c and the segment bisector of A2 Am . Since 6 A2 XAm = 180 ; < = 6 A2 A1Am , then the
radius of c is greater than the radius of k (Lemma 1). This is a contradiction.
Grade 9.
Problem 1. Let M be an arbitrary point on the side AB = 1 of the equilateral triangle
ABC . The points P and Q are orthogonal projections of M on AC and BC , while P1 and Q1
are orthogonal projections of P and Q on AB .
a) Prove that P1 Q1 = 43 .
b) Find the position of M for which the segment PQ is with the smallest length.
Solution. a) We have SABC = SACM + SBCM = Figure 5.
1 (AC:MP + BC:MQ) = 1 (MP + MQ) (Figure 5). On
2 p2 p
the other hand SABC = 4 . Thus MP + MQ = 23 .
3
p triangles P1MPp and MQ1Q
Now from the rectangular
we evaluate P1 M = 23 MP and MQ1 = 23 MQ. From
p
here P1 Q1 = P1 M + MQ1 = 23 (MP + MQ) = 43 .
b) The orthogonal projection of the segment PQ on
AB is the segment P1Q1 and thus PQ P1 Q1 . There-
fore PQ is with minimal length when it is parallel to
P1Q1. The last is true exactly when AP = BQ. We get
that 4AMP = 4BMQ and hence AM = BM . So, PQ
is minimal when M is the midpoint of AB .
Problem 2. The quadratic function f (x) = ;x2 + 4px ; p + 1 is given. Let S be the area
of the triangle with vertices at the intersection points of the parabola y = f (x) with the x-axis
and the vertex of the same parabola. Find all rational p, for which S is an integer.
Solution. The discriminant of f (x) is D = 4(4p2;p+1) and D > 0 for all real p. Consequently
f (x) has two real roots x1 and x2, i.e. f (x) intersects the x-axis in two dierent points | A
and B . The vertex C of the parabola has coordinates 2p and h = f (2p) = 4p2 ; p + 1 > 0. We
have q q q
AB = jx1 ; x2j = (x1 ; x2 )2 = (x1 + x2 )2 ; 4x1x2 = 2 4p2 ; p + 1:
Now we nd S = S = AB:h = (4p2 ; p +1) 2 : Denote q = 4p2 ; p +1. Since q is rational
3
ABC 2
and q 3 = S 2 is an integer, then q is an integer too. Then S is rational and S 2 = q is integer,
q q
3
thus Sq is integer too. Therefore q = n2 , where n is a positive integer, i.e. 4p2 ; p + 1 ; n2 = 0.
The quadratic equation (with respect to p) has a rational root exactly when its discriminant
16n2 ; 15 is a square of a rational number. Consequently 16n2 ; 15 = m2 , and we can consider
m to be a positive integer. From the equality (4n ; m)(4n + m) = 15 we get 4n ; m = 1,
4n + m = 15 or 4n ; m = 3, 4n + m = 5. From here n = 2, m = 7 or n = 1, m = 1. The rational
numbers we are looking for are 0 1 41 ; 34 .
Problem 3. Let n be a positive integer and X be a set with n elements. Prove that
a) The number of all subsets of X (X and included) is equal to 2n .
b) There exist 2n;1 subsets of X each pair of which is with common element.
c) There do not exist 2n;1 + 1 subsets of X , each pair of which is with common element.
Solution. a) We use induction with respect to n. The base of the induction is obvious.
Assume that the assertion is true for a set with n ; 1 elements and let X be with n elements.
We can assume that X = f1 2 : : : ng. Let Y = f1 2 : : : n ; 1g. All subsets of X are divided
into two groups: I group | those which do not contain n and II group | those, which contain
n. Both groups have one and the same number of elements because each set of the II group is
obtained from exactly one set of the I group by annexing n. Thus the number of the elements
of X is twice greater than the number of the subsets of the I group. But the subsets of the I
group are exactly the subsets of Y and according to the inductive assumption their number is
2n;1 . Thus the number of the subsets of X is 2n .
b) According to a) the number of the subsets of X from the II group is 2n;1 and each pair
of them has a common element | the number n.
c) If A
X , let A = X n A. All subsets of X are divided into pairs fA Ag and the number of
these pairs is 2n;1 . Now if we have 2n;1 + 1 arbitrary subsets of X , according to the pigeonhole
principle, it is not possible that they are in dierent pairs of the type fA Ag. Consequently
among the given 2n + 1 subsets there exist two pairs of the type fA Ag, which obviously have
no common element.
Grade 10.
Problem 1. Find all values of the real parameters p and q, for which the roots of the
equations x2 ; px ; 1 = 0 and x2 ; qx ; 1 = 0 form (in a suitable order) an arithmetic
progression with four members.
Solution. Denote by x1 , x2 the roots of the equation x2 ; px ; 1 = 0 and by y1 , y2 the
roots of x2 ; qx ; 1 = 0. It is clear that for all p and q the numbers x1 , x2, y1 , y2 are real
and x1 x2 = y1 y2 = ;1. Assume that x1 < 0 < x2 and y1 < 0 < y2 . If four numbers a, b, c
and d form an arithmetic progression then the numbers d c b a form an arithmetic progression
too. So, we can assume that x1 , x2, y1 , y2 in a suitable order form an increasing arithmetic
progression. If x1 < y1 (the case y1 < x1 is analogous) then there are two possibilities:
I. The arithmetic progression is x1, y1, y2, x2. Then x1 + x2 = y1 + y2, from where p = q,
i.e. x1 = y1 , x2 = y2 which is impossible.
II. Theparithmetic progression is x1, y1, x2, y2. Then x2 ; x1 = y2 ; y1, from where
p2 + 4 = q2 + 4, i.e. p2 = q 2 and since p 6= q, then p = ;q 6= 0.
p
2
In the same way we have y1 = x1 +2 x2 = p2 and therefore p4 ; pq 2 ; 1 = 0. Since p = ;q ,
then p2 = 43 and p = p2 . Hence (p q ) = p2 ; p2 , ; p2 p2 .
3 3 3 3 3
4
Problem 2. Triangle ABC with AB = 22, BC = 19, CA = 13 is given.
a) If M is the center of gravity of 4ABC , prove that AM 2 + CM 2 = BM 2 .
b) Find the locus of points P from the plane of 4ABC , for which AP 2 + CP 2 = BP 2 .
c) Find the minimal and maximal values of BP , if AP 2 + CP 2 = BP 2 .
Solution. a) We have Figure 6.
p
AM = 23 ma = 23 21 2b2 + 2c2 ; a2 = 105
p
CM = 23 mc = 23 21 2a2 + 2b2 ; c2 = 8
p
5
last note that the product of all numbers (
) is equal to 38 :54:74:194. The only possibility is
a1a2 : : :a7 = 36 :54:74:194. From here a2 a3 : : :a7 = 36:53:73:193 and the only possibility is
fa2 a3 : : : a7g = f3 5 3 7 3 19 3 5 7 3 5 19 3 7 19g:
Therefore n = 7 and
fa1 a2 a3 a4 a5 a6 a7g = f3 5 3 7 3 19 3 5 7 3 5 19 3 7 19 5 7 19g:
Grade 11.
!
1 2 n
Problem 1. Let an = n2n++11 21 + 22 + + 2n , n = 1 2 3 : : :. Prove that
a) an+1 an for all n 3
b) the sequence fan g1n=1 is convergent and nd its limit.
Solution. a) We have
!
1 2 n+1
an+1 = n2n++22 21 + 22 + + n2 + 1 = 2(nn++21) (an + 1):
From here
2 ; an) ; (an + 1) n = 1 2 3 : : ::
an+2 ; an+1 = (n + 2) 2((ann+1
+ 1)(n + 2)
Since an > 0 for all n, then if an+1 ; an 0, we have an+2 ; an+1 0. But a3 = 35 and
a4 = 53 , i.e. a4 ; a3 = 0. Hence a5 ; a4 0, a6 ; a5 0, : : :, an+1 ; an 0.
Figure 7. b) The sequence a1 a2 a3 : : : is decreasing when n
3 and it is bounded (an > 0 for all n). Therefore this
sequence is convergent. Let nlim !1 n
a = a. From the
n + 2
equality an+1 = 2(n + 1) (an +1) after passing to innity
we get a = 12 (a + 1), i.e. a = 1.
Problem 2. The quadrilateral ABCD is inscribed
in a circle with center O. The diagonals AC and BD
intersect each other in the point M , M 6= O. The line
through M which is perpendicular to OM intersects the
sides AB and CD of the quadrilateral ABCD in the
points X and Y , respectively. Prove that AB = CD i
BX = CY .
Solution. If AB = CD, then ABCD is isosceles
trapezoid. Hence OM ?AD and OM ?BC , from where
XY kBC and BX = CY .
Let BX = CY . Denote by P and Q the midpoints of AB and CD, respectively. The quadri-
laterals OPXM and OQY M are inscribed, thus 6 OPM = 6 OXM and 6 OQM = 6 OY M .
We shall prove that 6 OPM = 6 OQM . The triangles ABM and DCM are congruent and
6
MP and MQ are medians in them. Therefore 4MPB 4MQC and 6 MPB = 6 MQC .
Then 6 OPM = 90 ; 6 MPB = 90 ; 6 MQC = 6 OQM: (Or 6 OPM = 6 MPB ; 90 =
6 MQC ; 90 = 6 OQM .)
Hence 6 OXM = 6 OY M and OX = OY . Therefore 4OXB = 4OY C . From here 6 OBA =
6 OCD and the isosceles triangles ABO and DCO are equal, i.e. AB = CD
8
Problem 2. The sides AC and BC of the triangle ABC are diameters of two circles, each
of which touches internally a circle k, which is concentric to the incircle of 4ABC .
a) Prove that AC = BC .
b) If cos 6 BAC = 34 , nd the ratio of the radii of k and the incircle of 4ABC .
Solution. a) Let I be the center of the incircle of 4ABC , N be the common point of
this circle with AC and M be the midpoint of AC . Let r1 be the radius of k and r be the
radius of the incircle of 4ABC . From the condition it follows that IM = 2b ; r1 and from the
2
MN = jAM ; AN j = jc ;2 aj . Therefore
(c ; a)2 = (b ; 2r1)2 ; 4r2 : (1)
Analogously
(c ; b)2 = (a ; 2r1)2 ; 4r2 : (2)
Assume that a 6= b. From (1) and (2) we get (b ; a)(2c ; a ; b) = (b ; a)(a + b ; 4r1), i.e.
2c ; a ; b = a + b ; 4r1. From here b ; 2r1 = c ; a and from (1) it follows that r = 0, which is
impossible. Thus a = b.
b) Let rr1 = t and 6 BAC = . Then c = 2b cos = 23 b and
s
Since b > 2r1, from (1) it follows that t = b ; (c ;2rb) + 4r and substituting c and r we
p
2 2
p
get t = 23 ( 7 ; 2).
Problem 3. n points (n > 4), no three of which are colinear are given in the plane. More
than n triangles are constructed with vertices among these points. Prove that at least two
triangles have exactly one common vertex.
Solution. Assume the contrary and let k be the smallest number for which the assertion is
not true. This means that there are constructed at least (k + 1) triangles using k points. It
follows from the pigeonhole principle that there exists a point A which is a vertex of at least 4
triangles. Let ABC be the rst triangle. At least one of the points B and C is a vertex of the
second triangle, which we denote by ABD. If ACX is the third triangle then X = D. Thus the
forth triangle must contain B or C , which is impossible. Therefore if A and B are vertices of two
triangles then they are vertices of all the four triangles. Let A be a vertex of t triangles, t 4.
These triangles are of the kind ABA1 , ABA2 , : : :, ABAt , where all the points A1 A2 : : : At
are pairwise dierent. Obviously it is not possible to exist a triangle of the type BXY , where
X and Y are points which are dierent from A1 A2 : : : At. Triangles BAi Aj and Ai Aj Am do
not exist too. Hence the points A, B , A1 , A2 , : : :, At are vertices only of the triangles ABA1 ,
ABA2 , : : :, ABAt . In such a way we use t + 2 points and get t triangles. It is not possible that
t + 2 = k, because all triangles are t < k. The number of remaining points is k0 = k ; t ; 2 and
by them there are constructed at least k + 1 ; t > k0 triangles, such that no two of them have
9
exactly one common vertex. The triangles are more than the points k0, and thus k0 > 4. We
have found a number k0 < k for which the assertion is not true. This contradicts the choice of
k.
10
SPRING MATHEMATICAL COMPETITION
1996
Grade 8
Problem 1. Prove that for all real a 2 (1 2) the area of the gure encountered by the
graphs of the functions y = 1 ; jx ; 1j and y = j2x ; aj is less than 31 .
Solution. Firstly, we shall nd the common points of the given functions. For this purpose
we solve the equation
j2x ; aj = 1 ; j1 ; xj: (1)
a a a
Since 1 < a < 2, then 2 < 1, and we shall consider the cases: x 2 , 2 < x < 1 and x 1.
We have:
1. When x a2 the equation (1) takes the form a ; 2x = x. Then x = a3 , which satises
(1), because a3 < a2 .
2. When a2 < x < 1 the equation (1) takes the form 2x ; a = x, i.e. x = a, which does not
satisfy (1), because a > 1.
3. When x 1 the equation (1) takes the form 2x ; a = 2 ; x. Then x = a +3 2 , which
satises (1), because a +3 2 > 1 when a > 1.
Thus, the graphs of the two functions have two common Figure 1.
points (Figure 1), the rst of which (denoted by A) has coor-
dinates xA = a3 , yA = a3 , while the second one (denoted by B )
has coordinates xB = a +3 2 , yB = 2 ; a +3 2 = 4 ;3 a . Denote
by C , D and E the points, with coordinates xC = 1, yC = 1
xD = a2 , yD = 0 and xE = 2, yE = 0, respectively.
Then, the gure encountered by the two graphs is the
quadrilateral ACBD and its area S is obtained by subtracting
the areas of the triangles ODA and BDE from the area of the
triangle OEC . Therefore,
S = SOEC ; SODA ; SBDE
= 1 ; 12 OD yA ; 12
1 DE y
B
= 1; 1 a a ; 1 2; a 4;a
2 2 3 2 2 3
1
= 1 ; 12 1 a2 ; 1 (4 ; a)2
2 12
1
= ;a + 4a ; 2
6
= 16 2 ; (a ; 2)2 < 13 :
Figure 2. Problem 2. The altitude CD of the rectangle triangle
ABC (6 ACB = 90) is a diameter of the circle k, which meets
the sides AC and BC in E and F , respectively. The intersec-
tion point of the line BE and the circle k, which is dierent
from E , is denoted by M . Let the intersection point of the lines
AC and MF be K , and the intersection point of the lines EF
and BK be P .
a) Prove that the points B , F , M and P are concyclic
b) If the points D, M and P are colinear, nd the angles
A and B of the triangle ABC .
Solution. a) Since 6 ECF = 90, then EF is a diameter of
the circle k and consequently 6 EMF = 90 = 6 BMK . Then
BC and KM are altitudes in 4BEK (Figure 2), which means
that the point F is the altitude center of this triangle. It follows from here that EP ? BK , i.e.
6 BPF = 90.
Thus, 6 BPF = 6 BMF = 90 and consequently the points B , F , M and P lie on a circle
with diameter BF .
Figure 3. b) We have:
6 BDM = 90 ; 6 MDC = 90 ; 6 MEC
Therefore 6 AXB is the biggest angle in 4XAB , from where 6 AXB > 60. Now, if we
assume that the town X is connected with at least 6 towns, then the sum of the angles at X
would be greater than 6 60 = 360, which is impossible. Thus, every town is connected with
at most 5 other towns.
c) Assume that there exists a closed piecewise line A1A2 : : :An , consisted of ways (Figure
6). The distances A1 An and A1 A2 are dierent. Let A1An < A1A2 . Then A2 is not the nearest
town to A1 and consequently (because the way A1 A2 exists) A1 is the nearest town to A2 . It
follows from here that A1 A2 < A2 A3 .
Proceeding in this way we obtain the chain: A1 An < A1A2 < A2 A3 < : : : < An A1 , which
leads to contradiction.
Grade 9
Problem 1. Find the values of the real parameter b, for which the dierence between the
maximal and the minimal values of the function f (x) = x2 ; 2bx +1 in the interval 0 1] is equal
to 4.
Figure 7. Figure 8. Figure 9.
- - -
b 0 1 0 1 b 0 b 1
Solution. It is clear that the minimal value of the quadratic function f (x) is obtained when
x = b. We shall consider the following three cases:
1. Let b < 0. In this case the function f (x) is increasing in the interval 0 1] (Figure 7)
and the maximal value is f (1) = 2 ; 2b, while the smallest one is f (0) = 1. From the condition
f (1) ; f (0) = 1 ; 2b = 4 we nd b = ; 23 , which is a solution of the problem.
3
2. Let b > 1. Now the function f (x) is decreasing in the interval 0 1] (Figure 8) and
the maximal value is f (0) = 1, while the minimal one is f (1) = 2 ; 2b. From the condition
f (0) ; f (1) = 2b ; 1 = 4 we nd b = 25 , which is a solution of the problem.
3. Let 0 b 1 (Figure 9). The minimal value of f (x) in the interval 0 1] is f (b) = 1 ; b2,
while the the maximal one is f (0) or f (1). From f (0) ; f (b) = b2 = 4 we nd b = 2, which are
not solutions (because in this case 0 b 1). From f (1) ; f (b) = (1 ; b)2 = 4 we nd b = 3 or
b = ;1, which are not solutions too.
Finally, the answers are: b = ; 23 and b = 52 .
Figure 10. Problem 2. The quadrilateral ABCD is inscribed in a
circle with radius 1, a circle can be inscribed in it and AB =
AD. Prove that:
a) the area of the quadrilateral ABCD does not exceed 2
p b) the inradius of the quadrilateral ABCD does not exceed
2.
2
Solution. We have (Figure 10) AB + CD = AD + BC and
from AB = AD we get: BC = CD. Let AB = AD = x, BC =
CD = y. The triangles ACB and ACD are equal (by SSS),
from where 6 B = 6 D. But ABCD is inscribed in a circle and
consequently 6 B + 6 D = 180. Therefore 6 B = 6 D = 90.
Then AC is diameter of the circumcircle of the quadrilateral and particularly AC = 2 and
x2 + y2 = AC 2 = 4.
Let S , p and r be the area of the quadrilateral, its semiperimeter and inradius, respectively.
a) We have S = SABC + SACD = 2SACB = xy and
q
xy = x2y2 x +2 y = AC2 = 2
2 2 2
Now
p
r 22 () r2 12 () 4 +S 2S 12
2
() S 2 ; S ; 2 0 () (S + 1)(S ; 2) 0
() S 2
p S > 0). The last inequality is true according to a) and consequently the inequality
(because
r 22 is true too.
Problem 3. This problem is the same as problem 3, grade 8.
4
Grade 10
Problem 1. Find in the plane the locus of points with coordinates (x y), for which there
exists exactly one real number z , satisfying the equality:
xz4 + yz3 ; 2 (x + jyj) z2 + yz + x = 0:
Solution. Let (x y ) be the coordinates of a point from the locus, we are looking for. This
means that there exists exactly one real number z , for which
xz4 + yz3 ; 2 (x + jyj) z2 + yz + x = 0:
If x = 0, the above equality takes the form
z yz2 ; 2jyjz + y = 0:
This equality is satised for at least two dierent values of z (for example z = 0 and z = 1,
if y 0 and z = 0 and z = ;1, if y < 0), which shows that the condition of the problem is not
veried. Consequently, the points from the y -axis do not belong to the locus.
Let x 6= 0. Thus, if z satises the given equality, then z 6= 0. It is easy to see that in this
case the number z1 satises the same equality and consequently z = z1 . From here z 2 = 1, i.e.
z = 1.
Case 1. Let z = 1. Then x + y ; 2 (x + jyj) + y + x = 0, from where; y ; jyj = 0. This
shows that y 0. If y = 0 and then the given equality takes the form x z 2 ; 1 2 = 0, and
consequently it is satised also by z = ;1. Thus, we can assume that y > 0. Then,
xz4 + yz3 ; 2(x + y)z2 + yz + x = 0
from where
(z ; 1)2 xz 2 + (y + 2x)z + x = 0:
We have one of the following possibilities:
(i) The number z = 1 is the only to satisfy the equality xz 2 + (y + 2x)z + x = 0. This is true
if x + y + 2x + x = 0 and D = (y + 2x)2 ; 4x2 = y (y + 4x) = 0, from where y = ;4x and y > 0.
(ii) There is no real z , which satisfy the equality xz 2 + (y + 2x)z + x = 0. Then, D =
(y + 2x)2 ; 4x2 = y (y + 4x) < 0, from where y < ;4x and y > 0.
Therefore, every time when y ;4x and y > 0, the point (x y ) belongs to the locus.
Case 2. Let z = ;1. Analogously to the previous case we nd that y < 0 and then the
given equality takes the form
(z + 1)2 xz 2 + (y ; 2x)z + x = 0:
We have the following possibilities:
(i) the number z = ;1 is double root of the equation
xz2 + (y ; 2x)z + x = 0: ()
(ii) the equation (*) has no real root.
By computing we deduce that here y 4x and y < 0.
5
Finally, the locus (Figure 11) consists of the internal as well as of the boundary points of the
angle which is dened by the graphs of the linear functions y = 4x and y = ;4x when x < 0,
without the points from the negative part of the x { axis.
Problem 2. In the triangle ABC , ha and hb are the altitudes from A and B respectively,
`c is the internal bisector of 6 ACB, while O, I and H are the circumcenter, the incenter and
the altitude center, respectively. Prove that if `c + `c = 2, then OI = IH .
ha hb
Solution. Let BC = a, AC = b, 6 ACB = , CL = `c Figure 12.
1
(Figure 12). Since SABC = SALC + SBLC , then 2 `c a sin 2 +
1 ` b sin = 1 ab sin , from where ` = 2ab cos 2 . But
2 c 2 2 c a+b
2a cos
ha = b sin and hb = a sin . Then h`c + h`c = (a + b) sin2 +
a b
2b cos 2 1 a + b 1 , which
= =
(a + b) sin sin 2 a + b a + b sin 2
shows that sin 2 = 12 , i.e. 2 = 30 , because 2 < 90. Conse-
quently, = 60.
Let CL meet the circumcircle of 4ABC in M . Then
OM ? AB. But CH ? AB, and therefore 6 OMC = 6 MCH . On the other hand OM = OC =
R (R is the circumradius). Consequently, 6 OMC = 6 OCM = 6 MCH . Let H2 be the foot of
the altitude from B . From 4HCH2 we have CH = CH sin
2
(because 6 H2 HC = 90 ; 6 ACH
= 6 CAB = ). But CH2 = a cos , i.e. CH = a cos = 2R cos . Since = 60 , then
sin
CH = R.
We consider 4COI and 4CHI . Since the point I lies on CM , then 6 OCI = 6 HCI . Also,
CO = R = CH and consequently 4COI
= 4CHI . Thus, OI = IH .
Problem 3. Let A1, A2, : : :, An (n 4) be n points in the plane, no 3 of which are colinear.
a) Prove that there is at most one point As , such that all triangles As Ai Aj (i j = 1 2 : : : n)
are acute.
b) Let among A1, A2 , : : :, An be a point, which is a vertex of an acute triangles only. We
consider the angles dened by the given points. Denote by Nk the number of the acute angles
6 Ai Ak Aj (i j = 1 2 : : : n) for which the point Ak is their vertex. Find the minimal value of
Nk .
Solution. a) Assume that there is more than one point with the given property and let A
and B be such two points, while X and Y be any two of the remaining points. There are two
possibilities for the points A, B , X and Y :
(i) A, B , X and Y dene a convex quadrilateral. Because the sum of its internal angles is
360 , then at least one of these angles is not acute. Consequently, at least one of the triangles
6
of acute triangles only.
b) Let A1 be the point which is a vertex of acute triangles only. We consider the angles
6 Ak A1 As (Figure 13). Let A2 A1 An be the biggest one. Because all angles with vertex A1 are
acute, the points A3 , A4 , : : :, An;1 are inside the acute angle 6 A2 A1An . We can assume that
the points are enumerate in such a way that 6 A2A1 Ak < 6 A2A1 Ak+1 for k = 3 4 : : : n.
Consider 6 Ai Ak Aj , where 2 i < k < j n. Figure 13.
We assume that Ak is internal for 4A1 Ai Aj . Then
6A1Ak Ai + 6 A1Ak Aj > 180
and at least one of the angles 6 A1 Ak Ai and 6 A1Ak Aj will not be
acute, which is a contradiction.
Therefore, the points A1 , Ai , Ak , Aj dene a convex quadrilat-
eral. If we assume that 6 Ai Ak Aj 90, then there exists an angle
of this quadrilateral with vertex A1 , Ai or Aj which is 90. This
is impossible.
Therefore, 6 Ai Ak Aj > 90 , and it is clear that 6 Ai Ak Aj < 90 when i j < k or i j > k.
Particularly, it follows from here that no of the angles Ai Ak Aj is right. The number of all
angles with vertex Ak is equal to (n ; 1)(2 n ; 2) . If Tk is the number of the obtuse angles with
vertex Ak , then Nk = (n ; 1)(2 n ; 2) ; Tk . Thus, Nk is minimal when Tk is maximal.
It is easy to see that T1 = T2 = Tn = 0. Let 3 k n ; 1. It is clear that the number of
the points Ai for which 2 i < k is k ; 2, and the number of the points Aj for which k < j n
is n ; k. Then Tk = (k ; 2)(n ; k) for k = 3 4 : : : n ; 1.
But (k ; 2)(n ; k) (n ;4 2) , and the equality is reached when k ; 2 = n ; k, i.e. when
2
2 4
(ii) The number n is odd. Then, the nearest integers to n +2 2 are n +2 1 and n +2 3 . It is
easy to see that now the maximal value of Tk is T n+1 = T n+3 =
n + 1 ; 2 n ; n + 1 =
2 2 2 2
(n ; 1)(n ; 3) . Consequently, the minimal value of N in this case is
4 k
= (n ; 1)(n ; 2) ; (n ; 1)(n ; 3) = (n ; 1) :
2
N n+1
2
= N n+3
2 2 4 4
Grade 11
Problem 1. Find the values of the real parameter a, for which the inequality x6 ; 6x5 +
12x4 + ax3 + 12x2 ; 6x + 1 0 is satised for all real x.
7
Solution. When x = 0 the given inequality
is satised
for all a. Thus, it is enough to nd
3 1
such a, that x + 3 ; 6 x + 2 + 12 x + + a 0 for all x > 0 and x3 + 13 ;
2 1 1
x x x x
6 x +
2 1 1
+ 12 x + +a 0 for all x < 0.
x2 x
Denote t = x + x1 . It is clear that x > 0 () t 2 and x < 0 () t ;2. But
x2 + x12 = t2 ; 2 and x3 + x13 = t3 ; 3t.
We consider the function f (t) = t3 ; 3t ; 6 t2 ; 2 + 12t+ = t3 ; 6t2 + 9t + 12 + a.
The problem is reduced to nd such a, that f (t) 0 for all t 2 and f (t) 0 for all t ;2
simultaneously.
Figure 14. But f 0 (t) = 3t2 ; 12t + 9 = 3(t ; 1)(t ; 3), from where it is
easy to obtain that (Figure 14) f (t) 0 for all t 2 i f (3) 0
and f (t) 0 for all t ;2 i f (;2) 0. Since f (3) = a + 12
and f (;2) = a ; 38, we nd for a: a ;12 and a 38. Finally,
;12 a 38. _
Problem 2. The point D lies on the arc BC of the circumcircle
of 4ABC which does not contain the point A and D 6= B , D 6= C .
On the rays BD! and CD! there are taken points E and F , such that BE = AC and CF = AB .
Let M be the midpoint of the segment EF .
a) Prove that 6 BMC is right. _
b) Find the locus of the points M , when D describes the arc BC .
Figure 15. Figure 16.
8
1 ;!2 ;!2 ;! ;! 2
= 4 CF + BE + 2 CF BE ; a
= 14 c2 + b2 + 2bc cos( ; ) ; a2
= 14 c2 + b2 ; 2bc cos ; a2 = 0:
(We have used that jBE j = jAC j = b, jCF j = jAB j = c and 6 (;! BE ;!
CF ) = 6 BDC = ; .)
;;! ;;!
Consequently, BM ? CM , i.e. the angle 6 BMC is right.
b) It is clear that the points M and A are in dierent semiplanes with respect to the line BC .
According to a) 6 BMC is a right angle and consequently if the point M is from the locus, then
M lies on a semicircle k with diameter BC , k and A are in dierent semiplanes
with respect to
the line BC . Let BCM = . Then CM = a cos (because BMC = 2 ) and
6 6
;;! ;!
CM CB = a(a cos ) cos = (a cos )2:
On the other hand by the sine theorem we nd:
CM CB = 21 ;!
;;! ;!
CB + ;!BE + ;!CF ;! CB
= 12 a2 + ab cos ( ; ( ; ')) + ac cos '
1 b c
= 2 a 1 ; a cos( ; ') + a cos '
2
9
Spring mathematics
tournament|1997
Problem 8'1. Given the equation jx ; aj + 15 = 6jx + 2j, where a
is a real parameter.
(a) Prove that for any value of a the equation has exactly two
distinct roots x1 and x2.
(b) Prove that jx1 ; x2j 6 and nd all values of a for which
jx1 ; x2j = 6.
Solution: (a) When x ;2, the equation is equivalent to jx ;
aj = ;6x ; 27, which has a solution only if ;6x ; 27 0, i. e., if
x ; 29 . Considering the cases of both x a and x a shows that
if x ;2, the given equation has a unique root x1, and if x > ;2,
it has a unique root x2:
8 a ; 27 9 8 3 ; a a 1
>< a < ;2 ><
7
x1 = > a + 27 9 x2 = > a +5 3 a > 12
:; a ; :
5 2 7 2
1
(b) It follows from (a) that
8 156 ; 12a 9
>>
>< 35 a < ; 2
jx1 ; x2j = > 6 ; 29 a 12
>> 12a + 204 1
: a >
35 2
It remains to be seen that 156 ; 12a > 6 when a < ; 9 and
35 2
12a + 204 > 6 when a > 1 . Therefore jx ; x j 6 and equal-
35 2 1 2
2
Problem 8'.3. Find all natural numbers n such that there exists
an integer number x for which 499(1997n + 1) = x2+x.
Problem 8.1. Find all values of the real parameter m such that
the equation (x2 ; 2mx ; 4(m2 + 1))(x2 ; 4x ; 2m(m2 + 1)) = 0 has
exactly three distinct roots.
3
roots. Thus D2 = 4 + 2m(m2 + 1) = 0 and so m = ;1. But this
case has already been considered. Thus we determine that m = 3.
5
Solution: Let M and m be the maximum and minimum values
of f (x) in the interval 0 1]. Then the condition of the problem is
equivalent to M 1 and m ;1. There are three cases to consider.
Case 1: a 2 0 1]. Then m = f (a) = ;2a2 ; 43 and M = f (0) =
;a2 ; 43 or M = f (1) = ;a2 ; 2a + 14 . It follows from m ;1 and
p p
M 1 that a 2 ; 42 42 ] and a 2 (;1 ; 32 ] ; 12 1). In this
p
case the solution is a 2 0 42 ].
Case 2: a < 0. Now m = f (0) and M = f (1). From m ;1
and M 1 we get that a 2 ; 12 12 ]: Therefore a 2 ; 21 0).
Case 3: a > 1. Now m = f (1) and M = f (0). It follows from
m ;1 and M 1 that a 2 ; 25 12 ] which is a contradiction with
a > 1. p
1
Thus the solution is a 2 ; 2 42 ].
6
Solution: (a) We shall use the usual notation for a triangle. Let
CL and CM be respectively the bisector and the median from C .
It follows from CG = 32 CM that SCIG = 32 SCIM . Thus SCIM =
SCLM ; SILM = LM2 hc ; LM2 r = LM 2 (hc ; r). We nd from
AL + BL = c and BL AL = b that AL = bc and so LM = AM ;
a a+b
c bc c ( a ;
AL = 2 ; a + b = 2(a + b) . Also, hc ; r = 2cS ; r = 2pr
b )
c ;r =
r(2p ; c) = r(a + b) . Therefore S = 2 S = 2 c(a ; b)
CIG
c c 3 CIM 3 4(a + b)
r(a + b) = (a ; b)r .
c 6
(b) The distances from I and G to AB are respectively r and
hc . Hence r = S = chc = chc = hc and so IGkAB . Therefore
3 p 2p 3c 3
the altitude from C of triangle CIG equals 23 hc = 2r. Thus SCIG =
IG r. On the other hand SCIG = (a ;6 b)r = r3 and so IG = 13 .
Problem 10.1. Find the least natural 3number a such that the
equation cos (a ; x) ; 2 cos (a ; x)+cos 2a cos( x
2 x +
2a 3
)+2 = 0
has a root.
Solution: The roots of the our equations are the common roots of
cos (x ; a) = 1 and cos 32x
a cos( x + ) + 1 = 0. The roots of
2a 3
the rst one are x = a + 2n n = 0
1
2 : : : and the roots of the
second one are x = 2a(k ; 1 ) k = 0
1 : : : : Therefore a = 6n
3 6k ; 5
8
for some integer numbers n and k. It is easy to see now that the
least natural number with the required property is a = 6.
10
number of diagonals from each vertex. Therefore both Aj;1As and
Aj+1As are diagonals so Aj;1Aj+1As is of type t3. Hence there is a
triangle of type t3 adjacent to each triangle of type t1. If distinct
triangles of type t1 are adjacent to distinct triangles of type t3 then
x1 x3 = x1 ; 2 < x1, a contradiction. Therefore there are at
least two triangles of type t1 adjacent to one and the same triangle
of type t3. Without loss of generality assume these are the triangles
A1AnAn;1 and An;1An;2An;3 . Consider the polygon A1A2 An;3.
Obviously the diagonals partition this polygon into triangles and
there is an even number of diagonals through each vertex.
Conversely, if the polygon A1A2 An;3 can be partitioned in the
required way, then adding the vertices An;2, An;1 , An and diagonals
An;3An;1 and A1An;1 shows that the same is true for the polygon
A1A2 An.
Therefore a natural number n 6 is a solution if and only if
n ; 3 is a solution. It is easy to see that n = 3 is a solution, whereas
n = 4 and n = 5 are not. Thus all natural numbers satisfying the
conditions of the problem are n = 3k, k = 1 2 : : :.
Problem 11.1. For any real number b denote by f (b) the maximal
value of j sin x + 3 + 2sin x + bj. Find the minimal value of f (b).
13
Spring mathematics
tournament { 1998
Problem 8'.1. Find all values of the real parameter a such that
the inequalities jx + 1j + j2 ; xj < a and 6x 5;a 5;a 8+ 5 < ; 12 are
equivalent.
1
Let us rewrite the second inequality in the form 66xx+;55aa;+115 <
0. Its solutions form either the interval 11 ;6 5a
5a 6; 5 or the
5a ; 5 and 11 ; 5a is greater.
6 6
Therefore the two inequalities are equivalent if
1 ; a = 11 ; 5a 1 + a = 5a ; 5
2 6 2 6
or
1 ; a = 5a ; 5 1 + a = 11 ; 5a :
2 6 2 6
The rst pair is satis ed by a = 4, the second one by a = 1. But if
a = 1, the rst inequality has no solution, whereas the second one
does. Thus the only solution is a = 4.
2
of the problem implies that
MP is the bisector of NMK 6
= 4PKM
and PNM = PKM =
90 deg ; 2 . On the other hand,
6 6
AN = BM . Therefore AC = BC .
3
2. Let H lie between N
and P and let K be a point
such that MK = MN and
HP = HK . It follows from
the isoscelesness of 4KHP
that HPK = HKP = 2 .
6 6
AC = BC = 2. Then SABC = 21 AC BH = 1.
2. When = 90 deg : AC ? BC , AC = BC = 2BH = 2.
Then SABC = 12 AC BC = 2.
4
are exactly 1998 intersecting points?
Problem 8.2. Let l1 and l2 be the loci of the centroid G and the
incentre I of the right triangle ABC whose hypotenuse AB is a given
segment of length c.
(a) Find l1 and l2.
6
(b) Find the area of 4ABC when the length of GI is minimal.
circle k2 with centre Q and radius R and the other one is part of a
0 0
circle k2 with centre Q and the same radius and Q and Q lie in
00 00 0 00
which does not lie in the same semiplane as C does with respect to
AB . Without loss of generality this is Q . Denote the intersecting
0
BI is the bisector of ABC and C lies in one and the same semiplane
6
c deg, it follows
6
7
N , and l2 consists of two arcs k2 and k2 such that if X 2 k2 or
0 00 0
(b) We shall show that R > 23 c and it will follow (how?) that
k1 lies in the interior of both k2 and k2 . Let P be the intersecting
0 00
Since PQ = 3c = 6c + 6c = 0
R = OQ + OG + GI and so
0
G1 I1 > GI .
8
Case 2: G2 2 l1 , I2 2 l2
and O are not on a line. Let
OI2 intersect k1 in a point G1.
Then G2I2 > G1 I2. Indeed,
it follows from 4OG2I2 that
OG2 + G2I2 > OI2. But OI2 =
OG1 + G1I2 = OG2 + G1I2 and
therefore G2I2 > G1I2. But
from case 1 we get that G1I2 >
GI and so G2I2 > GI .
Thus 4ABC having the required property is such that Q , O, G
0
and so SABC = c4 .
9
Use induction by n. It is easy to see that the above formula holds
for n = 2. Suppose it is true for some n. To obtain the result we
count how many new regions are added when a new point appears on
the circle. It is easily seen that if a chord intersects t other chords,
then it `adds' t + 1 new regions. Therefore the new regions are:
nX1
(k(n ; k ; 1) + 1):
;
k=0
121 chords such that there are 1998 regions. Let us draw all chords
with ends in 16 of the given points (there are 120 such chords). !
It follows then that the interior of the circle is divided into 164 +
!
16 + 1 = 1941 regions. Draw a chord connecting the 17th point
2
with one of the rst 16 in a way that there are 8 and 7 points on the
two sides of the drawn chord. This chord intersects 8 7 = 56 chords
and therefore there are 57 new regions. Therefore the total number
of regions is 1941 + 57 = 1998.
10
Problem 9.1. Find all parameters a such that the inequality jax2;
3x ; 4j 5 ; 3x holds for any x 2 ;1
1].
Solution:
Let E be the second in-
tersecting point of PB and
the circle. Then PA2 =
PE PB ) PD = PE .
Hence APD = EPC . (If
6 6
BP CP BC
AP : (1)
BP
Also, 4APB 4DCP because APB = DPC = APC ;
6 6 6
AP = BP and so AB = BP : (2)
APD and DP CP DC CP
6
12
From (1) and (2) we get BC AB AD = AP BP = 1. On the
DC BP CP
other hand,
SABD = 21 AB AD sin DAB = AB AD = 1
6
Problem 10.1. Find all values of the real parameter a such that
the inequality x4 + ax3 + (a + 3)x2 + ax + 1 > 0 holds for all real
values of x.
15
same property holds for 2 4 8 and 16, we will be done. Assume 2k
divides a2b + 1, where 1 k 3. Then a is an odd integer number
and therefore a2 ; 1 is divisible by 8. Consequently b + 1 is divisible
by 2k and thus a2 + b is divisible by 2k as well. Assume 16 divides
a2b +1. Then a is an odd integer number and it is easy to verify that
a2 is congruent to 1 or 9 modulo 16. Further, b should be congruent
to 15 or 7 modulo 16 correspondingly and again a2 + b is divisible
by 16.
The required numbers are all divisors of 240.
Problem 11.1.
a.) Let p be a positive real parameter. Find the least values of
the functions f (x) = x + xp and g(x) = x + xp2 in the interval
(0
+1).
Let a1 ap2 a3 be positive real numbers. Prove that 3(a1 +
b.) p
a1a2 + 3 a1a2a3) 4(a1 + a2 + a3):
p (x ; pp)(x + pp)
Solution: a.) Since f (x) = 1 ; x2 =
0
xp2 , we get
that the functionpf (x) decreases in the interval (0
p) and increases
in the interval ( p p
+1). pTherefore the minimal value of f (x) in
(0
+1) equals f ( p) = 2 p. Analogously it follows from g (px) = 0
1; 2xp3 that the least value of g(x) in (0
+1) equals g( 3 2p) = 3 22p .
q 3
16
4 1 4 y 2 1 4 z 3 1
that 3 y 3 x + 3 x and 3 y + 3 y2
z. Therefore 3 x + 3 x ; 4 y 2
y + 43 zy2 ; z
13 y + 43 zy2 ; z
0, which completes the proof. Note
3 3
Problem 11.2. Let I and r are the incentre and inradius of 4ABC ,
and N is the midpoint of the median through C . Prove that if
r = CN ; IN , then AC = BC or ACB = 90 deg :
6
18
Spring mathematics
tournament|Kazanl^ak,
30 March{1 April 1999
Problem 8'1. Given an inequality jx ; 1j < ax, where a is a real
parameter:
a) Solve the inequality.
b) Find all values of a such that the inequality has exactly two
integer solutions.
Chavdar Lozanov, Kiril Bankov, Teodosi Vitanov
1 x.
b) It follows from a) that the inequality could have two integer
solutions only if 0 < a < 1. Since in this case 0 < a +1 1 < 1 < 1 ;1 a ,
we nd that there are exactly two integer solutions if and only if
2 < 1 ;1 a 3:
3
Prove that there exists a rectangle with sides parallel to the coordi-
nate axes whose vertices are all of the same colour.
Kiril Bankov
9
that 6 Q3Q1Q2 = 6 A3A1A2, and the same equalities for the remain-
ing pairs of angles. Thus 4P1P2P3
4Q1Q2Q3
4A1A2A3 and
since the rst two triangles have the same circumcircle, they are
identical.
b) Since A1P1KQ1 is a parallelogram, we obtain 6 A1P1Q1 =
^ ^
6 KQ1 P1 = P2 Q2 + P1 Q2 = 6 P1 P2 P3 = 6 A1A2 A3. Similarly 6 A1Q1P1 =
6 A1 A2A3.
2 2
Let O be the circumcentre of 4A1A2A3. It is easy to see that
OA1 ? P1Q1,OA2 ? P2Q2 and OA3 ? P3Q3. Denote the midpoint
of OK by S . If R1 R2 and R3 are the midpoints of P1Q1 P2Q2 and
P3Q3 then SR1 k OA1
SR2 k OA2
SR3 k OA3 (SR1 is a middle
segment in 4OKA1 =) SR1 k OA1). Therefore S lies on the axes
of symmetry of P1Q1
P2Q2 and P3 Q3, so S is the centre of the circle
through the points P1 P2 P3 Q1 Q2 Q3.
10
It is easy to nd now that p + q = 3 and so p = 1 q = 2 or
p = 2 q = 1. In the rst case we get that f (x) = x3 + x2 ; x ; 1,
which is a solution and in the second one f (x) = x3 ; x2 ; x + 1,
which is not.
Second case: ja0j 2. Now 0 = f (a0) = jan0 + an;1an0 ;1 n+;1 +
a1a0+a0j ja0jn ;ja0jn;1; ja0j2;ja0j;ja0j = ja0j(ja0j;ja2)(0j;ja10j ;1)
0. Therefore ja0j = 2. Moreover an;1an0 ;1 : : : a1a0 a0 have the same
negativity|the opposite to those of an0 .
We conclude that a0 = ;2 n is an even number and ai = (;1)i+1
for i = 1 2 : : : n ; 1. If n > 2, then a2 = ;1 and 0 = f (;1) =
(;1)n + (;1)n (;1)n;1 + + (;1)2(;1) ; 2 = ;n ; 2 6= 0, which
is impossible. Therefore n = 2 and f (x) = x2 + x ; 2, which is a
solution.
Answer:
f (x) = x2 + x ; 2 and f (x) = x3 + x2 ; x ; 1:
+x+1
get a contradiction.
4C1D1M
4DAM
4D1A1M , we obtain
AB = BM
BC = BM
CD = DM
DA = DM :
A1B1 A1M B1C1 C1M C1D1 C1M D1 A1 A1M
12
It is easy to see now that
AB CD = BM DM = BC DA :
A1B1 C1D1 A1M C1M B1C1 D1 A1
Using that AB = BC = CD = DA it follows from the above that
A1B1 C1D1 = A1D1 B1C1, Q. E. D.
2 2
This is a contradiction with the number of drawn segments.
Therefore the answer is 3n 2; 3 .
Problem 11.1. Given a function f (x) dened for any real x and
f (tgx) = sin 2x for x 2 (; 2 2 ). Find the minimum and the maxi-
mum of the function f (sin3 x) f (cos3 x).
Oleg Mushkarov, Nikolai Nikolov
14
Let u = sin x cos x = 21 sin 2x. Then u 2 ; 21 12 ] and we have to nd
the minimum and the maximum of the function g(u) = 2 ; 34uu3 + u6
3
15
the above becomes
cos2 A2 = 2R sin A2 (sin A2 + cos B ;2 C ) = 2R sin A2 cos B2 cos C2 :
s s s
16
number n denote the square with vertices (n n) (;n n) (;n ;n)
and (n ;n) by Kn .
Since A is a nite set, there exists a natural number d such that
A Kd . For every n denote the number of arrows within the square
Kn by Sn . Since there are at least s + 1 arrows pointing out of every
integer point of Kn (and these arrows are within the square Kn+d ),
it follows that (2n + 1)2(s + 1) Sn+d . On the other hand, since AX
is a central-symmetric set, there are at most s ; 1 arrows pointing to
every integer point of Kn+d . Therefore Sn+d (2n + 2d + 1)2(s ; 1).
Thus (2n + 1)2(s + 1) (2n + 2d + 1)2(s ; 1), so s + 1 (1 +
2d )2(s ; 1) for any n. When n ! 1 one obtains s + 1 s ; 1,
2n + 1
a contradiction. Therefore a point X with the required property
does exist.
17
WINTER MATHEMATICAL COMPETITION
1995
Solution. Let F be the midpoint of the segment AD (Figure 1). Then the quadrilateral
MPNF is a parallelogram. Hence K is midpoint of the segment FP . It follows from here that
KL = 21 :FQ. On the other hand FQ = 21 :a (because F and Q are midpoints of ED and AD
respectively).
Therefore KL = 14 :a.
1
Problem 3. Every point in the plane is colored either in black or in white. Prove that
there exists a right angled triangle with hypotenuse of length 2 and an acute angle of 60 , which
vertices are colored in one and the same colour.
Solution. First we shall show that there exist two points which are colored in one and the
same colour and the distance between them is 2. Indeed let ABC be a equilateral triangle of
side 2. Obviously two of its vertices (say A and B ) are colored in one and the same colour (e.g.
white). Let AXY BZT be a regular hexagon with a big diagonal AB (Figure 2).
If one of the vertices X , Y , Z , T (e.g. X ) is white, then the vertices of the triangle ABX
(6 AXB = 90 , 6 XAB = 60 ) are colored in one and the same colour. Otherwise the vertices
of the triangle XY T (6 Y XT = 90 , 6 XY T = 60 ) are colored in one and the same colour.
Grade 8.
2
that the quadrilateral DEMN is inscribed in a circle if and only if there exists a circle, inscribed
in the quadrilateral CMGN .
Figure 3. Figure 4.
Solution. Without loss of generality we can suppose that N is between A and E . There are
two possibilities for the points D and E which are shown in the Figure 3 and Figure 4.
The quadrilateral DEMN is inscribed in a circle if and only if 6 CNM = 6 CDE , i.e.
6 BAN + 6 BDE = 1800 (because MN kAB and 6 CNM = 6 BAN ). Thus the quadrilateral
DEMN is inscribed in a circle i the quadrilateral ABDE is inscribed in a circle. This is
equivalent to 6 DAE = 6 DBE , i.e. to AC = BC .
Therefore we should prove that there exists a circle, inscribed in the quadrilateral CMGN
if and only if AC = BC .
Let AC = BC . Then CM = CN and since G is the cen- Figure 5.
ter of gravity of the triangle ABC , we have GM = 3 AM = 1
1 BN = GN . Hence CM + GN = CN + GM , i.e. there ex-
3
ists a circle, inscribed in the quadrilateral CMGN (Figure
5).
Conversely if there exists a circle, inscribed in the quadri-
lateral CMGN , then CM + GN = CN + GM and 12 BC +
1 BN = 1 AC + 1 AM . Hence AM ; BN = 3 (BC ; AC ).
3 2 3 2
Let K and L be the points of contact of the circle and the
sides CM and CN respectively. Obviously CK = CL.
On the other hand this circle is inscribed in the triangles
ACM and BCN . Hence CK = 21 (AC + CM ; AM ), CL =
1 (BC + CN ; BN ). Thus AM ; BN = 1 (AC ; BC ). It follows from here that 3 (BC ; AC ) =
2 2 2
1 (AC ; BC ), i.e. AC = BC .
2
Problem 3. Thirty points are given in the plane. Some of them are connected with segments
as it is shown in the Figure 6. The points are labeled with dierent positive integers.
If a is a segment and p and q are the numbers, corresponding to its endpoints, we denote
(a) = jp ; qj.
a) Construct an example of labeling of the points with the integers 1 2 : : : 30, in which there
3
exists exactly one segment a with (a) = 5
b) Prove that for every labeling there exists at least one segment a with (a) 5.
Figure 6. Figure 7.
1 ; x1 1 ; x2 9
Solution. a) Since x1 and x2 are real numbers, then
D (f ) = (m ; 4)2 ; 4 m2 ; 3m + 3 = ;3m2 + 4m + 4 0:
Hence ; 23 m 2. On the other hand
6 = x21 + x22 = (x1 + x2 )2 ; 2x1x2 = ;m2 ; 2m + 10:
p
We obtain from here that m = ;1 5. But
p p
;1 ; 5 < ; 32 < ;1 + 5 < 2
4
p
and therefore only m = 5 ; 1 is a solution of the given problem.
b) We have
mx21 + mx22 = mx21(1 ; x2) + x22(1 ; x1 )]
1 ; x1 1 ; x2 f (1)
= x1 + x2 ; x1x2 (x1 + x2 )
2 2
m;2
= m ; 8m + 13m ; 2 = m2 ; 6m + 1
3 2
m;2
Thus if F = 1mx mx2 + 8, then F = (m ; 3)2 and
2 2
1
+
; x1 1 ; x2
121 = ; 2 ; 32 F > (2 ; 3)2 = 1:
9 3
Problem 2. The point D lies inside the acute triangle ABC . Three of the circumscribed
circles of the triangles ABC , ABD, BCD and CAD have equal radii. Prove that the fourth
circle has the same radius.
Solution. There are two cases:
1. The radii of the circumscribed circles of the Figure 8.
triangles ABD, BCD, CAD are equal.
Let O1 , O2 and O3 be the centers of these cir-
cles (Figure 8). Obviously the quadrilaterals O2 CO3D,
O3 AO1D and O1BO2 D are rhombuses.
Hence O2C kO3DkAO1 and O2 C = AO1 . Thus the
quadrilateral CAO1O2 is a parallelogram. It follows
from here that AC kO1O2 and since O1 O2 ? DB , then
BD ? AC . Analogously CD ? AB and AD ? BC .
Therefore D is the altitude center of 4ABC .
Now it is easy to see that 6 BDC = 1800 ; 6 BAC ,
which implies that the circumscribed circles of 4BCD
and 4ABC are symmetric according to the line BC .
Therefore their radii are equal.
2. The radii of the circumscribed circles of the triangles ABC , ACD and BCD are equal.
In this case the circumscribed circles of 4ABC and 4BCD are symmetric according the
line BC . Hence 6 BDC = 1800 ; 6 BAC . Analogously 6 ADC = 1800 ; 6 ABC . Therefore
6 ADB = 3600 ; 6 BDC ; 6 ADC = 1800 ; 6 ACB and the circumscribed circles of 4ABD and
4ABC are symmetric according to the line AB. Thus they have equal radii.
Problem 3. Let A be a set with 8 elements. Find the maximal number of 3-element subsets
of A, such that the intersection of any two of them is not a 2-element set.
Solution. Let B1 B2 : : : Bn be subsets of A such that jBi j = 3, jBi \ Bj j 6= 2 (i j = 1 : : : n).
Assume that there exists an element a 2 A, which belongs to four of the subsets B1 B2 : : : Bn
(e.g. a 2 B1 B2 B3 B4). Then jBi \ Bj j 1 (i j = 1 : : : 4). But Bi = 6 Bj if i 6= j , i.e.
jBi \ Bj j 6= 3. Thus jBi \ Bj j = 1 (i j = 1 2 3 4). It follows from here that jAj 1 + 4:2 = 9,
5
which is a contradiction. Therefore every element of A belongs to at most three of the subsets
B1 B2 : : : Bn . Then 3n 8:3, i.e. n 8.
If A = fa1 a2 : : : a8g, then the subsets
B1 = fa1 a2 a3g B2 = fa1 a4 a5g B3 = fa1 a6 a7g B4 = fa8 a3 a4g
B5 = fa8 a2 a6g B6 = fa8 a5 a7g B7 = fa3 a5 a6g B8 = fa2 a4 a7g
provide an example of exactly eight 3-element subsets of A, such that jBi \ Bj j 6= 2.
Therefore the searched number is n = 8.
Grade 10.
Problem 1. Find all positive roots of the equation
log(x+a;1) x +4 1 = loga 2
where a > 1 is a real number.
Solution. It is clear that if a > 1 and x > 0, then x + a ; 1 > 0 and 4 > 0. Hence in
x+1
this case log(x+a;1) 4
x + 1 is well dened. Since
log 4
log(x+a;1) 4 =
a x+1
x + 1 loga (x + a ; 1)
then the given equation is equivalent to
4 = 2loga(x+a;1) : (1)
x+1
The function x +4 1 is strictly decreasing in the interval (0 +1). The function loga (x + a ; 1)
is strictly increasing in the interval (0 +1) and obviously the same is true for the function
2loga (x+a;1) . Therefore the equation (1) has no more than one root in the interval (0 +1).
On the other hand it is easy to check that x = 1 is a root of this equation.
Problem 2. A circle _
k with center O and diameter AB is given. The points C and D are
moving along the arc AB so that C is between B and D and if 6 BOC = 2 and 6 AOD = 2,
then tan = tan + 32 . Prove that the lines, which are perpendicular to CD and divide CD in
ratio 1 : 4 measured from C , pass through a xed _
point of the given circle.
Solution. Let E be such a point on the arc AB , not containing C and D, that if 6 BOE = 2 ,
then tan = 2 (Figure 9).
We shall show that the point E satises the problem's conditions.
It is enough to prove that if F is the foot of the perpendicular from E to CD, then the point
F is between C and D and FD CF = 1 .
4
We have
tan(6 ECD) = tan(6 ECA + 6 ACD) = tan(
2 ; + )
6
tan
2 ; + tan 1 + tan
tan
=
= 2 tan = 12+;2tan
1 ; tan 2 ; : tan 1 ; 2
3
1 + 2 tan + 2
= 3 = 41+ 2 tan = 8 + 4 tan
1 ; 2 tan
2 ; tan + 2 2 ; tan
tan(6 EDC ) = tan(6 EDB + 6 BDC ) = tan( + ) = 1tan + tan = 2 + tan :
; tan : tan 1 ; 2 tan
Thus Figure 9.
tan(6 ECD) = 4 tan(6 EDC ):
It follows from the last equality that either
6 ECD
2 and 6 EDC
2
or
6 ECD <
2 and 6 EDC <
2 :
But these angles belong to the triangle EDC .
Hence they are acute angles. Therefore the point
F is between the points C and D. Since
tan(6 ECD) = EF EF
FC and tan( EDC ) = FD
6
then EF =
FC FD 4 EF , i.e. FD = 4:FC .
Problem 3. Find all prime numbers p, for which the number p(2p;1 ; 1) is a k-th power
(k > 1) of a positive integer.
Solution. Let p(2p;1 ; 1) = xk (x > 0 is an integer). It is clear that p 6= 2, i.e. p = 2q + 1 is
an odd number. Since p=x, then x = p:y (y is a positive integer) and (2q ; 1)(2q + 1) = pk;1 y k .
At least one of the numbers 2q ; 1 and 2q + 1 is a k-th power of an integer, because they are
relatively prime numbers.
1. Let 2q ; 1 = z k , i.e. 2q = z k + 1. If k is even, then z k + 1 is not divisible by 4 . Hence
q = 1, p = 3 and p(2p;1 ; 1) = 32.
If k = 2l + 1 then 2q = (z + 1)(z 2l ; z 2l;1 + ; z + 1), i.e. z + 1 = 2, where 0 < q .
On the other hand
2q = (2 ; 1)2l+1 + 1 = 22:A + 2 (2l + 1)
(A is an integer). The last equality contradicts with < q .
2. Let 2q + 1 = z k , i.e. 2q = z k ; 1. If k is odd, we obtain a contradiction as in the previous
case.
If k = 2l, then (z l ; 1)(z l + 1) = 2q and since GCD(z l ; 1 z l + 1) = 2, we have z l ; 1 = 2,
i.e. q = 3, p = 7, p(2p;1 ; 1) = 7:63 = 212.
The sought numbers are p = 3 and p = 7.
7
Grade 11.
Problem 1. Find all the values of the real parameter p, for which the range of the function
f (x) = 2(1p;;psin
) + cos x :
2x
g(y) = ky2 ; y ; q(k + 2) has as its rst coordinate y 0 = 21k 2 (0 1] ;1 1]. Therefore the
equation g (y ) = 0 has at least one root y0 2 ;1 1] i at least one of the inequalities g (;1) 0
and g (1) 0 holds. It is easy to obtain from here that q kk + + 1 for every k 2 1 2]. Hence
2
2 1 2 1
q 3 , i.e. q 2 ; 32 3 and q 6= 4 .
1 33
Finally p 2 3 32 , p 6= 43 .
Problem 2. The point O is on the edge AB of the tetrahedron ABCD. The circumscribed
sphere of the tetrahedron AOCD intersects the edges BC and BD in the points M and N
(M 6= C , N 6= D) respectively. The circumscribed sphere of the tetrahedron BOCD intersects
the edges AC and AD in the points P and Q (P 6= C , Q 6= D) respectively. Prove that the
triangles OMN and OQP are similar.
Solution. Since the points A, C , M and O are in one and the same plane and are lying on
a sphere, then the quadrilateral ACMO is inscribed in a circle (Figure 10). Then 4BOM
4BCA, and OM BM OQ AQ
CA = BA (Figure 11). Analogously from 4ABD: BD = AB . Hence
OM = BM AC : (1)
OQ AQ BD
8
From 4BCD we have MN =
CD BD
BM , and from 4ACD: PQ = AQ . Thus
CD AC
Figure 10. Figure 11.
MN = BM AC : (2)
PQ AQ BD
It follows from (1) and (2) that OM MN ON MN
OQ = PQ . Similarly OP = PQ .
Therefore 4OMN
4OQP .
Problem 3. Solve in positive integers the equation:
1 + 5x = 2y + 2z :5t:
Solution. If y 2 and z 2, then the right side of the given equation is divisible by 4. But
1 + 5x 2 (mod 4) and hence min(y z ) = 1. On the other hand 2y 1 (mod 5). Thus y is
divisible by 4 (4 is the index of 2 modulo 5). It follows from here that y 4, z = min(y z ) = 1
and the equation is 1 + 5x = 24y0 + 2:5t, where y = 4y0 (y0 is a positive integer).
If t = 1 then 5x ; 24y0 = 9. Using congruence modulo 3 we obtain that x is even, i.e. x = 2x0.
Hence (5x0 ; 22y0 )(5x0 + 22y0 ) = 9, from where x0 = y0 = 1, i.e. x = 2 and y = 4.
Let t > 1. Then 16y0 1 (mod 25) and y0 is divisible by 5 (5 is the index of 3 modulo 25).
Hence y0 = 5y1 and 1 + 5x = 220y1 + 2:5t. On the other hand 210 1 (mod 11) and 5x 2:5t
(mod 11). Obviously x > t. Thus 5x;t 2 (mod 11), which is not true.
Therefore the given equation has a unique solution (x y z t) = (2 4 1 1).
Grade 12.
p 2Problem 1. For every real number x we denote by f (x) the maximal value of the function
t + 2t + 2 in the interval x ; 2 x].
a) Prove that f (x) is an even function and nd its minimal value
b) Prove that the function f (x) is not dierentiable for x = 0.
c) Prove that the sequence an = ff (n)g, n = 1 2 : : : is convergent and nd its limit.
(For every real number a we denote with fag the unique real number in the interval 0 1)
for which the number a ; fag is an integer.)
9
p
Solution. It is clear that the maximal value of the function t2 + 2t + 2 in the interval
x ; 2 x] is reached at the endpoints of this interval. Since the inequality (x ; 2)2 +2(x ; 2)+2
x2 + 2x + 2 is equivalent to x 0, then
8p 2
< x ; 2x + 2
> if x 0
f (x) = > p
: x2 + 2x + 2 if x 0:
a) Obviously f (x) = f (;x), i.e. f (x) is an even function and its minimal value is f (0) = 2.
b) Since p2 p p
lim f ( x) ; f (0) = lim x ; 2 x + 2 ; 2 = ; 2
x!0
x<0 x;0 x !
x<0
0 x 2
and p2 p p
lim f ( x ) ; f (0) = lim x + 2 x + 2 ; 2 = 2
x!0
x>0 x ; 0 x!0
x>0 x 2
then f 0(0) doesn't exist. np o p
c) It is clear that an = n2 + 2n + 2 . On the other hand n + 1 < n2 + 2n + 2 < n + 2,
p
i.e. an = n2 + 2n + 2 ; (n + 1).
Therefore
a = nlim p 1 = 0:
nlim
!1 n !1 n2 + 2n + 2 + n + 1
10
i.e. AP = AB 2AB:AC . Analogously DQ = 2DB:DC . These equalities show that the position
+ AC DC + DB
of the points P and Q doesn't depend on the circle k.
b) Let us denote AB = x, BC = y and CD = z . It follows from a) that
PQ = AD ; AP ; DQ = x + y + z ; 2xy(+x +2xy ) ; 2zy(+
y + z)
2z
= (x + y ) 1 ; y +2x2x + z 1 ; 2(yy++2zz)
= (yy+(x2x+)(yy ++ z2)z ) :
2
Therefore the minimal length of the segment PQ is b and this length is reached i AB =
2
a
CD = x = z = a ; b .
2
Problem 3. Find all prime numbers p and q , such that the number 2p + 2q is divisible by
p:q.
Solution.
Lemma. If k > 1, then k doesn't divide 2k;1 + 1.
Proof. Assume that k divides 2k;1 + 1. Obviously k is odd. Let k = p1 1 p2 2 : : :pr r , where
p1 p2 : : : pr are odd prime numbers (pi 6= pj if i 6= j ), 1 2 : : : r are positive integers and
r 1. Let pi ; 1 = 2mi :ti, where ti are odd integers ( i = 1 2 : : : r). Let m1 be the smallest
number in the sequence m1 m2 : : : mr . It follows from pi 1 (mod(pi ; 1)) that pi 1
(mod 2mi ) and pi i 1 (mod m1 :u
2mi ), i = 1 2 : : : r. Hence k ; 1 = 2m1 :u (u is an integer). If
2 ;1 (mod k), then 2
k ;1 2 ;1 (mod k) and 2(p1;1):u ;1 (mod p1), because t1 is
odd. But 2 1 1 (mod p1 ) | a contradiction.
p ;1
11
WINTER MATHEMATICAL COMPETITION
1996
Grade 8
Problem 1. For which integer values of the parameter a the equation j2x + 1j + jx ; 2j = a
has an integer solutions?
Solution. We shall consider the following cases:
I. x > 2. Then 2x + 1 > 0, x ; 2 > 0 and the equation is equivalent to 2x + 1 + x ; 2 = a.
Thus, x = 1 +3 a , which is a solution when 1 +3 a > 2, i.e. when a > 5.
II. ; 12 x 2. Then 2x+1 0, x;2 0 and the equation has the form 2x+1;(x;2) = a.
Thus, x = a ; 3, which is a solution when ; 1 a ; 3 2, i.e. 5 a 5. In this interval the
2 2
integers are a = 3 4 5 and respectively we get x = 0 1 2, which are integer solutions.
III. x < ; 21 . Then 2x+1 < 0, x;2 < 0 and the equation is equivalent to ;(2x+1);(x;2) =
a or ;3x = a ; 1. Thus x = 1 ;3 a , which is a solution, when 1 ;3 a < ; 12 , i.e. when a > 25 .
According to the considered cases the given equation has solution when a > 25 . When a = 3
the only integer solution is x = 0. When a = 4 there are two integer solutions x = 1 and x = ;1.
When a = 5, x = 2 is the only integer solution. When a > 5 the equation has two solutions
x1 = 1 +3 a and x2 = 1 ;3 a . For these solutions we have: if a = 3k ; 1, then x1 is integer only
if a = 3k + 1, then x2 is integer only if a = 3k, there is no integer solution.
As a result, we get integer solutions when a = 3 or a = 3k 1, where k is a positive integer,
greater than 1.
Problem 2. The bisector AD (D 2 BC ) of the acute isosceles triangle ABC divides it into
two isosceles triangles. Let O and I be the incenter and the circumcenter of 4ABC , respectively.
AO meets BC in point E , while F is the intersection point of the lines BI and DO. Prove that:
a) the quadrilaterals ABEF and ADCF are rhombi with equal side lengths
b) If H is the altitude center of 4ABE , then the points A, D, E , F , H are concyclic.
Solution. Firstly, let us justify the position of AD. If it is a bisector of the angle between the
two equal sides, then it is perpendicular to BC , 4ADB and 4ADC are isosceles. Consequently
AD = BD = CD and 6 BAD = 6 CAD = 45 , i.e. 6 BAC = 90, which contradicts to the
condition that 4ABC is acute. It follows that AD is bisector of the angle belonging to the base
AB, while 4ABD and 4ACD are isosceles (Figure 1).
a) If 6 BAD = 6 CAD = , then 6 ABC = 2. Since 6 ADB > 6 CAD = 6 BAD , the only
possibility is 6 ADB = 6 ABC = 2 and AD = AB . But 6 ACD = 6 ADB ; 6 CAD = 2 ; =
1
, i.e. 6 ACD = 6 CAD and CD = AD. From the equality 2 +2 + = 180 we dene = 36.
Thus, 6 ACB = 36, 6 BAC = 6 ABC = 72. The points O and I lie on the bisector of 6 ACB ,
which is a segment bisector of AB . We have OA = OC and 6 OAC = 6 OCA = 18 = 6 OAD,
while 6 OAB = 36 + 18 = 54, 6 AEB = 180 ; 72 ; 54 = 54 = 6 BAE . It follows that
BE = AB and the bisector BI of 6 ABC is the segment bisector of AE . In the triangle ACD,
which is isosceles, we have that AO and CO are bisectors and it follows that DO is the bisector
of 6 ADC and the segment bisector of AC . Then F is the intersection point of the segment
bisectors of AE and AC , i.e. F is the circumcenter of 4ACE , the radius of the circumcircle is
AF = EF = CF . We have 6 AFE = 26 ACE = 72 , while 6 AFB = 6 BFE = 36 = 6 ABF =
6 EBF and consequently AF = AB = BE = EF , i.e. ABEF is a rhombus. In the same way
CF = AF = AB = AD = CD and ADCF is a rhombus, which side is AD = AB .
b) It is clear that 6 AEF = 6 AEB = 54 and Figure 1.
1
6 ADF = 6 ADC = frac12(180 ; 72) = 54,
2
the segment AF is seen from the points D and E
under 54. We draw a line through A, perpendicular
to BC , which intersects BI in the point H | the
altitude center of 4ABE , because BI ?AE . But in
4ABD the altitude AH is a bisector of 6 BAD =
36. Thus, 6 BAH = 18, 6 AHF = 18 + 36 =
54 = 6 AEF = 6 AOF . Note that the points D, E ,
H are in one and the same semiplane with respect
to AF . Consequently, D, E , H together with A and
F are concyclic.
Problem 3. Every day a student preparing
himself for the Winter competition in mathemat-
ics has been solving problems during a period of 5
weeks. He has been solving at least one problem daily but no more than 10 problems weekly.
a) Prove that during some consecutive days the student has solved 19 problems exactly.
b) If 1 n 34 is a natural number, prove that during some consecutive days the student
has solved n problems exactly.
Remark. Every week begins on Monday and ends on Sunday.
Solution. Since a) is a particular case of b), we shall solve b) only.
According to the condition the student has been solving problems during 5 7 = 35 days and
has solved at most 5 10 = 50 problems. Let xi be the number of the problems, solved during
the i-th day (i = 1 2 : : : 35).
Let 1 n 34 be a xed natural number. We want to prove that there exist such k < l,
that xk+1 + + xl = n. Denote Xi = x1 + + xi . Obviously,
1 X1 < X2 < : : : < X35 50
and the problem is to prove the existence of such k < l, that Xl ; Xk = n.
Case 1. 1 n 19. We consider the numbers
X1 < X2 < : : : < X35 X1 + n < X2 + n < : : : < X35 + n (1)
which are integers and their number is 70. Obviously they are in the interval 1 50 + n], in
which there are 50 + n 50 + 19 < 70 integers. Consequently, among the numbers (1) there
2
are at least two equal. The rst 35 of them as well as the next 35 are dierent from each other.
Therefore, there exist such k and l, for which Xl = Xk + n, i.e. for which Xl ; Xk = n.
Case 2. 20 n 34. Firstly, we shall prove the following
Lemma. If the integers z1 z2 : : : zm belong to the interval 1 2n] and if m > n, then among
the numbers z1 z2 : : : zm there are two, the dierence of which is equal to n exactly.
Proof. With the numbers from the interval 1 2n] we construct the following pairs:
(1 n + 1) (2 n + 2) : : : (n 2n):
The number of these pairs is n and the dierence of the numbers in each pair is equal to
n. Since m > n, at least two of the numbers z1 z2 : : : zm belong to one and the same pair.
Therefore their dierence is equal to n.
Let us nish now the solution of the problem.
If n 25, then 2n 50, and thus all the numbers X1 X2 : : : X35 are in the interval
1 2n]. On the other hand n < 35 and according to the lemma there are two numbers among
X1 X2 : : : X35 which dierence is n.
If 20 n 24, we represent the interval 1 50] as an union of the intervals 1 2n] 2n +1 50].
In the second one there are 50 ; (2n + 1) + 1 = 50 ; 2n integers. Then, the number of the
integers among X1 X2 : : : X35, which belong to the interval 1 2n], is at least 35 ; (50 ; 2n) =
2n ; 15 40 ; 15 = 25 > n. Consequently, we can apply the lemma again.
Remark. The case 1 can be solved by the lemma proved above.
Grade 9
Problem 1. Let f (x) = x3 ; (p + 5)x2 ; 2(p ; 3)(p ; 1)x + 4p2 ; 24p + 36, where p is a real
parameter.
a) Prove that f (3 ; p) = 0.
b) Find all values of p, for which two of the roots of the equation
p f (x) = 0 are lengths of the
cathetuses of a rectangle triangle which hypotenuse is equal to 4 2.
Solution. a) We have f (x) = (x + p ; 3)(x2 ; 2(p p + 1)x + 4(p ; 3)).
b) The roots of f (x) = 0 are x12 = p + 1 p2 ; 2p + 13 and x = 3 ; p. If p > 3,
p 2 3
then x1 > 0, x2 > 0 and x3 < 0. The equation x21 + x22 = 32 = 4 2 gives p = 1, which is
impossible. If p = 3, then two of the roots are equal to 0 and this casepgives no solution. If p < 3,
then x1 > 0, x3 > 0 and x2 < 0. Therefore, 32 = x21 + x23 = (p + 1 + p2 ; 2p + 13)2 + (3 ; p)2.
This equation is equivalent to
q
(p + 1)(3(p ; 3) + 2 p2 ; 2p + 13) = 0:
p
If p 6= p;1, we get 2 p2p; 2p + 13 = 3(3 ;pp) > 0, from where 5p2 ; 46p + 29 = p 0 and
23 8 6 23 + 8 6 23 ; 8 6 23 ; 8 6.
p = 5 . Since > 3 and < 3, we nd p 1 = ;1 and p2 =
5 5 5
Problem 2. The incenter of the quadrilateral ABCD is O. The lines lA ? OA, lB ? OB ,
lC ? OC and lD ? OD are drawn through the points A, B, C and D respectively. The lines lA
and lB meet each other in the point K , lB and lC | in L, lC and lD | in M , lD and lA | in
N.
a) Prove that the lines KM and LN meet each other in the point O.
3
b) If the lengths of the segments OK , OL and OM are p, q and r respectively, nd the
length of the segment ON .
Solution. a) We shall prove that the points N , O and L are colinear. Denote 6 ABC = 6 B ,
6 BCD = 6 C , 6 CDA = 6 D and 6 DAC = 6 A. Since O is incenter, the segments OA,OB ,OC
and OD are the bisectors of the corresponding angles of the quadrilateral ABCD. Note that
each of the quadrilaterals AKBO, BLCO, CMDO and DNAO is inscribed.
Figure 2. Consequently: 6 NOK + 6 KOL = ;
6 ONA ; 6 OKA + ; 6 OKB ; 6 OLB =
; 6 ADO ; 6 6 ABO6 + ;6 6 BAO ; 6 BCO =
2 ; ( 2 + 2B + 2A + 2C ) = 2 ; = .
6 D
4( R1 + R2 )
and (2), we get
r = 4R(abc
2
a + b)2 : (3)
5
Since (a +abb)2 14 and c2 4R2, it follows from (3) that r R4 . The equation is reached
when a = b and c = 2R. Now, it follows that 6 A = 6 B = 45 and 6 C = 90.
Problem 3. A positive integer n and a Figure 4.
real number ' are given in a way that cos ' =
1
n . Find all positive integers k, for which the
number cos k' is an integer.
Solution. Case 1. n = 1. Then cos ' = 1
and ' = 2m (m = 0 1 : : :). For all k 2 N
the number cos k' is an integer.
Case 2. n = 2. Then cos ' = 21 and
' = 3 + 2m (m = 0 1 : : :). It is clear
that for all k 2 N, which are divisible by 3,
the number cos k' is an integer.
Case 3. n 3. We shall prove that for
all k 2 N the number cos k' is not an integer. Let n be odd. We have cos ' = n1 , cos 2' =
2 cos2 ' ; 1 = 2 ; n and (2 ; n2 n) = 1. We shall prove by induction that cos k' = a , where
2
n2 nk
(a n) = 1. Assume that the assertion is true for all integers from 1 to k. We shall check it for
k + 1. From
cos(k + 1)' + cos(k ; 1)' = 2 cos k' cos '
it follows that cos(k + 1)' = 2 a ; b = 2a ; bn , where cos k' = a and cos(k ; 1)' =
2
n nk nk;1 nk+1 nk
b . We have (a n) = 1 and (b n) = 1 according to the inductive assumption. It is clear that
nk;1
(2a ; bn2 n) = 1 and this ends the proof. The case when n is even is analogous. Now cos k'
is expressed by a fraction which denominator is equal to 2pk with n = 2p, while the nominator
has no common divisor with p.
Answer: if n = 1 8k 2 N
if n = 2 k = 3q , where q 2 N
if n 3 there is no solution.
Grade 11
Problem 1. Find the values of the real parameter a, for which the function
f (x) = x2 ; 2x ; jx ; 1 ; aj ; jx ; 2j + 4
has nonnegative values for all real x.
Solution. Firstly let 1 + a 2, i.e. a 1. Then
8
>
< x2 + 1 ; a x 1+a
f (x) = > x2 ; 2x + 3 + a 1 + a x 2
: x2 ; 4x + 7 + a x 2:
6
If 1 + a 2, i.e. a 1, we nd that
8 2
< x + 1 ; a
> x2
f (x) = > x2 ; 2x + 5 ; a 2 x 1 + a
: x2 ; 4x + 7 + a x 1 + a:
PB PO
= sin(90
sin(2 ; x) ; )
QA QO
= sin(90
sin(180 ; x) ;
)
QC QO :
= sin(90
sin(2
; 180 + x) ;
)
Then
PB sin 2
+ QC sin 2 = sin(2 ; x) sin 2
; sin(2
+ x) sin 2 =
PA QA sin x sin x
1 ((sin 2 cos x ; sin x cos 2 ) sin2
; (sin 2
cos x + sin x cos 2
) sin 2 )
sin x
= ; sin 2
cos 2 ; sin 2 cos 2
= ; sin 2(
+ ) = sin 2:
Conversely, let the given equality be satised. Denote by Q0 0the intersection point of OP
and AC . It follows from the above that sin 2 = PA sin 2
+ Q0 A sin 2 . Then Q0A = QC
PB Q C Q 0C
QA .
Since the points Q0 and Q lie on the segment AC , then Q0 = Q.
Problem 3. Find all functions f (x) with integer values and dened in the set of the integers,
such that
3f (x) ; 2f (f (x)) = x
7
for all integers x.
Solution. The function f (x) = x satises the condition of the problem.
Let f (x) be a function which satises the condition. Let g (x) = f (x) ; x. The condition can
be written in the form
2f (f (x)) ; 2f (x) = f (x) ; x
which is equivalent to
g(x) = 2g (f (x)):
From here we obtain
g(x) = 2g (f (x)) = 22 g (f (f (x))) = 23g (f (f (f (x)))) = 24g (f (f (f (f (x))))) = : : ::
Since the numbers g (f (f : : : f (x)) : : :) are integer, then g (x) is divisible by 2n for all integers
x and all natural numbers n. This is possible only if g (x) = 0. Thus, f (x) = x is the only
solution of the problem.
8
Winter mathematics
competition|Burgas, 1997
Problem 8.1. Let F be the set of points with coordinates (x y)
such that jjxj ; jyjj + jxj + jyj = 2.
(a) Draw F .
(b) Find the number of points in F such that 2y = j2x ; 1j ; 3.
Solution: (a) If jxj jyj, then jjxj ; jyjj + jxj + jyj = jxj ; jyj +
jxj+jyj = 2jxj = 2, thus jxj = 1 and therefore 1 jyj, so ;1 y 1.
We conclude that the segments ;1 y 1 on the lines x = 1 and
x = ;1 belong to F .
If jxj jyj, then jjxj ; jyjj + jxj + jyj = ;jxj + jyj + jxj + jyj =
2jyj = 2, thus jyj = 1 and therefore 1 jxj, so ;1 x 1. We
conclude that the segments ;1 x 1 on the lines y = 1 and
y = ;1 also belong to F .
Thus we have determined that F consists of the sides of a square
with vertices A(;1 ;1) B (1 ;1) C (1 1) D(;1 1).
1
(b) We nd the number of solutions of 2y = j2x ; 1j; 3 on each
of the segments AB BC CD DA.
The segment CD consists of all points (x y) such that ;1 x
1, y = 1. The equation 2 = j2x ; 1j ; 3 has no solution x when
;1 x 1. Therefore 2y = j2x ; 1j ; 3 has no solution on CD.
The segment AB consists of all points (x y) such that ;1 x
1, y = ;1. The equation ;2 = j2x ; 1j ; 3 has two solutions: x = 0
and x = 1. Therefore 2y = j2x ; 1j ; 3 has two solutions on AB .
As above we get that 2y = j2x ; 1j ; 3 has a unique solution
on AD: (x y) = (;1 0) and a unique solution on BC : (x y) =
(1 ;1). Note that the last one has already been obtained as a point
on AB . Thus there are three solutions of 2y = j2x ; 1j ; 3 in F :
(x y) = (;1 0) (0 ;1) (1 ;1).
2
Solution: Denote by M , P and N the midpoints of AB and CH
and the intersecting point of the internal bisectors of 6 CAH and
6 CBH (g. 1).
Problem 8.3. The n points A0 A1 : : : An;1 lie a circle in this
order and divide it into equal arcs. Find an ordering B0 B1 : : : Bn;1
3
of the same points such that the length of B0B1 : : :Bn;1 is maximal.
Thus
(1) pqn = (;1)n+1 :
It follows from (1) for n = 1 and n = 2 that pq = 1 and pq2 = ;1
and so p = ;1, q = ;1. Direct verication shows that p = ;1 and
q = ;1 satisfy (1) for any n. Also 6= .
(b) Since and are the roots of x2 ; x ; 1 = 0, we know that
= + 1 and 2 = + 1. Therefore
2
8
Problem 10.1. Find all real numbers x such that tan 12 ; x ,
tan 12 and tan 12 + x form (in some order) a geometric progres-
sion.
Solution: Denote a = tan 12 and y = tan x. There are three cases
to consider:
1. tan 12 ; x tan 12 + x = tan2 12 . Now 1a+;ayy 1a;+ayy =
a2. Therefore a2 ; y2 = a2(1 ; a2y2), and so (a4 ; 1)y2 = 0.
Since a 6= 1 we get that y = 0, so tan x = 0. Obviously
all numbers x of the kind x = k, k 2 Zare solutions to the
problem.
2. tan 12 tan 12 + x = tan 12 ; x . We obtain
2
!2
a + y a ; y
a 1 ; ay = 1 + ay =) (a2 + 1)yay2 + (a2 ; 1)y + 3a] = 0:
The case of y = 0 is settled in 1. Let y1 and y2 be the roots of
the equation ay2 + (a2 ; 1)py + 3a = 0. Since a = p tan 15 deg =
tan(45 deg ;30 deg) = 2 ; 3 we get y1 = y2 = 3, so tan x =
p
3. Obviously all x of the kind x = 3 + k, k 2 Zare solutions
of the problem.
3. tan 12 tan 12 ; x = tan 12 + x . The substitution z =
2
Problem 10.2. Two points C and M are given in the plane. Let
H be the orthocentre of 4ABC such that M is a midpoint of AB .
(a) Prove that CH CD = jAM 2 ; CM 2j where D 2 AB and
CD ? AB:
(b) Find the locus of points H when AB is of given length c.
10
so
(2) AM 2 ; CM 2 = CD(DH ; CD):
In case 1 we have CD = CH + DH and from (2) we get
AM 2 ; CM 2 = CD(DH ; CH ; DH ) = ;CH CD:
In case 2 we have CD = DH ; CH and from (2) we get
AM 2 ; CM 2 = CD(DH ; DH + CH ) = CH CD:
In case 3 it follows from (1) that CD DH = (DM
AM )(DM
AM ) = DM 2 ; AM 2 = CM 2 ; CD2 ; AM 2 and therefore CM 2 ;
AM 2 = CD(DH + CD). Now DH = CH ; CD and so CM 2 ;
AM 2 = CD(CH ; CD + CD) = CH CD. Summarising all three
cases considered (and the case of a right triangle 4ABC ) we get
CH CD = jAM 2 ; CM 2j:
11
(b) It follows from the conditions of the problem that A and B
are diametrically opposite in the circle (k) of centre M and radius
c . When the diameter AB varies in (k) we obtain all triangles ABC
2
with the xed vertex C . There are three cases:
12
Consider now case 2. Let AB be a diameter in (k) perpendicular
to CM . The orthocentre H of 4ABC lies on line CM . Moreover
H is an external point for (k) because 4ABH is acute. The last
follows from 6 AHB = 180 deg ;6 ACB and 6 ACB > 90 deg.
Let A1B1 be a arbitrary diameter of (k) such that C 2= A1B1:
Denote by H1 the orthocentre of A1B1C and by D1 the foot of the
altitude from the vertex C . Since 4A1B1C is obtuse, we get that
H1 6= C . Consider 4MD1C and 4CHH1 and use a). We are in
case 2 of (a). For 4ABC we obtain that CH CM = c4 ; CM 2 and
2
CM
so 4MD1C 4CHH1. Since 4MD1C is a right triangle, we
1
13
and it follows from the above that it lies on l. Since H1 is the
intersecting point of these two lines it is obvious that H1 is the
orthocentre of 4A1B1C .
Therefore the locus is a line l perpendicular to CM through a
point H on the ray opposite to CM~ and of distance 4jCM c2 ;jCM j
j
from point C .
Consider case 3. Let AB be a diameter of (k) perpendicular to
CM . The orthocentre H of 4ABC lies on CM but now H is an
internal point for (k). Consider an arbitrary diameter A1B1 of (k)
such that H 2 A1B1. Let H1 be the orthocentre of 4A1B1C and
CD1{ the altitude. Consider 4MD1C and 4CHH1. It is essential
to show that 4CHH1 is uniquely determined (for 4MD1C it is
obvious). It suces to prove that H1 6= C . If the contrary is true,
then 4A1B1C is a right triangle with its right angle at C and since
A1B1 is a diameter, C must lie on (k), a contradiction. Since 4ABC
is acute, we apply case 1 of (a), so CH CM = CM 2 ; c4 . There
2
14
The further considerations follow those from case 2. We conclude
that the locus is a line perpendicular to CM and passing through
H 2 CM~ of distance jCM j ; 4jCM c2 from C .
j
In particular it follows that PQ?CM , a well-known property.
Problem 10.3. How many natural numbers a1a2 : : : a2n exist such
that:
(a) none of the digits ai is zero
(b) the sum a1a2 + a3a4 + : : : + a2n;1a2n is an even number?
15
Problem 11.1. The sequence fxng1n=1 is dened as:
x1 = 3 xn+1 = x2n ; 3xn + 4 n = 1 2 3 : : :
(a) Prove that fxng1
n=1 is monotone increasing and unbounded.
16
Since 0 x 1 ; 2 n1 it follows that nlim 1
!1 xn+1 ; 2
= 0, so
n+1
nlim y = 1.
!1 n
18
Solution: Let m and n satisfy the conditions of the problem. Since
n is an odd integer number, we get (m n) = 1 and n > 2. When
n = 3, all m 4 such that m 1(modn 3) are solutions, because
if m ;1(mod 3), then 1 + m +n m23 1 ; 1 + 1 1(mod 3).
3n
Let nown n > 3. nIt follows that m3 6 1(mod n), because otherwise
1 + m3 + m23 n+13(mod n), i. e., n=3. On the other hand 1 +
m3n + m23n = mm3n ;;11 and therefore m3n+1 1(mod n). Let k
3
19
Winter mathematics
competition|Pleven, 6{8
February 1998
Dedicated to the One Hundredth Anniversary of the UBM
Solution:
a.) It is obvious that a 6= 0, b 6= 0, c 6= 0. The rst equality
gives b2 = ac, whence by multiplying both sides by b we get
b3 = abc. Similarly a3 = abc and c3 = abc. Hence a3 = b3 = c3
and therefore a = b = c.
b.) By multiplying both the numerator and the denominator of
the second fraction by 3 and using the result of a.) we obtain
x = 3y. Thus ;4x2 + 36y ; 8 = ;9(4y2 ; 4y + 1) + 1 =
;9(2y ; 1)2 + 1, and its maximum value is 1 when 2y ; 1 = 0.
Therefore y = 21 and x = 23 , i. e., x + y = 2.
2
Solution:
a.) The segments EM and FM are medians to the hypotenuses
of 4BCE and 4BCF and therefore EM = FM = 21 BC .
Similarly, for 4AHE and 4AHF we get EK = FK = 12 AH .
Since 6 BAC = 45 deg, we nd that 4AEB and 4CEH are
isosceles. Hence AE = BE and EC = EH , i. e., 4AHE =
4BCE . Therefore EK = EM . Thus MEKF is a rhombus.
Furthermore,
6 MEK = 6 MEB + 6 HEK = 6 CBE + 6 HEK
b.) It follows from a.) that the intersecting point S of the diagonals
of the quadrangle MEKF is the midpoint of both diagonals.
Since 4AEB is isosceles, E lies on the axis of symmetry of the
segment AB and therefore EO?AB , i. e., EOkHF . Similarly
FOkEH . Thus the quadrangle EOFH is a parallelogram.
From the above we conclude that S is the midpoint of OH .
3
c.) a.) implies that in the acute triangle 4ABC with orthocentre
H and 6 BAC = 45 deg it is true that AH = BC . 4AFE
is of the same type and therefore EF = AO = 1. (It follows
from b.) that O is orthocentre of this triangle.)
Problem 8.3. Let 1998 points be chosen on the plane so that out of
any 17 it is possible to choose 11 that lie inside a circle of diameter 1.
Find the smallest number of circles of diameter 2 sucient to cover
all 1998 points.
(We say that a circle covers a certain number of points if all
points lie inside the circle or on its outline.)
4
Now choose a circle of radius 1 centred in one of the points. If
the remaining points lie inside the circle, the required number is 1
and thus no greater than 7. If this is not the case, take another
point outside the rst circle. If all points lie in the two circles, then
the required number is 2 and thus no greater than 7. Continuing in
this way we either obtain no more than 7 circles covering all points
or have 7 circles and a point that lies outside all circles. Consider
this point and the centres of the chosen circles. There exist 2 points
among these 8 such that the distance between them is no greater
than 1. But this is impossible because of the way we chose our
points.
Together the two parts of the proof demonstrate that the required
number is 7.
5
Subtracting the two equalities
m2 ; am + b = 7
p2 ; ap + b = ;7
we nd
14 = m2 ; p2 ; a(m ; p) = (m ; p)(m + p ; a) = (m ; p)(p ; n):
Thus the numbers m ; p and p ; n are either both positive or both
negative and since m > n, they are positive. Moreover they are
integer and therefore are equal to 1 and 14 or to 2 and 7. But since
m n p 2 1 9] it follows that neither m ; p nor p ; n is 14. There
are two cases to consider: m ; p = 2, p ; n = 7 and m ; p = 7,
p ; n = 2, i. e., either m = p + 2, n = p ; 7 or m = p + 7, n = p ; 2.
It is obvious that in both cases at least one of m n p lies outside the
interval 1 9].
Case 2. f (m) = f (n) = ;7, f (p) = 7. As in Case 1 we get
a = m + n, b = mn ; 7 and (m ; p)(p ; n) = ;14. Using similar
arguments we obtain that either m ; p = 2, p ; n = ;7 or m ;
p = ;2, p ; n = 7. (Without loss of generality we suppose that
jm ; pj < jp ; nj.) Therefore the two options are m = p + 2,
n = p + 7 and m = p ; 2, n = p ; 7. Simple calculations show that
all triples (m n p) satisfying the conditions are (3 8 1), (4 9 2),
(6 1 8) and (7 2 9). So the functions are f (x) = x2 ; 11x + 17,
f (x) = x2 ; 13x + 29, f (x) = x2 ; 7x ; 1 and f (x) = x2 ; 9x + 7.
8
Problem 10.1. Find all values of the real parameter a for which
the equation x3 ; 3x2 +(a2 +2)x; a2 = 0 hasthree distinct roots
x1,
x2 and x3 such that sin 23 x1 , sin 23 x2 and sin 23 x3 form
(in some order) an aritmetic progression.
10
and after dividing by cos 2 cos (cos 2 6= 0 (why?), and if cos = 0,
i. e., = 90 , we have one of the two cases already considered)
we obtain
tan 2 (1 + 2 tan ) = 2 + tan
It follows in particular that if is xed, then is uniquely deter-
mined.
Suppose that tan 2 > 2. Thus 2 > 45 and therefore > 90.
If tan < 0, we get > 90 , which is impossible, since + < 180.
If tan > 0, we get 2 + tan > (1 + 2 tan ) 2 i. e., tan < 0, which
is a contradiction.
Therefore tan 2 2 and B lies on CED where 6 GCF = 6 FCD
and tan 6 GCF = 2 (g. 1).
Fix the point B such that < 90. Let T be the midpoint of the
arc CB and let A1 be the intersecting point of TF and the circle.
We shall show that A1
A. We obtain 6 OA1F = 2 ; (90 ; ) =
+ 2 ; 90 and 6 A1FO = 45 ; 2 + ; 45 = ; 2 . It follows from
11
sin ; 2
the Sine Theorem for 4A1FO that = 2, which is
sin
2+ ; 90
i i i i
also a2k ;1a2k ) are uniquely determined by a2k1;1 + a2k1 (there are
i i
two possibilities for a2k1;1 a2k1 ). There are two possibilities for any
of the remaining n ; s pairs (for which a2t;1 + a2t = 0). Therefore
there are
! ! ! ! !
;1 n ;2 n ;k n n n :
2 +22 1 +22 2 + +22
n n n n
k + : : : +2 2 n;1 +2 n
12
sequences with the required property. By adding and subtracting 2n
to and from the above expression we get:
! ! ! ! !!
2: 2 0 +2 1 +2 2 + +2 n ; 1 + nn ;2n =23n ;2n
n n n;1 n n ;2 n n
Solution: a.) By grouping the rst and third radicals and the
second and fourth radicals and rationalising we get that when x > 4,
f (x) = px+p1 x;1 ; px;4+1 px;3 . Therefore xlim
!1
f (x) = 0.
b.) When x > 4,
f 0(x) = 2p1 x ; p 1 ; p 1 + p 1
2 x;1 2 x;3 2 x;4
= p p 1
p p +
2 x;3 x;4( x;3 + x;4)
; 2pxpx;1(1px+px;1) > 0:
13
Therefore f (x) is an increasing function if x 4.
c.) It follows from a.) and b.) that f (x) < 0 when x 4, i. e.,
the equation couldq have a q solution only if a < 0. Let a < 0. The
function g(x) = a x = a 1 ; x3 is decreasing and continuous and
x ;3
xlim
!1
g(x) = a < 0. Since f (x) is an increasing and continuous func-
tion and xlim
!1
f (x) = 0, in accordance with the Bolzano{Weierstra
Theorem the equation f (x) = g(x) has a solution
p (and it is a unique
one) exactly when f (4) g(4), i. e., if 2(1 ; 3) a < 0.
14
Note: The above solution shows that if O is the intersecting
point of the axes of symmetry of AC and BD, then the assertion of
the problem and its opposite are true for a quadrangle that is not
inscribed in a circle. This could be demonstrated by using complex
numbers or trigonometry.
15
Solution: Let m be an integer number such that m = b0 + b1 5 +
+ bn 5n . Denote f (m) = 2b0 + 2b1 10 + + 2bn 10n . It is clear
that ff (m) j m 2 Ng is the set of integer numbers with only even
digits in their decimal representation. Since f (m1) < f (m2) ()
m1 < m2, it follows that am = f (m) for any m. Therefore it suces
to nd all m such that
12(b0 + b1 5 + + bn 5n ) = 2b0 + 2b1 10 + + 2bn 10n
i. e.,
(1) 6(b0 + b1 5 + + bn 5n ) = b0 + b1 10 + + bn 10n :
Since b0+b15+ +bn5n 5n+1 ;1 and b0+b110+ +bn 10n 10n ,
it follows from (1) that 6(5n+1 ; 1) 10n , i. e., 6 5n+1 > 10n . Thus
2n < 30 and therefore n 4. If n = 4, we get from (1) that
b0 + 4b1 + 10b2 = 50b3 + 1250b4 1250, which is imposible. In the
same way it is easy to show that n 3, i. e., n = 3. In this case
b0 +4b1 +10b2 = 50b3. Obviously b3 = 1 and b0 = b1, because b0 ;b1 is
divisible by 5. As a result we have the equation b0 +2b2 = 10, and its
solutions are b0 = 2 b2 = 4 and b0 = 4 b2 = 3. Therefore all integer
numbers m with the required property are m = 2+2 5+4 52 +53 =
237 and m = 4 + 4 5 + 3 52 + 53 = 224.
16
Winter mathematics
competition|Varna, 1999
Problem 8.1. Find all natural numbers x and y such that:
a) x1 ; y1 = 13
b) x1 + y1 = 13 + xy
1.
1
problem has four solutions:
x = 4 y = 9 x = 5 y = 6 x = 6 y = 5 x = 9 y = 4:
2
Let M4 and G4 be the projections of M and G on NN3 . It easily
follows now that
NN3 ; GG3 = GN = GG2 :
NN3 ; MM3 NM MM2
Further, using that NN3 = NN1 and MM3 = MM2, we obtain
GG3 MM2 = GG1 MM2 + GG2 MM2 and therefore GG3 =
GG1 + GG2.
Conversely, let the altitude through C be the sum of the remain-
ing two. Now GG3 = GG1 + GG2. If G? = GG3 \ MN , then it
follows straightforwardly that the sum of the distances from G? to
AC and BC equals to G?G3. It is easy to check now that G? = G.
1 2
4
Solution: a) It follows from the equation that x22 = 3px2 + p and
so 3px1 + x22 ; p = 3p(x1 + x2) = 9p2 > 0. The inequality is strict
because otherwise x1 = x2 = 0.
b) As in a), we obtain 3px1 + x22 + 3p = 3px2 + x21 + 3p =
9p2 + 4p > 0 (the last inequality follows from the conditions of the
problem x1 and x2 to be distinct and real, giving p 6= 0). Therefore
A = 9p2p+ 4p + 9p p+2 4p 2
2 2
5
b) Let L = CM \ k1. It follows from
a) that ML MC = MP 2 = MD MR.
We conclude that L lies on the circum-
cicrle of 4DRC and therefore RL ?
CM . Further HL ? CM , since HC is
a diameter of k1. Hence RH ? CM .
a2 sin x
2
7
" p p#
The solution of this inequality is a 2 ; 1 ; 5 ;1 + 5 . So we
" p# 2 2
obtain a 2 1 ;1 + 5 .
2
3 3
beta
2 sin 3 cos 3 = 1 () cos = 1 :
() coscos sin 3 cos 2 cos 3
8
It follows from Ceva's Theorem for point Q that:
(2)
AM BR CS = 1 () c SBSC = 1 () c BS a sin 3 = 1
MB RC SA b SABS b BS c sin 23
c a sin a sin a
() b c sin 2 = 1 () 2b sin cos
3 3
= 1 () b = 2 cos 3 :
3 3 3
Now (1) and (2) imply cos = b . From the Sine Law we obtain
cos a
sin = b , so cos = sin () sin 2 = sin 2 . If = , then
sin a cos sin
the triangle is isosceles and therefore P Q, implying that 6 ABP =
6 PBQ = 6 QBC = 0 , which is impossible. Thus + = 90 and
therefore 6 ACB = 90 .
b) It follows from 4BCS that cos = a . Combining the
3 BS
above with (2) gives 2b = BS . Note that 4ABC 4BHC , which
BP = BS = 2. Therefore BP = 2CH .
implies CH AC
Problem 10.3. Let A be a set of natural numbers with no zeroes in
their decimal representation. It is known that if a = a1a2 : : :ak 2 A,
then b = b1b2 : : :bk , where bj 1 j k is the remainder of 3aj
modulo 10, belongs to A and the sum of the digits of b equals the
sum of the digits of a.
a) Prove that the sum of the digits of a k-digit number in A equals
5k.
9
b) Find the smallest k-digit number which could be an element
of A.
11
an for any n. This inequality is equivalent to
(?) a(2n + 1) ;1:
q p
(n + 1)2 + 1 + n2 + 1
Since
2n + 1 2 + 1
nlim
!1
q p = lim q n q =1
(n + 1)2 + 1 + n2 + 1 n!1 (1 + n1 )2 + n12 + 1 + n12
it follows from (?) that a ;1.
Conversely, let a ;1. It follows from q 2n + 1
p <
(n + 1)2 + 1 + n2 + 1
2n + 1 = 1 that (?) holds true so the sequence fa g1 is increas-
n n=1
n+1+n
ing. The required values of a are a 2 ;1 +1).
12
We obtain B a B3
B2B3 = tg = r
2 p;a
and Bc B3 = tg 2 = p ;r c , so
B B
2 3
BaB3 = p ; c . Since B B = b ,
a c
BcB3 p ; a 2
it follows that BaB3 = 2 = p ; c
CBc and B B = p ; a = ABa ,
c 3
2 2 2
which gives AB3 = CB3. There-
fore B2O = B2B3 + B3O =
(p ; c)(p ; a) + R cos .
2r
We shall show that the above expression equals R + 2r and by analogy
A2O = C2O = R + 2r , which will complete the proof.
We obtain that (p ; c2)(rp ; a) +R cos = 2r +R () 2(pS; b) ;
S = R(1 ; cos ) () Sb = 2R sin2 () r =
2p 2p(p ; b) 2 p;b
2
4R sin2 () tg = 2 sin 2 () sin = 2 sin cos , which is
b 2 2 sin 2 2
a true equality.
Problem 11.3. Find the smallest natural number n such that the
sum of the squares of its divisors (including 1 and n) equals (n +3)2.
Solution: It is clear that n has at least three divisors and let 1 <
d1 < d2 < < dk < n be those dierent from 1 and n. The
13
conditions of the problem imply
(?) d21 + d22 + + d2k = 6n + 8:
Let n = p, where p is a prime number. It follows now from (?) that
p2 + p4 + + p2;2 = 6p + 8, so pn8 and therefore p = 2. The
above equality implies 1 + p2 + p4 + + p2;4 = 6p;2 + 2, which
is impossible.
Therefore k 6= 1 3 5, because otherwise the number of divisors
of n equals 3, 5, 7, i. e., n = p2 , n = p4 or n = p6, where p is a
prime number. Suppose that k 6. Since didk;i = n, it follows
from (?) that (dk;1 ; d1)2 + (dk;2 ; d2)2 + (dk;3 ; d3)2 8. The
last inequality is impossible, since the numbers dk;1 ; d1 dk;2 ; d2
and dk;3 ; d3 are distinct (if for example dk;1 ; d1 = dk;2 ; d2 = A,
then d1(A + d1) = d2(A + d2), so d1 = d2). We conclude now that
k = 2 or k = 4.
Assume k = 4. Then n has 6 divisors and thus n is of the form
n = p q2, where p and q are distinct prime numbers. (n is not of
the form n = p5). It follows from (?) that
(??) p2 + q2 + q4 + p2 q2 = 6pq2 + 8:
If q 5, then q4 + p2q2 2pq3 10pq2 > 6pq + 8 and therefore
q = 2 or q = 3. Direct verication shows that inequality (??) is
impossible. Thus k = 2 and hence n = pq, where p and q are
distinct prime numbers such that
p2 + q2 = 6pq + 8:
Since qnp2 ; 8, it is easy to see that if p 17 then p = 7, q = 41
and n = 287. Since 172 = 289 > 287, we conclude that the smallest
n with the required property is n = 287.
14
Annual Vojtĕch Jarník
International Mathematical
Competition
1991-2014
The 1st Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 10th April 1991
Category I
Problem 1 Show that there is no arithmetic progression with three elements in the infinite geometric sequence
{2k }∞
k=0 .
Solution Suppose 2k , 2l , 2m form an arithmetic progression, where 0 < k < l < m. Then 2l − 2k = 2m − 2l
and therefore 2l+1 = 2k (2m−k + 1). Because of k < l < m, m ≥ k + 2, 2m−k + 1 is an odd number greater or
equal to 5. This odd number must divide 2l+1 . This is a contradiction.
The 1st Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 10th April 1991
Category I
d0 = (−1)n d = −d.
−d = d0 = det AT = det A = d.
Problem 4 Let f (x) be an even, twice continuously differentiable function and f 00 (0) 6= 0. Prove that there is
an extremum of f (x) at the point x = 0.
Solution
f (h) − f (0) f (h) − f (0)
lim = lim− = f 0 (0) ,
h→0+ h h→0 h
and because f (h) = f (−h) we have
The 2nd Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 28th April 1992
Category I
Problem 2 Prove that there exist two real convex functions f, g such that
for all x ∈ R.
Solution Let f (x) = x2 + sin x and g(x) = x2 , then f (x) − g(x) = sin x and f (x), g(x) are convex function
because
The 2nd Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 28th April 1992
Category I
(n − 1)|(nn − n2 + n − 1) .
Problem 4 Let X be a finite set and f : X → X be map. Prove that f is an injective map if and only if f is
a surjective map.
Solution Let X have n elements.
1. Let f be injective, i.e. ∀xi , xj ∈ X; f (xi ) 6= f (xj ), i 6= j. Then we have ∀xi ∈ X, f (xi ) = yi ∈ X and
because f is injective then yi 6= yj whenever i 6= j. Because f : X → X we get f is surjective.
2. Suppose f is surjective, but it is not injective. Then ∃xi , xj such that f (xi ) = f (xj ). But because
f : X → X we obtain that f is not surjective. This is contradiction.
The 2nd Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 28th April 1992
Category II
Problem 1 Prove that for a continuously differentiable function f (x), where f (a) = f (b) = 0,
Z b
0 1
max |f (x)| ≥ |f (x)| dx .
x∈[a,b] (b − a)2 a
Solution
b Z b
maxx∈[a,b] |f (x)|
Z
1 1
|f (x)| dx ≤ max |f (x)| 1=
(b − a)2 a
2
(b − a) x∈[a,b] a b−a
maxx∈[a,b] |f (x) − f (a)| maxx∈[a,b] |(x − a)f 0 (ξ)|
= =
b−a b−a
≤ max |f 0 (ξ)| .
ξ∈[a,b]
The 2nd Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 28th April 1992
Category II
Solution For x = y = 1 we get f (1) = f 2 (1). Hence we have two possibilities. For f (1) = 0, y = 1 we obtain
that f (x) = 0 and for f (1) = 1, y = 1 we have
(
1 x 6= 0
f (x) = .
a∈R x=0
The 2nd Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 28th April 1992
Category II
Problem 3 Let Zk be the additive group of residual classes modulo k. Decide if Z6 is isomorphic to Z2 × Z3 .
Solution Let Z6 be
⊕ 0 1 2 3 4 5
0 0 1 2 3 4 5
1 1 2 3 4 5 0
2 2 3 4 5 0 1
3 3 4 5 0 1 2
4 4 5 0 1 2 3
5 5 0 1 2 3 4
and Z2 × Z3
(0,0) (0,1) (0,2) (1,0) (1,1) (1,2)
(0,0) (0,0) (0,1) (0,2) (1,0) (1,1) (1,2)
(0,1) (0,1) (0,2) (0,0) (1,1) (1,2) (1,0)
(0,2) (0,2) (0,0) (0,1) (1,2) (1,0) (1,1)
(1,0) (1,0) (1,1) (1,2) (0,0) (0,1) (0,2)
(1,1) (1,1) (1,2) (1,0) (0,1) (0,2) (0,0)
(1,2) (1,2) (1,0) (1,1) (0,2) (0,0) (0,1)
Let f : Z6 → Z2 × Z3 be the function defined by
It is easy to check that this function is an injective function and the condition
f (x ⊕ y) = f (x) f (y)
p
Problem 4 Prove that each rational number q 6= 0 can be written in the form
p b2 bn
= b1 + + ··· + ,
q 2! n!
where n is a sufficiently large positive integer and bk ∈ Z (k > 1) such that 0 ≤ bk < k, bn 6= 0.
Solution Let
p p(q − 1)!
= .
q q!
Further we have
p(q − 1)! = sq q + bq ,
sq = sq−1 (q − 1) + bq−1 ,
..
.
s1 = b1 .
p b2 bq
= b1 + + ··· + .
q 2! q!
The 3rd Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 13th -14th April 1993
Category I
Problem 1 Decide whether there is a nontrivial homomorphism from the additive group of rational numbers
to the additive group of integers.
Solution (by Stijn Cambie) Suppose it is possible to have a non-trivial homomorphism φ. In that case there
q q
is some rational q such that φ(q) = n for some non-zero integer n. By additivity we have φ(2n 2n ) = 2nφ( 2n )).
q 1 1
Hence φ( n ) = 2 and as 2 is not an integer, we have a contradiction. Hence such a homomorphism does not
exist.
The 3rd Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 13th -14th April 1993
Category I
Problem 2 Let A be a real magic matrix, i.e. there exists a nonzero real number S such that the sum of each
row is equal to S, the sum of each column is equal to S, the sum of the elements of the main diagonal is equal
to S and the sum of the elements of the secondary diagonal is equal to S.
where u and v are arbitrary numbers. Further show that A is not singular if and only if u2 6= v 2 .
Solution First we prove that
S S S
3 +u 3 −u+v 3 −v
A = S3 − u − v S
3
S
3 + u + v .
S S S
3 +v 3 +u−v 3 −u
Let
a11 a12 a13
A = a21 a22 a23
a31 a32 a33
be a magic matrix. From this we get
Hence a22 = S3 . From (1) we obtain a11 = S3 + u and a33 = S3 − u. From (2) we get a31 = S3 + v and a13 = S3 − v.
From a11 + a12 + a13 = S we get a12 = S3 − u + v and a11 + a21 + a31 = S we obtain a21 = S3 − u − v. From (3)
and (4) we get a32 = S3 + u − v and a23 = S3 + u + v. We have matrix A in the form
S S S
3 +u 3 −u+v 3 −v
A = S3 − u − v S
3
S
3 + u + v .
S S S
3 +v 3 +u−v 3 −u
The determinant of the matrix A is 3S(v 2 − u2 ), so if v 2 = u2 then the matrix A is singular; otherwise is regular.
Now suppose that A is regular. Then
u S−v2 +u2 v S+v 2 −u2
− (3 v2 −3 u2 ) S − (3S−v−u
v+3 u) S (3 v 2 −3 u2 ) S
A−1 = (3S+v−u 1
− (3S−v+u
v−3 u) S 3S v−3 u) S
2 2 2 2
u S+v −u
− (3v vS−v +u
2 −3 u2 ) S
S+v+u
(3 v+3 u) S (3 v 2 −3 u2 ) S
For n > 1992 the term 37 · 21992−n is not an integer and equation (1) does not hold for any such n. Hence we
have two possibilities.
1. For n = 1992 we get 37 < 465 + 1992.
2. For n < 1992 we get 37 · 21992−n > 465 + n.
Hence we cannot find n ∈ N such that an = bn .
The 3rd Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 13th -14th April 1993
Category II
Problem 1 Decide if
1. Q[x]/(x2 − 1) ' Q[x]/(x2 − 4)
2. Q[x]/(x2 + 1) ' Q[x]/(x2 + 2x + 2),
where Q[x] is the ring of polynomials with rational coefficients and (f (x)) is the prime ideal in Q[x] generated
by f (x).
The 3rd Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 13th -14th April 1993
Category II
Problem 2 Let n ≥ 1 be and mi be natural numbers such that mi < pn−i (0 ≤ i ≤ n − 1), where pk is
kth-prime. Prove that if m0 /pn + . . . + mn−1 /2 is a natural number then m0 = . . . = mn−1 = 0.
The 3rd Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 13th -14th April 1993
Category II
Problem 3 Let P (4) (x) = x6 + x2 + 1. Prove that P (x) does not have ten distinct roots.
Solution The polynomial P (x) has at least ten roots then the polynomial P 0 (x) has at least nine roots, so
P (4) (x) has at least six roots. P (4) (x) = x6 + x2 + 1 and after substitution x2 = y we get the polynomial
H(y) = y 3 + y + 1. Because H 0 (y) = 3y 2 + 1 does not have real roots, we obtain that P (x) does not have ten
real roots.
The 3rd Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 13th -14th April 1993
Category II
Problem 1 Prove that an arbitrary integer can be written as a sum of five cube powers of integers.
Solution For each n we have
6n + 1 = 6n + 13
6n + 2 = 6(n − 1) + 23
6n + 3 = 6(n − 4) + 33
6n + 4 = 6(n + 2) + (−2)3
6n + 5 = 6(n + 1) + (−1)3
6n = (n + 1)3 + (−n)3 + (−n)3 + (n − 1)3 + 03 .
The 4th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 6th April 1994
Category I
x1 + x2 = p ,
1
x1 x2 = − .
2p2
Hence we use the relationship between the arithmetic mean and geometric mean and we get
for all x, y ∈ R.
Solution From (1) we get
f (x) − f (y) 2
( ) ≤ |x − y| .
x−y
Thus
f (x) − f (y)
lim =0
y→x x−y
and we have f 0 (x) = 0. Hence f (x) is constant.
The 4th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 6th April 1994
Category II
x2 + y 2 + z 2 = 3xyz . (1)
Solution Let x ≤ y ≤ z. If (x, y, z) is a solution of the equation (1) then it is easy to check that (y, z, 3yz − x)
and (x, z, 3xz − y) solve the equation too. The triple (1, 1, 1) solve the same equation and hence is easy to find
the triple (x, y, z) greater then 50 which solve the equation (1).
The 4th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 6th April 1994
Category II
f (x) + f (y)
f (xy) = (1)
x+y
x2 x3 xn
1+x+ + + ... +
2 3 n
have?
Solution Let
x2 x3 xn
f (x) = 1 + x + + + ... + .
2 3 n
We have two possibilities.
1. For n odd it is easy to check that f 0 (x) > 0 for all x ∈ (−∞, ∞). The function f (x) is continuous and
limx→−∞ f (x) = −∞ and limx→∞ f (x) = ∞, so we have one root.
2. For n even we obtain that f 0 (x) < 0 for x ∈ (−∞, −1), f 0 (x) = 0 for x = −1 and f 0 (x) > 0 for x ∈ (−1, ∞).
The function f (x) has a minimum at the point x = −1, but f (−1) > 0 so f (x) has no roots.
λx + y + z = a
x + λy + z = b
x + y + λz = c
Problem 2 Let f (x) be an even twice differentiable function such that f 00 (0) 6= 0. Prove that f (x) has a local
extremum at x = 0.
Solution
f (h) − f (0) f (h) − f (0)
lim = lim− = f 0 (0)
h→0+ h h→0 h
and because f (h) = f (−h) we have
Hence f 0 (0) = 0 and because f 00 (0) 6= 0, we obtain that f (x) has an extremum at the point x = 0.
The 5th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 25th – 26th April 1995
Category I
Problem 3 Let f (x) and g(x) be mutually inverse decreasing functions on the interval (0, ∞). Can it hold
that f (x) > g(x) for all x ∈ (0, ∞)?
Solution The answer is yes. For example, the functions f (x) = − 21 x − 1 and g(x) = −2x − 2 are mutually
inverse functions and f (x) > g(x) for all x ∈ (0, ∞).
The 5th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 25th – 26th April 1995
Category II
x2 − y 2 = a (1)
xy = b (2)
are orthogonal.
√ √
Solution An arbitrary point lying on hyperbola (1) has the form H1 = [x, x2 − a] and H1̄ = [x, − x2 − a]
and points lying on hyperbola (2) have the form H2 = [x, xb ]. The tangent vectors to hyperbola (1) are
H10 = (1, √xx2 −a ) and H1̄0 = (1, √x−x
2 −a
) and the tangent vector to hyperbola (2) is H20 = (1, −b
x2 ].
The point H is the point of intersection if and only if
p b b p
H = [x, x2 − a] = [x, ] ⇒ = x2 − a (3)
x x
or p b b p
H = [x, − x2 − a] = [x, ] ⇒ = − x2 − a . (4)
x x
Hyperbolas are orthogonal at the intersection point if and only if the scalar product of the tangent vectors at
this point is equal to 0. From (3) and (4) we have
b
H10 · H2 = 1 − √ =0
x x2 − a
and
b
H1̄0 · H2 = 1 − √ = 0.
x x2 − a
So the systems of hyperbolas are orthogonal.
The 5th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 25th – 26th April 1995
Category II
Problem 2 Let f = f0 + f1 z + f2 z 2 + . . . + f2n z 2n and fk = f2n−k for each k. Prove that f (z) = z n g(z + z −1 ),
where g is a polynomial of degree n.
Solution Let
n
f2n = f0 = an
0
n−1
f2n−1 = f1 = an−1
0
n n−2
f2n−2 = f2 = an + an−2
1 0
n−1 n−3
f2n−3 = f3 = an−1 + an−3
1 0
n n−2 n−4
f2n−4 = f4 = an + an−2 + an
2 1 0
..
.
P
k/2 n−2i
i=0 an−2i k2 −i
for k even
f2n−k = fk = P k−1 n−2i−1
i=0 an−2i−1 k−1 −i for k odd
2
2
2 2
Problem 1 On the ellipse xa2 + zb2 = 1 find the point T = [x0 , z0 ] such that the triangle bounded by the axes
of the ellipse and the tangent at that point has the least area.
Solution The equation of the tangent at point T is
xx0 zz0
+ 2 =1
a2 b
2 2
and its intersection with the axes occurs at the points P = [ xa0 , 0] and Q = [0, zb0 ]. The area S of triangle OP Q
is
b2 a 2 b3 a
S= = p .
2z0 x0 2z0 b2 − z02
We will find the extreme point of the function S(z0 ). Note that
b3 a 1 1
S 0 (z0 ) = 3 − p .
2 (b2 − z02 ) 2 z02 b2 − z02
Hence z0 = √b and x0 = √a . At the points z0 = b and z0 = 0, where the derivative does not exist, the function
2 2
S(z0 ) does not have an extremum, because we do not have a triangle. And because S 00 √b2 > 0 we have a
minimum at that point. If we use the same process to find the additional points, we get the other three points
[− √a2 , √b2 ], [ √a2 , − √b2 ] and [− √a2 , − √b2 ].
The 6th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 3rd April 1996
Category I
Solution No. If
[n/2]
X n
an = ,
2k
k=0
n−1
then we get the sequence an = 2 for n ≥ 1. But if an+2 = 2an+1 − 2an holds, then we have the another
sequence an = 12 (1 + i)n + 12 (1 − i)n for n ≥ 0.
The 6th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 3rd April 1996
Category I
2y 1
2
≥
1+y Cx
Problem 1 Is it possible to cover the plane with the interiors of a finite number of parabolas?
Solution Suppose that there exists a finite system S of parabolas, which cover the plane. The number of
parabolas is n. Take two parabolas from S which intersect. These parabolas have at most four intersection
points. We choose another parabola from S which covers at least one of the intersection points. Hence we have
either a new intersection point or part of a parabola which is not covered. We do this iteration process for all
parabolas from S. At the end of this iteration process we get one intersection point or part of a parabola which
is not covered. So we have a contradiction.
The 6th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 3rd April 1996
Category II
Problem 2 Let {xn }∞ n=0 be the sequence such that x0 = 2, x1 = 1 and xn+2 is the remainder of the number
xn+1 + xn divided by 7. Prove that xn is the remainder of the number
[n/2]
X n
4n 2 5k
2k
k=0
divided by 7.
Solution
The 6th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 3rd April 1996
Category II
1997
Problem 3 Let cif(x) denote the sum of the digits of the number x in the decimal system. Put a1 = 19971996 ,
an+1 = cif(an ) for every n > 0. Find limn→∞ an .
Solution For the function cif(x) we have cif(x) ≡ x (mod 9). For x ≥ 10 we obtain cif(x) < x and for x ≤ 9
we obtain cif(x) = x. Hence there exists N such that 1 ≤ an+1 < an for all n ≤ N − 1 and 1 ≤ an+1 = an for
all n ≥ N . This implies that
lim an = aN ≡ a1 (mod 9) .
n→∞
Problem 1 Let a be an odd positive integer. Prove that if d | (a2 + 2) then d ≡ 1 (mod 8) or d ≡ 3 (mod 8).
Solution If p | (a2 +2) and p is the prime, then −2 is a quadratic residue modulo p. It follows that for the
Legendre symbol −2 p = 1, where ·· is the Legendre symbol. Using the properties of Legendre symbol we
obtain −2 −1 2 p−1 p2 −1
= · = (−1) 2 + 8 .
p p p
p−1 p2 −1
Thus the number 2 + 8 is even and so
On the other hand p is an odd prime, thus p is of the form 8k + 1, 8k + 3, 8k + 5 or 8k + 7. This and (1) yield
that the prime p is of the form 8k + 1 or 8k + 3. The product of an even number of numbers of the form 8k + 3
is a number b fulfilling b ≡ 1 (mod 8), and the product of an odd number of numbers of the form 8k + 3 is c
fulfilling c ≡ 3 (mod 8). The product e of numbers of the form 8k + 1 satisfies e ≡ 1 (mod 8). This yields the
assertion.
The 7th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 9th April 1997
Category I
Problem 2 Let α ∈ (0, 1] be a given real number and let the real sequence {an }∞
n=1 satisfy the inequality
and
amk0 +2 ≤ (1 − α)amk0 +1 + αamk0 < (1 − α)(ε + (1 − α)l + αL) + α(l + ε) == ε + ((1 − α)2 + α)l + (1 − α)αL.
Let us put
1
f (x) = .
(1 − c1 x)(1 − c2 x) . . . (1 − cn x)
Show that f (k) (0) > 0 for all k = 1, 2, . . . .
Solution Put g(x) := log f (x). Then
n n
X X (k − 1)!ckj
g(x) = − log(1 − cj x) and g (k) (x) = .
j=1 j=1
(1 − cj x)k
Now observe that if all the derivatives of g at the origin are positive, then eg has the same property. For this
show by induction that
(eg )(k) = eg · S ,
where S is a finite sum of terms of the form
The 7th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 9th April 1997
Category I
Problem 4-M Find all real numbers a > 0 for which the series
∞
X af (n)
n=1
n2
is convergent, where f (n) denotes the number of zeros in the decimal expansion of n.
Solution For n = 0, 1, . . . let us consider k’s fulfilling the inequality:
Consequently,
n
! 10n+1 −1 n
!
9(9 + a)n 9 X n j n−j X af (k) 9 X n j n−j 9(9 + a)n
2n+2
= 2n+2 a 9 ≤ 2
≤ 2n a 9 = .
10 10 j=0
j n
k 10 j=0
j 102n
k=10
Problem 1 Decide whether it is possible to cover a 3-dimensional Euclidean space with lines which are pairwise
skew (i.e. not coplanar).
Solution There is (for example) the following covering:
1. Let [a, b] 6= [c, d] and pa,b ∩ pc,d = ∅. Then (from the parametric expression)
a − tb = c − rd
b + ta = d + rc
t=r
for some real t and r. From the third equality t = r and from the first and the second we have a−c = t(b−d)
and b − d = −t(a − c). By linear combination (first times (a − c) plus second times (b − d)) we have
(a − c)2 + (b − d)2 = 0.
This implies that it is possible to cover 3-dimensional Euclidean space with lines which are pairwise skew.
The 7th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 9th April 1997
Category II
Problem 2 Let f : C → C be a holomorphic function such that |f (z)| = 1 for all z ∈ C with |z| = 1. Prove
that there are θ ∈ R, k ∈ {0, 1, 2, . . . } such that
f (z)
g(z) := Qn z−zj , for all z with z z̄j 6= 1.
j=1 1−z̄j z
¯ (even in C \
From the choice of zj we certainly have that g is holomorphic in some neighbourhood of ∆
{1/z̄1 , . . . , 1/z̄n }).
Because of (1) and the fact that z−z
j
= 1 for all |z| = 1
1 − z̄j z
we have that
|g(z)| = 1 for all |z| = 1. (2)
Moreover,
g(z) 6= 0 for all z ∈ ∆. (3)
In view of (2) and (3), the minimum and maximum principles applied to the mapping g imply that
|g| ≡ 1 on ∆,
Problem 3 Let u ∈ C 2 (D̄), u = 0 on ∂D, where D is an open unit ball in R3 . Prove that the following
inequality Z Z Z
1
|grad u|2 dV ≤ ε (∆u)2 dV + u2 dV
D D 4ε D
holds for all ε > 0.
Solution Since the inequality must hold for every ε > 0 it will hold q too for those ε for which the function
g(ε) = ε D (∆u) dV + 4ε D u dV takes a minimum, i.e., for ε = 2 IIul (g 0 (ε) = Il − 4ε12 Iu = 0). That
2 1 1
R R 2
q √
minimum is g( 21 IIul ) = Iu Il . Therefore it suffices to show that
Z sZ Z
2
|grad u| dV ≤ (∆u)2 dV u2 dV .
D D D
where n is inner normal. From this by the Cauchy-Schwartz inequality and the conditions of that statement we
obtain sZ
Z Z Z
2
|grad u| dV = − u∆u dV ≤ (∆u)2 dV u2 dV .
D D D D
The 7th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 9th April 1997
Category II
Solution
∞ ∞ 2 ∞
X n2 1 X 7n(7n − 1) + 7n X X 1
= =
n=1
(7n)! 49 n=1 (7n)! n=1
(7n − k)!
k=1
We have
2 X
6 2 X
6 2 X
6 ∞ 2πijk 2 X∞ 6
X 2πij
+ 2πijk
X 2πijk
2πij X 2πijk X e 7 X 1 X 2πij(n+k)
A= ee 7
7 = e 7 ee 7
= e 7 = e 7 .
n=0
n! n=0
n! j=0
k=1 j=0 k=1 j=0 k=1 j=0 k=1
If 7 | N , then
6
X 2πijN
e 7 = 7.
j=0
If 7 - N , then
6
X 2πijN e2πiN − 1
e 7 = 2πijN = 0.
j=0 e 7 −1
It follows that
∞
2 X
X 1
A=7 .
n=1
(7n − k)!
k=1
Thus
∞ 2 6 2 6
X n2 1 X X e 2πij
7 + 2πijk 1 X X cos( 2πj )+i(sin( 2πj )+( 2πjk ))
= 3 e 7 = 3 e 7 7 7 =
n=1
(7n)! 7 j=0
7 j=0
k=1 k=1
2 6
1 X X cos( 2πj ) 2πj 2πjk
= 3 e 7 · cos sin + .
7 j=0
7 7
k=1
The 7th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 9th April 1997
Category II
where it holds that the program P solves problem Div3 iff it outputs the correct answers for inputs from D(P ).
Theorem For any program T RAN SF which transforms programs in some way (i.e. for any given program P
it constructs some program P 0 , denoted by P 0 = T RAN SF (P )) there is a program P0 whose input/output
behaviour is not changed by the transformation (i.e. P0 and T RAN SF (P0 ) yield the same outputs for the same
inputs).
Solution Suppose there is some GEN-TEST-DATA with the property described above. Now construct a
program T RAN SF which works as follows:
When given a program P , it constructs D(P ) by using GEN-TEST-DATA and then constructs P 0 whose
behaviour can be described as follows:
s:= input;
if s ∈ D(P );
then output YES or NO according to whether or not s is
the binary code of a number divisible by 3;
else output YES;
Due to the Recursion Theorem there is a program P0 s.t. its input/output behaviour is the same as the
behaviour of T RAN SF (P0 ), and it can be described as follows:
s:= input;
if s ∈ D(P0 );
then output YES or NO according to whether or not s is
the binary code of a~number divisible by 3;
else output YES;
Problem 1 Let a and d be two positive integers. Prove that there exists a constant K such that every set of
K consecutive elements of the arithmetic progression {a + nd}∞
n=1 contains at least one number which is not
prime.
Solution Let p be a prime number such that p - d. Let for some n all elements an , . . . , an+p are prime numbers.
Clearly for i = 1, . . . , p we have an+i = an +id. Thus an > p, because an+an = an +an d it is not a prime number.
Consider now the system of the reminders an mod p, . . . , an+p (mod p). Because all are primes greater than
p, this system does not contain 0. Thus there exist two numbers r1 < r2 such that ar1 ≡ ar2 (mod p). This
yields an + r2 d ≡ an + r1 d (mod p), and so r2 d ≡ r1 d (mod p). But (p, d) = 1 therefore r2 ≡ r1 (mod p) which
is a contradiction.
The 8th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 1st April 1998
Category I
0
It is easy to verify that f+ (0) = − 2e . Hence
(1 + n1 )n 1 1
f (x) = e(1 − 2x) + o(x) and =1− +o
e 2n n
and n n
1 + n1
1 n
1 1
lim = lim 1 − +o =√
n→∞ e n→∞ 2n n e
The 8th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 1st April 1998
Category I
where rk is an enumeration of rationals. By the Weierstrass theorem, the fn are continuous. To prove that fn
∞
2−k < 2ε . By (1) and the definition of
P
tends pointwise to 0, fix t ∈ R and ε > 0. Choose m ∈ N such that
k=m
gn , we can choose n ∈ N such that for l ≥ n
m−1
X ε
2−k gl (t − rk ) < ,
2
k=0
which proves our claim. Now suppose that there exists an open, nonempty interval I such that fn → 0 uniformly
on I. Choose k0 ∈ N with rk0 ∈ I. Put tn = rk0 + n1 . Then for n sufficiently large,
1
sup|fn (t)| ≥ fn (tn ) ≥ 2−k0 gn (tn − rk0 ) = 2−k0 gn = 2−k0 ;
t∈I n
a contradiction.
The 8th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 1st April 1998
Category I
k−1 k
n n
Obviously the sum of the area of the inscribed trapezoids with vertices
r r
k − 1 k k k2 k − 1 (k − 1)2
,0 , ,0 , , 1− 2 , , 1−
n n n n n n2
π
(from k = 1 to k = n) estimates 4 (the area of the quarter of the unit circle) from below. The areas of such a
trapezoid is q q
(k−1)2 k2
1 1− n2 + 1− n2
,
n 2
thus after summation we obtain the inequality
n−1
r
1 1X k2 π
+ 1− ≤ , (2)
2n n n2 4
k=1
The sum of these areas estimates the area of the quarter of the unit circle from above, therefore we have
n−1
r
π 1 1X k2 1 1
≤ + 1− 2 + √ . (3)
4 2n n n 2n 2n
k=1
Problem 4-I Prove that there exists a program in standard Pascal which prints out its own ascii code. No
disc operations are permitted.
Solution Let g be a computable Gödel numbering over pascal programs. One can assume that every number
is used in this numbering, i.e. every number is g(K) for some program K. Let Kn be the program whose Gödel
number is n and let k(σ) be the following program, σ ∈ N:
Program K ;
const N = ∆σ ;
procedure PrintOut ( P : integer ) ;
var ... end ; { PrintOut }
begin
PrintOut ( N ) ;
end .
where ∆σ is the decimal representation of σ, and PrintOut is the procedure which given a number n prints the
program whose Gödel number is n. We will show that there exists σ satisfying
g(k(σ)). (1)
Indeed, let
Df
Π = hλs : g(k(s))i
and let
Df
δ = hλs : the output of Ks running with s as the inputi.
Both the functions Π and δ are computable, hence the function Π ◦ δ is computable. Let L be a program
Df
computing the latter and let M be the Gödel number of L. Then σ = δ(M ) satisfies (1). Indeed, we have:
So the desired program is k(σ). To see that, let us notice that k(σ) prints Kσ , i.e. it prints Kg(k(σ)) = k(σ).
Hence it prints itself.
The 8th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 1st April 1998
Category II
Problem 1 Let H be a complex Hilbert space. Let T : H → H be a bounded linear operator such that
|(T x, x)| ≤ kxk2 for each x ∈ H. Assume that µ ∈ C, |µ| = 1, is an eigenvalue with the corresponding eigenspace
E = {φ ∈ H : T φ = µφ}. Prove that the orthogonal complement E ⊥ = {x ∈ H : ∀φ ∈ E : (x, φ) = 0} of E is
T -invariant, i.e., T (E ⊥ ) ⊆ E ⊥ .
Solution Suppose x ∈ E ⊥ , kxk = 1. This means that (x, φ) = 0 for each φ ∈ E. Then for any t ∈ C and
φ ∈ E, kφk = 1, we have
|(T φ, x)|2 (T x, x)
t= 6= 0
|(T x, x)|2 (T x, φ)
to obtain 1 + |t|2 ≤ |µ + 0| ≤ 1, a contradiction. In the case (T x, x) = 0 one can take t = −µ/(T x, φ) yielding
a contradiction again. This implies that (T x, φ) = 0 for any φ ∈ E, i.e. T x ∈ E ⊥ .
The 8th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 1st April 1998
Category II
Problem 2 Decide, whether there is a member in the arithmetic progression {an }∞ n=1 with first member
a1 = 1998 and common difference d = 131 which is a palindrome (a palindrome is a number whose decadic
expression is symmetric, e.g. 7, 33, 43334, 2135312 and so on).
Solution We know that 10131−1 ≡ 1 (mod 131) (because 131 is a prime). We shall construct the following
number which shall be a member of our arithmetic progression:
. . 0} 1 |0 .{z
A = 8991 |0 .{z . . 0} 1 |0 .{z
. . 0} 1 . . . . . . . . . 1 |0 .{z
. . 0} 1 |0 .{z
. . 0} 1998
126-times 130-times 130-times 130-times 126-times
(there is a suitable number of ones inside of the number - we shall show precisely later). We can express the
number in a more precise manner:
r
X
A = 8991 · 10126 · 10130·r + 10130·i + 1998
i=1
Now we can find out for which walues of r is the number a member of our arithmetic progression (A is a
member of the sequence if 131 divides A − 1998):
r
X r
X
A − 1998 = 8991 · 10126 · 10130·r + 10130·i ≡ t · 1r + 1i ≡ t + r (mod 131),
i=1 i=1
where t is the remainder on dividing 8991 · 10126 by 131. Now if t + r is a multiple of 131 then A will be a
member of the sequence. But there are infinitely many such values of r which solve the problem.
The 8th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 1st April 1998
Category II
Xn
|(1 − z)P (z)| = | aj (z n−j − z n+1−j )|
j=0
n−1
X
> |an | − ( |aj − aj+1 | · |z n−j |)
j=0
n−1
X
≥ |an | − |aj − aj+1 |
j=0
n−1
X
= an − ( (aj+1 − aj ) + a0 ) = 0.
j=0
then
|(a0 − a1 )z n | + |(a1 − a2 )z n−1 | = |(a0 − a1 )z n + (a1 − a2 )z n−1 |
and
|(a0 − a1 )z| + |(a1 − a2 )| = |(a0 − a1 )z + (a1 − a2 )|.
Consequently, z > 0. Since |z| ≤ 1, z ∈ (0, 1]; a contradiction.
Hence for z 6= 1, P (z) 6= 0. Since P (z) > 0 for z ∈ (0, 1], the result is proved.
The 8th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 1st April 1998
Category II
Problem 4-M A function f : R → R has the property that for every x, y ∈ R there exists a real number t
(depending on x and y) such that 0 < t < 1 and
f tx + (1 − t)y = tf (x) + (1 − t)f (y) . (1)
There also exists a family {Aγ : γ ∈ R} of pairvise disjoint sets such that Aγ is a dense subset of R for every
γ ∈ R \ {0} and A0 = {−1, 0, 1}. Now we can define
(
φγ (x) if x ∈ Aγ , γ ∈ R ,
f (x) = S (3)
0 if x ∈ R \ γ∈R Aγ .
Since Aβ is a dense set, there exists w ∈ Aβ strictly between x and y. Then f (u) = φβ (u) for u ∈ {x, y, w},
hence (1) is satisfied with t = y−u
y−x . On the other hand
Problem 4-I Let us consider the first order language L with just one 3-ary predicate P LU S; hence (well-
formed) formulas of L contain symbols for variables, logical connectives, quantifiers, brackets, and the predicate
symbol P LU S: (∃x1 )(∀x2 ) : (Plus(x2 , x1 , x2 ) ∧ (∀x3 ) : ¬Plus(x1 , x3 , x3 )) is example of such formula). Recall
that a formula is closed iff each variable symbol occurs within the scope of a quantifier.
Show that there is an algorithm which decides whether or not a given closed formula of L is true for the
set N of natural numbers ({0, 1, 2, . . . }) where Plus(x, y, z) is interpreted as x + y = z.
Solution We start by showing that there is a finite automaton recognizing the language described in the Hint,
let us denote it L1 . But this is obvious when we consider the reverse image (L1 )R (the respective automaton
just checks correctness of the binary addition), and recall that the class Reg of languages recognizable by finite
automata is closed under the reverse operation.
The desired algorithm works as follows:
The given formula is transformed into the prenex form
Solution
n
Y 1999 n
Y
1999 k (e n − 1) 1999 k
lim (e n − 1) ln = lim 1999 ln
n→∞ k+n n→∞
n
n k+n
k=1 k=1
n
1X k
= 1999 lim ln
n→∞ n k+n
k=1
n
1 1
X
= 1999 lim ln
n→∞ n 1 + nk
k=1
Z 1
x
= 1999 ln dx = −3998 ln 2
0 x+1
The 9th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 24th March 1999
Category I
Problem 2 Find all natural numbers n ≥ 1 such that the following implication holds
Solution Observe that for odd natural number n we have 11 | 101 + 11 and
for any natural number k. Hence our assertion follows easily by an induction argument. Consequently, the
required implication is false odd natural numbers.
We prove it for all even neutral numbers. If n = 2m, then an = (am )2 and bn = (bm )2 are squares
of natural numbers. Hence am = 11e + f and bm = 11g + h for some natural numbers e, g and f, h ∈
{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}. Therefore standard computation gives
for some natural numbers A, B and C, D ∈ {0, 1, 3, 4, 5, 9}. By simple calculation one can check that 11 | C + D
if and only if C = D = 0. This implies that 11 | an and 11 | bn . This yields the assertion.
The 9th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 24th March 1999
Category I
Problem 3 Suppose that we have countable set A of balls and a unit cube in R3 . Let us also assume that
for every finite set B, which is a subset of A, it is possible to put all the balls from B into the cube in such a
way that they have disjoint interiors. Show that it is possible to arrange all the balls in the cube that all have
pairwise disjoint interiors.
Solution
The 9th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 24th March 1999
Category I
Problem 4 Show that for complex numbers x, y the following implication folows:
x + y, x2 + y 3 , x3 + y 3 , x4 + y 4 are integers, then for all natural n the numbers xn + y n are also integers.
Solution Notice that (x + y)2 − (x2 + y 2 ) = 2xy ∈ Z, moreover −(x4 + y 4 ) + (x2 + y 2 )2 = 2x2 y 2 ∈ Z.
So it follows that xy is of the shape n2 for n an integer. From the second relation mentioned above we infer
2
that n2 is integer. Hence n is even and xy is integer.
So we arrive at x + y, xy ∈ Z. The rest of the solution is by induction. Namely for the n < 5 the validity
is granted. So, assume that for some natural k > 4 the numbers xm + y m are integers for all m < k. Now we
k k k
consider xk + y k . If k is even then xk + y k = (x 2 + y 2 )2 − 2(xy) 2 is integer. Otherwise it k is odd then it is
divisible by a prime p, and
k k k k k
xk + y k = (x p )p + (y p )p = (x p + y p )(xkp(p−1) − xkp(p−2) y p + . . . ) = . . .
Problem 1 Find the minimal k such that every set of k different lines in R3 contains either 3 mutually parallel
lines or 3 mutually intersecting lines or 3 mutually skew lines.
Solution
1. Let us show that k > 8:
Let ABCDA0 B 0 C 0 D0 be a cube and let K, L, M, N be the centres of the edges A0 B 0 , B 0 C 0 , C 0 D0 , D0 A0 ,
respectively. The lines AB, BC, CD, DA, KL, LM, M N and N K form an 8-tuple which does not contain
any triple either of parallel or intersecting or skew lines.
2. Let us show that k ≤ 9:
Lemma If we have 5 different lines among which no 2 are parallel then choosing any other line causes
that we will get 3 intersecting lines or 3 skew lines.
Proof Let us consider the graph G = (V, E) and its colouring f : E → {1, 2, 3} having the following
properties:
V = {the chosen lines}, E = {[p1 , p2 ]; pi ∈ V } and
f (p1 , p2 ) = 1 if p1 is parallel to p2
f (p1 , p2 ) = 2 if p1 is intersecting to p2
f (p1 , p2 ) = 3 if p1 is skew to p2
If we have the 5-vertex complete graph coloured by two colours (2 and 3) then either it already contains
a single-colour triangle (and we have 3 intersecting or 3 skew lines) or our graph is isomorphic to the
following one:
In this case, adding of a 6-th vertex causes that a triangle of colour 2 and 3 will appear.
Parallelness is a transitive property, i.e. if f (p1 , p2 ) = f (p1 , p3 ) = 1 then 3 parallel lines exist. Let us
now consider a 9-vertex graph with the above mentioned colouring. Then it is clear that there is at least
one edge of colour 1 in each 5-tuple. Since the maximal number of edges of colour 1 is four, the proof is
finished.
The 9th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 24th March 1999
Category II
|f (x) − f (y)| ≤ |x − y|
xn + f (xn )
xn+1 = , n = 1, 2, 3, . . . .
2
Show that {xn }∞
n=1 converges to some fixed point of f .
Solution Let
W = {w ∈ [a, b] : xnk → w for some subsequence {nk }} .
It is clear that W is nonempty, compact subset of [a, b]. Let g : W → R+ be defined by
g(w) = |w − f (w)| .
W1 = {w ∈ W : g(w) = e} .
A = {w ∈ W1 : e = w − f (w)}
wA +f (wA )
and B = W1 \ A. Suppose A 6= ∅. Let wA = min A. Put w1 = 2 . It is clear that w1 ∈ W . Observe that
w + f (w)
|xn+1 − w| = |xn+1 − | ≤ |xn − w| .
2
Hence xn → w and w is obviously a fixed point of f .
The 9th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 24th March 1999
Category II
Problem 3 Suppose that we have a countable set A of balls and a unit cube in R3 . Assume that for every finite
subset B of A it is possible to put all balls of B into the cube in such a way that they have disjoint interiors.
Show that it is possible to arrange all the balls in the cube so that all of them have pairwise disjoint interiors.
Solution We number the balls (as the set A is countable) as P1 , P2 , . . . . It is possible for every n to arrange
the balls P1 , . . . , Pn in the cube in such a way that they have disjoint interiors. Let the p1,n , . . . , pn,n be the
centres of the balls P1 , . . . , Pn in the mentioned arrangement. So we have following sequence:
Now as the points p1,n lie in a compact set there is a subsequence p1,n1 , p1,n2 , . . . convergent to some point R1 .
Then we choose the subsequence p2,nj1 , p2,nj2 , . . . converging to a point R2 , and so forth. In this way we get a
sequence of points R1 , R2 , . . . . If we put the ball Pi in a position with the centre in Ri then this arrangement
satisfies the requirements concerning the interiors.
The 9th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 24th March 1999
Category II
Problem 4 Let u1 , u2 , . . . , un ∈ C([0, 1]n ) be nonnegative and continuous functions, and let uj do not depend
on the j-th variable for j = 1, . . . , n. Show that
Z n
Y n−1 n Z
Y
uj ≤ un−1
j .
[0,1]n j=1 j=1 [0,1]n
Solution
!2
Z 1 Z 1 Z 1
u1 (y, z)u2 (z, x)u3 (x, y) dx dy dz =
0 0 0
! !2
Z 1 Z 1 Z 1
u1 (y, z) u2 (z, x)u3 (x, y) dy dz ≤
0 0 0
! Z !2 !
Z 1 Z 1 1 Z 1 Z 1
u21 (y, z) dy dz u2 (z, x)u3 (x, y) dy dz ≤
0 0 0 0 0
! Z ! Z ! !
Z 1 Z 1 1 Z 1 Z 1 1
u21 (y, z) dy dz u22 (z, x) dx u23 (x, y) dx dy dz =
0 0 0 0 0 0
! Z !
Z 1 Z 1 1 Z 1 Z 1 Z 1 Z 1 Z 1
u21 (y, z) dy dz u22 (z, x) dx dy dz u23 (x, y) dx dy dz =
0 0 0 0 0 0 0 0
! Z ! Z !
Z 1 Z 1 1 Z 1 1 Z 1
u21 (y, z) dy dz u22 (z, x) dz dy u23 (x, y) dx dy .
0 0 0 0 0 0
Both inequalities use the Hölder inequality for p = 2. Then we use Fubini’s theorem (which is elementary for
continuous functions on a compact interval). When passing to the last line, we use the fact that an integral
over the interval [0, 1] with integrand not depending on the integration variable can be omitted.
The 10th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 5th April 2000
Category I
Problem 1 Is there a countable set Y and an uncountable family F of its subsets, such that for every two
distinct A, B ∈ F their intersection A ∩ B is finite?
Solution The answer is yes.
Put all natural numbers N in a coordinate system like in the picture.
10 p
6 9 ..
.
3 5 8 12
1 2 4 7 11
x
For each ray p we put in the set Ap all numbers, which p intersects (intersects its square), and we place all such
sets Ap into F. For each ray p we assign the angle αp , which is between p and x. Since all αp form the interval
(0, π2 ), the set of rays p is uncountable. Furthermore, for different rays p1 and p2 , the intersection Ap1 ∩ Ap2 is
finite, because there exists distance dp1 p2 from the origin of the coordinate system where rays are far enough,
so they will not pass through the same square any more. The problem is solved.
Solution Yes. Let Y = N and denote S set of all infinite sequences {an } of 0 and 1. To each sequence {an }
assign the set C{an } ∈ F in the following way:
n k
X o
C{an } = 2k + an · 2n−1 , for k = 1, 2, . . . .
n=1
Suppose we have two distinct sets C{an } , C{bn } for some distinct {an }, {bn } ∈ F.
Suppose now
k1
X k2
X
k1 n−1 k2
2 + an · 2 =2 + bn · 2n−1 for some k1 , k2 ∈ N,
n=1 n=1
k1
X k2
X
where 2k1 + an · 2n−1 ∈ C{an } and 2k2 + bn · 2n−1 ∈ C{bn } .
n=1 n=1
This is like equality of two numbers written in binary system. For the number
k1
X
2k1 + an · 2n−1
n=1
is the first digit regarding to the 2k1 th digit 1, and the next digits are ak1 −1 , ak1 −2 , . . . , a1 . Analogous are the
digits for the other number. So these numbers are equal if and only if k1 = k2 and ai = bi for all i < k1 . So if
the sets C{an } , C{bn } contain infinitely many of the same numbers then ai = bi for all i ∈ N and C{an } = C{bn } ,
a contradiction.
The 10th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 5th April 2000
Category I
where the pi are different primes and the ai are natural numbers. Then
τ (n) = (1 + a1 )(1 + a2 ) . . . (1 + ak ) .
Now we show that for every natural number n, f (n) is also a natural number:
• f (1) = 1 is natural,
τ (n)
• if n > 1 and τ (n) is even, then 2 is natural and so is f (n),
• if n > 1 and τ (n) is odd, then all ai are even so n is a square of a natural number and f (n) is natural too.
Now it is easy to see that prime number p divides the natural number n if and only if it divides f (n). We use
this fact to prove injectivity of f .
Let f (m) = f (n). Then m and n are divisible by the same primes and we can write n = pa1 1 pa2 2 . . . pakk ,
m = pb11 pb22 . . . pbkk . As f (n) = f (m), it is true that ai τ (n) = bi τ (m), i = 1, 2, . . . k. We can assume that
τ (n) ≤ τ (m) (if not we change m and n). Using this we get ai ≥ bi and τ (n) ≥ τ (m). From this follows that
τ (n) = τ (m), ai = bi and n = m.
αk
Solution Let us write n in the form n = pα 1 α2
1 p2 . . . pk , where p1 , p2 , . . . , pk are prime divisors (this represen-
tation is unique), and let 1 = d1 < d2 < · · · < dτ (n) = n be all its divisors. Then
q p τ (n)
d1 d2 . . . dτ (n) = (d1 dτ (n) ) · (d2 dτ (n)−1 ) . . . (dτ (n) d1 ) = nτ (n) = n 2 = f (n),
since dk dτ (n)−k+1 =n. So f (n) is natural, because it can be expressed as multiple of natural numbers d1 , . . . ,
τ (m) τ (n)
dτ (n) . Suppose now f (n) = f (m) for distinct natural numbers m, n. From m 2 = f (m) = f (n) = n 2 it
τ (n)
follows that m = n τ (m) . This implies that m and n have the same set of prime divisors, so m can be writen
τ (n)
as m = pβ1 1 pβ2 2 . . . pβkk .
The obtained relation m = n τ (m) implies αβ11 = αβ22 = · · · = αβkk = c. Without loss of
generality we can suppose that m > n. Then c > 1, and, since all αi and βi are positive integers, m is divisible
by n. So the set of all divisors of n is a subset of the set of all divisors of m, and τ (m) ≥ τ (n). From m > n we
τ (m) τ (n)
can conclude that m 2 > n 2 , a contradiction.
The 10th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 5th April 2000
Category I
imply b = c?
N
1
P
Solution We prove that if N an → b for any (not even necessarily bounded) sequence of reals then
n=1
N
1 X an
→ b.
log N n=1 n
Assume that
N
1 X
an → b .
N n=1
Define
N
X
hN = an .
n=1
aN = N hN − (N − 1)hN −1 = N (hN − hN −1 ) + hN −1 .
Thus
N N N
X an X hn−1 X hn−1
= hn − hn+1 + = hN + .
n=1
n n=1
n n=1
n
Therefore
N N
1 X an hN X hn
= + .
log N n=1 n log N n=1 n
N N
1
P 1 1
P an
Since hN converges the first term goes to 0. As log N n → 1 and hN → b we get that log N n → b.
n=1 n=1
n n
1
P 1
P ai
Solution Denote n ai = bn , n ≥ 1, b0 = 0 and log n i = cn , n ≥ 1. The sequence {bn }n∈∞ converges to
i=1 i=1
b.
Since an = nbn − (n − 1)bn−1 , we obtain
n n
1 X ai 1 X ibi − (i − 1)bi−1
cn = =
log n i=1 i log n i=1 i
n n−1
1 X i−1 1 X bi
= bi − bi−1 = bn − .
log n i=1 i log n i=1
i+1
Since sup{|εj |} → 0 for k → ∞ and our choice of k can be arbitrary large, we got cn → b, and the problem is
j≥k
solved.
The 10th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 5th April 2000
Category I
Problem 4 Let us choose arbitrarily n vertices of a regular 2n-gon and colour them red. Remaining vertices are
coloured blue. We arrange all red-red distances into a nondecreasing sequence and do the same with blue-blue
distances. Prove that the sequences are equal.
Solution Let 1 ≥ m ≥ n be the combinatorial distance (i.e. the Euclidean distance dm between the first and
(m + 1)-st vertices corresponds to m). For a given m denote by k the gcd of 2n and m. The original 2n-gon
can be decomposed into k disjoint 2nk -gons of edge lenght dm . Assume that there are ri red and bi blue vertices
on the i-th 2nk -gon, and denote ci to be the number of oriented red → blue changes between the neighboring
vertices. The number of neighboring blue pairs equals ri −P ci , while the number
P of neighboring blue pairs equals
bi − ci . The total number of neighoring red pairs will be (ri − ci ) = n − ci which is the same as the total
P P i i
number (bi − ci ) = n − ci of neighboring blue pairs.
i i
Solution It is enough to show, that the number of each particular distance is same among both red–red and
blue–blue pairs. Choose one of the used distances, let us say d. Denote drr to be the number of red–red pairs
with distance d and analogously dbb number of blue–blue pairs and drb number of red–blue pairs with distance
d. Clearly 2drr + drb = 2n, since 2× number of red–red pairs plus 1× red–blue pairs gives 2× number of red
vertices. Analogously 2dbb + drb = 2n. By subtracting one relation from the other we get 2dbb = 2drr , which is
the end.
The 10th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 5th April 2000
Category II
Problem 1 Let p be a prime of the form p = 4n − 1 where n is a positive integer. Prove that
p
Y
(k 2 + 1) ≡ 4 (mod p) .
k=1
Qp Qp−1
Solution Consider the polynomials P (x) = k=1 (k 2 − x2 ) and p(x) = k=1 (k − x). Easily we see that
P (x) = p(x) · p(−x) · (p2 − x2 ).
Since p(x) is of degree p − 1 and has roots 1, 2, . . . , p − 1, p(x) is congruent modulo p to the polynomial
q(x) = xp−1 − 1, which has also roots 1, 2, . . . , p − 1. Therefore
k=1
= (i4n−2 − 1) · (−i)4n−2 − 1 = (−2) · (−2) = 4
(mod p) .
The 10th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 5th April 2000
Category II
Problem 2 If we write the sequence AAABABBB along the perimeter of a circle, then every word of the
length 3 consisting of letters A and B (i.e. AAA, AAB, ABA, BAB, ABB, BBB, BBA, BAA) occurs exactly
once on the perimeter. Decide whether it is possible to write a sequence of letters from a k-element alphabet
along the perimeter of a circle in such a way that every word of the length l (i.e. an ordered l-tuple of letters)
occurs exactly once on the perimeter.
Solution Let us denote the alphabet by P . Let us form the directed graph G = (V, E), where V =
{[a1 , . . . , al−1 ]; ai ∈ P } and E = { [a1 , . . . , al−1 ], [b1 , . . . , bl−1 ] ; a2 = b1 , a3 = b2 , . . . , al−1 = bl−2 }.
First, considering any two vertices [a1 , . . . , al−1 ] and [b1 , . . . , bl−1 ], we find that there must be at least one
oriented path between them:
(some vertices and arcs can repeat in the sequence). This implies that the graph is strongly connected.
Second, we realize that every vertex [a1 , . . . , al−1 ] has exactly k outgoing and k ingoing arcs: the outgoing arcs
are directed to the vertices [a2 , . . . , al−1 , o], where o goes through the the whole alphabet P , and the ingoing
come from vertices [i, a1 , . . . , al−2 ], where i also goes through the whole alphabet. That means that the inner
and outer degrees of every vertex are identical and the graph is an Euler (directed) graph. As a consequence,
there exists an Eulerian cycle in it, i.e. a cycle containing all arcs going through every arc exactly once. We
can now form the searched for cyclic sequence as follows:
Let us start with an arbitrary vertex and write down its sequence a1 , . . . , al−1 .
Let us follow the Eulerian cycle and add the last letter of every vertex to the sequence until we reach the starting
vertex again. Now we delete the last l − 1 letters (which are necessarily the same as the starting ones).
Since there is a bijection between the set of all l-letter words and the set of arcs V :
[a1 , . . . , al ] ←→ [a1 , . . . , al−1 ], [a2 , . . . , al ] ,
Problem 3 Let m, n be positive integers and let x ∈ [0, 1]. Prove that
n
(1 − xn )m + 1 − (1 − x)m ≥ 1 .
S
Problem 4 Let B be a family of open balls in Rn and c < λ B where λ is the n-dimensional Lebesgue
measure. Show that there exists a finite family of pairwise disjoint balls {Ui }ki=1 ⊆ B such that
k
X c
λ(Uj ) > .
j=1
3n
Solution Suppose first sup λ(U ) < ∞ for U ∈ B. In other case we just take a large enough ball U0 for which
U ∈B
c
λ(U0 ) > 3n .
S
B
S λ
Take ε > 0. We first construct the infinite sequence {Uk }∞
k=1 of disjoint balls for which λ Uk ≥ (3+ε)n .
The procedure is the following. In the k-th step count sup λ(U ) through all the rest of the balls in B, then
3 n
choose Uk such that λ(Uk ) ≥ sup λ(U ) · 3+ε and remove from B all balls U which intersect ball Uk . Continue
to infinity by the (k + 1)-th step. It is clear, that the balls in the constructed sequence {Un } are disjoint.
Further, if we increase each ball Uk from {Uk }∞k=1 (3 + ε)-times, than they will contain all of the set B. This
holds, because ball Ui increased (3 + ε)-times covers all balls intersecting Ui removed from B in i-th step. It
S λ S B S
follows that λ Uk ≥ (3+ε)n . If λ B < ∞, then there is k0 ∈ N for which
k0 S
λ B
[
λ Uk ≥ .
(3 + 2ε)n
k=1
S
λ B
> 3cn (this is always possible) we solve the problem. In case λ
S
By choosing ε so that (3+2ε)n B = ∞ we just
choose k0 big enough to exceed the finite constant c in the desired inequlity.
The 11th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 4th April 2001
Category I
is divisible by p2 .
1 p 2p
is congruent to (−1)k−1 k1 modulo p. Hence it is sufficient to show
Solution The number p k for 0 < k < 3
that the element X X 1
(1) = (−1)k−1
k
0<k<2p/3
1 1
P P
is 0 in Fp . But 1 = 2 . In fact the terms of the shape 2k+1 are evidently the same. As to a term 2k
P p 1 p
in the 2 for 2k < 3 it appears with the coefficient −1, what is O.K. The term 2k for 2k < 3 appears in
P P P
2 twice with the sign “−” and once with the sign “+”. So 1 = 2 .
The 11th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 4th April 2001
Category I
Hence
n n
Y ln k Y 1 1
< √ =√
k−1 k n!
k=2 k=2
and √
n
Y (n − 1)! n!
ln k < √ = .
n! n
k=2
√ k−1
Solution
√ We prove that ln k < k· k for k ∈ N and ≥ 2. Let us consider the functions f (x) = ln x and
g(x) = x · x−1
x . It is
1
f (1) = g(1) = 0 and f 0 (x) = ,
x
1 x−1 √ 1
g 0 (x) = √ + x 2,
2 x x x
1 √ 1 √ 2
g 0 (x) − f 0 (x) = √ x−1+2−2 x = √ x−1 ,
2 x 3 2 x 3
which is = 0 for x√= 1 and > 0 for x > 1. It proves that g(x) > f (x) for x > 1, as we needed. Now by
multiplying ln k < k · k−1
k over k = 2, 3, . . . , n we get
n n √ n−1 √
Y
Y 1 2 1
ln k < k · · · ... · = n! · ,
2 3 n n
k=2 k=2
Problem 3 Let A, B, C be sets in Rn . Suppose that A is nonempty and bounded, that C is closed and convex,
and that A + B ⊆ A + C. Show the inclusion B ⊆ C.
We remind you that
E + F = {e + f : e ∈ E, f ∈ F }
and D ⊆ Rn is convex when
∀x, y ∈ D ∀t ∈ [0, 1] : tx + (1 − t)y ∈ D .
Solution We will use the following lemma.
Lemma Let a1 , . . . , am be points of a convex set D ⊆ Rn . Let λ1 , . . . , λm ≥ 0 with λ1 + · · · + λm = 1. Then
λ1 a1 + · · · + λm am ∈ D.
Proof We argue by induction on m. When m = 1 the assertion is trivial. Suppose that the assertion holds
when m is some positive integer k. Let
x = λ1 a1 + · · · + λk+1 ak+1 ,
where a1 , . . . , ak+1 ∈ D and λ1 , . . . , λk+1 ≥ 0 with λ1 + · · · + λk+1 = 1. At least one λi must be less than 1, say
λk+1 < 1. Write
λ1 λk
y= a1 + · · · + ak ,
λ λ
where
λ = λ1 + · · · + λk = 1 − λk+1 > 0 .
By the induction hypothesis, y ∈ D. Since D is convex and contains both y and ak+1 the equation x =
λy + λk+1 ak+1 shows that x ∈ D. This completes the proof by induction.
a1 + b = a2 + c2 , . . . , ai−1 + b = ai + ci .
a0 + ib = a1 + c1 + · · · + ci .
for all a ∈ A and c ∈ C. But it is contradiction with f (A + B) ⊆ f (A + C) (which follows from A + B ⊆ A + C).
The 11th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 4th April 2001
Category I
Problem 4 Let A be a set of positive integers greater than 0 such that for any x, y ∈ A, x > y,
xy
x−y ≥ .
25
Find the maximal possible number of elements of the set A.
Solution For x > y ≥ 25 we have
xy
x−y <x≤ .
25
Hence A contains at most one element greater than 24. Let A = {x1 , x2 , . . . , xn } where x1 < x2 < · · · < xn ,
xn−1 < 25. For the differences dj = xj+1 − xj , 1 ≤ j ≤ n − 1, we get
x5 ≥ 5, d5 ≥ g(5) > 1,
x6 ≥ 7, d6 ≥ g(7) > 2,
x7 ≥ 10, d7 ≥ g(10) > 6,
x8 ≥ 17, d8 ≥ g(17) > 36,
x9 ≥ 54.
So, we get n ≤ 9. Simultaneously, we can see that the set with 9 elements
1 ≤ i < j ≤ n and denote them by y1 , y2 , . . . , yN (in arbitrary order). For which n are the numbers x1 , x2 , . . . , xn
uniquely determined by the numbers y1 , y2 , . . . , yN ?
Solution The answer is n 6= 2p .
Denote the kth symmetric polynomial in x1 , x2 , . . . , xn by σk . Further denote
n
X N
X
sk = xki , tk = yik .
i=1 i=1
The numbers x1 , x2 , . . . , xn are uniquely determined by the numbers σ1 , σ2 , . . . , σn and these are uniquely
determined by the numbers s1 , s2 , . . . , sn since we have the following identity:
Problem 2 Let f : [0, 1] → R be a continuous function of function {fn }, fn : [0, 1] → R. Define the sequence
in the following way: Z x
fn+1 (x) = ft , n = 0, 1, 2, . . . .
0
a contradiction.
Now, let us suppose lim sup xf (x) = c > 0. It implies ∀y∃x > y : xf (x) ≥ 2c . We have also constructed a
x→∞
sequence {xn }∞
n=1 , satisfying:
c c
xn → ∞, and xn f (xn ) ≥ > 0, which is the same as f (xn ) ≥ .
2 2xn
Since f is decreasing: f (x) > f (xn ), for x ∈ (xn−1 , xn ] and
Z ∞ ∞
X
∞> f (x) > (xn − xn−1 )f (xn ) ≥
0 n=1
∞ ∞
c X xn − xn−1 c X xn−1
≥ = 1− .
2 n=1 xn 2 xn
n=D1
∞
xn−1
So we have a sequence {xn }∞
P
n=1 such that xn → ∞ and 1− xn < ∞.
n=1
xn−1
To make a proof clearer, we will do a substitution bn = 1 − xn . Sequence {bn }∞
n=1 satisfies:
∞ ∞
X Y x0
bn < ∞ and (1 − bn ) = lim = 0.
n=1 n=1
n→∞ xn
∞
Second condition for a sequence {bn }∞
P
n=1 is the same as − ln(1 − bn ) = ∞.
n=1
From the ratio criterion for convergence of the infinity sums, if
∞
X ∞
X
bn < ∞ and − ln(1 − bn ) = ∞,
n=1 n=1
− ln(1 − bn )
lim =∞
n→∞ bn
∞
P
should hold. But above limit is equal to 1, as can be easy checked by many ways. (From bn < ∞, we get
n=1
bn → 0, and
1
− ln(1 − bn ) − ln(1 − bn ) L’H 1−bn
lim = lim = lim = 1 .)
n→∞ bn bn →0 bn bn →0 1
This yields to contradiction.
As a conclusion we have lim inf xf (x) = 0 and lim sup xf (x) = 0.
x→∞ x→∞
Solution For contradiction assume that lim xf (x) = 0 is not true. Then it must exist increasing sequence
x→∞
{xi }∞
i=1 , xi → ∞, such that exists ε > 0 that xi f (xi ) > ε for all xi . Moreover, we can choose subsequence
{yi } ⊂ {xi }, such that yi+1 ≥ 2yi . Then following inequalities hold (inequality (∗) holds, because f is decreasing
function):
Z ∞ (∗) X∞ ∞ ∞
1X 1X
f (x) ≥ (yn − yn−1 )f (yn ) ≥ yn f (yn ) ≥ ε = ∞.
0 n=2
2 n=2 2 n=2
R∞
This contradicts the assumption that f (x) < ∞.
0
The 11th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 4th April 2001
Category II
Problem 4 Let R be an associative non commutative ring and let n > 2 be a fixed natural number. Assume
that xn = x, ∀x ∈ R. Prove that xy n−1 = y n−1 x holds ∀x, y ∈ R.
Solution Let a = xn−1 , then
and similarly
(ex − exe)2 = 0
so ex − exe = 0 and xe − exe = 0, so for every x ∈ R and every e ∈ R, such that e2 = e we have:
ex = xe
xy n−1 = y n−1 x
for every x, y ∈ R.
Solution Since R is an integral domain and
it is either xy n−1 − y n−1 x = 0 or y = 0, but that also implies xy n−1 = y n−1 x. The end.
The 12th Annual Vojtěch Jarnı́k
International Mathematical Competition
Ostrava, 10th April 2002
Category I
1 1 1
+ + ··· + = 1.
1 + x1 1 + x2 1 + xn
Prove that
√ √ √ 1 1 1
x1 + x2 + · · · + xn ≥ (n − 1) √ + √ + · · · + √ .
x1 x2 xn
[10 points]
[10 points]
Let ϕ: E → R be defined by
Z 1
u2 (x) − u(x) dx .
ϕ(u) =
0
Prove that ϕ has a maximum value and find it. [10 points]
[10 points]
Problem j12-I-1/j12-I-4. Differentiable functions f1 , . . . , fn : R → R are linearly indepen-
dent. Prove that there exist at least n − 1 linearly independent functions among f10 , . . . , fn0 .
(Eötvös Loránd University, Budapest)
Solution. Select a maximal independent set from the derivatives. Without loss of
generality, it can be assumed that this set is f10 , . . . , fm
0
, where m ≤ n. If m ≤ n − 2, then
fn−1 and fn can be expressed as a linear combination of f10 , . . . , fm
0 0 0
; hence, there exist real
numbers a1 , . . . , am , b1 , . . . , bm such that
m m
!0
X X
ai fi0 − fn−1
0
= ai fi − fn−1 =0
i=1 i=1
and
m m
!0
X X
bi fi0 − fn0 = bi fi − fn = 0.
i=1 i=1
Pm Pm
This implies that functions i=1 ai fi − fn−1 and i=1 bi fi − fn are constant. Eliminating
these constants, a linear combination of f1 , . . . , fn is found which vanishes.
j12-I-1/j12-I-4-1
2p
Problem j12-I-2/j12-I-9. Let p > 3 be a prime number and n = 2 3−1 . Show that
n divides 2n − 2. (Jagiellonian University in Kraków)
2p
Solution. n = 2 3−1 = 4p−1 +4p−2 +· · ·+1. Hence, in the binary system, n = 1010 . . . 101
(number of 1’s is p). Therefore, in the binary system,
Now if we prove that 2p divides n − 1, then by (∗), (∗∗) and by the rules of multiplication
in the binary system, we will get that 3n divides 2n − 2 — just what we need. But now
observe:
2p | (n − 1) ⇐⇒ (n is odd†) ⇐⇒ p | (n − 1) ⇐⇒
22p − 1 22p − 4
⇐⇒ p − 1 ⇐⇒ p ⇐⇒
3 3
⇐⇒ (p > 3 and prime) ⇐⇒ p | 22p − 4 ⇐⇒
22p − 4
⇐⇒ (p > 3 and prime) ⇐⇒ p ⇐⇒
4
⇐⇒ p | 22p−2 − 1 .
But now from Fermat’s small theorem (p prime and p does not divide a, then ap−1 − 1 ≡ 0
(mod p)), we have 2p−1 ≡ 1 (mod p), hence (2p−1 )2 ≡ 12 (mod p) and finally 22p−2 ≡ 1
(mod p).
† The sentences in parentheses serve only as justifications of the stated equivalences here.
Thus, e.g., 2p | (n − 1) ⇔ (n is odd) ⇔ p | (n − 1) should be read as “2p divides (n − 1) if
and only if p divides (n − 1) because n is odd” and so on.
j12-I-2/j12-I-9-1
Problem j12-I-3/j12-II-59. Positive numbers x1 , . . . , xn satisfy
1 1 1
+ + ··· + = 1. (1)
1 + x1 1 + x2 1 + xn
Prove that
√ √ √ 1 1 1
x1 + x2 + · · · + xn ≥ (n − 1) √ + √ + · · · + √ .
x1 x2 xn
(University of Ostrava)
Solution. It is sufficient to prove that
√ 1 √ 1 √ 1 1 1 1
x1 + √ + x2 + √ + ··· + xn + √ ≥ n √ + √ + ··· + √
x1 x2 xn x1 x2 xn
f (x) = f ( x1 ) (3)
1 1 1 1 + x1 1 + x2 1 + xn
= = ··· = or √ = √ = ··· = √ ,
1 + x1 1 + x2 1 + xn x1 x2 xn
j12-I-3/j12-II-59-1
Problem j12-I-4/j12-I-5. The numbers 1, 2, . . . , n are assigned to the vertices of a regular
n-gon in an arbitrary order. For each edge compute the product of the two numbers at the
endpoints and sum up these products. What is the smallest possible value of this sum?
(Babeş-Bolyai University, Cluj-Napoca)
Solution. Due to the (a−b)2 = a2 −2ab+b2 identity, it is sufficient to find the maximum
of the sum
n
X 2
σ(k + 1) − σ(k)
k=1
where σ(k) denotes the number from the k th vertex and σ(n + 1) = σ(1). We will give an
inductive algorithm to find an optimal arrangement and so we can find the maximal sum
(or the minimal for the initial problem). Suppose we have an arbitrary arrangement with n
numbers and construct an arrangement with n + 2 numbers in the following way:
• Find the maximum
of σ(k + 1) − σ(k). For such a k, denote x = min σ(k + 1), σ(k)
and y = max σ(k + 1), σ(k) .
• Increase each number by 1.
• Insert the numbers 1 and n + 2 as in figure 1.
If we denote by sn+2 and sn the corresponding distance sums, we have:
2
sn+2 = sn − (x − y)2 + (n + 1) − x + (n + 1)2 + y 2
= sn + 2(n + 1)2 + 2xy − 2x − 2nx.
j12-I-4/j12-I-5-1
j12-I-4/j12-I-5-2
Problem j12-II-1/j12-II-56. Find all complex solutions of the system
(a + ic)3 + (ia + b)3 + (−b + ic)3 = −6 ,
(a + ic)2 + (ia + b)2 + (−b + ic)2 = 6 ,
(1 + i)a + 2ic = 0 .
Its determinant is
1 0 i
|A| = i 1 0 = i + 1 6= 0,
0 −1 i
so for each (x, y, z) there is exactly one solution. It is easy to get the inverse matrix:
1 + i −1 − i −1 − i
1
A−1 = 1 − i 1 + i −1 + i .
2
−1 − i 1−i 1−i
Multiplying this matrix by the vectors (x, y, z) gives three solutions (a, b, c):
(1 + i, 2 − i, −1), (1 + i, −1 − i, −1), (−2 − 2i, −1 + 2i, 2).
One can easily verify that all three satisfy the system.
j12-II-1/j12-II-56-1
Problem j12-II-2/j12-II-52. A ring R (not necessarily commutative) contains at least
one zero divisor and the number of zero divisors is finite. Prove that R is finite.
(Eötvös Loránd University, Budapest)
Solution. Let m be the number of zero divisors and u, v ∈ R two non-zero elements such
that uv = 0.
We generate more zero divisors in the following way. For an arbitrary x ∈ R, the element
xu is either 0 or also a zero divisor, since (xu)v = x(uv) = 0.†
If xu = yu for some different elements x, y ∈ R, then (x − y)u = 0, and x − y is a zero
divisor. This implies that 0 or an arbitrary zero divisor can be obtained at most m + 1 times
in the form xu.‡
Thus, each of 0 and the m zero divisors is obtained at most m times and the number of
elements of R cannot exceed (m + 1)2 .
j12-II-2/j12-II-52-1
Problem j12-II-3/j12-II-53. Let E be the set of all continuous functions u: [0, 1] → R
satisfying Z t
u2 (t) ≤ 1 + 4
su(s) ds, ∀t ∈ [0, 1].
0
Let ϕ: E → R be defined by
Z 1
u2 (x) − u(x) dx.
ϕ(u) =
0
Prove that ϕ has a maximum value and find it. (Babeş-Bolyai University, Cluj-Napoca)
Solution. Let Z t
v(t) = 1 + 4 su(s) ds, ∀t ∈ [0, 1].
0
We have s
Z t p
v 0 (t) = 4tu(t) ≤ 4t
1+4 su(s) ds ≤ 4t v(t)
0
so
t t
v 0 (s)
p Z Z
v(t) − 1 = p ds ≤ 2s ds = t2
0 2 v(s) 0
therefore p
u(t) ≤ v(t) ≤ t2 + 1.
If we consider ϕ, we have
2
u (t) − u(t) = u(t)u(t) − 1 ≤ (t2 + 1)(t2 + 2),
Z 1 Z 1
2 16
(t2 + 1)(t2 + 2) dt =
ϕ(u) ≤ u (t) − u(t) dt ≤ .
0 0 5
u(t) = t2 + 1 u(t) − 1 = t2 + 2.
and
j12-II-3/j12-II-53-1
Problem j12-II-4/j12-II-62. Prove that
!
1 √ π2
Z
2 n
lim n 1+ xn dx − 1 = .
n→∞ 0 12
R1 √ P∞ α k
Let an = n2 0 n 1 + xn dx − 1 . It αis kwidely known that (1 + t)α = k=0
k t for
any t ∈ [0, 1] and α ∈ (0, 1). Moreover, k t = (−1)k−1 αk tk and αk tk ≥ αk tk+1 for
2p 2p+1
X
X α k α α k
t ≤ (1 + t) ≤ t .
k k
k=0 k=0
1
Let us put t = xn and α = n. Integrating on [0, 1], we obtain
2p 1 2p+1
√
Z X
X 1/n 1 n 1/n 1
≤ 1+ xn dx ≤ .
k nk + 1 0 k nk + 1
k=0 k=0
Hence,
2p
X 1/n 1 1/n 1
0 ≤ an − n2 ≤ n2 .
k nk + 1 2p + 1 n(2p + 1) + 1
k=1
2p
!
X (−1)k 1
0 ≤ lim sup an − ≤
n→∞ k2 (2p + 1)2
k=1
and
2p
!
X (−1)k 1
0 ≤ lim inf an − ≤ .
n→∞ k2 (2p + 1)2
k=1
j12-II-4/j12-II-62-1
The 13th Annual Vojtěch Jarnı́k
International Mathematical Competition
Ostrava, 2nd April 2003
Category I
akl > 0 , Rk ≥ 0 , Cl ≥ 0 ,
or
akl < 0 , Rk ≤ 0 , Cl ≤ 0 .
[10 points]
[10 points]
[10 points]
1
Rx Z 1
f (t) dt
Z
f (t)
R0x dx ≤ 2 dt .
0 0
g(t) dt 0 g(t)
[10 points]
Problem j13-I-1/j13-I-15. Let d(k) be the number ofall natural divisors of a number
∞
k ∈ N. Prove that for any n0 ∈ N the sequence d(n2 + 1) n=n is not strictly monotone.
0
(Vilnius University)
Solution. Note that d(n2 + 1) < n for all even n. Indeed, the number n2 + 1 is not
square and so it is possible to split the set of all its divisors into pairs { d, (n2 + 1)/d } where
d < n and d is odd. The number of divisors in all such pairs does not exceed n.
Let us assume that starting from some n0 ∈ N, the sequence is strictly monotone. For
d(n2 + 1) is always even, we get
d (n + 1)2 + 1 ≥ d n2 + 1 + 2
or, in general,
d (n + k)2 + 1 ≥ d n2 + 1 + 2k
d (N + s)2 + 1 ≥ d N 2 + 1 + 2s ≥ N + s,
which is a contradiction with d (N + s)2 + 1 < N + s.
j13-I-1/j13-I-15-1
Problem j13-I-2/j13-I-19. Let A = [ai,j ] be anPm × n real matrix with at least one
n
non-zero element. For each i ∈ {1, . . . , m} let Ri := j=1 ai,j (the sum of the i-th row of A)
Pm
and for each j ∈ {1, . . . , n} let Cj := i=1 ai,j (the sum of the j-th column of A). Prove
that there exist indices k ∈ {1, . . . , m} and l ∈ {1, . . . , n} such that
ak,l > 0 , Rk ≥ 0 , Cl ≥ 0 ,
or
ak,l < 0 , Rk ≤ 0 , Cl ≤ 0 .
(University of Zagreb)
Solution. Consider the following sets of indices (some of them may be empty):
I + :=
i ∈ {1, . . . , m} | Ri ≥ 0 ,
I−
:= i ∈ {1, . . . , m} | Ri < 0 ,
J+
:= j ∈ {1, . . . , n} | Cj > 0 ,
J−
:= j ∈ {1, . . . , n} | Cj ≤ 0 .
Suppose that the statement of the problem does not hold. Then (but not equivalently) we
+ + − −
have ai,j ≤ 0 for every
P (i, j) ∈ I × J and we have ai,j ≥ 0 for every (i, j) ∈ I × J . Let
us write the sum (i,j)∈I − ×J + ai,j in two different ways:
X n
X X X X X
ai,j = ai,j − ai,j = Ri − ai,j ≤ 0 ,
(i,j)∈I − ×J + i∈I − j=1 j∈J − i∈I − (i,j)∈I − ×J −
X m
X X X X X
ai,j = ai,j − ai,j = Cj − ai,j ≥ 0 .
(i,j)∈I − ×J + j∈J + i=1 i∈I + j∈J + (i,j)∈I + ×J +
P
Therefore, ai,j = 0 and we have only equalities in the two formulae above.
(i,j)∈I − ×J +P
This is only possible if i∈I − Ri = 0 and j∈J + Cj = 0, so I − = ∅ and J + = ∅,† which
P
means Ri ≥ 0 for all i = 1, . . . , m and Cj ≤ 0 for all j = 1, . . . , n. Moreover, from
m
X X n
m X n X
X m n
X
0≤ Ri = ai,j = ai,j = Cj ≤ 0,
i=1 i=1 j=1 j=1 i=1 j=1
similarly to show J + = ∅.
j13-I-2/j13-I-19-1
Problem j13-I-3/j13-I-9. Find the limit
s r q √
lim 1+2 1+3 · · · + (n − 1) 1 + n .
n→∞
We have
u2m,n = 1 + mum+1,n ,
u2m,n − (m + 1)2 = m um+1,n − (m + 2) .
We deduce that
2 3 n−1
|u2,n − 3| ≤ · · ··· · · |un−1,n − n|,
4 5 n+1
√
q
6 1
|u2,n − 3| ≤ 1 + (n − 1) 1 + n − n = O .
n(n + 1) n
So we get
lim u2,n = 3.
n→∞
j13-I-3/j13-I-9-1
Problem j13-I-4/j13-I-12. Let A and B be complex hermitian 2 × 2 matrices with pairs
of eigenvalues (α1 , α2 ) and (β1 , β2 ), respectively. Determine all possible pairs (γ1 , γ2 ) of
eigenvalues of the matrix C = A + B. (A matrix A = [ai,j ] is hermitian if and only if
ai,j = aj,i for all i, j.) (Charles University in Prague)
Solution. Recall that all eigenvalues of a hermitian matrix are real numbers and that
there exists an orthonormal basis consisting of eigenvectors of the matrix. As we can add a
suffitiently large multiple of the identity matrix to both matrices A and B, we can suppose
wlog that α1 , α2 , β1 , β2 > 0 and also γ1 , γ2 > 0.
Let us also wlog suppose α1 ≥ α2 , β1 ≥ β2 , γ1 ≥ γ2 and α1 − α2 ≥ β1 − β2 . By easy
arguments, we can see
γ1 + γ2 = Tr C = Tr A + Tr B = α1 + α2 + β1 + β2 .
γ1 ≥ α1 + β2 , γ2 ≤ β1 + α2
(in fact, it suffices to prove only the first one because the second one follows if we use the
equality given above).
From these inequalities, we can see that γ1 ∈ [α1 + β2 , α1 + β1 ]. (The value of γ2 has
to be “complementary” to obtain the right value of the sum γ1 + γ2 . It also worths noting
that even if γ1 = α1 + β2 , then still γ1 ≥ γ2 = β1 + α2 . This follows from the assumption
α1 − α2 ≥ β1 − β2 .) We will show that γ1 can assume any value from the given interval
[α1 + β2 , α1 + β1 ]. Consequently, the set of all possible pairs (γ1 , γ2 ) of eigenvalues of the
matrix C = A + B is
(γ1 , γ2 ) : α1 + β2 ≤ γ1 ≤ α1 + β1 , γ1 + γ2 = α1 + α2 + β1 + β2 .
The matrix A obviously has eigenvalues (α1 , α2 ). The matrix B(t) = P −1 (t)BP (t) obviously
has eigenvalues (β1 , β2 ). If we note that P −1 (t) = P T (t) and define the matrix C(t) =
A + B(t), we have
α1 + β1 0 α1 + β2 0
C(0) = A + B = , C( π2 ) = .
0 α2 + β2 0 α2 + β1
The matrix C(0) has the eigenvalue γ1 (0) = α1 + β1 . (Note that γ1 (0) ≥ γ2 (0) = α2 + β2 .)
The matrix C(π/2) has the eigenvalue γ1 (π/2) = α1 + β2 . (Note that γ1 (π/2) ≥ γ2 (π/2) =
α2 + β1 .) As both eigenvalues (γ1 , γ2 ) of a matrix C depend continuously on the coefficients
of the matrix, we deduce that γ1 (t) is a continuous function. Consequently, it assumes every
value from the interval [α1 + β2 , α1 + β1 ], which we wanted to demonstrate.
Now it only remains to prove the inequality γ1 ≥ α1 + β2 for any two complex hermitian
matrices A and B. Let us recall that we still wlog suppose α1 ≥ α2 > 0, β1 ≥ β2 > 0
and γ1 ≥ γ2 > 0. Let v1 and v2 denote the eigenvectors of the matrix A corresponding
to the eigenvalues α1 and α2 , respectively, and let w1 and w2 denote the eigenvectors of B
corresponding to the eigenvalues β1 and β2 , respectively. We can suppose that the bases
j13-I-4/j13-I-12-1
u11 u12
{v1 , v2 } and {w1 , w2 } are orthonormal. So there exists some unitary matrix U = u21 u22
such that
v1 = u11 w1 + u12 w2 , w1 = u11 v1 + u21 v2 ,
and
v2 = u21 w1 + u22 w2 , w2 = u12 v1 + u22 v2 .
We will estimate γ1 in the following way. First,
γ1 = sup kCxk : kxk = 1 ≥ kCv1 k
where k·k denotes the Euclidean norm. (Let us justify the formula. Recall that γ1 =
maxkxk=1 (Cx, x). Obviously, γ12 is the greater eigenvalue of C 2 . Consequently, it follows
that γ12 = maxkxk=1 (C 2 x, x). As C is hermitian, we have (C 2 x, x) = x∗ CCx = x∗ C ∗ Cx =
(Cx, Cx) = kCxk2 .) Second,
As the vectors v1 and v2 are orthonormal and (β1 − β2 )u11 u11 ≥ 0, we conclude
q 2 2
γ1 ≥ kCv1 k = α1 + β2 + (β1 − β2 )u11 u11 + (β1 − β2 )u11 u21 ≥
q 2
≥ α1 + β2 + (β1 − β2 )u11 u11 ≥ α1 + β2 .
j13-I-4/j13-I-12-2
Problem j13-II-1/j13-II-51. Two real square matrices A and B satisfy the conditions
A2002 = B 2003 = I and AB = BA. Prove that A + B + I is invertible. (The symbol I
denotes the identity matrix.) (University of Belgrade)
Solution. Let (A + B + I)x = 0 for some vector x, i.e., (B + I)x = −Ax. Then
we have −A2 x = A(B + I)x = (B + I)Ax = −(B + I)2 x, and, continuing in this way,
(B + I)k x = (−1)k Ak x. As A2002 = I, we get (B + I)2002 x = x, i.e.,
(B + I)2002 − I x = B 2003 − I x = 0.
(Recall B 2003 = I.) In other words, taking that p(t) = (t + 1)2002 − 1 and q(t) = t2003 − 1
are polynomials, we have just got
p(B)x = q(B)x = 0.
But, since 2003 is a prime, q(t)/(t − 1) is a primitive polynomial for all its roots, and
therefore none of them is a root of the another monic polynomial p(t) of degree 2002; further,
the remained root t = 1 of q(t) is not a root of p(t), which implies that p(t) and q(t) are
coprime.†
Since there exist non-zero polynomials r(t) and s(t) such that r(t)p(t) − s(t)q(t) = 1
(recall the Euclidean algorithm), we can conclude that x = r(B)p(B)x − s(B)q(B)x = 0,
and so A + B + I must be invertible indeed.
† The polynomials p(t) and q(t) are really coprime (i.e. relatively prime). Here is another
argument: Every polynomial (of degree ≥ 1) can be written as a product of factors of
Q2002
degree 1. In particular, p(t) = (t + 1)2002 − 1 = k=1 (t − zp,k ) and q(t) = t2003 − 1 =
Q2003
k=1 (t − zq,k ), where zp,1 , . . . , zp,2002 and zq,1 , . . . , zq,2003 are the roots of the polynomial
p and q, respectively. Obviously, the polynomials p and q are relatively prime iff they have
no root in common.
It is easy to see that the roots of q lie on the unit circle in the complex plane. Similarly,
it is easy to see that all roots of p are on the circle with radius 1 and its centre at the
point −1.
Thus, the intersections of the two circles,
√ √
2 2
= cos ± 3π 3π π π
2 ±i 2 2 + i sin ± 2 = −1 + cos ± 2 + i sin ± 2 ,
are the only possible common roots of q and p. But none of these two points is a root of q.
It follows that p and q are coprime.
j13-II-1/j13-II-51-1
Problem j13-II-2/j13-I-17. Let {D1 , D2 , . . . , Dn } be a set of disks (a disk is a circle with
its interior) in the Euclidean plane and aij = S(Di ∩ Dj ) be the area of Di ∩ Dj . Prove that
for any numbers x1 , x2 , . . . , xn ∈ R the following inequality holds:
n X
X n
aij xi xj ≥ 0.
i=1 j=1
(Warsaw University)
Solution. Let χDi : R2 → {0, 1} be the characteristic function of the set Di :
1, if (x, y) ∈ Di ,
χDi (x, y) =
0, if (x, y) ∈
/ Di .
We have:
χDi ∩Dj = χDi χDj ,
Z Z
S(Di ) = χDi (x, y) dx dy = χ2Di (x, y) dx dy,
R2 R2
Z Z
S(Di ∩ Dj ) = χDi ∩Dj (x, y) dx dy = χDi (x, y)χDj (x, y) dx dy.
R2 R2
Thus,
X n
n X Z n X
X n
aij xi xj = xi χDi (x, y)xj χDj (x, y) dx dy =
i=1 j=1 R2 i=1 j=1
Z
2
= x1 χD1 (x, y) + · · · + xn χDn (x, y) dx dy ≥ 0.
R2
j13-II-2/j13-I-17-1
Problem j13-II-3/j13-II-70. A sequence (an )∞ n=0 of real numbers is defined recursively
by
an
a0 := 0, a1 := 1, an+2 := an+1 + n , n ≥ 0.
2
Prove that
∞
X 1
lim an = 1 + n(n−1) Qn .
n→∞
n=1 2 2 · k=1 (2k − 1)
(University of Zagreb)
Remark. In fact, we will prove the following:
∞
(a) The sequence (an )P
n=0 is convergent. Q
∞ n
(b) limn→∞ an = 1 + n=1 1/ 2n(n−1)/2 · k=1 (2k − 1) .
(c) The limit limn→∞ an is an irrational number.
Solution. (a) Obviously, an ≥ 0 for every n ≥ 0. The sequence (an )∞ n=0 is increasing
since an+2 − an+1 = an /2n ≥ 0 for every n ≥ 0. It suffices to show that (an )∞
n=0 is bounded
from above. For each n ≥ 0, we have an+2 ≤ an+1 + an+1 /2n = an+1 (1 + 1/2n ). Using the
inequality between geometric and arithmetic mean, for every n ≥ 1 we obtain
n n n !n !n
Y 1 Y 1 1 X 1 n+1
an+2 ≤ 1+ k =2 1+ k ≤2 n+ ≤2 ≤ 2e.
2 2 n 2k n
k=0 k=1 k=1
P∞ p √
(b) Consider the power series n=0 an z n . Since lim supn→∞ n |an | ≤ limn→∞ n 2e = 1,
its radius of convergence is R ≥ 1. Therefore, on the P open unit disc, with center at the
∞ n
origin, it converges
Pn to a holomorphic function f (z) := Pa∞n z . Inductively,
n=0 we
obtain
an+2 = 1 + k=0 ak /2 for any n ≥ 0. So limn→∞ an = 1 + k=0 ak /2k = 1 + f 21 and we
k
have to find f 21 .
Now we use the recurrent relation for (an )∞
n=0 to obtain a functional equation for f . We
multiply an+2 := an+1 + an /2n by z n+2 and sum over all n ≥ 0 to get
∞ ∞ ∞
z n
X X X
n+2 n+1 2
an+2 z =z an+1 z +z an 2 ,
n=0 n=0 n=0
that is
f (z) − z = zf (z) + z 2 f z
2 ,
or
(1 − z)f (z) = z 2 f z
2 +z for |z| < 1. (1)
j13-II-3/j13-II-70-1
Let us put
s0 := 1. (2b)
It follows that s1 = 2. Equalities (2b) and (2a) lead to
N N
f 2N1+1
1
sN 1
X sn X 1
f 2 = 2N f 2N +1
+ n
= N (N −1) QN + n(n−1) Qn
.
2 n=1
2 2 2 +N (2k − 1) n=1 2 2 (2k − 1)
k=1 k=1
(c) The proof of limn→∞ an ∈ R \ Q is based on the fact that the series in (3) converges
“very rapidly”. Suppose that its sum equals pq for some positive integers p and q. For each
integer N ≥ 1, denote
N N
N (N −1) Y X 1
qN := 2 2 (2k − 1), pN := qN n(n−1) Qn .
2 k − 1)
k=1 (2
2
k=1 n=1
Obviously, pN and qN are positive integers. We manage to estimate pqN − qpN . We have
N N
N (N −1) Y N (N −1) Y 2
qN = 2 2 (2k − 1) < 2 2 2k = 2N
k=1 k=1
and
∞ ∞
p pN X 1 X 1
− = n(n−1) n
≤ n(n−1) Qn
=
q qN Q k k−1
n=N +1 2 k=1 (2 − 1) n=N +1 2 k=1 2
2 2
∞ ∞
X 1 X 1 1 1
= ≤ = N 2 +N −1 < N −1 .
2n(n−1) 2m 2 2 qN
n=N +1 m=N (N +1)
q
Thus, 0 < pqN − qpN < 2N −1 ,† so (pqN − qpN )N ≥1 is a sequence of positive integers that
converges to 0. This is a contradiction and we are done.
† It is easy to see from the definition of the numbers pN that the sequence pqN
N
is strictly
p pN p
increasing to the limit q . Hence qN < q , qpn < pqN , and 0 < pqN − qpN . As the difference
is integer, we have even 1 ≤ pqN − qpN .
j13-II-3/j13-II-70-2
Problem j13-II-4/j13-I-18. Let f, g: [0, 1] → (0, +∞) be continuous functions such that
f and fg are increasing. Prove that
1
Rx Z 1
f (t) dt
Z
0 f (t)
Rx dx ≤ 2 dt.
0 0
g(t) dt 0 g(t)
(University of Zagreb)
Solution. First, we estimate the expression inside the integral sign on the left side of the
given inequality. By the Chebycheff’s inequality for integrals applied to increasing functions
f and fg on the segment [0, x] (where x ∈ (0, 1] is fixed), we get
Z x Z x
1 x
Z
1 1 g(t)
f (t) dt dt ≤ g(t) dt,
x 0 x 0 f (t) x 0
that is,
Rx
f (t) dt x
R0x ≤ R x g(t) (1)
0
g(t) dt dt
0 f (t)
for every x ∈ (0, 1]. From the integral form of the Cauchy-Schwarz inequality on the segment
[0, x], we have
x x 2 x 2
x4
Z Z Z
g(t) t f (t)
dt dt ≥ t dt = ,
0 f (t) 0 g(t) 0 4
or
Z x 2
1 4 t f (t)
Rx ≤ dt. (2)
g(t)
dt x4 0 g(t)
0 f (t)
Finally, it remains to integrate (3) over x ∈ (0, 1] and to reverse the order of integration.
Z 1 Rx Z 1 Z x 2 Z 1 Z 1 2
0
f (t) dt 4t f (t) 4t f (t)
Rx dx ≤ 3
dt dx = dx dt =
0 0
g(t) dt 0 0 x g(t) 0 t x3 g(t)
Z 1 2 Z 1 Z 1 2
4t f (t) dx 4t f (t) 1 1
= 3
dt = − dt =
0 g(t) t x 0 g(t) 2t2 2
Z 1 Z 1
f (t) 2
f (t)
=2 1 − t dt ≤ 2 dt.
0 g(t) 0 g(t)
(Remark. The constant 2 on the right hand side of the given inequality is optimal, i.e.,
the least possible. Consider f (t) := 1 and g(t) := t + ε for some fixed ε > 0. Then
Z 1 Rx Z 1 Z 1
f (t) dt x dx
R0x dx = 1 2 dx = 2 = 2 ln(1 + 2ε) − 2 ln 2 − 2 ln ε
0 0
g(t) dt 0 2 x + εx 0 x + 2ε
and Z 1 Z 1
f (t) dt
dt = = ln(1 + ε) − ln ε.
0 g(t) 0 t+ε
The quotient of these two expressions can be made arbitrarily close to 2 since
j13-II-4/j13-I-18-1
The 14th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 31st March 2004
Category I
Problem √ 1 Suppose that f : [0, 1] → R is a continuously differentiable function such that f (0) = f (1) = 0 and
f (a) = 3 for some a ∈ (0, 1). Prove that there exist two tangents to the graph of f that form an equilateral
triangle with an appropriate segment of the x-axis.
Solution Let k : [0, 1] → R be defined as k(x) = f 0 (x). We know that k is continuous. √ Let b ∈ (0,√1) be the
0
point where f reaches √ its maximum value. Then k(b) = f (b) = 0 and f (b) ≥ √ 3 > 0√(as f (a) = 3). Since
0
f (0) = 0 and f (b) ≥ 3, there exists an x0 ∈ [0, b) such √ that f (x 0 ) = k(x 0 ) ≥ 3/b > 3. As k is continuous,
we can find an y1 ∈ (x0 , b) such
√ that k(y1 ) = f 0 (y1 ) = 3. Using the same argument, there exists an y2 ∈ (b, 1]
such that k(y2 ) = f 0 (y2 ) = − 3. It is easy to see that the tangents to the graph of f at y1 and y2 with the
appropriate segment of the x-axis form an equilateral triangle.
The 14th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 31st March 2004
Category I
The 14th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 31st March 2004
Category I
Problem 3 Denote by B(c, r) the open disc in the plane of center c and radius r. Prove or disprove that there
exists a sequence {zn }∞ 2
n=1 in R such that the open discs B(zn , 1/n) are pairwise disjoint and the sequence
∞
{zn }n=1 is convergent.
Solution Both statemets are true, it is sufficient to prove (b) (in general version, it is obviously not true in R1
due to measure argument, and in Rk , if k ≥ 2, it is sufficient to prove the positive answer for k = 2). We will
prove the crucial Lemma:
Lemma Let a > 0 and let C = (0, a)2 . Then there exists an na ∈ N and a sequence {tn }n≥na ⊂ C such that
the open balls B(tn , 1/n) ⊂ C for n ≥ na are mutually disjoint.
Proof Consider the numbers n ∈ N and c > 0 which will be specified concretely later and suppose that n > 4
and n(c − 1) > 1. Let us denote nk = bnck c. We have n0 = n and as n(c − 1) > 1, we also have that the
sequence {nk } is strictly increasing. For every k ≥ 0, we denote
2 2
sk = + ··· + .
nk nk+1 − 1
By easy integral estimate, we have
nck+1 c
sk ≤ 2 ln(nk+1 − 1) − ln(nk − 1) ≤ 2 ln k = 2 ln =: d(c, n) .
nc − 2 1 − 2/n
Now we easilly see that for every k ≥ 0, we can find mutually disjoint open balls of diameters 1/nk , . . . ,
1/(nk+1 − 1) inside the rectangle of width d(c, n) and height 2/nk . Since
∞ ∞ ∞
X 2 X 1 X 1 4c
=2 k
≤ 4 k
= ,
nk bnc c nc n(c − 1)
k=0 k=0 k=0
Now by means this Lemma, we can construct the sequence zn easilly. Let ai = 2−i and let Ci = (ai , 2ai )2 .
By the lemma, we can find an increasing sequence of the numbers ni = nai such that we can place open balls of
the diameters 1/n0 , 1/(n0 + 1), . . . , 1/(n1 − 1) inside C0 in such a way that they are mutually disjoint. Then
we place open balls of the diameters 1/n1 , . . . , 1/(n2 − 1) inside C1 so that they are mutually disjoint, etc.
The first n0 − 1 balls can be placed anywhere else. It is clear that the sequence of the centres of thse balls is
convergent (having the limit 0).
1 1 1
Solution Take squares with lenghts of sides 4, 2, 1, 2 , . . . and make a row of them. Put discs with radii 1, 2 , 3
to first square. It is possible since it can be divided into 4 smaller squares with side 1. Than put disc with radii
1 1
4 , . . . , 15 to second square. Thanks to dividing to 16 smaller squares it is again possible. Continuing by this
way we put all discs into sequence of convergent squares, therefore also sequence of discs is convergent.
radii 1, 12 , 31
radii 14 , . . . , 15
1
1 1
16 , . . . , 63
| {z }| {z }| {z }
4 2 1
1 Recall that n = n0 . Place the balls of diameters 1/n0 , . . . , 1/(n1 − 1) into a rectangle of width d(c, n) and height 2/n0 . Place
the balls of diameters 1/n1 , . . . , 1/(n2 − 1) into a rectangle of width d(c, n) and height 2/n1 . Etc.
2 In order that it is possible to ensure d(c, n) < a by the choice of large n.
1
Solution Take rectangle 4 × 2 and divide it into rectangles 2 × 2, 2 × 1, 1 × 1, 1 × 2,
. . . . To first rectangle
put disc with radius 1, to second rectangle discs with radii 12 and 13 , to third one discs with radii 14 , . . . , 17 , and
so on. Sequence of rectangles is again convergent and therefore also sequence of discs.
...
...
√
bP nc n
6 3
π2
P
Solution Let zn = (xn , yn ), where xn = i2 and yn = √ 2 i
. From real analysis we know lim xn =
i=1 n→∞
i=b nc
∞ 2
and by small counting lim yn = 0, so {zn }n=1 converges to (π , 0).
n→∞
1
Let’s prove that Bn (zn , n1 ) and Bm (zm , m ) are disjont for all m 6= n. The discs are grouped in columns. In
each column are discs from Bn2 to Bn2 +2n , so each column of discs is included in one of zones
Xn n
6 1 X 6 1
An = (x, y) : x ∈ − , + .
i=1
i2 n2 i=1 i2 n2
so all of the columns are pairwise disjoint. Discs in each column are pairwise disjoint (if Bn and Bn+1 are in
3
the same column, then |yn+1 − yn | ≥ n+1 ≥ n1 + n+1
1
). Result follows: there exists desired sequence.
The 14th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 31st March 2004
Category I
Problem 4 Find all pairs (m, n) of positive integers such that m + n and mn + 1 are both powers of 2.
Solution The set of such pairs is
mn + 1 = 2l ,
m + n = 2k .
From m, n ≥ 1 we get 2l = mn + 1 ≥ 2, so l ≥ 1 and 2l is even. Hence m and n are both odd. Assume
m = n. Then m = n = 2k−1 must be odd, hence k = 1, which implies m = n = 1, and (1, 1) ∈ L. From now
on, we assume m < n, so y = 12 (n − m) is a positive integer.
If y = 1, then we get n − m = 2, m + n = 2k , so n = 2k−1 + 1 and m = 2k−1 − 1, which yields a pair in the
set L (if k > 1 as m is not positive otherwise).
Let y > 1. Then
n + m 2
0 < y2 − 1 = − mn − 1 = 22k−2 − 2l .
2
This implies 2k − 2 > l, and hence y 2 − 1 = (y − 1)(y + 1) is divisible by 2l . The greatest common divisor of
y − 1 and y + 1 is 2, so one of these positive factors must be divisible by 2l−1 . In both cases, we get y + 1 ≥ 2l−1 .
Hence
22k−2 − 2l = (y + 1)(y − 1) ≥ 2l−1 (2l−1 − 2) = 22l−2 − 2l ,
so 2k − 2 ≥ 2l − 2, which implies k ≥ l. But then
0 ≤ (m − 1)(n − 1) = (mn + 1) − (m + n) = 2l − 2k ≤ 0 ,
so we must have equality. Thus l = k and (since m < n) m = 1. From this we get n = 2k − 1, so (m, n) ∈ L.
Solution Let us write m+n = 2a and mn+1 = 2b . Of course a, b ≥ 1 and b ≥ a since 2b −2a = (m−1)(n−1) ≥ 0.
If b = a, then (m − 1)(n − 1) = 0, so
m = 1 and n = 2a − 1 or m = 2a − 1 and n = 1.
So, suppose b > a. If a = 1, then m = n = 1. If a = 2, then {m, n} = {1, 3}. So, let also a ≥ 3. It is obvious,
that m and n are odd (since mn + 1 is even). If m ≡ n ≡ 3 (mod 4), then 0 ≡ 2a ≡ m + n ≡ 2 (mod 4),
contradiction. So thanks to symetry we can assume that m ≡ 1 (mod 4). Since m + n ≡ 0 (mod 4) we must
have n ≡ 3 (mod 4). So, let m = 4c + 1 and n = 4d + 3, where c, d ∈ {0, 1, . . . }. We have
(m + 1)(n + 1) = 2a + 2b = 2a (2b−a + 1)
thus
8(2c + 1)(d + 1) = 2a (2b−a + 1) .
Since 2c + 1 is odd, we have 2a−3 | d + 1. So let d + 1 = x · 2a−3 , with x ∈ {1, 2, . . . }. Thus, n = 4(d + 1) − 1 =
2a
x2a−1 − 1 and so m + x2a−1 − 1 = 2a . Since m ≥ 1, we have x ≤ 2a−1 = 1 and so x = 1 or x = 2. If x = 1,
a−1 a−1
then m = 2 + 1 and n = 2 − 1. If x = 2, then m = 1 and n = 2a − 1. So, we have proved that it is
The 14th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 31st March 2004
Category II
Problem 1 Are the groups (Q, +) and (Q+ , ·) isomorphic? (The symbol Q+ denotes the set of all positive
rational numbers.)
Solution Assume they are, and name the isomorphism ϕ. Then there exists an a ∈ Q such that ϕ(a) = 2. Let
ϕ a2 = b. Then
a a a a
2 = ϕ(a) = ϕ + =ϕ ·ϕ .
2 2 2 2
√
Therefore, b = ϕ a2 = 2, a contradiction.
Solution Suppose (for contradiction) that there exists an isomorfism f : (Q, +) → (Q+ , ·). Then f (0) = 1,
because 0 and 1 are corresponding neutral elements of agroups (Q, +) and (Q+ , ·). Let f (1) = ab , a, b ∈ N,
1
(a, b) = 1. Similarly, let for every n ∈ N, n ≥ 2, f n = bnn , where an , bn ∈ N, (an , bn ) = 1. Then it is
1 1 1 1 n an n a
f (1) = f + + ··· + = f = = .
n n n n bn b
It is still (an )n , (bn )n = 1, so consequently a = (an )n and b = (bn )n . If there is m ∈ N such that am ≥ 2,
then a ≥ 2 and an ≥ 2 for all n. That follows a ≥ 2n for all n, contradiction. Thus for every n ∈ N it holds
an = 1, specially a = 1. Same argument gives b = 1. But then f (1) = ab = 1 = f (0), f is not injective,
contradiction.
Solution Suppose there exists an isomorphism σ : (Q, +) → (Q+ , ·). Consider homomorphism τ : (Q, +) →
(Q, +) given by equation τ (q) = 2q for q ∈ Q, and corresponding homomorphism τ 0 : (Q+ , ·) → (Q+ , ·) given by
equation τ 0 (q) = q 2 for q ∈ Q+ . It follows that
2
σ ◦ τ (q) = σ(2q) = σ(q)
2
τ 0 ◦ σ(q) = τ 0 σ(q) = σ(q)
for all q ∈ Q. It is clear that homomorphism τ is isomorphism, so also τ ◦ σ = τ 0 ◦ σ is isomorphism, but this
contradicts the fact, that τ 0 is not injective (that is obvious) and therefore τ 0 ◦ σ cannot be isomorphism.
The 14th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 31st March 2004
Category II
(The symbol R+
0 denotes the set of all non-negative real numbers.)
Solution Take x ≤ y. Then
f (x, y) = f (x + 0, x + (y − x)) = kx + f (0, y − x) = kx + (y − x) = (k − 1)x + y =
= f (x + (y − x), x + 0) = f (y, x) . (1)
Let x ≤ y. If z ≥ y + (k − 1)x, then
f (f (x, y), z) = f (y + (k − 1)x, z) = (k − 1)(y + (k − 1)x) + z .
Further, if z ≥ y and z + (k − 1)y ≥ x, then
f (x, f (y, z)) = f (x, (k − 1)y + z) = (k − 1)x + (k − 1)y + z .
If we take z so large that all the above inequalities are satisfied, then we have
(k − 1)(y + (k − 1)x) + z = (k − 1)x + (k − 1)y + z ,
or (k − 1)2 x = (k − 1)x, and the only possibilities are k = 1, 2. Substituting into (1), we obtain f (x, y) = x + y
for k = 2, and f (x, y) = max{x, y} for k = 1 (we may use (1) only if y ≥ x, whence the maximum). It is easy
to check, that both functions satisfy all conditions.
Solution Consider two cases x ≤ y and x ≥ y:
x ≤ y : f (x, y) = f x, x + (y − x) = kx + f (0, y − x)
= kx + y − x = (k − 1)x + y
x ≥ y: f (x, y) = f y + (x − y), y = ky + f (x − y, 0)
= ky + x − y = (k − 1)y + x
So it is
f (x, y) = (k − 1) min{x, y} + max{x, y}.
Because f (x, x) = kx ≥ 0, we have k ≥ 0. Consider now the second equality from the problem: f f (x, y), z =
f x, f (y, z) .
f f (1, 1), k = f (k, k) = k 2
f (1, 2k − 1) = (k − 1) min{1, 2k − 1} + max{1, 2k − 1}
= (k − 1) + (2k − 1) for k ≥ 1
f 1, f (1, k) = 2 2 2
f (1, k − k + 1) = (k − 1) min{1, k − k + 1} + max {1, k − k + 1}
= (k − 1)(k 2 − k + 1) + 1 for k ≤ 1
First two functions satisfy to all three conditions of the problem (easy to check), the last one does not fulfil the
second condition for triple (x, y, z) = (1, 2, 3).
The 14th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 31st March 2004
Category II
∞
P
Problem 3 Let an be a divergent series with positive nonincreasing terms. Prove that the series
n=1
∞
X an
n=1
1 + nan
diverges.
Solution Let (dn ) be a sequence defined as follows:
1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, . . .
(a block of 2n ones is followed by a block of 2n zeros, and that block of 2n zeros is followed by a block of 2n+1
ones and so forth).
Define sets
D = { n ∈ N : dn = 1 } ,
C = 2D ,
E = 2N \ C ,
B = C ∪ (E + 1) ,
A = C ∪ B1 = 2N
and define sequences xn = χA (n) and yn = χB (n) where χS denotes the indicator function of a set S.
Then
x0 + x1 + · · · + xn 1 y0 + y1 + · · · + yn 1
lim = and lim =
n→∞ n+1 2 n→∞ n+1 2
and the sequence
x0 y0 + x1 y1 + · · · + xn yn
lim
n→∞ n+1
1
oscillates between 4 and 38 .
The 14th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 31st March 2004
Category II
Problem 4 Let f : R → R be an infinitely differentiable function. Assume that for every x ∈ R there is an
n ∈ N (depending on x) such that
f (n) (x) = 0 .
Prove that f is a polynomial.
Solution Denote
x ∈ R ; f (n) (x) = 0 .
En :=
Note that each of the sets En is closed due to continuity of f (n) . The assumption implies
[
R= En .
n∈N
By Baire’s theorem, there is an interval I such that some En is dense in I.3 Since f (n) is a continuous function,
we obtain
f (n) (x) = 0 for all x ∈ I.
Therefore, the function f is a polynomial on the interval I. Now, we denote {Iλ }λ∈Λ the set of all maximal
open intervals Iλ such that f is a polynomial on Iλ . (Here, Λ is an index set.) We have already proved at least
one such interval Iλ exists. Moreover, all the sets Iλ are clearly mutually disjoint and their union
S is dense in R
(otherwise, we can repeat the previous argument using Baire’s theorem in the interval J ⊆ R \ λ∈Λ Iλ ).
Now, let us consider the set [
H := R \ Iλ .
λ∈Λ
First, we prove that this set has no isolated points. If there were some isolated point x ∈ H, then there would
be two intervals I1 , I2 ∈ {Iλ }λ∈Λ , one of them having x as the right end-point and the other one having x as the
left end-point. There would also be some n ∈ N such that the n-th derivate vanishes on the union I1 ∪ I2 . This
would mean that the function f is a polynomial on I1 ∪ {x} ∪ I2 and the intervals I1 and I2 are not maximal.
The set H is a closed subset of the complete space R. Therefore, if it is not empty, it is of second category.
Using Baire’s theorem again,4 we prove that there exists an interval J containing at least one point from H
and an index n ∈ N such that
f (n) (x) = 0 for all x ∈ J ∩ H.
Since every x ∈ J ∩ H is an accumulation point of H (and is an accumulation point of J ∩ H therefore, and
since f (n+1) (x), i.e. the limit lim f (n) (x + h) − f (n) (x) /h does exist at every point x), we can calculate the
h→0
(n + 1)-st derivative of f on J ∩ H using just the points from the intersection J ∩ H. We obtain
Now, take any interval I ∈ {Iλ }λ∈Λ such that I ⊆ J.5 There is some index m ∈ N such that f (m) (x) = 0
for x ∈ I. Let us assume m > n. There are two cases: either f (m−1) vanishes (is zero) on the interval I or
f (m−1) is a linear function on I. Since the end-points of I belong to H, if follows that f (m−1) is null at these
end-points. Therefore, f (m−1) vanishes on the interval I. By induction (repeating this argument), we prove
that f (n) vanishes on the interval I in fact. This conclusion (i.e., f (n) ≡ 0 on I) is true for every interval
I ∈ {Iλ }λ∈Λ .
Choose an x ∈ J ∩ H. As we already know that J ∩ H cannot contain an interval, there must exist two
intervals Iλ1 , Iλ2 ∈ {Iλ }λ∈Λ such that x is the right end-point of Iλ1 and the left end-point of Iλ2 . Since
3 As
S
the sets En are closed and n En = R, one of the sets must have non-empty interior. Equivalently, there must exist an
index n and an interval I such that I ⊆ En .
4 We just repeat the above argument: As the sets E are closed and
S
n n En ⊇ H, one of the sets En must have non-empty
interior in H. That is, there exists an interval J whose intersection with H is non-empty such that J ∩ H ⊆ En .
5 If there were no such an interval I, it would mean that the set J ∩ H (hence the set H itself) contains a (closed) interval. But
we have already inferred f (n+1) (x) = 0 for x ∈ J ∩ H. Hence, f is a polynomial on that (closed) interval. That interval should
have been included in the collection {Iλ }λ∈Λ therefore.
f (n) is continuous and is zero on Iλ1 ∪ Iλ2 , it is zero at x as well. Hence, f is a polynomial on the interval
Iλ1 ∪ {x} ∪ Iλ2 ∈ {Iλ }λ∈Λ , which is a contradiction (all intervals from {Iλ }λ∈Λ must be mutually disjoint). This
contradiction can be inferred if H 6= ∅. Consequently, the set H is empty and f is a polynomial on the whole
real line.
The 15th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 6th April 2005
Category I
Im z
Problem 1 Let S0 = {z ∈ C : |z| = 1, z 6= −1} and f (z) = 1+Re z . Prove that f is a bijection between S0 and
R. Find f −1 .
Solution Using z = eit = cos(t) + i sin(t), we can interpret our function as
sin(t)
f (t) = , t ∈ (−π, π).
1 + cos(t)
We can find easily (using L’Hospital or trigonometrical identities) lim f (π− ) = ∞ and lim f (π+ ) = −∞, and by
the continuity the surjectivity follows. The injectivity can be deduced by
1
f 0 (t) = > 0.
1 + cos(t)
Since f (0) = 0,qf maps (0, π) to R+ and (−π, 0) to R− . For t > 0, sin t > 0 and y = f (t) > 0. Then
1−y 2
0 < y = f (t) = 1−cos t 2
1+cos t . We get cos t = 1+y 2 and finally t = arccos(−1 + 1+y 2 ), and similarly for t < 0 and
2
y < 0: t = − arccos(−1 + 1+y 2 ).
The 15th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 6th April 2005
Category I
Prove that for an arbitrary, fixed a ∈ A, the operation x + y = f (x, a, y) is an Abelian group addition.
Solution Neutral element:
a + x = f (a, a, x) = x = f (x, a, a) = x + a.
Associativity:
x + (−x) = f (x, a, f (a, x, a)) = f (f (x, a, a), f (a, a, a), f (a, x, a)) =
= f (f (x, a, a), f (a, a, x), f (a, a, a)) = f (x, x, a) = a.
Commutativity:
The 15th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 6th April 2005
Category I
Problem 3 Find all reals λ for which there exists a non-zero polynomial P with real coefficients such that
for all positive integers n. We can therefore equally well consider (1).
The set of all real λ for which there is a non-trivial solution of (1) is given by the set
n 2k o n 4 o
= 1, , 2, . . .
k+1 k 3
where k runs through all non-negative integers. To prove this, let the pair (P ,λ) be a solution for (1), and
write P (x) = axk + Q(x) where a 6= 0 and Q is a polynomial of degree less than k. Then the polynomial
S(x) = (x + 1)Q(x + 1) − xQ(x) is of degree less than k as well, and hence
for some polynomial T of degree less than k. On the other hand, the degree-k-coefficient of P (2x + 1) is 2k a,
and therefore we conclude from (1)
2k a = λa(k + 1)
k k
2 2
which is the same as λ = k+1 . Conversely, let λ be of the form k+1 for some non-negative integer k, and write Pn
for the (n + 1)-dimensional vector space of all real polynomials of degree at most n. By the computations above,
we have a linear map
Pk −→ Pk−1
P 7→ P (2x + 1) − λ (x + 1)P (x + 1) − xP (x)
Since the dimension of Pk−1 is less than the dimension of Pk , this map must have non-trivial kernel. Hence
there is some non-zero polynomial P satisfying (1).
2k
Now let λ = 2. If k is the degree of P , we have seen that k+1 = λ = 2, but this is only possible for k = 3.
Putting x = 1 in (1) we get P (1) = 2P (1), so P (1) = 0. For x = −1 we get
P (−1) − 2 −P (−1) = 0,
which is P (−1) = 0. Hence P (x) = (x − 1)(x + 1)(ax + b) for some reals a, b. From P (1) + P (3) = 4P (2) we
get P (3) = 4P (2), hence
2 · 4 · (3a + b) = 4 · 3 · (2a + b),
that is, b = 0. Thus we got P (x) = a(x3 − x). The set of polynomials we are looking for form a non-trivial
vector space contained in the one-dimensional vector space spanned by x3 − x. Therefore these are exactly the
solutions of (1) for λ = 2, and we are done.
The 15th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 6th April 2005
Category I
√
Problem 4 Let (xn )n≥2 be a sequence of real numbers such that x2 > 0 and xn+1 = −1 + n
1 + nxn for n ≥ 2.
Find
1. lim xn ;
n→∞
2. lim nxn .
n→∞
Solution
1. It follows by induction that the sequence (xn )n≥2 is correctly defined and that xn > 0 for n ≥ 2. From
the Bernoulli inequality follows
n(n − 1) 2
1 + nxn = (1 + xn+1 )n ≥ (1 + x)n ≥ 1 + nx + ·x ,
2
2(xn −x)
i.e. 0 ≤ x2 ≤ n−1 . Because lim (xn − x) = 0 and lim (n − 1) = ∞, we get x = 0, i.e. lim xn = 0.
n→∞ n→∞ n→∞
1 1
2. From the Stolz theorem, because xn increase and lim = ∞ (after 1), we get
n≥2 n→∞ xn
1 xn xn+1
lim sup nxn ≤ lim sup 1 1 = lim sup .
n→∞ n→∞ xn − xn+1 n→∞ xn − xn+1
It follows
n(n − 1) 2
1 + nxn = (1 + xn+1 )n ≥ 1 + nxn+1 + · xn+1 ,
2
n−1 nxn
i.e. xn − xn+1 ≥ 2 · x2n+1 and lim sup nxn ≤ lim sup n(n−1) . From the equality ln(1 + xn+1 ) =
n→∞ n→∞ 2 ·xn+1
ln(1+nxn )
n for n ≥ 2 and inequality x ≤ (1 + x) ln(1 + x) for x ≥ 0 follows
It follows 0 ≤ lim sup nxn ≤ lim sup nxn ≤ 0, i.e. lim nxn = 0.
n→∞ n→∞ n→∞
ln t
3. From 1 and 2 and lim = 1 follows
t→0 t
M M2 M3
exp(M ) = I + + + + ... .
1! 2! 3!
Construct 2 × 2 matrices A and B such that exp(A + B) 6= exp(A) exp(B).
Solution Note that if A and B commute then obviously exp(A + B) = exp(A) exp(B). So A and B should not
commute.
Let A = 00 10 and B = 01 00 . Then A2 = B 2 = 0,
1 1 1 0
exp(A) = I + A = , exp(B) = I + B = ,
0 1 1 1
2 1
exp(A) exp(B) = .
1 1
so
∞ ∞
1 1
P P
(2k)! (2k+1)! cosh 1 sinh 1
k=0 k=0
exp(A + B) = ∞ ∞ = .
P 1
P 1 sinh 1 cosh 1
(2k+1)! (2k)!
k=0 k=0
The 15th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 6th April 2005
Category II
Problem 2 Let (ai,j )ni,j=1 be a real matrix such that ai,i = 0 for i = 1, 2, . . . , n. Prove that there exists a set
J ⊂ {1, 2, . . . , n} of indices such that
n
X X 1 X
ai,j + ai,j ≥ ai,j .
2 i,j=1
i∈J i∈J
/
j ∈J
/ j∈J
Let J ⊂ {1,Pn2, . . . , n} satisfy the condition F (J ) = max{F (I) : I ⊂ {1, 2, . . . , n}}. We aim to prove, that
F (J ) ≥ 21 i,j=1 ai,j .
For k ∈ J we have
X X X X
0 ≤ F (J ) − F (J \ {k}) = ak,j + ai,k − ak,j − ai,k .
j6∈J i6∈J j∈J i∈J
Finally, we have:
n
1 X 1 X X
ai,j = ai,j + ai,j + F (J ) ≤
2 i,j=1 2
i∈J i6∈J
j∈J j6∈J
11 1
≤ F (J ) + F (J ) + F (J ) = F (J ).
2 2 2
The 15th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 6th April 2005
Category II
1 1
Solution Answer: f 2, 2 .
Proof: Set (2n + 1)! 2 Z Z n
Ln (f ) = xy(1 − x)(1 − y) f (x, y) dx dy .
(n!)2
Q
1 1 k 1 l
Step 1. lim Ln (xk y l ) = 2k+l
= 2 2 . This is a straightforward calculation:
n→∞
ZZ
n
Z 1 Z 1
k l n+k n
xy(1 − x)(1 − y) x y dx dy = x (1 − x) dx y n+l (1 − y)n dy =
0 0
Q
(n + k)!n! (n + l)!n!
(integrate by parts) = · .
(2n + k + 1)! (2n + l + 1)!
Thus
(n + 1)(n + 2) . . . (n + k)
lim Ln (xk y l ) = lim ·
n→∞ n→∞ (2n + 2)(2n + 3) . . . (2n + k + 1)
(n + 1)(n + 2) . . . (n + l) 1
· = k+l .
(2n + 2)(2n + 3) . . . (2n + l + 1) 2
Step 2. The desired result is satisfied for every polynomial P (x, y). Indeed, the limit and Ln are linear
operators.
Step 3. Fix an arbitrary ε > 0. A polynomial P (x, y) can be chosen such that |f (x, y) − P (x, y)| < ε for
every (x, y) ∈ Q . Then
|Ln (f ) − Ln (P )| ≤ Ln (|f − P |) < Ln (ε · I) = ε ,
where I(x, y) = 1, for every (x, y) ∈ Q. 1 1
According to step 2 there exists n0 such that Ln (P ) − P 2, 2
< ε for n ≥ n0 . For these integers
Ln (f ) − f 1 , 1 ≤ |Ln (f ) − Ln (P )| + Ln (P ) − P 1 , 1 + f 1 , 1 − P 1 , 1 < 3ε ,
2 2 2 2 2 2 2 2
which concludes the proof.
The 15th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 6th April 2005
Category II
Problem 4 Let R be a finite ring with the folowing property: for any a, b ∈ R, there exists an element c ∈ R
(depending on a and b) such that a2 + b2 = c2 . Prove that for any a, b, c ∈ R, there exists an element d ∈ R
such that 2abc = d2 .
(Here 2abc denotes abc + abc. The ring R is assumed to be associative, but not necessarily commutative and
not necessarily containing a unit.)
Solution Let us denote S = {x2 : x ∈ R}. The property of R can be rewritten as S + S ⊆ S. For each y ∈ S
the function S → S, x 7→ x + y is injective, but since S is finite it is indeed bijective. Therefore, S is also closed
under subtraction, so S is an additive subgoup of R.
Now for any x, y ∈ R we have xy + yx = (x + y)2 − x2 − y 2 , so
xy + yx ∈ S .
Problem 1 Given real numbers 0 = x1 < x2 < · · · < x2n < x2n+1 = 1 such that xi+1 − xi ≤ h for 1 ≤ i ≤ 2n,
show that
n
1−h X 1+h
< x2i (x2i+1 − x2i−1 ) < .
2 i=1
2
Pn
Solution (by Stijn Cambie) Notice that i=1 (x2i+1 + x2i−1 )(x2i+1 − x2i−1 ) = x22n+1 − x21 = 1. Hence we have
to prove
n
X X n
1 − 2 (x2i )(x2i+1 − x2i−1 ) = (x2i+1 + x2i−1 − 2x2i )(x2i+1 − x2i−1 ) ≤ h
i=1 i=1
Now
Xn X n
(x2i+1 + x2i−1 − 2x2i )(x2i+1 − x2i−1 ) ≤ x2i+1 + x2i−1 − 2x2i (x2i+1 − x2i−1 )
i=1 i=1
n
X
≤ h(x2i+1 − x2i−1 ) = h
i=1
because |x2i+1 + x2i−1 − 2x2i | ≤ max(x2i+1 − x2i , x2i − x2i−1 ). Equality can not occur, because we would need
x2i+1 − x2i or x2i − x2i−1 would have to be zero in that case.
The 16th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 29th March 2006
Category I
Problem 2 Suppose that (an ) is a sequence of real numbers such that the series
∞
X an
n=1
n
The 16th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 29th March 2006
Category I
Problem 3 Two players play the following game: Let n be a fixed integer greater than 1. Starting from number
k = 2, each player has two possible moves: either replace the number k by k + 1 or by 2k. The player who is
forced to write a number greater than n loses the game. Which player has a winning strategy for which n?
Solution (by Stijn Cambie)
Write n in base 4. We will prove that the second player B can only win when the representation contains
only 0 and 2s. The first player A wins in the other cases.
Claim 1 Person A wins for n odd.
Proof He just has to do k → k + 1 in each step, in each move he makes an even number odd. Next B can
make the number only even. As n is odd, A won’t ever make an even number smaller than n bigger than n by
adding one. Hence B has to do this and will lose.
B wins for n = 2, trivial. When A chooses 2 → 4 in his first step, he wins for n = 4, 6. Person B can win
for 8 by multiply the number of A by 2 in his first step and then both have to add one each step and B reaches
8. Hence the base cases are correct.
Claim 2 When person X wins for n, he can also win for 4n and 4n + 2.
Proof At some step, the other person will get a number k bigger than n, next X makes 2k > 2n + 1 and by
alternating adding one, we see X will reach every number.
Hence if A wins for some n, he wins also for 4n, 4n + 1, 4n + 2, 4n + 3 by both claims. So player B can only
win for 4n, 4n + 2 where n is a number that has the predicted representation (and so do 4n, 4n + 2).
The 16th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 29th March 2006
Category I
Problem 4 Let A = [aij ]n×n be a matrix with nonnegative entries such that
n X
X n
aij = n .
i=1 j=1
(We call λ ∈ C an eigenvalue of A if there exists a non-zero vector x ∈ Cn such that Ax = λx.)
Solution (by Stijn Cambie)
1. We prove that the statement is true and equality occur only for a permutation matrix.
We can prove this by induction.
For n = 1 this is trivial (wehave det
A = 1).
a b
For n = 2 we have for A = that | det(A)| = |ad − bc| ≤ ( a+d 2 b+c 2
2 ) +( 2 ) ≤(
a+d+b+c 2
2 ) = 1.
c d
Equality occurs only when a = d = 1 or b = c = 1. So the induction hypothesis is proven for n ≤ 2.
Induction step:
Assume the sum of the entries in the (n + 1)-th row of A is x. The sum of all other entries is n + 1 − x.
By homogenizing and using the induction hypothesis, we have that for each minor the determinant of it
has absolute value ≤ ( |n+1−x|
n )n .
|n+1−x| n n+1
Now | det A| ≤ |a(n+1)j || det M(n+1)j | ≤ nx ) ≤ nx+n(n+1−x)
P
n ( n n(n+1) = 1 by AM − GM.
Equality could only occur when x = 1 and each | det M(n+1)j | = 1 when |a(n+1)j | > 0 so each minor has
to be a permutation matrix, which is possible only once.
Hence A is also a permutation matrix.
2. If λ is an eigenvalue and an eigenvector is (x1 x2 · · · xn )T , then λxi = xj for some i, j, such that xi 6= 0.
Repeating this, we get cycles such that xi = λm xi for some m and hence λm = 1, hence |λ| = 1.
The 16th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 29th March 2006
Category II
Problem 1
1. Let u and v be two nilpotent elements in a commutative ring (with or without unity). Prove that u + v
is also nilpotent. (An element u is called nilpotent if there exists a positive integer n for which un = 0.)
2. Show an example of a (non-commutative) ring R and nilpotent elements u, v ∈ R such that u + v is not
nilpotent.
Solution (by Stijn Cambie)
1. As u, v are nilpotent, there exist n, m such that un = 0 P= v m . This t s
means u = 0 for all t ≥ n and v = 0
n+m n+m i n+m−i
for all s ≥ m. Next u + v is nilpotent as (u + v) = i uv = 0,
because each term ui v n+m−i = 0 as i ≥ n or n + m − i ≥ m so ui or v n+m−i = 0 in each summand.
1 −1 −1 −1
2. Take the ring R = (Z2∗2 , +, ·) with elements u = and v = .
1 −1 1 1
0 (−2)n
2 2 0 0 0 −2 n
Then u = v = while u + v = is not nilpotent as (u + v) = .
0 0 2 0 2n 0
The 16th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 29th March 2006
Category II
Problem 2 Let (G, ·) be a finite group of order n. Show that each element of G is a square if and only if n is
odd.
Solution (by Stijn Cambie)
1. If n is odd, we know by Lagrange’s theorem that for every element g ∈ G : |g| = ord(g) divides |G| = n
and hence |g| is also odd. Write t = |g|+1 t
2 , then g is the square of g . As g was taken arbitrary, it holds
for every element of G.
2. If n is even, we have to find at least one element which isn’t a square.
Claim There exist some element with order 2.
Proof Suppose the contrary. We know that the inverse in a group is unique and 1 is its own inverse. For every
other element g, we would have g 6= g −1 as g 2 = 1 means |g| = 1, 2 and |g| = 1 is only possible for 1. Now look
at the sets {g, g −1 }. A {1, 1} contains only one element and every other set contains 2 elements, we would have
split up G in one one-element-set and two-element-sets, which is impossible as 2 | ord(G).
Hence there is at least yet one element g such that g = g −1 and hence g 2 = 1.
Because G is finite, we can write all orders of the different elements. Take the maximum m > 0 of
{v2 (|g|) | g ∈ G}. Next, choose an element h ∈ S such that 2m | ord(h) = 2t. Suppose h is a square, we
have h = k 2 for some k ∈ G. Then we have h2t = k 4t = 1, so ord(k) | 4t. Next k 2t = ht 6= 1 as the order of h
is 2t. This means ord(k) | 4t and ord(k) - 2t hence v2 (k) = v2 (4t) = m + 1. This is in contradiction with the
way we have chosen m. Hence h is an element of G which is not a square. So if n is even, not all elements are
squares.
The 16th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 29th March 2006
Category II
Problem 3 For a function f : [0, 1] → R the secant of f at points a, b ∈ [0, 1], a < b, is the line in R2 passing
through a, f (a) and b, f (b) . A function is said to intersect its secant at a, b if there exists a point c ∈ (a, b)
such that c, f (c) lies on the secant of f at a, b.
1. Find the set F of all continuous functions f such that for any a, b ∈ [0, 1], a < b, the function f intersects
its secant at a, b.
2. Does there exist a continuous function f ∈
/ F such that for any rational a, b ∈ [0, 1], a < b, the function f
intersects its secant at a, b?
Solution
The 16th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 29th March 2006
Category II
Problem 4 Let f : [0, +∞) → R be a strictly convex continuous function such that
f (x)
lim = +∞ .
x→+∞ x
R +∞
Prove that the improper integral 0 sin f (x) dx is convergent but not absolutely convergent.
Solution
The 17th Annual Vojtěch Jarnı́k
International Mathematical Competition
Ostrava, 28th March 2007
Category I
Problem 1. Can the set of positive rationals be split into two nonempty disjoint subsets
Q1 and Q2 , such that both are closed under addition, i.e. p + q ∈ Qk for every p, q ∈ Qk ,
k = 1, 2?
Can it be done when addition is exchanged for multiplication, i.e. p · q ∈ Qk for every
p, q ∈ Qk , k = 1, 2?
[10 points]
Problem 2. Alice has got a circular key ring with n keys, n ≥ 3. When she takes it out
of her pocket, she does not know whether it got rotated and/or flipped. The only way she
can distinguish the keys is by colouring them (a colour is assigned to each key). What is the
minimum number of colours needed? [10 points]
Problem 3. A function f : [0, ∞) → R \ {0} is called slowly changing if for any t > 1 the
limit lim ff(tx)
(x) exists and is equal to 1. Is it true that every slowly changing function has
x→∞
for sufficiently large x a constant sign (i.e., is it true that for every slowly changing f there
exists an N such that for every x, y > N we have f (x)f (y) > 0?) [10 points]
f (x) + f (y) x + y
≤f +1
2 2
for all pairs x, y ∈ [0, 1]. Prove that for all 0 ≤ u < v < w ≤ 1,
w−v v−u
f (u) + f (w) ≤ f (v) + 2 .
w−u w−u
[10 points]
28-Mar-2007 11:33
Category I
Problem 1. Can the set of positive rationals be split into two nonempty disjoint subsets
Q1 and Q2 , such that both are closed under addition, i.e. p + q ∈ Qk for every p, q ∈ Qk ,
k = 1, 2? Can it be done when addition is exchanged for multiplication, i.e. p · q ∈ Qk for every
p, q ∈ Qk , k = 1, 2?
1
Problem 2. Alice has got a circular key ring with n keys, n ≥ 3. When she takes it out
of her pocket, she does not know whether it got rotated and/or flipped. The only way she
can distinguish the keys is by colouring them (a colour is assigned to each key). What is the
minimum number of colors needed?
Solution. Clearly at least two colors are needed in any case to distinguish between at least
two keys. For three, four or five keys on the ring, we will show that three colors are necessary.
For six or more keys on the ring, we will show that two colors suffice. Choose one key and
denote it with k1 . Order all other keys in natural order as they follow each other going from k1
around the ring in one direction. For 1 ≤ i ≤ n denote with c(ki ) color of the key ki . Without
loss of generality let c(k1 ) = 1.
Suppose that two colors suffice for n = 3. Then there are two similar possibilities for coloring
the keys. Either c(k2 ) = c(k3 ) = 2 or c(k2 ) = 1. In the first case one can not distinguish between
keys k2 and k3 . In the second case one can not distinguish between keys k1 and k2 . Hence for
n = 3 we need three colors.
Suppose that two colors suffice for n = 4. Then there are four possibilities for coloring the
keys. If c(k2 ) = c(k3 ) = c(k4 ) = 2, then k2 and k4 can not be distinguished (rotation of the key
ring through the line across k1 and k3 interchanges k2 and k4 ). If c(k2 ) = 1 and c(k3 ) = c(k4 ) = 2
then there is a rotation that interchanges k1 and k2 and also interchanges k3 and k4 (similar is
the case when c(k4 ) = 1 and c(k2 ) = c(k3 ) = 2). If c(k3 ) = 1 and c(k2 ) = c(k4 ) = 2 then there is
a rotation that interchanges k1 and k3 and there is also other rotation that interchanges k2 and
k4 . Hence for n = 4 at least three colors are needed. Consider the following coloring: c(k1 ) = 1,
c(k2 ) = 2, c(k3 ) = 3 and c(k4 ) = 1 (one possibility). Keys k1 and k4 have the same color, but
one can distinguish between them since k1 has a neighbor colored with color 1 and a neighbor
colored with color 2, while k4 has also one neighbor colored with color 1, but the other neighbor
is colored with color 3. Hence three colors suffice for n = 4.
Suppose that two colors suffice for n = 5. Then there are two possibilities for coloring the
keys: all other keys than k1 are colored with color 2 (the similar is the case when one key gets
color 1, only the roles of the colors are interchanged) or one of them gets color 1 and other
three get color 2 (the same is the case when two keys get color 2, only the roles of the colors are
interchanged). In first case one can not distinguish between keys k2 and k5 and also between
keys k3 and k4 (there is a rotation of the key ring where keys in both pairs interchange, while
k1 is fixed). When there is a key other than k1 with color 1 we need to consider two subcases.
If c(k2 ) = 1 (similar is the case when c(k5 ) = 1) we can not distinguish between k1 and k2 (also
between k3 and k5 ). If c(k3 ) = 1 (similar is the case when c(k4 ) = 1) we can not distinguish
between k1 and k3 (also between k4 and k5 ). Hence for n = 5 at least three colors are needed.
Consider the following coloring: c(k1 ) = 1, c(k2 ) = 2, c(k3 ) = 3 and c(k4 ) = c(k5 ) = 2 (one
possibility). Keys k2 , k4 and k5 have the same color, but one can distinguish between them
since k2 is the only one between them that has a neighbor colored with color 1 and a neighbor
colored with color 3, while only k4 has a neighbor colored with color 3 and a neighbor colored
with color 2. Hence three colors suffice for n = 5.
For n ≥ 6 consider the following coloring: c(k1 ) = 1, c(kn ) = 2, c(kn−1 ) = c(kn−2 ) = 1 and
c(ki ) = 2 for 2 ≤ i ≤ n − 3. Then k1 is the only key of color 1 with both neighbors colored with
color 2. Keys kn−1 and kn−2 both have neighbors of two different colors, but the distance (the
smallest of the two numbers: number of the keys lying between the two keys in one and other
direction) between kn−1 and k1 is one while the distance between kn−2 and k1 is two. Hence
one can distinguish between all three keys colored with color 1. Among keys colored with color
2 only kn has both neighbors colored with color 1. All other keys: ki for 2 ≤ i ≤ n − 3 have
either one or two neighbors colored with color 2. But any ki , where 2 ≤ i ≤ n − 3, has a pair of
distances: distance between ki and k1 and distance between ki and kn−2 that is different from
any other pair of distances of some key kj 6= ki for 2 ≤ j ≤ n − 3 . Hence we can distinguish
also between keys colored with color 2.
2
Problem 3. A function f : [0, ∞) → R \ {0} is called slowly changing if for any t > 1 the
limit lim ff(tx)
(x) exists and is equal to 1. Is it true that every slowly changing function has for
x→∞
sufficiently large x a constant sign (that is — it is true that for every slowly changing f there
exists N such that for every x, y > N we have f (x)f (y) > 0?)
Remark. The assumption f (x) 6= 0 is only technical, to avoid explaining what does the limit
mean in the other case, and in reality changes nothing.
Remark. The reader is encouraged to try and solve the problem himself before reading the
solution. The author’s and the proposer’s opinion is that although the solution is simple, it is
not so easy to find it (both tried, both succeeded, but both spent some time on it before getting
the correct idea).
Solution. Take t = 2. Take such a N > 0 that for x > N we have ff(2x)(x) > 0. This means
f (2x) and f (x) are of the same sign for x > N . Suppose that for any x > N we have that
f (x) and f (N ) are of a different sign. Let t = Nx . Then ff(tN )
(N ) < 0, and by easy induction
f (t2k N ) f (tx)
< 0 for any k ∈ N, which contradicts the assumption
f (2k N ) f (x) → 1 when x tends to ∞. The
contradiction proves the thesis.
3
Problem 4. Let f : [0, 1] → [0, ∞) be an arbitrary function satisfying
f (x) + f (y) x + y
≤f +1 (1)
2 2
for all pairs x, y ∈ [0, 1]. Prove that for all 1 ≤ u < v < w ≤ 1,
w−v v−u
f (u) + f (w) ≤ f (v) + 2 .
w−u w−u
Solution. Let
w−v v−u
M (u, w) = sup f (u) + f (w) − f (v) ;
v∈(u,w) w−u w−u
w−v v−u
M (u, w) − ε < f (u) + f (w) − f (v)
w−u w−u
w−v v−u f (u) + f (2v − u)
≤ f (u) + f (w) − +1
w− u w−u 2
1 w − (2v − u) (2v − u) − u
= f (u) + f (w) − f (2v − u) + 1
2 w−u w−u
1
≤ M (u, w) + 1 ;
2
M (u, w) ≤ 2 + 2ε .
u+w
Otherwise, if 2 < v, apply x = w − 2(w − v) = 2v − w and y = v in (1):
f (2v − w) + f (w)
≤ f (v) + 1 ;
2
w−v v−u
M (u, w) − ε < f (u) + f (w) − f (v)
w−u w−u
w−v v−u f (2v − w) + f (w)
≤ f (u) + f (w) − +1
w− u w−u 2
1 w − (2v − w) (2v − w) − u
= f (u) + f (w) − f (2v − w) + 1
2 w−u w−u
1
≤ M (u, w) + 1 ;
2
M (u, w) ≤ 2 + 2ε .
In both cases we obtained M (u, w) ≤ 2 + 2ε. This holds for all ε, therefore M (u, w) ≤ 2.
4
The 17th Annual Vojtěch Jarnı́k
International Mathematical Competition
Ostrava, 28th March 2007
Category II
Problem 1. Construct a set A ⊂ [0, 1] × [0, 1] such that A is dense in [0, 1] × [0, 1] and every
vertical and every horizontal line intersects A in at most one point. [10 points]
A + At = I ,
where At denotes the transpose of A and I the n × n identity matrix. Show that det A > 0.
[10 points]
Problem 3. Let f : [0, 1] → R be a continuous function such that f (0) = f (1) = 0. Prove
that the set
A := h ∈ [0, 1] : f (x + h) = f (x) for some x ∈ [0, 1]
is Lebesgue measureable and has Lebesgue measure at least 21 . [10 points]
Problem 4. Let S be a finite set with n elements and F a family of subsets of S with the
following property:
A ∈ F, A ⊆ B ⊆ S =⇒ B ∈ F.
Prove that the function f : [0, 1] → R given by
X
f (t) := t|A| (1 − t)|S\A|
A∈F
28-Mar-2007 11:33
Category II
Problem 1. Construct a set A ⊂ [0, 1] × [0, 1] such that A is dense in [0, 1] × [0, 1] and every
vertical and every horizontal line intersects A in at most one point.
α
Solution. Take α, β 6∈ Q such that β 6∈ Q. Then
A := ({nα}, {nβ}) : n ∈ N ,
1
Problem 2. Let A be a real n × n matrix satisfying
A + At = I ,
where At denotes the transpose of A and I the n × n identity matrix. Show that det A > 0.
r1 i, −r1 i, . . . , rs i, −rs i, 0, . . . , 0
2
Problem 3. Let f : [0, 1] → R be a continuous function such that f (0) = f (1) = 0. Prove
that the set
A := h ∈ [0, 1] : f (x + h) = f (x) for some x ∈ [0, 1]
has Lebesgue measure at least 12 .
has the same Lebesgue measure as the set A. We show that A ∪ B = [0, 1].
For any h ∈ [0, 1] we define a function g : [0, 1] → R by
g(x) = f (x + h) − f (x) if x + h ≤ 1
and
g(x) = f (x + h − 1) − f (x) if x + h > 1 .
From the assumption we have that g is continuous. If f has its minimum and maximum,
respectively, in x0 and x1 , then g(x0 ) ≥ 0 and g(x1 ) ≤ 0. From Darboux property we have that,
there exists x2 such that g(x2 ) = 0, therefore h ∈ A or h ∈ B. This completes the proof.
3
Problem 4. Let S be a finite set with n elements and F a family of subsets of S with the
following property:
A ∈ F, A ⊆ B ⊆ S =⇒ B ∈ F
Prove that the function f : [0, 1] → R given by
X
f (t) := t|A| (1 − t)|S\A|
A∈F
Solution. Without loss of generality assume S = {1, 2, . . . , n}. For each subset A and every
n
(j)
It,A in Rn , where
Q
t ∈ [0, 1] construct a set It,A :=
j=1
(
(j) [0, t) if j ∈ A
It,A :=
[t, 1] if j ∈
/ A.
It’s clear that for any two different subsets A and B the sets It,A and It,B are disjoint.SSince the
c
volume of It,A is equal to t|A| (1 − t)|A | we have that f (t) is equal to the volume of A∈F It,A .
So the claim will be proved if we prove that
[ [
It1 ,A ⊆ It2 ,A for all 0 < t1 < t2 < 1 . (1)
A∈F A∈F
Take an arbitrary x = (x1 , x2 , . . . , xn ) ∈ It1 ,A for some A ∈ F. Construct a set B ⊆ S such that
j ∈ B if and only if xj ≤ t2 . If j ∈ / B then xj > t2 > t1 which implies j ∈ / A. So A ⊆ B and thus
B ∈ F. Moreover, from the definition of B, we have x ∈ It2 ,B . This proves (1) and the problem
is solved.
4
The 18th Annual Vojtěch Jarnı́k
International Mathematical Competition
Ostrava, 2nd April 2008
Category I
2008
X
1004 − |1004 − n| xn .
p(x) =
n=1
[10 points]
[10 points]
Problem 3. Find all c ∈ R for which there exists an infinitely differentiable function
f : R → R such that for all n ∈ N and x ∈ R we have
[10 points]
Problem 4. The numbers of the set {1, 2, . . . , n} are colored with 6 colors. Let
and
D := (x, y, z) ∈ {1, 2, . . . , n}3 : x + y + z ≡ 0 (mod n)
and x, y, z have three different colors .
Prove that
n2
|D| ≤ 2|S| + .
2
(For a set A, |A| denotes the number of elements in A.) [10 points]
2-Apr-2008 12:08
Problem j18-I-1. Find all complex roots (with multiplicities) of the polynomial
2008
X
1004 − |1004 − n| xn .
p(x) =
n=1
1003
X 2
p(x) = x xn .
n=0
1003
x1004 −1
xn = we conclude that p has the simple root 0 and the roots exp πin
P
Since x−1 , 502 ,
n=0
n = 1, 2, . . . , 1003, with multiplicity 2.
an = A(−3)n + B(−2)n + C .
f (a) = f (a0 ) = a1 = a ,
Solution. For c ≤ 0 we can take f (x) = e2x . Then f (n+1) (x) = 2n+1 e2x > 2n e2x =
(n)
f (x).
For positive c no function satisfies (1). We begin with two simple lemmas.
Lemma 1. If f satisfies (1), then for any x ∈ R there exists an y ≤ x such that f (y) ≤ − 2c .
Proof. If f (t) > − 2c on (−∞, x], then f 0 (t) > 2c for any t < x, thus
Z x
c
f (y) = f (x) − f 0 (t) dt ≤ f (x) − (x − y)
y 2
for any y < x, thus for sufficiently small y we have f (y) < 0, a contradiction.
Lemma 2. If f satisfies (1), then for any x ∈ R such that f (x) < 2c we have f (y) < 2c for
any y ≤ x.
Proof. Suppose that there exists a y ≤ x such that f (y) ≥ − 2c . Let z := sup t ≤ x :
For arbitrary u, v, w ∈ {1, 2, . . . , 6}, denote by Nuvw the number of triples (x, y, z),
satisfying x + y + z ≡ 0 (mod n) and having colors u, v and w, respectively. For any u, v we
P6
obviously have Nuvw = nu nv and therefore
w=1
6
1 X X X
|S| − |D| = Nuuu − Nuvw
2 u=1 1≤u<v≤6 w6=u,v
6
X X X
n2u −
= Nuuv − nu nv − Nuuv − Nuvv
u=1 v6=u 1≤u<v≤6
6
X X
= n2u − nu nv .
u=1 1≤u<v≤6
Second solution. We present a different proof for the relation (1). We use the nota-
tion Nuvw as well.
For every u = 1, 2, . . . , 6, let CuPbe the set of those numbers from {1, 2, . . . , n} which
have the uth color and let fu (t) := tx .
x∈Cu
Let ε := e2πi/n . We will use that for every integer s,
n−1
1 X js 1 if s ≡ 0 (mod n)
ε =
n 0 if s 6≡ 0 (mod n) .
j=0
6 6
1 X X X X
|S| − |D| = fu2 (1) − fu (1)fv (1) = n2u − nu n v .
2 u=1 u<v u=1 u<v
Problem 2. Find all continuously differentiable functions f : [0, 1] → (0, ∞) such that
f (1)
f (0) = e and
Z 1 Z 1
dx
2
+ f 0 (x)2 dx ≤ 2 .
0 f (x) 0
[10 points]
Problem 4. We consider the following game for one person. The aim of the player is to
reach a fixed capital C > 2. The player begins with capital 0 < x0 < C. In each turn
let x be the player’s current capital. Define s(x) as follows:
x if x < 1
(
s(x) := C − x if C − x < 1
1 otherwise.
Then a fair coin is tossed and the player’s capital either increases or decreases by s(x), each
with probability 21 . Find the probability that in a finite number of turns the player wins by
reaching the capital C. [10 points]
2-Apr-2008 12:09
Problem j18-II-1. Find all functions f : Z → Z such that
for all x ∈ Z.
Solution. Suppose that there exists a function f : Z → Z satisfying the above equation.
Then define a function g: Z → Z by
Let us fix y ∈ Z and let a := g(y). Define a sequence (xn )n≥0 as follows
17 17n
a = g(x0 ) = g(x1 ) = . . . = n g(xn )
2 2
for any n > 0. Consequently, we infer that
2n a = 17n g(xn )
for any n > 0. Since 2 and 17 are relatively prime, we deduce that 17n | a for any n > 0
and therefore a = 0. Moreover, since y was arbitrary, it follows that g(y) = 0 for any y ∈ Z.
Thus y − f (y) = 0 for any y ∈ Z and hence f (y) = y for any y ∈ Z. This implies that only
one function satisfies the equation (1). So, this completes the solution.
f (1) R1 R1
since f (0) = e and dx
0 f (x)2
+ 0
f 0 (x)2 dx ≤ 2. Therefore
Z 1
1 2
f 0 (x) − dx = 0 . (1)
0 f (x)
Since f is continuously differentiable function on [0, 1], the equality (1) is equivalent to
2π 2π
where ζ = cos n + i sin
n .
√ √
The free term of f (X) has an absolute value equal to ( n n)|A| . Hence√( n n)deg f (X) is
integer,√and deg f (X) ≥ k follows (k is as in the lemma). But, clearly n n is a root of
X k − ( n n)k , which has integer coefficients.
√ √
Let us assume that 1, n n, m m√are linearly√ dependent over Q, i.e. there are rational
a, b, c not all equal 0 such that
√ a + b n
n + c m
m = 0. √ √
Case a 6= 0. Then, as n n is irrational, we √ have b, c 6=√0. But a + b n n = −c m m has
the same degree of a minimal √ polynomial√as n n, and as m m. Let k be the degree of the
minimal polynomial for m
m. Then y = n n satisfies
√
(a + by)k = ( m m)k ,
√
but y k and ( m m)k are rational, and√
as a, b 6= 0 we obtain that there is a nonzero polynomial
with rational coefficients vanishing
√
n
n of degree smaller than k, a contradiction.
n
n nm
Case a = 0. Hence m m is rational, and this is equivalent to m
√ n is a mn-th power of
n = mm/n ,
√ √ √ √ √
and n n = m m follows. As the function x x has maximum at x = e, we see that n n = m m
holds only for n = 2, m = 4.
x if x < 1
(
s(x) := C − x if C − x < 1
1 otherwise.
Then a fair coin is tossed and the player’s capital either increases or decreases by s(x), each
with probability 21 . Find the probability that in a finite number of turns the player wins by
reaching the capital C.
Solution. Let us denote by f (x) the probability that player wins with starting capital x.
If x ≤ 1, then he loses if loses the first turn, and if he wins the first turn, he has
capital 2x. Thus f (x) = 12 f (2x).
If x ≥ C − 1 the player wins if he wins the first turn, and has 2x − C in other case, thus
f (x) = 21 + 12 f (2x − C).
In all other cases there is f (x) = 12 f (x − 1) + f (x + 1) .
Obviously g(0) = g(C) = 0. Let K = sup f (t) ∈ [0, ∞). Denote n0 = [C] − 1 ≥ 1.
t∈[0,C]
n
We will prove for any natural 0 < n ≤ n0 and x ∈ (n − 1, n] there is g(x) ≤ 2 2−1
n K.
1 1 2n−1 − 1 2n − 1
g(x̄) = g(x̄ − 1) + g(x̄ + 1) ≤ K + K = K
2 2 2n−1 2n
as required.
g(x) ≤= 12 g(2x − C) ≤ K 2 for x ≥ C − 1.
Now take x ∈ (n0 , C − 1) (it is empty set for integer C). We have proved that g(x − 1) ≤
2n0 −1 2n0 −1
2n0 K (as x − 1 ∈ (n0 − 1, n0 )) and g(x + 1) ≤ K 2 (x + 1 > C − 1). Thus g(x) ≤ 2n0 K.
n0
Thus we have proved, that g(x) ≤ 2 2n−1 0
K for every x ∈ [0, C], which means that K = 0.
Similarly one can prove, that inf f (t) = 0. Thus g(x) ≡ 0, so f (x) = Cx .
t∈[0,C]
Problem 1 Let ABC be a non-degenerate triangle in the euclidean plane. Define a sequence (Cn )∞ n=0 of points
as follows: C0 := C, and Cn+1 is the center of the incircle of the triangle ABCn . Find lim Cn .
n→∞
[10 points]
Solution If α is the angle at A, β the angle at B, then the limit is the point on the side AB dividing it in the
ratio α : β. Let αi and βi be the angles at A and B in ABCi , respectively. Since the center of the incircle is
the intersection of the angle bisectors, we have αi+1 = α2i and βi+1 = β2i ; so the limit point will obviously lie
on AB; furthermore, αβii = αβ =: q for all i. Thus, if Ki is the circumcircle of ABCi , S1,i and S2,i the arcs over
|S |
ACi and BCi , respectively, then |S1,i
2,i |
= q for all i. Now, as the Ci approache AB, the arcs converge to the
corresponding sides of the triangle. Hence, the result follows.
The 19th Annual Vojtěch Jarnı́k
International Mathematical Competition
Ostrava, 1st April 2009
Category I
a a
Let k + 1 = 2a q with positive odd integer q and a ≥ 1. Then 22 + 1 2M . Indeed, 22 + 1 2k+1 + 1
and a k−1 k−2 1
22 + 1 22 + 1 22 + 1 . . . 22 + 1 ,
Problem 3 Let k and n be positive integers such that k ≤ n − 1. Let S := {1, 2, . . . , n} and let A1 , A2 , . . . , Ak
be nonempty subsets of S. Prove that it is possible to color some elements of S using two colors, red and blue,
such that the following conditions are satisfied:
Since k < n, this system has a nontrivial solution (x1 , x2 , . . . , xn ), i.e. a solution with at least one nonzero xj .
Now color red all elements of the set {j ∈ S : xj > 0}, color blue all elements of the set {j ∈ S : xj < 0}, and
leave uncolored all elements of {j ∈ S : xj = 0}.
P is nontrivial, at least one element is colored. If Ai contains some red element j ∈ S then
Since the solution
xj > 0, and from j∈Ai xj = 0 we see that there exists some j 0 ∈ Ai such that xj 0 < 0, i.e. j 0 is colored blue.
Thus Ai must have elements of both colors. Analogously we argue when Ai contains a blue element. Therefore
we see that the above coloring satisfies all requirements.
The 19th Annual Vojtěch Jarnı́k
International Mathematical Competition
Ostrava, 1st April 2009
Category I
a) Does there exist a sequence of real positive numbers which covers the set of positive integers?
b) Does there exist a sequence of real numbers which covers the set of positive integers?
[10 points]
Solution The answer to the second question is positive.
First we shall prove that for any n there exists a finite sequence (xi )ki=1
n
of real numbers such that
kn
X
x2m+1
i =0 for 0 ≤ m < n
i=1
and
kn
X
x2m+1
i 6= 0 for m ≥ n .
i=1
Pkn 2m+1
For the simplicity of notation we shall write Sm (xi ) for i=1 xi . We shall prove the thesis by induction
upon n. For n = 0 the appropriate sequence is x1 = 1.
Assume the thesis for n. For n + 1 consider the sequence
(yi )3k
i=1 = (−x1 , −x2 , . . . , −xkn , αx1 , αx2 , . . . , αxkn , αx1 , αx2 , . . . , αxkn ) ,
n
where α = 2−1/(2n+1) . As Sm (xi ) = 0 for m < n, we also have Sm (yi ) = 0. We also have
Gl ≤ mak1 + nakm+1 + C .
On the other hand Gl ≥ mak+1
1 for l ≥ k. For sufficiently large k, however, we have
mak+1
1 > mak1 + nakm+1 + C + 2 ,
ii) ai is equal to the number of occurences of the number i in the sequence (a0 a1 . . . ab−1 ).
For example, (1210)4 is self-descriptive in base 4, because it has four digits and contains one 0, two 1s, one 2
and no 3s.
a) Find all bases b ≥ 2 such that no number is self-descriptive in base b.
b) Prove that if x is a self-descriptive number in base b then the last (least significant) digit of x is 0.
[10 points]
Solution
1. For b ≥ 7 it is easy to verify that the number of the form (b − 4)bb−1 + 2bb−2 + bb−3 + b4 is a self descriptive
number (it contains b − 4 instances of digit 0, two instances of digit 1, one instance of digit 2 and one
instance of digit b − 4), and numbers 21200(5) and 2020(4) are self-descriptive numbers in bases 5 and 4,
respectively.
It remains to show that for bases 2, 3 and 6 no self descriptive numbers exist. First note, that a self-
descriptive number (in any admissible base) contains at least one instance of the digit 0. If it does not,
then the first digit is 0, which is a contradiction.
It is easy to prove the claim for b = 2, 3.
Let us prove it for b = 6. Assume there exists x = (b0 b1 b2 b3 b4 b5 )(6) , where x is a self-descriptive number.
We observe the following about x:
P5
(a) i=0 bi = 6
(b) b0 6= 0
P5
(c) i=1 bi = |{bi , bi 6= 0, i ≥ 1}| + 1
(d) Other than the first digit, the set of all other non-zero digits consists of several 1’s and one 2.
Observation 1d implies that all but one of the digits b3 , b4 and b5 are 0, now it is easy to check, that no
such number is self-descriptive, which is a contradiction. Therefore base b = 6 contains no self-descriptive
numbers.
2. Assume that there is in fact a self-descriptive number x in base b that it is b-digits long but not a multiple
of b. The digit at position b − 1 must be at least 1, meaning that there is at least one instance of the digit
b − 1 in x. At whatever position a that digit b − 1 falls, there must be at least b − 1 instances of digit a in
x. Therefore, we have at least one instance of the digit 1, and b − 1 instances of a. If a > 1, then x has
more than b digits, leading to a contradiction of our initial statement. And if a = 0 or a = 1, that also
leads to a contradiction.
3. These numbers are: 1210, 2020, 21200, 3211000, 42101000, 521001000, 6210001000. That these are the
only such numbers, follows from previous observations.
The 19th Annual Vojtěch Jarnı́k
International Mathematical Competition
Ostrava, 1st April 2009
Category II
Problem 2 Let E be the set of all continuously differentiable real valued functions f on [0, 1] such that f (0) = 0
and f (1) = 1. Define
Z 1
J(f ) = (1 + x2 )(f 0 (x))2 dx .
0
Hence Z 1
4
inf (1 + x2 )(f 00 (x))2 dx ≥ .
f ∈E 0 π
Finally, let Z x
4
f (x) := arctan t dt
π 0
for x ∈ [0, 1]. Then f 0 (x) = π4 arctan x (by the fundamental theorem of Calculus) and f 00 (x) = 4 1
π 1+x2 , for
x ∈ [0, 1]. Consequently, we deduce that f ∈ E and
1
16 1 1
Z 4 1 2 Z
16 π 4
J(f ) = (1 + x2 ) dx = dx = 2 · = ,
0 π 1 + x2 π 2 0 1 + x2 π 4 π
which proves that J attains its minimum on E. This completes the solution.
The 19th Annual Vojtěch Jarnı́k
International Mathematical Competition
Ostrava, 1st April 2009
Category II
2 2
Problem 3 Let A be an n × n square matrix with integer entries. Suppose that p2 Ap = q 2 Aq + r2 In for
some positive integers p, q, r where r is odd and p2 = q 2 + r2 . Prove that |det A| = 1.
(Here In means the n × n identity matrix.) [10 points]
Solution Consider the function f : R → R.
2 2
f (x) = p2 xp − q 2 xq − r2 . (1)
Observe that q 4
2 2
f 0 (x) = p4 xq −1
xr − .
p
4
The roots of equation f 0 (x) = 0 are x1 = 0 and x2 = pq r2 (r 6= 0 and q 6= 1). From f (0) = −r2 < 0 and
4
f pq r2 < 0 we obtain
−1 if x < 1 ,
sgn f (x) = 0 if x = 1 , (2)
1 if x > 1 .
f (|λ|) ≤ 0 . (4)
From (2) and (4) we obtain 0 ≤ |λ| ≤ 1 or 0 ≤ |λk | ≤ 1 for all k = 1, . . . , n. Because f (0) = −r2 6= 0, it results
that λk 6= 0 for all k.
Hence
0 < |λk | ≤ 1 for all k = 1, . . . , n . (5)
From det A = λ1 λ2 · · · λn we obtain
Problem 4 Let k, m, n be positive integers such that 1 ≤ m ≤ n and denote S = {1, 2, . . . , n}. Suppose that
A1 , A2 , . . . , Ak are m-element subsets of S with the following property: for every i = 1, 2, . . . , k there exists a
partition S = S1,i ∪ S2,i ∪ · · · ∪ Sm,i (into pairwise disjoint subsets) such that
(i) Ai has precisely one element in common with each member of the above partition.
(ii) Every Aj , j 6= i is disjoint from at least one member of the above partition.
n−1
Show that k ≤ m−1 . [10 points]
(i)
Solution Without loss of generality assume that 1 ∈ S1 for all i = 1, 2, . . . , k, because otherwise we simply
rename members of each partition.
For every i = 1, 2, . . . , k define the polynomial
m X
Y
Pi (x2 , x3 , . . . , xn ) = xs
l=2 s∈Sl
(i)
(i) (i)
On the other hand, if j 6= i then either some Aj ∩ Sl , l ≥ 2 is empty, or all Aj ∩ Sl , l ≥ 2 are nonempty but
(i) (i)
Aj ∩ S1 = ∅. In the latter case we must have |Aj ∩ Sl | = 2 for some l ≥ 2. In any case we have at least one
even factor in the following product, and so
m
(i)
Y
Pi (χj ) = |Aj ∩ Sl | ≡ 0 (mod 2) .
l=2
Therefore all diagonal entries in the matrix [Pi (χj )]i,j=1,2,...,k are odd, while all non-diagonal entries are
even. Consequently, its determinant is an odd integer, in particular it is not 0, and thus the matrix is regular.
If polynomials Pi were linearly dependent, we would conclude that rows of [Pi (χj )]i,j=1,2,...,k are also linearly
dependent, but this is not the case. Therefore Pi , i = 1, 2, . . . , k must be linearly independent and this completes
the proof.
The 20th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 25th March 2010
Category I
Problem 1
is convergent?
is convergent.
is convergent. Let f : N → N be given in the following way: f (1) = 4 and for [(n!)2 + 1, ((n + 1)!)2 ] ∩ N we put
n−1
X
f ((n!)2 + k) = [(n + 2)!]2 − (k − 1) if 1 ≤ k < [(n + 1)!]2 − 1 − (−1)j [(n − j)!]2 .
j=0
and
n−1
X
f ([(n + 1)!]2 − k) = [(n − 1)!]2 + k + 1 if 0 ≤ k ≤ 1 + (−1)j [(n − j)!]2 .
j=0
Then
[(n+1)!]2
X 1 ((n + 1)!)2 − (n!)2 (n!)2 − [(n − 1)!]2
≤ +
n + f (n) (n!)2 + [(n + 2)!]2 + 1 [(n + 1)!]2 + [(n − 1)!]2 + 1
j=(n!)2 +1
1 1
<+ .
(n + 2)2 (n + 1)2
Pn 1
Thus we show that the sequence j=1 j+f (j) is bounded. Since it is increasing, it converges.
The 20th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 25th March 2010
Category I
Problem 2 Let A and B be two complex 2 × 2 matrices such that AB − BA = B 2 . Prove that AB = BA.
[10 points]
Solution We may concludethat AB = BA only if 2 6= 0 in F (that is, char F 6= 2).
if and
1 1 0 0
If char F = 2, take B = ,A= .
0 1 1 0
2
a b 2 a + bc b(a + d)
Assume that char F 6= 2. Let B = , then B = . We have a2 + d2 + 2bc =
c d c(a + d) d2 + bc
trace B 2 = trace AB − trace BA = 0. If B is invertible, then A = B(A + B)B −1 , hence
so trace B = 0, d = −a, trace B 2 = 2(a2 + bc) = 0. Since char F 6= 2, it implies a2 + bc = 0, hence B 2 = 0 and
AB = BA. If B is not invertible, then det B = ad − bc = 0, so (a + d)2 = a2 + d2 + 2bc = 0, a + d = 0, a = −d,
a2 + bc = −ad + bc = 0, so B 2 = 0.
The 20th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 25th March 2010
Category I
Problem 3 Prove that there exist positive constants c1 and c2 with the following properties:
a) For all real k > 1,
Z 1 p c1
1 − x2 cos(kx) dx < 3/2 .
0 k
b) For all real k > 1,
Z 1 p c
2
1 − x2 sin(kx) dx > .
k
0
[10 points]
√
Solution Put f (x) = 1 − x2 .
1. Integrating by parts, we have
Z 1 i1 Z 1
h 1 1
f (x) · cos kx dx = f (x) · sin kx − f 0 (x) · sin kx dx .
0 k 0 0 k
The first term is 0 − 0 = 0. The second term is (−1/k) times
Z √1−1/k Z 1
0
f (x) · sin kx dx + √ f 0 (x) · sin kx dx . (1)
0 1−1/k
The 20th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 25th March 2010
Category I
Problem 4 For every positive integer n let σ(n) denote the sum of all its positive divisors. A number n is
called weird if σ(n) ≥ 2n and there exists no representation
n = d1 + d2 + · · · + dr ,
Note that n ∈/ {dj1 , . . . , djs } as the representation must have more than only one summand and the assumption
that n is weird implies n − dj1 − . . . − djs 6= 0. Hence as the right hand expression is divisible by p and non
zero, so must be di1 + · · · + dir which is impossible as p > σ(n).
It remains to find a weird number. A possible reasoning could be: look for a number n with σ(n) = 2n + 4
that is not divisible by 3 and 4. Then the smallest possible divisors are 1, 2, 5 so that it will be impossible to
represent 4, and hence n, as a sum of pairwise distinct divisors of n. Checking for numbers with three distinct
prime factors 2, p, q yields
σ(2pq) = 3(p + 1)(q + 1) = 3pq + 3p + 3q + 3
and hence we need
3pq + 3p + 3q + 3 = 4pq + 4 ⇐⇒ (p − 3)(q − 3) = 8 .
This equality is solved by p = 5 and q = 7 which yields the weird number n = 70.
The 20th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 25th March 2010
Category II
Problem 1 Let a and b be given positive coprime integers. Then for every integer n there exist integers x, y
such that
n = ax + by .
Prove that n = ab is the greatest integer for which xy ≤ 0 in all such representations of n. [10 points]
Solution The greatest such integer is a · b.
If ab = ax + by, then a | y and b | x. Thus if x > 0, then x ≥ b and by = ab − ax ≤ ab − ab = 0, so y ≤ 0.
Now let n > ab. Let n = ax + by be the representation such that x is positive and as small as possible. Then
since n = a(x − b) + b(y + a) is another representation of n, x − b must not be positive and therefore x ≤ b.
Hence by = n − ax ≥ n − ab > 0, so y > 0.
The 20th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 25th March 2010
Category II
Problem 2 Prove or disprove that if a real sequence (an ) satisfies an+1 − an → 0 and a2n − 2an → 0 as n → ∞,
then an → 0. [10 points]
Solution The proposition is true.
From the condition an+1 −an → 0 we conclude by Cesaro’s lemma that ann → 0. Since the sequence a2n −2an
must be bounded, we know that
C := sup{|a2n − 2an | : n ∈ N} < ∞ .
Considering the identity
m
an a m+1 X an·2k an·2k+1
− n·2m+1 = −
n n·2 n · 2k n · 2k+1
k=0
Now from
∞
a X ∞
n an·2k an·2k+1 X C C
≤ − ≤ =
n n · 2k n · 2k+1 n · 2k+1 n
k=0 k=0
a2nk → 2a ,
a4nk → 4a ,
..
.
which would result in an unbounded set of accumulation points a, 2a, 4a, . . . of (an ) in contradiction to (an )
being bounded.
The 20th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 25th March 2010
Category II
Problem 3 Let A and B be two n × n matrices with integer entries such that all of the matrices
are invertible and their inverses have integer entries, too. Show that A + (2n + 1)B is also invertible and that
its inverse has integer entries. [10 points]
Solution Suppose that the n × n matrix M has integer entries and M has inverse matrix M −1 with integer
entries. Then M · M −1 = I implies det M · det M −1 = 1. Thus det M = 1 or det M = −1. Set M (t) = A + tB.
The determinant of the matrix M (t)
is the polynomial of degree n in t. The polynomial det M (t) takes values 1 or −1 at points t = 0, 1, 2, . . . , 2n.
Hence det M (t) takes the value 1 or the value −1 at least n + 1 times. This implies that det M (t) is a
constant polynomial: M (t) = 1 or M (t) = −1 for all t. Consequently, det M (2n + 1) = ±1. Hence the matrix
A + (2n + 1)B is invertible. By Cramer’s formula, the inverse matrix has integer entries, since the determinant
is equal to 1 or −1.
The 20th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 25th March 2010
Category II
(The edges of the rectangles are not necessarily parallel to the coordinate axes.) [10 points]
Solution Assume without loss of generality that f (0) = 0, thus |f (x)| ≤ 1 for x ∈ [0, 1].
First notice that if C ⊂ [0, 1] is a set of Lebesgue measure no larger than ε/3, then it can be covered by a
countable family of intervals Ii of total measure at most ε/2, and thus {(x, f (x) : x ∈ C} is covered by rectangles
Ii × [−1, 1], and their total width is at most ε/2.
Notice that as we are interested in only one dimension of the rectangle, and the graph we are to covered is
bounded, we may as well think in terms of covering with strips instead of rectangles.
For now on fix ε > 0. We shall introduce a few definitions. Let x, y ∈ [0, 1]. We say that the interval [x, y]
is covered, if |f (z) − α(z)| < ε|x − y| for all z ∈ [x, y], where α is the linear function meeting f at x and y. The
inclination of an interval [x, y], denoted i(x, y), is the number |f (x) − f (y)|/|x − y|. Notice the inclination of
any interval cannot be larger than 1 as f is 1-Lipschitz.
Now we prove the following lemma.
Lemma There exists a constant δ > 0 such that the following holds. Consider any interval [x, y] ⊂ [0, 1]. Then
either [x, y] is covered, or there exists a subinterval [x0 , y 0 ] ⊂ [x, y] of length |y 0 − x0 | > δ|x − y| and inclination
at least i(x, y) + ε.
Proof The proof is pretty simple. If [x, y] is not covered, then there exists a point z ∈ [x, y] with |f (z)−α(z)| >
ε|x − y|. Without loss of generality assume f (x) < f (y) and f (z) − α(z) > ε|x − y|. The interval [x, z] in this
case has inclination
f (y)−f (x)
f (z) − f (x) α(z) + ε(y − x) − f (x) y−x (z − x) + ε(y − x)
i(x, z) = |f (x) − f (z)|/|x − z| = ≥ =
z−x z−x z−x
f (y) − f (x) y−x
= +ε ≥ i(x, y) + ε.
x−y z−x
The cases of f (x) > f (y) and (or) f (z) − α(z) < −ε|x − y| are similar. Moreover we have
f (z) > α(z) + ε|x − y| = f (x) ± i(x, y)(z − x) + ε(y − x) .
Thus
2|z − x| ≥ |f (z) − f (x)| + i(x, y)|z − x| ≥ f (z) − f (x) ± i(x, y)(z − x) ≥ ε|x − y| ,
thus |z − x| ≥ ε|x−y|
2 , which finishes the proof of the lemma with δ = ε/2.
Take a constant n > 1/ε. If begin with an interval [x, y] and apply the lemma n times, we end up with
an interval of length at least |x − y|δ n , which is either covered, or has inclination at least nε — the second
is impossible, however, as the inclination of any interval is at most 1. Thus for any interval we can find its
subinterval of length at least δ n times the length of the original, which is covered. Thus we have the following
corollary: for any interval [x, y] ⊂ [0, 1] there exists a covered subinterval [x0 , y 0 ] of [x, y] of length at least
c|x − y| for some fixed constant c.
Now we are ready to solve the S problem. We shall construct a family of disjoint intervals Ci ⊂ [0, 1], with
the Lebesgue measure of [0, 1] \ Ci no larger than ε. Each of these intervals will be covered, and thus we
shall be able to cover the whole graph of f by rectangles — each interval is covered, and thus the appropriate
piece of the graph is contained in a rectangle of width at most 2ε, while the remaining part can be covered by
a countable family of vertical rectangles of total width at most 2ε. As ε was arbitrary, this will end the proof.
The construction of Ci s follows directly from the corollary — we choose C0 = [x0 , y0 ] to be the interval given
by the corollary for [0, 1], then C1 and C2 the intervals for [0, x0 ] and [y0 , 1] respectively, then (in the third
step), C3 , C4 , C5 and C6 are given for [0, x1 ], [y1 , x0 ], [y0 , x2 ] and [y2 , 1] respectively, and so on. In each step a
constant fraction of measure is removed, thus after sufficiently many steps no more than ε measure remains.
The 21st Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 31st March 2011
Category I
Problem 1
(a) Is there a polynomial P (x) with real coefficients such that
1 k+2
P = ,
k k
for all positive integers k?
W (x) = 2x + 1.
(b) NO. Suppose that such a polynomial W (x) exists. Define a polynomial F (x) as follows
(x + 2)W (x) − x = 0,
Problem 2 Let (an )∞n=1 be unbounded and strictly increasing sequence of positive reals such that the arithmetic
mean of any four consecutive terms an , an+1 , an+2 , an+3 belongs to the same sequence. Prove that the sequence
an+1 /an converges and find all possible values of its limit.
Solution Since an < an+1 < an+2 < an+3 , one has
1
an < (an + an+1 + an+2 + an+3 ) < an+3 ,
4
thus (an + an+1 + an+2 + an+3 )/4 ∈ {an+1 , an+2 }. Hence for any n ∈ N precisely one of the two identities
or
an + an+1 + an+2 + an+3 = 4an+2 (2)
holds. Let A be the set of indices n ∈ N for which (1) holds and let B be the set of indices n ∈ N for which (2)
holds. Clearly, A ∪ B = N, A ∩ B = ∅. We shall prove that one of A or B is finite. Indeed, suppose the contrary,
that both A and B are infinite. Since A and B partition N, there exists a positive integer k, such that k ∈ B,
k + 1 ∈ A. From (1) and (2), it follows that
ak + ak+1 + ak+2 + ak+3 = 4ak+2 and ak+1 + ak+2 + ak+3 + ak+4 = 4ak+2 .
Hence ak = ak+4 , which contradicts the fact that an is strictly increasing. We now consider two cases.
Case 1) The set A is infinite, the set B is finite. By (1), the sequence an satisfies a linear recurrence
an − 3an+1 + an+2 + an+3 = 0 for all n > n0 . The characteristic polynomial of the linear recurrence
φ(λ) = λ3 + λ2 − 3λ + 1 = (λ − 1)(λ2 + 2λ − 1)
√ √
has roots λ1 = 1, λ2 = −1 − 2, λ3 = −1 + 2. Hence
√ √
an = C1 + C2 (−1 − 2)n + C3 (−1 + 2)n , C1 , C2 , C3 ∈ R, n > n0 .
Observe that λ2 < −1, 0 < λ3 < 1. If C2 6= 0, then limn→∞ |an | = ∞ and an alternates in sign for n sufficiently
large which contradicts the monotonicity property. If C2 = 0, then the sequence an is bounded, which leads to
the contradiction again. Thus we reject the case one.
Case 2) The set A is finite, the set B is infinite. By (1), the sequence an satisfies a linear recurrence
an + an+1 − 3an+2 + an+3 = 0 for all n > n0 . The characteristic polynomial of the linear recurrence
Note that −1 < λ2 < 0, λ3 > 1. If C3 ≤ 0, then the sequence an is bounded from above. Hence C3 > 0 so
an ∼ C3 λn3 as n → ∞ . The standard limit calculation now shows that bn converges and has limit value
an+1 √
lim bn = lim = λ3 = 1 + 2.
n→∞ n→∞ an
The 21st Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 31st March 2011
Category I
to get
∞ ∞ ∞ ∞ X ∞
X 1 + x2k+2 X X X
xk = x k
(1 + x 2k+2
) (j + 1)x j(2k+2)
= xk (1 + x2k+2 )(j + 1)xj(2k+2) =
(1 − x2k+2 )2 j=0 j=0 k=0
k=0 k=0
∞ ∞ ∞
x2
X
2j
X
k 2k+2 j2k
X
2j 1
= (j + 1)x x (1 + x )x = (j + 1)x + =
j=0 j=0
1 − x2j+1 1 − x2j+3
k=0
∞ ∞ ∞ ∞
X (j + 1)x2j X jx2j X (2j + 1)x2j d X
= + = =− log(1 − x2j+1 )
j=0
1 − x2j+1 j=1
1−x 2j+1
j=0
1 − x 2j+1 dx j=0
and
∞ ∞ ∞ ∞ ∞ ∞
X (−x)k X
k
X
(k+1)j
X
j
X
k kj
X (j + 1)xj
= (−x) (j + 1)x = (j + 1)x (−x) x = =
(1 − xk+1 )2 j=0 j=0 j=0
1 + xj+1
k=0 k=0 k=0
∞
d X
= log(1 + xj+1 ).
dx j=0
The 21st Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 31st March 2011
Category I
Problem 4 Let a, b, c be elements of finite order in some group. Prove that if a−1 ba = b2 , b−2 cb2 = c2 and
c−3 ac3 = a2 , then a = b = c = e, where e is the unit element.
Solution Let r(g) denote the rank of g ∈ G. Assume that the assertion does not hold. Let p be the smallest
prime number dividing r(a)r(b)r(c). Without loss of generality we can assume that p | r(b) (if p | r(a) or
p | r(c), then the reasoning is the same). Then there exists k such that r(b) = pk. Let d := bk . Then r(d) = p.
m
Lemma For any m ∈ N, a−m dam = d2 .
Proof First we prove that
a−1 da = d2 .
Indeed, multiplying the equation a−1 ba = b2 k-times with itself we get
and hence
a−1 bk a = (b2 )k = (bk )2 .
Now, the assertion of the above lemma follows from the following calculations:
2 2 3 m
d = ad2 a−1 = a(ad2 a−1 )2 a−1 = a2 d2 a−2 = a2 (ad2 a−1 )2 a−2 = a3 d2 a−3 = · · · = am d2 a−m . (1)
Observe that Fermat’s little theorem implies that 2p ≡ 2 (mod p). Consequently,
p
a−p dap = d2 = d2 = a−1 da. (2)
r · r(a) + s · (p − 1) = 1. (3)
Problem 1 Let n > k and let A1 , . . . , Ak be real n × n matrices of rank n − 1. Prove that
A1 · . . . · Ak 6= 0 .
g f
Solution Consider two linear operators V → V → V of an n-dimensional vector space V. If Ker(f ) ⊂ Im(g),
then dim (Im (f g)) = dim (Im(g)) − dim (Ker(f )) . But we have the inequality
in the general case. Applying the correspondence between linear operators and matrices, we obtain the inequality
rank (AB) ≥ rank B − (n − rank A) for every two matrices A and B. The inequality rank (A1 · . . . · Ak ) ≥
(rank (A1 ) + . . . + rank (Ak )) − (k − 1) n can be deduced from the inequality rank (AB) ≥ rank A + rank B − n
by the simple induction. We obtain the inequality rank (A1 · . . . · Ak ) ≥ k (n − 1) − (k − 1) n = n − k in our
case. Thus, if k < n then rank (A1 · . . . · Ak ) ≥ 1 and the product A1 · . . . · Ak can not be equal to zero.
The 21st Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 31st March 2011
Category II
Solution
∞ X
∞ ∞ ∞ X ∞ ∞ Z 1
X X 1 X X 1
··· = ··· xn1 +...+nk dx =
n1 =1 n2 =1 nk =1
n 1 n 2 . . . nk (n1 + . . . + n k + 1) n1 =1 n2 =1 nk =1
n 1 n 2 . . . n k 0
Z 1 X ∞ X ∞ ∞ n1 +...+nk Z 1 Z ∞
X x −u
= ··· dx = k
(− log(1−x)) dx = [1−x = e ] = uk e−u du = Γ(k+1) = k!
0 n =1 n =1 n n . . . nk
n =1 1 2 0 0
1 2 k
The 21st Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 31st March 2011
Category II
p(z)
Problem 3 Let p and q be complex polynomials with deg p > deg q and let f (z) = . Suppose that all
q(z)
roots of p lie inside the unit circle |z| = 1 and that all roots of q lie outside the unit circle. Prove that
deg p − deg q
max |f 0 (z)| > max |f (z)|.
|z|=1 2 |z|=1
Solution Without loss of generality we can assume that the maximum of |f | is attained at 1.
n1
Q n2
Q
Let p(z) = a (z − ck ) and q(z) = b (z − d` ) where n1 = deg p and n2 = deg q. Then
k=1 `=1
n n
f 0 (z) X1
1 X2
1
= − .
f (z) z − ck z − d`
k=1 `=1
Since |ck | < 1 and |d` | > 1 for all k and `, we have
1 1
Re >
1 − ck 2
and
1 1
Re < .
1 − dk 2
Therefore,
|f 0 (1)| f 0 (1) 1 1 deg p − deg q
≥ Re > n1 · − n2 · =
|f (1)| f (1) 2 2 2
and
|f 0 (1)| deg p − deg q
max |f 0 (z)| ≥ |f 0 (1)| = · |f (1)| ≥ max |f (z)| .
|z|=1 |f (1)| 2 |z|=1
The 21st Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 31st March 2011
Category II
Problem 4 Let Q[x] denote the vector space over Q of polynomials with rational coefficients in one variable
x. Find all Q-linear maps Φ : Q[x] → Q[x] such that for any irreducible polynomial p ∈ Q[x] the polynomial
Φ(p) is also irreducible.
(A polynomial p ∈ Q[x] is called irreducible if it is non-constant and the equality p = q1 q2 is impossible for
non-constant polynomials q1 , q2 ∈ Q[x].)
Solution
The answer is Φ(p(x)) = ap(bx + c) for some non-zero rationals a, b and some rational c. It is clear that
such operators preserve irreducibility. Let’s prove that any irreducibility-preserving operator is of such form.
We start with the following
Lemma 1 Assume that f, g ∈ Π are two polynomials such that for all rational numbers c the polynomial f + cg
is irreducible. Then either g ≡ 0, or f is non-constant linear polynomial and g is non-zero constant.
Proof Let g(x0 ) 6= 0 for some rational x0 . Then for c = −f (x0 )/g(x0 ) we have (f + cg)(x0 ) = 0, so the
polynomial f + cg is divisible by x − x0 . Hence f + cg = C(x − x0 ) for some non-zero rational C. Choose
x1 6= x0 such that g(x1 ) 6= 0. Then for c1 = −f (x1 )/g(x1 ) 6= c (since f (x1 ) + cg(x1 ) = C(x1 − x0 ) 6= 0) we have
f + c1 g = C1 (x − x1 ). Subtracting we get that (c1 − c)g is linear, hence g is linear, hence f too. If f (x) = ax + b,
g(x) = a1 x + b1 , then a 6= 0 (since f is irreducible) and if a1 6= 0, then for c = −a/a1 the polynomial f + cg is
constant, hence not irreducible. So a1 = 0 and we are done.
Denote g0 = C, g1 (x) = Ax + B. Consider the new operator p(x) → C −1 Φ(p(A−1 Cx − A−1 B)). This
operator of course preserves irreducibility, consider it instead Φ.
Now g0 = 1, g1 (x) = x and our goal is to prove that gn = xn for all positive integers n. We use induction by
n. Assume that n ≥ 2 and gk (x) = xk is already proved for k = 0, 1, . . . , n − 1. Denote h(x) = gn (x) − xn and
assume that h is not identical 0. For arbitrary monic irreducible polynomial f of degree n we have Φ(f ) = f +h,
hence f + h is irreducible aswell. Choose rational x0 such that h(x0 ) 6= 0, our goal is to find irreducible f such
that f (x0 ) = −h(x0 ) and hence f + h has a root in x0 .
There are many ways to do it, consider one of them, via Eisenstein’s criterion. Recall it.
Eisenstein’s criterion Assume that f (x) = an xn + · · · + a0 is a polynomial with rational coefficients and p is a
prime number so that ak = bk /ck with coprime integers bk , ck such that bk is divisible by p for k = 0, 1, . . . , n−1,
both bn and cn are not divisible by p and b0 is not divisible by p2 . Then f is irreducible.
Without loss of generality, x0 = 0 (else denote x − x0 by new variable). Then we want to find an irreducible
polynomial f (x) = xn + an−1 xn−1 + · · · + a1 x − h(0). Denote −h(0) = u/v for coprime positive integer v and
non-zero integer u. Take L = 6uv and consider the prime divisor p of the number vLn /u − 1. Clearly, p does
not divide 6uvL. Then consider the polynomial (x + L)n − Ln + u/v. If vLn /u − 1 is not divisible by p2 , then
we are done by Eisenstein’s criterion (with new variable y = x + L). If vLn /u − 1 is divisible by p2 , then add
px to our polynomial and now Eisenstein’s criterion works.
Unless h(x) = −xn + . . . , the polynomial f + h is not linear and so is not irreducible. If n ≥ 3, then we may
add px2 or 2px2 to our polynomial f and get non-linear f + h (but still irreducible f ). Finally, if n = 2, and
h(x) = −x2 + ax + b, then choose irreducible polynomial of the form f (x) = x2 − ax + c and get f + h being
constant (hence not irreducible).
The induction step and the whole proof are finished.
The 22nd Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 30th March 2012
Category I
Problem 1 Let f : [0, 1] → [0, 1] be a differentiable function such that |f 0 (x)| 6= 1 for all x ∈ [0, 1]. Prove that
there exist unique points α, β ∈ [0, 1] such that f (α) = α and f (β) = 1 − β.
Solution Existence: Since f is derivable in [0, 1], then f is continuous in [0, 1]. Considering the functions
g(x) = f (x) − x and h(x) = f (x) − (1 − x) that are continuous in [0, 1] and applying Bolzano’s theorem we get
that exists α ∈ [0, 1] such that g(α) = 0 and β ∈ [0, 1] with h(β) = 0. That is, there exist α, β ∈ [0, 1] for which
f (α) = α and f (β) = 1 − β.
Uniqueness: Suppose that there exist α, α0 ∈ [0, 1], α < α0 ) such that f (α) = α and f (α0 ) = α0 . On account
of Lagrange’s theorem, there exists θ ∈ (α, α0 ) ⊂ [0, 1] such that
f (α0 ) − f (α) α0 − α
f 0 (θ) = = =1
α0 − α α0 − α
contradiction. Likewise, if we assume that there exist β, β 0 ∈ [0, 1], ( β < β 0 ) such that f (β) = 1 − β and
f (β 0 ) = 1 − β 0 . On account of Lagrange’s theorem, there exists θ0 ∈ (β, β 0 ) ⊂ [0, 1] such that
f (β 0 ) − f (β) (1 − β 0 ) − (1 − β)
f 0 (θ0 ) = 0
= = −1
β −β β0 − β
contradiction. This completes the proof.
The 22nd Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 30th March 2012
Category I
It follows that
1 p1 + d p2 a 1
tr(B) = p2 = p3 , and B = =
tr(B) p3 p4 + d 1 b
for some positive integers a and b. Hence,
a2 + 1
a+b
A = B2 = .
a+b b2 + 1
The numbers a2 + 1, b2 + 1, a + b cannot all be odd, thus, one of them equals 2. Since ab = d + 1 = q 2 + 1 ≥ 5
we have max(a, b) ≥ 3. Hence, a + b ≥ 3 + 1 > 2.
Now we assume that a2 + 1 ≤ b2 + 1. Then a2 + 1 = 2 and a = 1. Note that d = ab − 1 = b − 1 and
0 < p2 = a+b = b+1 = d+2 = q 2 +2. If q 6= 3 then q 2 ≡ 1 mod 3 =⇒ p2 ≡ 0 mod 3 =⇒ p2 = 3 =⇒ q 2 = 1,
which is impossible. Hence, q = 3, b = p2 − a = 32 + 2 − 1 = 10,
1 1 2 11
B= , and A = B 2 = .
1 10 11 101
Answer:
2 11 101 11
A= , and A = .
11 101 11 2
The 22nd Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 30th March 2012
Category I
Problem 3 Determine the smallest real number C such that the inequality
x 1 y 1 z 1
√ · +√ · +√ · ≤C
yz x + 1 zx y + 1 xy z + 1
Then the three new variables satisfy a, b, c ∈ (0; 1) and are subject to the condition a + b + c = 1.
Furthermore
1−a 1−b 1−c
x= , y= , z=
a b c
that is (due to 1 − a = b + c, etc.)
and √ p p
2(a + b + c) = 2(a + b + c)2 = (a + b)2 + (a + c)2 + (b + c)2 + 2(ab + bc + ca)
But, employing the Cauchy-Schwarz inequality yields for our inequality
p p p
(a + b) ab(a + b) + (b + c) bc(b + c) + (c + a) ca(a + c) ≤
p p
(a + b)2 + (b + c)2 + (c + a)2 · ab(a + b) + ac(a + c) + bc(b + c).
This together with the two previously stated equations completes the proof. It is also evident that there
cannot exist any triples (a, b, c), and thus also (x, y, z), yielding equality.
The 22nd Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 30th March 2012
Category I
Problem 4 Find all positive integers n for which there exists a positive integer k such that the decimal
representation of nk starts and ends with the same digit.
Solution The number nk ends with zero whenever n is divisible by 10 and starts with nonzero digit. We show
that the claim is true for all other n’s.
It can be easily shown that all the numbers
n, n5 , n9 , . . . , n4m+1 , . . . (1)
ends with the same digit. In fact, n5 − n = n(n − 1)(n + 1)(n2 + 1) is even and for each possible reminder of n
modulo 5 there is a factor divisible by 5 in this product. Thus n5 − n is divisible by 10 and in the same fashion
we can show this for n9 − n5 , n13 − n9 , . . .
Now it suffices to show that for any nonzero digit c there is a number in the sequence (1) which starts with
c. For any nonnegative integer m put dm = n4m+1 /10l , where l is the greatest integer for which 10l ≤ n4m+1 .
Thus 1 ≤ dm < 10 and bdm c is the first digit of n4m+1 . Clearly all the dm ’s are different, since for m0 > m we
have 0 0 0
dm0 n4m +1 /10l n4(m −m)
= 4m+1 = 6= 1
dm n /10l 10l0 −l
(the numerator is not a power of 10 for n not divisible by 10).
The sequence (dm )∞ 2 ε
m=1 has the following property: If dm+i = dm · q, then dm+2i = dm · q · 10 , where
ε ∈ {−1, 0, 1}. This is true since when
0 00
dm = n4m+1 /10l , dm+i = n4(m+i)+1 /10l and dm+2i = n4(m+2i)+1 /10l ,
0
we have q = dm+i /dm = n4i /10l −l and so
00 0 00
−l
dm+2i /dm = n8i /10l = q 2 · 102l −l−l = q 2 · 10ε
By previous remark dm ·q 2 lies in the studied sequence, whenever it lies in the interval [1, 10). Repeating this idea
we have the numbers dm , dm · q, dm · q 2 , dm · q 3 , . . . , dm · q i all lying in the studied sequence and after overrunning
the value 10 we have the numbers dm · q i+1 /10, dm · q i+2 /10, . . . in the sequence, and so on. Computing the
difference of two consecutive terms in this recurrence we get
dm · q j+1 − dm · q j = dm · q j (q − 1) < dm · q j · 1
10 <1 for j < i,
j+1 j j j 1
dm · q /10 − dm · q /10 = dm · q (q − 1)/10 < dm · q /10 · 10 <1 for j > i
Since the difference is less then 1 and after overrunning we jump into the interval [1, 2), we must get at least
one dm+j(m0 −m) in the interval [c, c + 1) for every nonzero digit c.
1
Let dm0 < dm . Then we have dm < dm0 + 10 . Thus
1
dm0 + 10 1 1
1 < q = dm /dm0 < =1+ ≤1+ 10 .
dm0 10dm0
In the very similar way as in the previous case (new terms are generated by dividing instead of multiplying by
q) we obtain the new sequence of terms with consecutive differences less then 1 and after underrunning 1 we
jump to
10
dm /q i+1 · 10 = dm /q i · 10/q > 1 · 100
1 = 11 > 9.
1 + 10
Thus also in this case we must obtain some dm+j(m0 −m) in the interval [c, c + 1) for every nonzero digit c.
This ends the proof.
Answer. Integers satisfying the given conditions are all integers not divisible by 10.
The 22nd Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 30th March 2012
Category II
f (2n+1 ) 1
lim sup < .
n→∞ f (2n ) 2
Prove that Z ∞
f (x) dx < ∞ .
1
Solution Since
2n+1 f (2n+1 )
lim sup < 1,
n→∞ 2n f (2n )
then by ratio test we obtain that the series
∞
X
2n f (2n )
n=1
The 22nd Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 30th March 2012
Category II
Show that M has exactly nine positive real eigenvalues (counted with multiplicities).
Solution Let xT = (0, x1 , ..., x9 ). Then the direct calculation shows that
Let λmin := min{λ | λ ∈ σ(M )} (recall that if a matrix M is symmetric then σ(M ) ⊂ R). Moreover, since M is
symmetric, there exists an orthogonal matrix C such that C T M C = diag{λmin , λ1 ..., λ9 }. Hence we infer that
y T (λmin I − M )y ≤ 0 for y ∈ R10 . Let y T = (1, −1, 0, ..., 0). Then 2λmin ≤ y T M y = −5. Thus λmin < 0.
Let V1 = {(0, x1 , ..., x9 ) | xi ∈ R} ⊂ R10 . Then, in view of (1), we have
yT M y ≥ 0 (2)
Problem 3 Let (A, +, ·) be a ring with unity, having the following property: for all x ∈ A either x2 = 1 or
xn = 0 for some n ∈ N. Show that A is a commutative ring.
Solution Denote by U (A) the multiplicative group of units of the ring A (U (A) = {x | x is invertible}). Note
first that (U (A), ·) is commutative, because if x, y ∈ U (A), (xy)2 = 1 ⇒ xy · xy = 1, and multiplying by x to
the left and by y to the right and using also the fact that x2 = 1 = y 2 , we get that
xy = yx. (1)
i ≥ n or j ≥ m and so xi = 0 or y j = 0;
So
1=x+y ∈
/ U (A),
which is a contradiction; thus (2) is proved.
Commutativity in A follows now from (1) and (2) with a case by case analysis: x, y ∈ A,
and using
(1 − x)(1 − y) = (1 − y)(1 − x) ⇔ 1 − x − y + xy = 1 − y − x + xy ⇔ xy = yx.
Now cases 1 → 4 above show that A is a commutative ring.
The 22nd Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 30th March 2012
Category II
LHS = xU (U + V ) − yU V + z(U + V )V ≥ U (U + V ) − 4U V + (U + V )V = (U − V )2 ≥ 0.
Now, applying Lemma 1 to A = e−at , B = e−bt , and C = e−ct , the statement can be proved as
Z ∞
k−1 −at −bt −at −ct −bt −at −bt −ct −ct −at −ct −bt
0≤ t x(e − e )(e − e ) + y(e − e )(e − e ) + z(e − e )(e − e ) dt
0
Z ∞
k−1 −2at −2bt −2ct −(b+c)t −(c+a)t −(a+b)t
= t xe + ye + ze − (y + z − x)e − (z + x − y)e − (x + y − x)e dt
0
x y z y+z−x z+x−y x+y−z
= Γ(k) + + − − − .
(2a)k (2b)k (2c)k (b + c)k (c + a)k (a + b)k
The 23rd Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 12th April 2013
Category I
Problem 1 Let f : [0, ∞) → R be a differentiable function with |f (x)| ≤ M and f (x)f 0 (x) ≥ cos x for
x ∈ [0, ∞), where M > 0. Prove that f (x) does not have a limit as x → ∞.
Solution Consider a function F : [0, ∞) → R given by
Then:
• |F (x)| 6 f 2 (x) + 2|sin x| 6 M + 2.
• F 0 (x) = 2f (x)f 0 (x) − 2 cos x > 0.
Then (F (xn )) is increasing and bounded and hence convergent. Assume on the contrary that lim f (x) exists.
x→∞
In turn, this implies that lim f 2 (xn ) exists. Thus the sequence F (xn ) − f 2 (xn ) is convergent. But
n→∞
Consequently we get that the sequence (sin(xn )) is convergent. This contradicts the fact that (sin(xn )) is not
convergent since
0 if n = 2k − 1,
sin(xn ) =
1 if n = 2k.
The 23rd Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 12th April 2013
Category I
Problem 2 Let A = (aij ) and B = (bij ) be two real 10 × 10 matrices such that aij = bij + 1 for all i, j and
A3 = 0. Prove that det B = 0.
Solution Let H be the matrix 10 × 10 consisting of units. Then A = B + H. As A3 = 0 then
Problem 3 Let S be a finite set of integers. Prove that there exists a number c depending on S such that for
each non-constant polynomial f with integer coefficients the number of integers k satisfying f (k) ∈ S does not
exceed max(deg f, c).
Solution For each set T ⊆ Z let N (f, T ) denote the number of distinct integers k for which f (k) ∈ T . Suppose
that the cardinality of S is at least 2 and suppose for some two elements s1 6= s2 of S the equations f (x) = s1
and f (x) = s2 both have integer solutions, say, x = k1 and x = k2 , respectively. (Otherwise, we immediately
obtain N (f, S) ≤ deg f .) Put d = d(S) for the difference between the largest and the smallest elements of S.
We claim that then N (f, S) ≤ 4d(S).
Indeed, if for some k ∈ Z we have f (k) = s ∈ S, where s 6= s1 (and so k 6= k1 ), then k − k1 divides the
integer f (k) − f (k1 ) = s − s1 . Thus |k − k1 | ≤ |s − s1 | ≤ d. Clearly, there are at most 2d of such integers k
(since k 6= k1 ), so N (f, S \ {s1 }) ≤ 2d. By the same argument, we must have N (f, S \ {s2 }) ≤ 2d. Since S is
contained in the union of the sets S \ {s1 } and S \ {s2 }, we deduce that
n n!
where k = k! (n−k)! .
Solution We show that
k 2 2
X k n + 2k − j n+k
= . (1)
j=0
j 2k k
(2k)!n!
Multiplying equation (1) by we get
(n + k)!k!
k k
X k k! (n + 2k − j)! (2k)!n! X k n! (n + 2k − j)!
=
j=0
j j!(k − j)! (2k)!(n − j)! (n + k)!k! j=0 j j!(n − j)! (n + k)!(k − j)!
k
X k n n + 2k − j
= . (2)
j=0
j j k−j
it follows
Xs Xs X s
2k k n n−j 2k k n s 2k n k s
= =
k − s j=0 j j s−j k + s j=0 j s j k+s s j=0 j s−j
2k n k+s 2k n k+s n 2k 2k − k
= = =
k+s s s k+s s k s k k+s−k
n 2k k n 2k k
= = .
s k s s k k−s
Problem 1 Let Sn denote the sum of the first n prime numbers. Prove that for any n there exists the square
of an integer between Sn and Sn+1 .
Solution We have √ √
x<m< y ⇒ x < m2 < y,
√ √
so if y − x > 1, there is certainly a square between x and y.
We have √ √
√
y − x > 1 ⇒ y − x > 1 + 2 x,
hence it suffices to prove p
Sn+1 − Sn > 1 + 2 Sn .
For n = 1, 2, 3, 4 the assertion can be seen directly. For n ≥ 5, we use
Sn < 1 + 3 + 5 + . . . + pn ,
2
√
√ sum equals 1/4(1+pn ) , so it follows that 2 Sn < 1+pn .
where the sum contains all odd integers up to pn . Their
As pn+2 is at least pn + 2, we get Sn+1 − Sn > 1 + 2 Sn as desired.
The 23rd Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 12th April 2013
Category II
Problem 2 An n-dimensional cube is given. Consider all the segments connecting any two different vertices
of the cube. How many distinct intersection points do these segments have (excluding the vertices)?
Solution We may think that every vertex of the cube has a view (ε1 , . . . , εn ) where εi ∈ {0, 1} for i = 1, 2, . . . , n.
A cross-point of two segments has a view (α1 , . . . , αn ) where αi ∈ {0, 12 , 1}. For example, if A = (0, 0, 0, 1, 1),
B = (1, 0, 0, 0, 1), C = (1, 0, 0, 1, 1), D = (0, 0, 0, 0, 1) then AB ∩ CD = ( 12 , 0, 0, 12 , 1). However a row containing
less than 2 of 12 may be not a cross-point. Therefore, there are exactly 3n − 2n − n2n−1 of cross-points.
The 23rd Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 12th April 2013
Category II
√ √ √
Problem 3 Prove that there is no polynomial P with integer coefficients such that P ( 3 5 + 3 25) = 5 + 3 5.
Solution First we prove two lemmas.
√ √ √
Lemma 1. There is no polynomial w(x) = ax + b with integer coefficients such that w( 3 5 + 3 25) = 5 + 3 5;
√ √
Proof Assume on the contrary that such a polynomial w(x) = ax + b exists. Since 3 5 and 3 25 are irrational,
it follows that a 6= 0 and a 6= 1. Furthermore, one has
√3
√3
√3
√
3
√
3
a( 5 + 25) + b = 5 + 5 =⇒ (a − 1) 5 + a 25 ∈ Q
√ √ 2 √ √
=⇒ (a − 1) 5 + a 25 ∈ Q =⇒ (a − 1)2 25 + 5a2 5 ∈ Q
3 3 3 3
5a2 √ √ √ √
(a − 1) 5 + a 25 + (a − 1)2 25 + 5a2 5 ∈ Q
3 3 3 3
=⇒
(1 − a)
(a − 1)3 − 5a3 √ √
3 3
=⇒ 25 ∈ Q =⇒ 25 ∈ Q,
(a − 1)
√
which contradicts the fact that 3 25 ∈ nQ, where Q and nQ denote the set of rational and irrational numbers,
respectively. This completes the proof of the lemma.
√
3
Lemma
√ 2. √
There exists exactly one polynomial w(x) of degree two and rational coefficients such that w( 5 +
3
25) = 5 + 3 5;
Proof Consider a polynomial w(x) = ax2 + bx + c, where a, b, c ∈ Q. Then
√ √ √ √ √ √ √ √
w( 5 + 25) = 5 + 5 ⇐⇒ a( 5 + 25)2 + b( 5 + 25) + c = 5 + 5
3 3 3 3 3 3 3 3
a+b = 0 a = 1/4
⇐⇒ 5a + b = 1 ⇐⇒ b = −1/4
10a + c = 5 c = 10/4
This implies that there exists only one polynomial w(x) with the required properties, i.e.,
1 2 1 10 √
3
√
3
√
3
w(x) = x − x+ and w( 5 + 25) = 5 + 5,
4 4 4
which completes the proof of the second lemma.
√
3
√
3
Now we are ready to solve the problem. Let x0 := 5 + 25. Then
√ √ √3
√
3
√ √
x30 = ( 5 + 25)3 = 5 + 3 54 + 3 55 + 25 = 30 + 15 5 + 15 5 = 15x0 + 30.
3 3 3 3
We put Q(x) := x3 − 15x − 30. Then Q(x0 ) = 0. Assume on the contrary that such a polynomial P (x) exists.
Then there exist two polynomials R(x) and w(x) with integer coefficients such that
where the degree deg w(x) of w(x) is less than or equal 2. Consequently we obtain
√3
√
3
√
3
√
3
√
3
√3
√3
√3
√
3
√
3
√
3
5 + 5 = P ( 5 + 25) = Q( 5 + 25)R( 5 + 25) + w( 5 + 25) = w( 5 + 25).
From this it follows that there exists a polynomial w(x) of degree less than or equal 2 with integer coefficients
such that
√
3
√3
√3
w( 5 + 25) = 5 + 5,
Problem 4 Let F be the set of all continuous functions f : [0, 1] → R with the property
Z x
f (t)
√ dt ≤ 1 for all x ∈ (0, 1] .
0 x−t
Z 1
Compute sup f (x) dx.
f ∈F 0
Solution We will use the following lemma.
Lemma For every functions f ∈ L1 [0, 1],
Z 1 Z x Z 1
f (t)dt dx
√ √ =π f.
0 0 x−t 1−x 0
1
Define a sequence f1 , f2 , . . . of [0, 1] → R functions as fn (x) = q . Then fn ∈ C[0, 1] and 0 < f ≤ g, so
1
π x+ n
R1 R1 2
fn ∈ F. As fn (x) →
R g(x)
pointwise, we have 0
fn → 0
g= π.
1
Hence, supf ∈F 0 f = π2 .
The 24th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 4th April 2014
Category I
√
Problem 1 Find all complex numbers z such that |z 3 + 2 − 2i| + z z̄|z| = 2 2 . (z̄ is the conjugate of z.)
Solution p √
(−2)2 + 22 = 2 2 = |z 3 + 2 − 2i| + z z̄|z| = |z 3 − (−2 + 2i)| + |z 3 | .
By the triangle inequality number z 3 must be a point of the straight line segment with ends 0 and −2 + 2i =
(1 + i)3 , so z must be a point of the union of the three straight line segments with the common end 0 and the
remaining end equal to either 1 + i or
√ !
1 3 1 √ √
(1 + i) − + i = −1 − 3 + i( 3 − 1)
2 2 2
or √ !
1 3 1 √ √
(1 + i) − − i = −1 + 3 − i( 3 + 1) .
2 2 2
Second solution √
Since z z̄ = |z|2 = |z 2 | the equation may be rewritten as |z 3 + 2 − 2i| + |z 3 | = 2 2. Let z 3 = x + yi where
x, y ∈ R. The equation is equivalent to
p p √
(x + 2)2 + (y − 2)2 + x2 + y 2 = 2 2. (1)
Therefore √ p
(x + 2)2 + (y − 2)2 = 8 − 4 2 x2 + y 2 + x2 + y 2 ,
√ p
so x − y = 2 x2 + y 2 and (x + y)2 = 0, i.e. y = −x. Therefore the equation 1 takes the form
p p √
(x + 2)2 + (−x − 2)2 + x2 + (−x)2 = 2 2 (2)
which is equivalent to
|x + 2| + |x| = 2. (3)
Therefore −2 ≤
x√≤ 0. This means that z 3 = x − xi for some x ∈ [−2, 0], i.e. z 3 = r(cos 135◦ + i sin 135◦ )
for some r ∈ 0, 2 2 . Therefore z = % (cos(45◦ + n · 120◦ ) + i sin(45◦ + n · 120◦ )) with n ∈ {0, 1, 2} and
√
0 ≤ % ≤ 2.
The 24th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 4th April 2014
Category I
Problem 2 We have a deck of 2n cards. Each shuffling changes the order from a1 , a2 , . . . , an , b1 , b2 , . . . , bn to
a1 , b1 , a2 , b2 , . . . , an , bn . Determine all even numbers 2n such that after shuffling the deck 8 times the original
order is restored.
Solution Note that the cards a1 and bn always stay on the top/bottom of the deck respectively. From now on
we will ignore the card bn . Let us number the positions of the cards: f (ai ) = i − 1, f (bi ) = n + i − 1. Note that
the shuffle will put the card with position i to position 2i for every i < n, or to 2i − (2n − 1) for every n ≤ i.
This shows that the shuffling works like the mapping
Shuffling 8 times will map each k to 256k. So we can reformulate the question:
For what numbers 2n will the following congruence hold for every k ∈ Z2n−1 :
k ≡ 256k (mod 2n − 1)
1 ≡ 256 (mod 2n − 1)
Which holds iff 2n − 1 | 255. So the set we are looking for is: {2, 4, 6, 16, 18, 52, 86, 256}.
The 24th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 4th April 2014
Category I
Problem 3 Let n ≥ 2 be an integer and let x > 0 be a real number. Prove that
p n p
1 − tanh x + tanh (nx) < 1 .
e2t − 1
Recall that tanh t = .
e2t + 1
Solution We will prove that for all real numbers x, y > 0
√ p p
1 − tanh x 1 − tanh y < 1 − tanh(x + y). (1)
Since
ex − e−x e2x − 1 sinh x cosh y + sinh y cosh x tanh x + tanh y
tanh x = = and tanh(x + y) = =
ex + e−x e2x + 1 cosh x cosh y + sinh x sinh y 1 + tanh x tanh y
(1 − u)(1 − v) > 0
=⇒ 2(1 + uv) > (1 + u)(1 + v)
(1 + u)(1 + v)uv (1 + u)(1 + v)
=⇒ 2uv > = (1 + u)(1 + v) −
1 + uv 1 + uv
(1 + u)(1 + v) (1 + u)(1 + v)
=⇒ > > (1 + u)(1 + v) − 2uv = 2 − (1 − u)(1 − v)
1 + u2 v 2 1 + uv
(1 − u2 )(1 − v 2 )
=⇒ > 2(1 − u)(1 − v) − (1 − u)2 (1 − v)2 = 1 − (1 − (1 − u)(1 − v))2
1 + u2 v 2
r r
u2 + v 2 (1 − u2 )(1 − v 2 )
=⇒ = 1 − < |1 − (1 − u)(1 − v)| = 1 − (1 − u)(1 − v)
1 + u2 v 2 1 + u2 v 2
r
u2 + v 2
=⇒ (1 − u)(1 − v) < 1 − .
1 + u2 v 2
Thus we have shown (1) and from this the assertion follows by induction: Take y = x for the case n = 2 and
y = nx for the inductive step n → n + 1.
The 24th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 4th April 2014
Category I
Problem 4 Let P1 , P2 , P3 , P4 be the graphs of four quadratic polynomials drawn in the coordinate plane.
Suppose that P1 is tangent to P2 at the point q2 , P2 is tangent to P3 at the point q3 , P3 is tangent to P4 at
the point q4 , and P4 is tangent to P1 at the point q1 . Assume that all the points q1 , q2 , q3 , q4 have distinct
x-coordinates. Prove that q1 , q2 , q3 , q4 lie on a graph of an at most quadratic polynomial.
Solution We may subtract a quadratic trinomial from all the given trinomials so that the points q1 , q2 , q3
get to the 0x axis. After this the trinomials remain trinomials, possibly degenerate, and the tangency is not
affected. Let q40 be the point of intersection of P3 and 0x distinct from q3 ; and let q400 be the intersection of P4
and 0x distinct from q1 . If q40 and q400 coincide then they also coincide with q4 and the assertion follows.
Assume not. Every parabola (graph of a quadratic trinomial) that intersects the 0x axis twice, intersects
it at the same angles. Having applied this to all the four parabolas in the circular order, we obtain that P3
in q40 and P4 in q400 6= q40 have the same slopes. But they also touch each other in the point q4 ; therefore they
are homothetic with respect to the point q4 . This homothety takes q40 into q400 , because the slope is preserved
under the homothety and the point on a parabola is defined uniquely by its slope. Hence q4 must also lie on
the 0x axis, this is what we need to prove. The argument with homothety fails in one of the parabolas P3 or
P4 degenerate to a straight line; but in this case the point q4 also must be on 0x evidently.
The 24th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 4th April 2014
Category II
f 0 (x)
lim f (x) + = 0.
x→∞ x
Prove that
lim f (x) = 0 .
x→∞
for all x > x0 . Take x > x0 and define two functions g, h : [x0 , x] → R by
x2 x2
g(x) = e 2 f (x) and h(x) = e 2 .
1 2 2 ε
|f (x0 )|e 2 (x0 −x )
<
2
for all x > x
e. Finally, taking into account the above considerations, we infer that
|f (x)| < ε
Problem 2 Let p be a prime number and let A be a subgroup of the multiplicative group F∗p of the finite
field Fp with p elements. Prove that if the order of A is a multiple of 6, then there exist x, y, z ∈ A satisfying
x + y = z.
Solution Obviously the existence of x, y, z ∈ A with x + y = z is equivalent to the existence of x0 , y 0 ∈ A with
x0 + y 0 = 1 (just divide by z). First observe that A is cyclic, so 6 | d implies the existence of some a ∈ A of
order 6, hence a6 = 1. This yields a3 = −1, so that we obtain
1 − a6
a + a3 + a5 = a(1 + a2 + a4 ) = a = 0,
1 − a2
from which we conclude
a + a5 = −a3 = 1.
Setting x0 := a, y 0 := a5 gives the desired equality.
The 24th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 4th April 2014
Category II
Solution
Lemma For any positive integer k and −1 < x < 1 the following formula holds
k X ∞
1 k+n−1 n
= x .
1−x n=0
k−1
But, by using once again the induction principle, one can prove that
n
X k+m−1 k+n
= .
m=0
k−1 k
Observe that
(1 − x2 )k+2 1
(1 − x)k+2 = = (1 − x2 )k+2 ,
(1 + x)k+2 (1 + x)k+2
for −1 < x < 1. On the other hand,
k+2
X k+2 n
(1 − x)k+2 = (−1)n x ,
n=0
n
k+2
! ∞ !
1 X k + 2 X k + n + 1
(1 − x2 )k+2 = n 2n
(−1) x n n
(−1) x .
(1 + x)k+2 n=0
n n=0
k+1
Consequently, by comparing the corresponding coefficients of xk in the above equalities we obtain the following
equation:
k/2
k+2 X k+2 k + (k − 2n) + 1
(−1)k = (−1)n (−1)k−2n ,
k n=0
n k+1
The 24th Annual Vojtěch Jarník
International Mathematical Competition
Ostrava, 4th April 2014
Category II
Rb
Problem 4 Let 0 < a < b and let f : [a, b] → R be a continuous function with a
f (t) dt = 0. Show that
Z b Z b
f (x)f (y) ln(x + y) dx dy ≤ 0 .
a a
Solution
Lemma (well-known)
∞
e−t − e−Kt
Z
dt = log K
0 t
for every K > 0.
Proof Let
∞
e−t − e−Kt
Z
h(K) = dt.
0 t
Z ∞
1
From h(1) = 0 and h0 (K) = e−Kt dt = we get
0 K
Z K
dk
h(K) = = log K.
1 k
As can be seen,
1 1
!
b b b b ∞
−e−t + e−(x+ 2 )t + e−(y+ 2 )t − e−(x+y)t
Z Z Z Z Z
f (x)f (y) log(x + y) dx dy = f (x)f (y) dt dx dy
a a a a 0 t
∞ b b 1 1
(e− 2 t − e−xt )(e− 2 t − e−yt )
Z Z Z
=− f (x)f (y) dx dy dt
0 a a t
!2
Z ∞ Z b
− 21 t −xt
dt
=− f (x) e −e dx ≤ 0.
0 a t