Absolute Value and 1998 integers
Here's Problem 1 from the 1998 USAMO:
Suppose that the set {1, 2, ..., 1998} has been partitioned into disjoint pairs
|a1 - b1| + |a2 - b2| + ... + |a999 - b999|
ends in the digit 9.
|Contact| |Front page| |Contents| |Algebra|
Copyright © 1996-2018 Alexander Bogomolny
Suppose that the set {1, 2, ..., 1998} has been partitioned into disjoint pairs
|a1 - b1| + |a2 - b2| + ... + |a999 - b999|
ends in the digit 9.
Solution 1
Let the number of pairs with |aj - bj| = 6 be m. Then the number of pairs with
6m + (999 - m) = 5m + 999.
The statement will follow from the observation that m is necessarily even. This follows from a general property of partitions of the sets that comprise elements of two kinds.
Write the 1998 numbers in two rows with the designated pairs in the same column. Think of odd numbers as blue and of even numbers as red. If two numbers in the same column are of the same color join them by a line of that color. There will be as many blue lines as there are red lines. In other words, there are as many odd/odd pairs as there are even/even pairs.
In order that the difference of two numbers was even (6, in particular), the two numbers must have the same parity. It thus follows that the number of pairs whose difference is 6 is indeed even, and we are done.
One natural generalization of the problem is to prove that if 1998 is replaced with, say, 2L, then the difference
|a1 - b1| + |a2 - b2| + ... + |aL - bL|
ends in the same digit regardless of the partition into the a, b pairs. In fact, it is not at all important that the integer are exactly
8m + 3(999 - m) = 5m + 2997,
from which the sum in question would be bound to end with the digit 7.
Solution 2
If necessary, by swapping aj and bj, we may assume that
|aj - bj| = aj - bj.
The sum in question is then A - B, where A = ∑aj and B = ∑bj. Now,
References
- A Decade of the Berkeley Mathematical Circle, The American Experience, Volume I, Z. Stankova, Tom Rike (eds), AMS/MSRI, 2008, pp. 82-83
Absolute Value
- Absolute Value
- Importance of the Absolute Value
- Cartesian Coordinate System
- Algebraic Structure of Complex Numbers
- Structure of Hyperreal Numbers
- Farmer and Wife To Catch Rooster and Hen
- Topological Preliminaries
- Proizvolov's Identity
- Absolute Value and 1998 integers
- Optimal Residence
- Sum of Absolute Values
|Contact| |Front page| |Contents| |Algebra|
Copyright © 1996-2018 Alexander Bogomolny
71876253