Professional Documents
Culture Documents
s=0
2s
= ∑∑xr+2s = ∑an xn = f (x).
r =0 s=0 n=0
and c with a+b+c = 1. 1 /(1 − t ) = 1 + t + t 2 + t 3 + L for |t| < 1 On the other hand,
Problem 2. (a) Does there exist a and its square ∞ ∞
1 1 1
polynomial P(x) with coefficients in 1 /(1 − t ) 2 = (1 + t + t 2 + t 3 + L) 2 ∑x ∑x
r =0
r
s =0
2s
= ⋅
1− x 1− x 2
=
(1 − x) 2 (1 − x)
integers, such that P(d) = 2008/d holds = 1 + 2t + 3t 2 + 4t 3 + 5t 4 + L 1⎛ 1 1 ⎞
for all positive divisors of 2008? = ⎜⎜ + ⎟
will be involved in our discussions. 2 ⎝ (1 − x) 2 1 − x 2 ⎟⎠
(b) For which positive integers n does a
polynomial P(x) with coefficients in Below we will provide examples to (
= 12 (1+ 2x + 3x2 +L) + (1+ x2 + x4 +L) )
integers exists, such that P(d) = n/d illustrate how generating functions can = 1 + x + 2 x + 2 x + 3x + 3x + L.
2 3 4 5
∑z = ∑z n
∞
a1 + nd1
∞ ∞
+ ∑ z a2 +nd2 + L + ∑ z ak +ndk . So far all generating functions were
n =1 n=1 n =1 n=1 in one variable. For the curious mind,
The given condition implies next we will look at an example
Summing the geometric series, this gives
∞ involving a two variable generating
1
f ( x) f ( x ) f ( x ) = ∑ x =
2 4 n
. z z a1 z a2 z ak function
n=0 1− x = + +L+ . ∞ ∞
1− z 1− z d1
1− z d2
1 − zdk f ( x, y ) = ∑∑ ai , j x i y j
2
Replacing x by x , we get i = 0 j =1
Letting z tend to e 2 π i / d 1 , we see the left
1 side has a finite limit, but the right side goes of the simplest kind.
f ( x 2 ) f ( x 4 ) f ( x8 ) = .
1 − x2 to infinity. That gives a contradiction.
Example 7. An a×b rectangle can be
From these two equations, we get f(x) = tiled by a number of p×1 and 1×q types
(1+x) f(x8). Repeating this recursively, Example 6. (1995 IMO) Let p be an odd of rectangles, where a, b, p, q are fixed
we get prime number. Find the number of positive integers. Prove that a is
2 3
f ( x) = (1 + x)(1 + x8 )(1 + x8 )(1 + x8 )L. subsets A of the set {1,2,…,2p} such that divisible by p or b is divisible by q.
(i) A has exactly p elements, and (Here a k×1 and a 1×k rectangles are
In expanding the right side, we see the considered to be different types.)
exponents a0, a1, a2, … are precisely (ii) the sum of all the elements in A is
the nonnegative integers whose base 8 divisible by p. Solution. Inside the (i, j) cell of the a×b
representations have only digit 0 or 1. rectangle, let us put the term xiyj for
Since 1998=2+22+23+26+27+28+29+210, Solution. Consider the polynomial i=1,2,…,a and j=1,2,…,b. The sum of
so a1998=8+82+83+86+87+88+89+810. the terms inside a p×1 rectangle is
Fa(x) = (1+ax)(1+a2x)(1+a3x)⋯(1+a2px)
For our next examples, we need xiyj+⋯+ xi+p−1y j= (1 + x + ⋯ + xp−1) xiyj,
some identities involving p-th roots of When the right side is expanded, let cn,k if the top cell is at (i, j), while the sum
unity, where p is a positive integer. count the number of terms of the form of the terms inside a 1×q rectangle is
These are complex numbers λ, which (a i1 x)(a i2 x) L (a ik x) , where i1, i2, …, ik are
are all the solutions of the equation integers such that 1≤ i1< i2 <⋯< ik ≤ 2p and xiy j+⋯+ xiy j+q−1= xiyj (1 + y + ⋯ + y q−1),
z p = 1 . For a real θ, we will use the i1+i2 +⋯+ik = n. Then
if the leftmost cell is at (i, j). Now take
common notation eiθ = cos θ +i sin θ.
⎛ ∞ 2p
⎞ x = e 2 π i / p and y = e 2 π i / q .
Since the equation is of degree p, there Fa ( x) = 1 + ∑ ⎜ ∑ cn ,k a n ⎟x k .
are exactly p p-th roots of unity. We can k =1 ⎝ n =1 ⎠ Then both sums become 0. If the desired
easily check that they are eiθ with θ = 0, tiling is possible, then the total sum of
2π/p, 4π/p, …, 2(p−1)π/p. Now, in terms of cn,k, the answer to the all terms in the a×b rectangle would be
problem is C = c p , p + c2 p , p + c3 p , p + L.
Below let λ be any p-th root of unity, a b
(1 − x a )(1 − y b )
0 = ∑∑ xi y j = xy .
other than 1. When we have a series To get C, note the coefficient of x in
p
i =1 j =1 (1 − x)(1 − y )
B(z) = b0 + b1z + b2z + b3z + ⋯,
2 3
∞ This implies that a is divisible by p or b
Fa(x) is ∑c n, p a n . By (*) above, we see is divisible by q.
sometimes we need to find the value of n =1
bp + b2 p + b3 p + L. We can use the fact For the readers who like to know
1 p −1 ∞
1− λ pj C= ∑∑ cn, pω nj .
p j =0 n=1
more about generating functions, we
1 + λ j + λ2 j + L + λ( p −1) j = =0 recommend two excellent references:
1− λj
T. Andreescu and Z. Feng, A Path to
(for any j not divisible by p) to get Now the right side is the coefficient of xp
Combinatorics for Undergraduates,
p −1
Birkhäuser, Boston, 2004.
1 p −1 in 1 ∑ F j ( x), which equals
∑ B(λ j ) = bp + b2 p + b3 p + L.
p j =0
(*)
p j =0 ω M. Novaković, Generating Functions,
The IMO Compendium Group, 2007
For p odd, we have the factorization (www.imomath.com)
Mathematical Excalibur, Vol. 13, No. 5, Jan.-Feb. 09 Page 3
Problem Corner satisfying f(a1) = f(a2) = ⋯ = f(a10). Nai, Vietnam) and PUN Ying Anna
(HKU Math, Year 3).
Solution 1. Kipp JOHNSON (Valley
We welcome readers to submit their Catholic School, teacher, Beaverton, Let x = a + 1, y = b + 1 and z = c + 1.
solutions to the problems posed below Oregon, USA) and PUN Ying Anna Applying the AM-GM inequality twice,
(HKU Math, Year 3).
for publication consideration. The we have
solutions should be preceded by the The number of 10-term arithmetic x4 y4 z4
solver’s name, home (or email) address + +
progressions in S is the same as the ( y − 1) 2
( z − 1) 2
( x − 1) 2
and school affiliation. Please send number of ordered pairs (a,d) such that a,
submissions to Dr. Kin Y. Li, d are in S and a+9d ≤ 2008. Since d ≤ (a + 1) 4 (b + 1) 4 (c + 1) 4
Department of Mathematics, The Hong 2007/9=223 and for each such d, a goes = + +
Kong University of Science & b2 c2 a2
from 1 to 2008−9d, so there are at most
Technology, Clear Water Bay, Kowloon, 223 ⎛ (a + 1) 4 (b + 1) 4 (c + 1) 4 ⎞
1/ 3
to y2−3 = 2(2x+y) = 2(2m2+3y), which can and n−b is 11.5 or 12, hence 12 is
BE BM / cos ∠ABE
= be rearranged as (y−3)2−4m2=12. This between b and n−b inclusive.
CF CN / cos ∠FCA leads to y = 7 and m = 1. Then x = 8 and z
= 13. Since 83−73=132, this gives the only Finally, observe that after each of the
1 AB / sin ∠ABC AB 2
= 2
1 AC / sin ∠BCA
= . solution. twenty-four 90° rotations, one exposed
2 AC 2 square will be hidden and one hidden
Commended solvers: LKL Problem
From ΔDCA~ΔDAB, we see square will be exposed. So the number
Solving Group (Madam Lau Kam Lung
of black squares on the surface of C can
DA DB sin∠DAB sin∠ACB AB Secondary School of Miu Fat Buddhist
= = = = . only increase by one, stay the same or
DC DA sin∠DBA sin∠ABC AC Monastery).
decrease by one.
So Problem 315. Each face of 8 unit cubes is
painted white or black. Let n be the total Therefore, at a certain moment, there
BE AB2 DA DB DB number of black faces. Determine the will be exactly 12 black squares (and
= = ⋅ = .
CF AC 2 DC DA DC values of n such that in every way of 12 white squares) on the surface of C.
coloring n faces of the 8 unit cubes black, Commended solvers: G.R.A. 20
Then ∠ BDE = ∠ CDF . Therefore
there always exists a way of stacking the 8 Problem Solving Group (Roma, Italy)
D,E,F are collinear. unit cubes into a 2×2×2 cube C so the and LKL Problem Solving Group
numbers of black squares and white (Madam Lau Kam Lung Secondary
Commended solvers: Stefan squares on the surface of C are the same.
LOZANOVSKI and Bojan School of Miu Fat Buddhist
JOVESKI (Private Yahya Kemal Monastery).
Solution. CHUNG Ping Ngai (La Salle
College, Skopje, Macedonia). College, Form 5) and PUN Ying Anna
(HKU Math, Year 3).
Problem 314. Determine all positive
integers x, y, z satisfying x3 − y3 = z2, The answer is n = 23 or 24 or 25. First
where y is a prime, z is not divisible by notice that if n is a possible value, then so Olympiad Corner
3 and z is not divisible by y. is 48−n. This is because we can (continued from page 1)
Solution. CHUNG Ping Ngai (La interchange all the black and white
Salle College, Form 5) and PUN Ying coloring and the condition can still be met
by symmetry. Hence, without loss of Second Day: June 7th, 2008
Anna (HKU Math, Year 3).
generality, we may assume n ≤ 24.
Suppose there is such a solution. Then Problem 4. Determine all functions f
For the 8 unit cubes, there are totally 24 mapping the set of positive integers to
z2 = x3 − y3 =(x−y)(x2+xy+y2) pairs of opposite faces. In each pair, no the set of non-negative integers
= (x−y) ((x−y)2+3xy). (*) matter how the cubes are stacked, there is satisfying the following conditions:
one face on the surface of C and one face (1) f(mn) = f(m)+f(n),
Since y is a prime, z is not divisible by
hidden. (2) f(2008) = 0, and
3 and z is not divisible by y, (*) implies
(x,y)=1 and (x−y,3)=1. Then (3) f(n) = 0 for all n ≡ 39 (mod 2008).
If n ≤ 22, there is a coloring that has [n/2]
(x2+xy+y2, x−y)=(3xy, x−y)=1. (**) pairs with both opposite faces black. Problem 5. Which positive integers
Then at least [n/2] black faces will be are missing in the sequence {an}, with
Now (*) and (**) imply hidden so that there can be at most n−[n/2]
x−y=m2, x2+xy+y2=n2 and z=mn ≤ 11 black faces on the surface of C. This an = n + [ n ] + [ 3 n ]
contradicts the existence of a stacking for all n ≥ 1? ([x] denotes the largest
for some positive integers m and n. with 12 black and 12 white squares on the integer less than or equal to x, i.e. g
Consequently, surface of C. So only n = 23 or 24 is with g ≤ x < g+1.)
4n2= 4x2+4xy+4y2=(2x+y)2+3y2. possible.
Problem 6. We are given a square
Then 3y2=(2n+2x+y)(2n−2x−y). Since Next, start with an arbitrary stacking. Let
ABCD. Let P be a point not equal to a
y is prime, there are 3 possibilities: b be the number of black squares on the
corner of the square or to its center M.
surface of C. For each of the 8 unit cubes,
(1) 2n+2x+y = 3y2, 2n−2x−y = 1 For any such P, we let E denote the
take an axis formed by the centers of a pair
(2) 2n+2x+y = 3y, 2n−2x−y = y common point of the lines PD and AC,
of opposite faces and rotate the cube about
(3) 2n+2x+y = y2, 2n−2x−y = 3. if such a point exists. Furthermore, we
that axis by 90°. Then take an axis formed
let F denote the common point of the
In (1), subtracting the equations leads by the centers of another pair of opposite
lines PC and BD, if such a point exists.
to 3y2−1 = 2(2x+y) = 2(2m2+3y). Then faces of the same cube and rotate the cube
about the axis by 90° twice. These three
m2 + 1 = 3y2 − 6y − 3m2 ≡ 0 (mod 3). All such points P, for which E and F
90° rotations switch the three exposed
exist are called acceptable points.
However, m2 + 1 ≡ 1 or 2 (mod 3). We faces with the three hidden faces. So after
Determine the set of all acceptable
get a contradiction. doing the twenty-four 90° rotations for the
points, for which the line EF is parallel
8 unit cubes, there will be n−b black
In (2), subtracting the equations leads to AD.
squares on the surface of C.
to x = 0, contradiction.
In (3), subtracting the equations leads For n = 23 or 24 and b ≤ n, the average of b