Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
that always allow you to know the number? rightmost digit in base 3 where x differs This implies m is not divisible by p. Let
Four questions are enough as you can ask from y, then that digit for z is a 2, a gcd stand for greatest common divisor (or
if each of the four digits of the number in contradiction. highest common factor). Then gcd(m, p)
base 2 is 1 or not. Three questions are not Example 6. Let [r ] be the greatest = 1. Now
enough as there are 15 numbers and three integer less than or equal to r. Solve the (m + cp k ) 2 = m 2 + 2mcp k + c 2 p 2 k
questions can only provide 2 3 = 8 equation = 1 + p + + p k −1 + ( a + 2mc ) p k + .
different yes-no combinations. [ x ] + [2 x ] + [4 x ] + [8 x ] Since gcd( 2m, p ) = 1, there is a positive
Example 4. (Bachet’s Weight Problem) +[16 x ] + [32 x ] = 12345. integer c such that ( 2m)c ≡ 1 − a (mod p).
Give a set of distinct integral weights that Solution. If x is a solution, then since This implies a + 2mc is of the form
allowed you to measure any object having r − 1 < [ r ] ≤ r, we have 63x – 6 < 12345 1 + Np and so ( m + cp k ) 2 will end in at
weight n = 1, 2, 3, , 40 on a balance. ≤ 63x. It follows that 195 < x < 196. least (k + 1) 1's as required.
Can you do it with a set of no more than Now write the number x in base 2 as Example 9. Determine which binomial
four distinct integral weights? 11000011.abcde, where the digits n!
coefficients C rn = are odd.
Solution. Since the numbers 1 to 40 in a , b, c, d , e, are 0 or 1. Substituting r! ( n − r )!
base 2 have at most 6 digits, we can do it this into the equation, we will get 12285 +
Solution. We remark that modulo
with the set 1, 2, 4, 8, 16, 32. To get a set 31a + 15b + 7c + 3d + e = 12345. Then arithmetic may be extended to
with fewer weights, we observe that we 31a + 15b + 7c + 3d + e = 60, which is polynomials with integer coefficients. For
can put weights from this set on both sides impossible as the left side is at most 31 + example, (1 + x ) 2 = 1 + 2 x + x 2 ≡ 1 + x 2
of the balance! Consider the set of 15 + 7 + 3 + 1 = 57. Therefore, the (mod 2). If n = a m + + a1 , where the
weights 1, 3, 9, 27. For example to equation has no solution. ai ’s are distinct powers of 2. We have
determine an object with weight 2, we can Example 7. (Proposed by Romania for k k
such that among every n distinct numbers So tan 2 1$ , tan 2 3, tan 2 5$ , , tan 2 89$ comes from separating the digits and
a1 , a 2 , , a n , chosen from [1,1000], are the 45 roots of this equation. observing that multiplying by 10 is a
there always exist a i , a j such that Therefore, their sum is C88 90
= 4005. shifting operation in base 10. So for
0 < ai −a j < 1 + 33 ai a j . a + 2b, we take X to be the set of
positive integers whose base 2 even
(Source: 1990 Chinese Team Training
Olympiad Corner position digits from the end are 0, then
Test)
(continued from page 1) the problem is solved for positive
Solution. CHAO Khek Lun Harold (St. integers.
Paul’s College, Form 6), CHUNG Tat How many of these permutations will
How about the original problem with
Chi (Queen Elizabeth School, Form 4) & have no terms of the sequence s1 , …, integers? It is tempting to let X be the set
LEUNG Wai Ying (Queen Elizabeth s100 divisible by three? of positive or negative integers whose
School, Form 6).
base 2 even position digits from the end
Problem 3. Let A = ( a1 , a 2 , , a 2000 ) be
For n ≤ 10, let ai = i 3 (i = 1, 2, , n ). a sequence of integers each lying in the
are 0. It does not work as the example 1
Then the inequality cannot hold since + 2 ⋅ 1 = 3 = 5 + 2 ( -1) shows uniqueness
interval [-1000, 1000]. Suppose that the
fails. Now what other ways can we
0 < i 3 − j 3 implies i − j ≥ 1 and so entries in A sum to 1. Show that some describe the set X we used in the last
i 3 − j 3 = (i − j ) 3 + 3ij (i − j ) ≥ 1 + 3ij . nonempty subsequence of A sums to paragraph? Note it is also the set of
zero. positive integers whose base 4
For n = 11, divide [1,1000] into intervals
representations have only digits 0 or 1.
[k 3 + 1, ( k + 1) 3 ] for k = 0, 1, …, 9. By Problem 4. Let ABCD be a convex
How can we take care of uniqueness and
pigeonhole principle, among any 11 quadrilateral with
negative integers at the same time? One
distinct numbers a1 , a2 , , a11 in [1, ∠CBD = 2∠ADB , idea that comes close is the Bachet
1000], there always exist a i , a j , say ∠ABD = 2∠CDB weights.
and AB = CB. The brilliant idea in the official solution
ai > a j , in the same interval. Let
Prove that AD = CD. of the 1996 USAMO is do things in base
x = 3 ai and y = 3 a j , then 0 < x - y < 1 (−4). That is, show every integer has a
Problem 5. Suppose that the real k
∑ ci ( − 4 ) ,
i
and 0 < ai − a j = x 3 − y 3 = ( x − y ) 3 + numbers a1 , a 2 , , a100 satisfy unique representation as
i =0
3xy ( x − y ) < 1 + 3xy = 1 + 33 ai a j . a1 ≥ a 2 ≥ ≥ a100 ≥ 0, where each ci = 0, 1, 2 or 3 and ck ≠ 0.
a1 + a 2 ≤ 100 Then let X be the set of integers whose
Other commended solvers: NG Cheuk
and a 3 + a 4 + + a100 ≤ 100. base (−4) representations have only
Chi (Tsuen Wan Public Ho Chuen Yiu
Memorial College), NG Ka Chun Determine the maximum possible value ci = 0 or 1 will solve the problem.
Bartholomew (Queen Elizabeth School, of a12 + a 22 + + a100
2
, and find all To show that an integer n has a base (−4)
Form 6), WONG Wing Hong (La Salle
College, Form 3) & YEUNG Kai Sing possible sequences a1 , a 2 , , a100 which representation, find an integer m such that
(La Salle College, Form 4). achieve this maximum. 4 0 + 4 2 + + 4 2 m ≥ n and express
Solution. CHAO Khek Lun (St. Paul’s (continued from page 2) and c2i −1 = 3 − b2i −1 . Then
College, Form 6). 2m
Now try an example, say n = 12345. We
$ $ $ $
n = ∑ ci ( − 4 ) i .
For θ = 1 , 3 , 5 , , 89 , we have cosθ can write n in more than one ways in the i =0
≠ 0 and cos 90θ = 0 . By de Moivre’s form a + 10b. Remember we want a, b To show the uniqueness of base (−4)
theorem, cos 90θ + i sin 90θ = (cos θ + to be unique in the set X. Now for b in X,
representation of n, suppose n has two
i sin θ ) 90 . Taking the real part of both 10b will shift the digits of b to the left
distinct representations with digits ci 's
one space and fill the last digit with a 0.
sides, we get and d i 's. Let j be the smallest integer
Now we can try writing n = 12345 =
45 such that c j ≠ d j . Then
0 = ∑ ( −1) k C 290k cos 90 − 2 k θ sin 2 k θ . 10305 + 10(204). So if we take X to be
k =0 the positive integers whose even position k
0 = n − n = ∑ (ci − d i )( −4)i
Dividing by cos θ on both sides and
90 digits from the end are 0, then the i= j
letting x = tan 2 θ , we get problem will be solved for n = a + 10b.
would have a nonzero remainder when
How about n = a + 2b ? If the reader
45 divided by 4 j +1 , a contradiction.
0 = ∑ ( −1) k C 290k x k . examines the reasoning in the case
k =0 a + 10b, it is easy to see the success