S is the set {1, 2, 3, ... , 1000000}. Show that for any subset A of S with 101 elements we can find 100 distinct elements xi of S, such that the sets xi + A are all pairwise disjoint. [Note that xi + A is the set {a + xi | a is in A} ].
Solution
Thanks to Li Yi
Having found x1, x2, ... , xk there are k·101·100 forbidden values for xk+1 of the form xi + am - an with m and n unequal and another k forbidden values with m = n. Since 99·101·100 + 99 = 106 - 1, we can successively choose 100 distinct xi.
Gerhard Woeginger sent me a similar solution
© John Scholes
jscholes@kalva.demon.co.uk
24 Jul 2003
Last corrected/updated 24 Jul 2003