You are on page 1of 4

Volume 14, Number 5 March - April, 2010

Olympiad Corner Ramsey Numbers and Generalizations


Here are the Asia Pacific Math
Olympiad problems on March 2010. Law Ka Ho
Problem 1. Let ABC be a triangle with
∠BAC≠90°. Let O be the circumcenter The following problem is classical: R (3, 4) = 9, R (3,5) = 14, R (3, 6) = 18
of triangle ABC and let Γ be the among any 6 people, there exist 3 who R (3, 7) = 23, R (3,8) = 28, R (3,9) = 36
circumcircle of triangle BOC. Suppose know each other or 3 who don’t know R (4, 4) = 18, R (4,5) = 25
that Γ intersects the line segment AB at each other (we assume if A knows B,
P different from B, and the line then B knows A). When 6 is replaced by Even R (5,5) is unknown at present.
segment AC at Q different from C. Let 5, this is no longer true, as can be seen The best lower and upper bounds
ON be a diameter of the circle Γ. Prove by constructing a counterexample. We obtained so far are respectively 43 and
that the quadrilateral APNQ is a write R (3,3) = 6 and this is called a 49. Paul Erdös once made the following
parallelogram. Ramsey number. In general, R (m, n) remark.
denotes the smallest positive integer k
Problem 2. For a positive integer k, such that, among any k people, there Suppose an evil alien would tell
call an integer a pure k-th power if it exist m who know each other or n who mankind “Either you tell me [the
can be represented as mk for some don’t know each other. value of R(5,5)] or I will exterminate
integer m. Show that for every positive
the human race.”… It would be best
integer n there exist n distinct positive How do we know that R (m, n)
in this case to try to compute it, both
integers such that their sum is a pure exists for all m, n? A key result is the
by mathematics and with a computer.
2009-th power, and their product is a following.
pure 2010-th power. If he would ask [for the value of
Theorem 1. For any m, n > 1, we have R(6,6)], the best thing would be to
Problem 3. Let n be a positive integer. R (m, n) ≤ R(m − 1, n) + R (m, n − 1) . destroy him before he destroys us,
n people take part in a certain party. because we couldn’t [determine
For any pair of the participants, either Proof. Take R (m − 1, n) + R(m, n − 1) R(6,6)].
the two are acquainted with each other people. We need to show that there exist
or they are not. What is the maximum m people who know each other or n Problems related to the Ramsey
possible number of the pairs for which people who don’t know each other. If a numbers occur often in mathematical
the two are not acquainted but have a person X knows R (m − 1, n) others, competitions.
common acquaintance among the then among the people X knows, there
participants? exist either m − 1 who know each other Example 2. (CWMO 2005) There are n
(continued on page 4) (so that together with m, there are m new students. Among any three of them
Editors: 張 百 康 (CHEUNG Pak-Hong), Munsang College, HK people who know each other) or n there exist two who know each other,
高 子 眉 (KO Tsz-Mei) people who don’t know each other, so and among any four of them there exist
梁 達 榮 (LEUNG Tat-Wing) we are done. Similarly, if X doesn’t two who do not know each other. Find
李 健 賢 (LI Kin-Yin), Dept. of Math., HKUST
know R (m, n − 1) others, we are also the greatest possible value of n.
吳 鏡 波 (NG Keng-Po Roger), ITC, HKPU
done. But one of these two cases must Solution. The answer is 8. First, n can
Artist: 楊 秀 英 (YEUNG Sau-Ying Camille), MFA, CU
occur because the total number of be 8 if the 8 students are numbered 1 to
Acknowledgment: Thanks to Elina Chiu, Math. Dept., ‘others’ is R (m − 1, n) + R (m, n − 1) − 1 . 8 and student i knows student j if and
HKUST for general assistance.
On-line: Using Theorem 1, one can easily only if | i − j | ≡/ 1, 4 (mod 8). Next,
http://www.math.ust.hk/mathematical_excalibur/
show (by induction on m + n) that suppose n = 9 is possible. Then no
The editors welcome contributions from all teachers and R(m, n) ≤ Cmm−+1n − 2 . This establishes an student may know 6 others, for among
students. With your submission, please include your name, the 6 either 3 don’t know each other or 3
address, school, email, telephone and fax numbers (if upper bound on R (m, n) . To establish a
available). Electronic submissions, especially in MS Word, lower bound, we need a counter- know each other (so together with the
are encouraged. The deadline for receiving material for the
example. While construction of counter- original student there exist 4 who know
next issue is May 21, 2010.
examples is in general very difficult, the each other). Similarly, it cannot happen
For individual subscription for the next five issues for the
09-10 academic year, send us five stamped self-addressed probabilistic method (see Vol. 14, No. 3) that a student doesn’t know 4 others.
envelopes. Send all correspondence to:
may be able to help us in getting a non- Hence each student knows exactly 5
Dr. Kin-Yin LI, Math Dept., Hong Kong Univ. of Science constructive proof. Yet to get the exact others. But this is impossible, because if
and Technology, Clear Water Bay, Kowloon, Hong Kong
value of a Ramsey number, the lower we sum the number of others whom
Fax: (852) 2358 1643 and upper bounds must match, which is each student know, we get 9 × 5 = 45 ,
Email: makyli@ust.hk which is odd, yet each pair of students
© Department of Mathematics, The Hong Kong University
extremely difficult. For m, n > 3, fewer
of Science and Technology than 10 values of R (m, n) are known: who know each other is counted twice.
Mathematical Excalibur, Vol. 14, No. 5, Mar. - Apr. 10 Page 2

Remark. The answer to the above exist at least two who have shaken hands same way if it is the first and second, or
problem is R (3, 4) − 1 , as can be seen with each other. Find the greatest possible second and third). If the fifth is also
by comparing with the definition of value of N. red, then we are done. Otherwise, the
R(3,4). first and third numbers of both Ga and
Solution. The answer is 4949. We first Gb (recall that they have identical
The Ramsey number can be show that N = 4949 is possible: suppose colour patterns) are red while the fifth
generalised in many different there are 49 groups of 101 people each, is blue. If the fifth number of G2b-a is
directions. One is to increase the and two people shake hands if and only if red, then it together with the first
number of statuses from 2 (know or they are in the same group. It is easy to number of Ga and the third number of
don’t know) to more than 2, as the Gb form a red arithmetic progression; if
check that the requirements of the
following example shows. it is blue, then it together with the fifth
question are satisfied. Now suppose N =
Example 3. (IMO 1964) Seventeen 4950 and each person shakes hands with numbers of Ga and Gb form a blue
people correspond by mail with one at most 100 others. We will show that arithmetic progression.
another — each one with all the rest. In there exist 50 people who have not shaken It can be shown via a
their letters only three different topics hands with each other, thus contradicting two-dimensional inductive argument
are discussed. Each pair of the given condition. To do this, pick a first that W (r , k ) exists for all r, k. We see
correspondents deals with only one of person P1 and cross out all those who that the existence of Ramsey numbers
these topics. Prove that there are at and van der Waerden numbers are very
have shaken hands with him. Then pick
least three people who write to each similar: both say that the desired
P2 from the rest and again cross out those
other about the same topic. structure exists in a sufficiently large
who have shaken hands with him, and so
Solution. Suppose the three topics are on. In this way, at most 100 people are population.
A, B and C. Pick any person; he writes crossed out each time. After P49 is chosen, An analogy to this (though not
to 16 others. By the pigeonhole at least 4950 − 49 − 49 × 100 = 1 person mathematically rigorous) is that when
principle, he writes to 6 others on the remains, so we will be able to choose P50 . there are sufficiently many stars in the
same topic, say A. If any two of the 6 Because of the ‘crossing out’ algorithm, sky, one can form from them whatever
people write to each other on A, then picture one wishes. (This is one of the
we see that no two of P1 , P2 , …, P50
we are done. If not, then these 6 people lines in the movie A Beautiful Mind!)
have shaken hands with each other.
write to each other on B or C. Since
R (3,3) = 6 , either 3 of them write to Remark. By identifying each person with Yet another generalization of the
each other on B, or 3 of them write to a point and joining two points by a red line van der Waerden Theorem (which says
each other on C. In any case there exist that W (r , k ) exists for all r, k) is the
if two people have shaken hands and a
3 people who write to each other about Hales-Jewett Theorem. The exact
blue line otherwise, we see that the above
the same topic. statement of the theorem is rather
problem proves R ( K1,100 , K 50 ) = 4950 . technical, but we can look at an
Remark. The above problem proves Here K1,100 is the graph on 101 points by informal version here. We are familiar
R (3,3,3) ≤ 17 , where R(m, n, p) is joining 1 point to the other 100 points. with the two-person tic-tac-toe game
defined analogously as R (m, n) except played on a 3 × 3 square in two
that there are now three possible The Van der Waerden number W (r , k )
dimensions. We also have the two-
statuses instead of two. It can be shown is the smallest positive integer N such that
person tic-tac-toe game played on a
that R (3,3,3) = 17 by constructing a if each of 1, 2, …, N is assigned one of r
4 × 4 × 4 cube in three dimensions (try
counterexample when there are only 16 colours, then there exist a monochromatic
it out at http://www.mathdb.org/fun/
people. k-term arithmetic progression. The
games/tie_toe/e_tie_toe.htm!). Both
following example shows that we have
Another direction of generalization games can end in a draw. However, it
W (2,3) ≤ 325 .
is to generalise ‘m people who know is easy to see that a two-person tic-tac-
each other’ or ‘n people who don’t Example 5. If each of the integers 1, 2, …, toe game played on a 2 × 2 square in
know each other’ to other structures. 325 is assigned red or blue colour, there two dimensions cannot end in a draw.
(Technically, the graph Ramsey exist three integers p, q, r which are The Hales-Jewett Theorem says that
number R (G, H ) is the smallest assigned the same colour and which form for any n and k, the k-person tic-tac-toe
positive integer k such that when every an arithmetic progression. game played on an n × n × L × n (D
two of k points are joined together by a factors of n, where D is the dimension)
Solution. Divide the 325 integers into 65 hypercube cannot end in a draw when
red or blue edge, there must exist a red
groups G1 = {1, 2, 3, 4, 5}, G2 = {6, 7, 8, 9, D is large enough! (For instance, we
copy of G or a blue copy of H. Hence
10}, …, G65 = {321, 322, 323, 324, 325}. have just seen that when n = 2 and k = 2,
R (m, n) = R ( K m , K n ) , where K m
There are 25 = 32 possible colour patterns then D = 2 is large enough, while when
denotes the complete graph on m
for each group. Hence there exist three n = 3 and k = 2, then D = 2 is not large
vertices, i.e. m points among which
groups Ga and Gb, 1 ≤ a < b ≤ 33 , whose enough.) In case k = 2 (i.e. a two-
every two are joined by an edge).
colour patterns are the same. We note that person game) and when D is large
Example 4. N people attend a meeting, 2b − a ≤ 65 and that a, b, 2b − a form an enough so that a draw is impossible, it
and some of them shake hands with arithmetic progression. Now two of the can be shown (via a so-called strategy
each other. Suppose that each person first three numbers of Ga are of the same stealing argument) that the first player
shakes hands with at most 100 other colour, say, the first and third are red (it has a winning strategy!
people, and among any 50 people there can be seen that the proof goes exactly the
Mathematical Excalibur, Vol. 14, No. 5, Mar. - Apr. 10 Page 3

Problem Corner Solution. CHOW Tseung Man (True


bisects ∠BDC. We have
Light Girls’ College), CHUNG Ping Ngai D
We welcome readers to submit their (La Salle College, Form 6), HUNG Ka
solutions to the problems posed below Kin Kenneth (Diocesan Boys’ School), D.
for publication consideration. The Kipp JOHNSON (Valley Catholic A
solutions should be preceded by the School, Beaverton, Oregon, USA), LI
Pak Hin (PLK Vicwood K. T. Chong
solver’s name, home (or email) address Sixth Form College), Emanuele Q
and school affiliation. Please send NATALE (Università di Roma “Tor B C
submissions to Dr. Kin Y. Li, Vergata”, Roma, Italy), Pedro Henrique
Department of Mathematics, The Hong O. PANTOJA (UFRN, Natal, Brazil), ∠QCD = 60°−∠BCQ = 30° = ∠ADC.
Kong University of Science & PUN Ying Anna (HKU), TSOI Kwok
Wing (PLK Centenary Li Shiu Chung Also, ∠ DCA = ∠ QCD − ∠ QCA =
Technology, Clear Water Bay, Kowloon, Memorial College), Simon YAU Chi- 20° = ∠QAC, which implies QA||CD.
Hong Kong. The deadline for sending Keung and Fai YUNG. Then AQCD is an isosceles trapezoid,
solutions is May 21, 2010.
All pairs (x,x) satisfy the equation. If (x,y) so AD = QC. This with BD=BC and ∠
Problem 341. Show that there exists satisfies the equation and x≠y, then BDA = 30° = ∠QCB imply ΔBDA ≅
an infinite set S of points in the ΔQCB. Then BA=BQ. Since ∠BAQ =
x3 − y3 ∠BAC −∠QAC = 100°−20° = 80°, we
3-dimensional space such that every x 2 + xy + y 2 = = 2009 ≡ 2(mod 3).
x− y get ∠ABQ = 20° = ½∠ABC. So BQ
plane contains at least one, but not
infinitely many points of S. However, x2+xy+y2≡x2−2xy+y2=(x−y)2≡ 0 bisects ∠ABC.
or 1 (mod 3). So there are no solutions E
Problem 342. Let f(x)=anxn+⋯+a1x+p with x≠y. A
be a polynomial with coefficients in the
integers and degree n>1, where p is a Problem 337. In triangle ABC, ∠ABC =
prime number and ∠ ACB=40°. P and Q are two points P Q
inside the triangle such that ∠PAB = ∠ B C
|an|+|an−1|+⋯+|a1| < p. QAC =20° and ∠ PCB = ∠ QCA =10°. Extend BA to a point E so that BE=BC.
Then prove that f(x) is not the product Determine whether B, P, Q are collinear or Then ∠BCE = ½(180°−∠ABC) = 70°.
of two polynomials with coefficients in not. Next, we will show ΔEPC is
the integers and degrees less than n. Solution 1. CHUNG Ping Ngai (La Salle equilateral.
College, Form 6) and HUNG Ka Kin We have ∠PCE=∠BCE−∠PCB=60°,
Problem 343. Determine all ordered
Kenneth (Diocesan Boys’ School). ∠ACE=∠BCE−∠BCA=30°=½∠PCE.
pairs (a,b) of positive integers such that
a≠b, b2+a=pm (where p is a prime So CA bisects ∠PCE. Next, ∠CAE =
Let ∠PBA=a, ∠PBC=b, ∠QBA=a’ and 180°−∠BAC = 80° = ∠BAC−∠BAP =
number, m is a positive integer) and
∠QBC=b’. By the trigonometric form of ∠CAP. Then ΔCAE ≅ ΔCAP. So CE
a2+b is divisible by b2+a.
Ceva’s theorem, we have = CP and ΔEPC is equilateral. Then B,
Problem 344. ABCD is a cyclic P are equal distance from E and C.
sin ∠PBA sin ∠PCB sin ∠PAC
quadrilateral. Let M, N be midpoints of 1= Hence BP bisects ∠ABC.
sin ∠PBC sin ∠PCA sin ∠PAB
diagonals AC, BD respectively. Lines
BA, CD intersect at E and lines AD, BC sin a sin 10 o sin 80 o
= , Other commended solvers: CHAN
intersect at F. Prove that sin b sin 30 o sin 20 o Chun Wai (St. Paul’s College), LI
Pak Hin (PLK Vicwood K. T. Chong
BD AC 2MN sin ∠QBA sin ∠QCB sin ∠QAC Sixth Form College), PUN Ying Anna
− = . 1=
AC BD EF sin ∠QBC sin ∠QCA sin ∠QAB (HKU).
Problem 345. Let a1, a2, a3, ⋯ be a sin a' sin 30 o sin 20 o
= . Problem 338. Sequences {an} and {bn}
sequence of integers such that there are sin b' sin 10 o sin 80 o satisfy a0=1, b0=0 and for n=0,1,2,…,
infinitely many positive terms and also an +1 = 7 an + 6bn − 3,
As sin10°sin80° = sin10°cos10° =½sin20°
infinitely many negative terms. For
every positive integer n, the remainders
= sin30°sin20°, we obtain sin a= sin b and bn +1 = 8an + 7bn − 4.
sin a’ = sin b’. Since 0<a,b,a’,b’<90° and
of a1, a2, ⋯, an upon divisions by n are Prove that an is a perfect square for all
a+b=40°=a’+b’, we get a=b=a’=b’=20°,
all distinct. Prove that every integer n=0,1,2,…
i.e. ∠ PBA= ∠ PBC= ∠ QBA= ∠ QBC.
appears exactly one time in the Solution 1. CHUNG Ping Ngai (La
Therefore, B, P, Q are collinear.
sequence. Salle College, Form 6), HUNG Ka
Solution 2. LEE Kai Seng. Kin Kenneth (Diocesan Boys’ School),
***************** D. Kipp JOHNSON (Valley Catholic
Solutions School, Beaverton, Oregon, USA), LI
We will show B,P,Q collinear by proving Pak Hin (PLK Vicwood K. T. Chong
****************
lines BQ and BP bisect ∠ABC. Sixth Form College), NGUYEN Van
Problem 336. (Due to Ozgur Kircak, Thien (Luong The Vinh High School,
Yahya Kemal College, Skopje, Draw an equilateral triangle BDC with D Dong Nai, Vietnam), O Kin Chit Alex
Macedonia) Find all distinct pairs (x,y) on the same side of BC as A. Since ∠ABC (G.T. (Ellen Yeung) College), Ercole
of integers satisfying the equation =∠ACB=40°, AB=AC. Then both D and SUPPA (Teramo, Italy) and YEUNG
A are equal distance from B and C. So DA Chun Wing (St. Paul’s College).
x 3 + 2009 y = y 3 + 2009 x.
Mathematical Excalibur, Vol. 14, No. 5, Mar. - Apr. 10 Page 4

Solving for bn in the first equation and triangle, prove that there exists a labeling LI Pak Hin (PLK Vicwood K. T.
putting it into the second equation, we of these points as P1, P2, …, Pn such that Chong Sixth Form College), PUN
have Ying Anna (HKU).
P1P22 + P2 P32 + L + Pn −1Pn2 ≤ AB 2 .
an+2=14an+1−an−6 for n=0,1,2, … (*) Let a1, a2, …, a2k+1 be such a set of
Solution. Federico BUONERBA 2k+1 of positive integers arranged in
with a0=1 and a1=4. Let dn=an−½. Then (Università di Roma “Tor Vergata”, Roma,
increasing order. We have
(*) becomes dn+2 =14dn+1−dn. Since the Italy), HUNG Ka Kin Kenneth
roots of x2 − 14x + 1 = 0 are 7 ± 4 3 , (Diocesan Boys’ School) and PUN Ying 2 k +1 2 k +1
we get dn is of the form α( 7 − 4 3 )n + Anna (HKU).
∑a i ≥ N + 1 ≥ 2 ∑ ai + 1.
β( 7 + 4 3 )n. Using d0=½ and d1=3½, We will prove the following more general i =1 i=k +2

we get α=¼ and β=¼. So result: Then


1 2 + (7 − 4 3)n + (7 + 4 3)n Let ABC be a triangle with ∠ACB =90°.
2 k +1 k
an = dn + =
2 4
.
For every n points inside or on the sides of
a k +1 ≥ ∑a − ∑a
i=k +2
i
i =1
i +1

Now, consider the sequence {cn} of the triangle, there exists a labeling of k

positive integers, defined by c0=1, c1=2 these points as P1, P2, …, Pn such that = ∑ (ai + k +1 − ai ) + 1
i =1
and AP12 + P1P22 + L+ Pn−1Pn2 + Pn B2 ≤ AB2 . k
≥ ∑ ( k + 1) + 1
cn+2=4cn+1−cn for n=0,1,2,…. (**)
We prove this by induction on n. For the i =1

Since the roots of x2−4x+1= 0 are case n=1, since ∠AP1B ≥ 90°, the cosine = k 2 + k + 1.
2 ± 3 , as above we get law gives AP12+P1B 2 ≤ AB 2. Also,
(2 − 3 ) + (2 + 3 )
n n
N 2 k +1 2 k +1 2 k +1
cn = . Next we assume all cases less than n are ≥ ∑ ai = ∑ (ai − ak +1 ) + ∑ ak +1
2 2 i=k +2
true. For the case n, we can divide the i =k + 2 i=k +2
Squaring cn, we see an=cn2. original right triangle into two right
2 k +1
triangles by taking the altitude from C to
Solution 2. William CHAN and H on the hypotenuse AB. We can assume
≥ ∑ (i − k − 1) + k (k
i=k +2
2
+ k + 1)
Invisible MAK (Carmel Alison Lam that the two smaller right triangles AHC
Foundation Secondary School). 2k 3 + 3k 2 + 3k
and BHC contain m > 0 and n−m > 0 = .
points respectively (otherwise, one of 2
The equations imply
these two smaller triangles contains all the Now all inequalities above become
an+2=14an+1−an−6 for n=0,1,2, … (*) points and we keep dividing in the same equality if we take ai=k2+i for i=1,
We will prove anan+2=(an+1+3)2 by math way the smaller right triangle which 2, …, 2k+1. So the least positive value
induction. The case n=0 is 1×49=(4+3)2. contains all the points). Since m < n and of N is 2k3+3k2+3k.
Suppose an−1an+1=(an+3)2. Then n−m < n, by the induction hypothesis,
there exist a labeling of points in triangle
an an + 2 − (an +1 + 3) 2 AHC as P1, P2, …, Pm such that

= an (14an +1 − a n −6) − (an +1 + 3) 2 AP12 + P1P22 + L+ Pm−1Pm2 + PmC 2 ≤ AC2 Olympiad Corner
(continued from page 1)
= 14an an +1 − an2 − 6an − an2+1 − 6an +1 − 9 and a labeling of points in triangle BHC as
= (14an − an +1 − 6)an +1 − (an + 3) 2 Pm+1, Pm+2, …, Pm such that Problem 4. Let ABC be an acute
triangle satisfying the condition
= an −1an +1 − (an + 3) 2
AB>BC and AC>BC. Denote by O and
CPm2+1 + Pm+1 Pm2+2 + L + Pn B 2 ≤ CB 2 .
= 0. H the circumcenter and orthocenter,
This completes the induction. Since ∠PmCPm+1 ≤ 90°, the cosine law respectively, of the triangle ABC.
gives PmPm+12≤ PmC2+CPm+12. Then Suppose that the circumcircle of the
Next, we will show all an’s are perfect triangle AHC intersects the line AB at
squares. Now a0=12 and a1=22. Suppose AP12 + P1P22 + L+ Pn−1Pn2 + Pn B2 M different from A, and that the
an−1=r2 and an=s2, we get an+1=(an+3)2/r2 circumcircle of the triangle AHB
≤ AC 2 + CB 2 = AB 2 . intersects the line AC at N different
and an+2=(an+1+3)2/s2. Since the square
root of a positive integer is an integer or from A. Prove that the circumcenter of
Problem 340. Let k be a given positive the triangle MNH lies on the line OH.
an irrational number, an+1 and an+2 are integer. Find the least positive integer N
perfect squares. By mathematical such that there exists a set of 2k+1 distinct
induction, the result follows. Problem 5. Find all functions f from
positive integers, the sum of all its the set R of real numbers into R which
elements is greater than N and the sum of satisfy for all x, y, z ∊ R the identity
Other commended solvers: PUN Ying any k elements is at most N/2.
Anna (HKU), TSOI Kwok Wing f(f(x)+f(y)+f(z))
(PLK Centenary Li Shiu Chung Solution. CHAN Chun Wai (St. Paul’s = f(f(x)−f(y)) + f(2xy+f(z)) + 2f(xz−yz).
Memorial College). College), CHOW Tseung Man (True
Problem 339. In triangle ABC,∠ACB Light Girls’ College), CHUNG Ping Ngai
=90°. For every n points inside the (La Salle College, Form 6), HUNG Ka
Kin Kenneth (Diocesan Boys’ School),

You might also like