33rd British Mathematical Olympiad 1997 Problems
1. M and N are 9-digit numbers. If any digit of M is replaced by the corresponding digit of N (eg the 10s digit of M replaced by the 10s digit of N), then the resulting integer is a multiple of 7. Show that if any digit of N is replaced by the corresponding digit of M, then the resulting integer must be a multiple of 7. Find d > 9, such that the result remains true when M and N are d-digit numbers.
2. ABC is an acute-angled triangle. The median BM and the altitude CF have equal length, and ∠MBC = ∠FCA. Show that ABC must be equilateral.
3. Find the number of polynomials of degree 5 with distinct coefficients from the set {1, 2, ... , 9} which are divisible by x2 - x + 1.
4. Let S be the set {1/1, 1/2, 1/3, 1/4, ... }. The subset {1/20, 1/8, 1/5} is an arithmetic progression of length 3 and is maximal, because it cannot be extended (within S) to a longer arithmetic progression. Find a maximal arithmetic progression in S of length 1996. Is there a maximal arithmetic progression in S of length 1997?
Problem 1
M and N are 9-digit numbers. If any digit of M is replaced by the corresponding digit of N (eg the 10s digit of M replaced by the 10s digit of N), then the resulting integer is a multiple of 7. Show that if any digit of N is replaced by the corresponding digit of M, then the resulting integer must be a multiple of 7. Find d > 9, such that the result remains true when M and N are d-digit numbers.
Solution
Let M = m8108 + m7107 + ... + m0 and N = n8108 + ... + n0. We have:
n8108 + m7107 + m6106 + ... + m110 + m0 = 0 mod 7
m8108 + n7107 + m6106 + ... + m110 + m0 = 0 mod 7
m8108 + m7107 + n6106 + ... + m110 + m0 = 0 mod 7
...
m8108 + m7107 + m6106 + ... + n110 + m0 = 0 mod 7
m8108 + m7107 + m6106 + ... + m110 + n0 = 0 mod 7
n8108 + m7107 + m6106 + ... + m110 + m0 = 0 mod 7
m8108 + n7107 + m6106 + ... + m110 + m0 = 0 mod 7
m8108 + m7107 + n6106 + ... + m110 + m0 = 0 mod 7
...
m8108 + m7107 + m6106 + ... + n110 + m0 = 0 mod 7
m8108 + m7107 + m6106 + ... + m110 + n0 = 0 mod 7
Adding all but the first equation we get:
8m8108 + (n7 + 7m7) 107 + (n6 + 7m6) 106 + ... + (n0 + 7m0) = 0 mod 7. Hence
m8108 + n7107 + n6106 + ... + n0 = 0 mod 7, which shows that substituting the first digit from M into N gives a number divisible by 7.
8m8108 + (n7 + 7m7) 107 + (n6 + 7m6) 106 + ... + (n0 + 7m0) = 0 mod 7. Hence
m8108 + n7107 + n6106 + ... + n0 = 0 mod 7, which shows that substituting the first digit from M into N gives a number divisible by 7.
Similarly, adding all but the second equation, we find that substituting the second digit from M into N gives a number divisible by 7, and so on.
Obviously the same argument works for any d = 2 mod 7.
Problem 2
ABC is an acute-angled triangle. The median BM and the altitude CF have equal length, and ∠MBC = ∠FCA. Show that ABC must be equilateral.
Solution
Solution by Paul Smith
Put ∠MBC = ∠FCA = x. Since M is the midpoint of AC and ∠AFC = 90o, M must be the center of the circle through A, F, C, so MF = MC = MA. Put MF = k. Then CF = 2k cos x.
But ∠MBC = ∠FCA = ∠FCM = ∠MFC, so MFBC is cyclic. Hence ∠BMC = ∠CFB = 90o. So BM/k = cot MBC = cot x. But CF = BM, so sin x = 1/2. Hence x = 30o. Hence ∠C = 60o. Also ∠A = 90o - angle FCA = 60o. So the triangle is equilateral.
I originally had this appalling slog:
Let the side lengths be BC = a, CA = b, AB = C and let CF = BM = m. Let ∠MBC = ∠FCA = x. By the cosine formula we have: c2 = m2 + b2/4 - mb cos BMA, a2 = m2 + b2/4 + mb cos BMA. Adding, m2 = a2/2 + c2/2 - b2/4 (1).
From triangle FCA, m = b cos x. By the cosine formula to MBC, b2/4 = m2 + a2 - 2am cos x. Hence b2/4 = m2 + a2 - 2am2b = (b - 2a)m2/b + a2. Hence b = 2a or m2 = b(b + 2a)/4.
Suppose b = 2a. If m <= a, then B lies inside or on the circle center M radius MA and hence ∠ABC ≥ 90o. But we are told the triangle is acute-angled, so ∠ABC < 90o. Hence m > a. But CF ≤ CB = a. Contradiction. So we cannot have b = 2a.
Hence m2= b(b + 2a)/4, so from (1), 2a2 + 2c2 - b2 = b2 + 2ab or b2 = a2 + c2 - ab.
Let k be the area of ABC. By Heron's formula we have that 16k2 = (a + b + c)(a + b - c)(a - b + c)(-a + b + c) = - a4 - b4 - c4 + 2a2b2 + 2b2c2 + 2c2a2. But 16k2 is also 4m2c2 = c2b(b + 2a). So we have -a4 - b4 + 2a2b2 + c2(2a2 - 2ab + b2) - c4 = 0. Substituting for c2 ( = b2 - a2 + ab) we get: 0 = -4a4 - b4 + 2a2b2 - 3b3a + 6a3b = (a - b)(2a + b)(2a2 - 2ab - b2).
Clearly 2a + b is non-zero. If 2a2 - 2ab - b2 = 0, then 3a2 = (a + b)2, so b = (√3 - 1)a. Then substituting in the previous relation for c, we get c = b/√2. So we have for some k, a = (1 + √3)k, b = 2k, c = (√2)k. But then a2 > b2 + c2, so the triangle is not acute-angled. So we must have a = b. Then using the previous relation for c, we get c = a also.
Problem 3
Find the number of polynomials of degree 5 with distinct coefficients from the set {1, 2, ... , 9} which are divisible by x2 - x + 1.
Solution
Answer: 624.
This seems to be a laborious exercise in counting. Suppose that the polynomial is (x2 - x + 1)(ax3 + bx2 + cx + d). Multiplying out, we find that the coefficients are: a, b-a, c-(b-a), b-(c-d), c-d, d. Put e = b-a, f = c-d. Then the coefficients are: a, e, d+f-e, a+e-f, f, d. Put k = e-f. Then the coefficients are: a, f+k, d-k, a+k, f, d. Suppose k > 0. Put g = d-k. then the coefficients are (rearranging the order) a, f, g, a+k, f+k, g+k. Similarly, if k < 0, put h = -k, and the coefficients are a, e, d+h, a-h, e+h, d. Putting g = a-h and rearranging the order we get: d, e, g, d+h, e+h, g+h. The two types (k positive and negative) obviously do not overlap and there are evidently equal numbers of each. So we have to find the number of sets a, f, g, a+k, f+k, g+k. By symmetry, the number of sets must be 6 times the number with a < f < g. However, I cannot see an elegant way to count the number with a < f < g. Simply listing them gives 52 possibilities.
if k = 1, a = 1, f = 3, then g can be 5, 6, 7, or 8.
if k = 1, a = 1, f = 4, then g can be 6, 7 or 8
if k = 1, a = 1, f = 5, then g can be 7 or 8
if k = 1, a = 1, f = 6, then g must be 8
if k = 1, a = 2, f = 4, then g can be 6, 7 or 8
if k = 1, a = 2, f = 5, then g can be 7 or 8
if k = 1, a = 2, f = 6, then g must be 8
if k = 1, a = 3, f = 5, then g can be 7 or 8
if k = 1, a = 3, f = 6, then g must be 8
if k = 2, a = 1, f = 2, then g can be 5, 6 or 7
if k = 2, a = 1, f = 4, then g can be 5 or 7
if k = 2, a = 1, f = 5, then g must be 6
if k = 2, a = 1, f = 6, then g must be 7
if k = 2, a = 2, f = 3, then g can be 6 or 7
if k = 2, a = 2, f = 5, then g must be 6
if k = 2, a = 2, f = 6, then g must be 7
if k = 2, a = 3, f = 4, then g must be 7
if k = 2, a = 3, f = 6, then g must be 7
if k = 3, a = 1, f = 2, then g can be 3 or 6
if k = 3, a = 1, f = 3, then g must be 5
if k = 3, a = 1, f = 5, then g must be 6
if k = 3, a = 2, f = 3, then g must be 4
if k = 3, a = 2, f = 4, then g must be 6
if k = 3, a = 3, f = 4, then g must be 5
if k = 3, a = 4, f = 5, then g must be 6
if k = 4, a = 1, f = 2, then g can be 3 or 4
if k = 4, a = 1, f = 3, then g must be 4
if k = 4, a = 2, f = 3, then g can be 4 or 5
if k = 4, a = 2, f = 4, then g must be 5
if k = 5, a = 1, f = 2, then g must be 3 or 4
if k = 5, a = 1, f = 3, then g must be 4
if k = 5, a = 2, f = 3, then g must be 4
if k = 6, a = 1, f = 2, then g must be 3
Comment: can anyone come up with a better solution!
Problem 4
Let S be the set {1/1, 1/2, 1/3, 1/4, ... }. The subset {1/20, 1/8, 1/5} is an arithmetic progression of length 3 and is maximal, because it cannot be extended (within S) to a longer arithmetic progression. Find a maximal arithmetic progression in S of length 1996. Is there a maximal arithmetic progression in S of length 1997?
Solution
Let k = 1/1993! . Then h divides k for h = 1, 2, ... , 1996, but not for 1997, which is prime. Hence 1/k, 2/k, 3/k, ... , 1996/k is a maximal arithmetic progression in S of length 1996 (extending it would require 0 or 1997/1993! to be in S, which they are not).
6.1998 - 1 = 11987 is prime. So put k = 11986! and consider the progression 5/k, 11/k, 17/k, ... , 11981/k. It has 1997 terms in S. It cannot be extended, because -1/k and 11987/k are not in S.
[This conceals some work, because we have to try 2·1998 - 1 (factor 5), 3·1998 - 1 (factor 13), 3·1998 - 2 (factor 2), 4·1998 - 1 (factor 61), 4·1998 - 2 (factor 2), 4·1998 - 3 (factor 3), 5·1998 - 1 (factor 7), 5·1998 - 2 (factor 2), 5·1998 - 3 (factor 3), 5·1998 - 4 (factor 2), before hitting on 6·1998 - 1 (and checking that requires checking divisibility by about 25 primes).]
Labels:
British Mathematical Olympiad