Suppose you have to distribute the numbers {1; 2; 3; ... ; 2n-1;2n} over n buckets. Show that there will always be at least one bucket with its sum of numbers to be >=2n+1.
Let us assume that the sum of numbers in each bucket is less than 2n +1.
Where n is the number of buckets into which numbers ranging from 1 to 2n are distributed.
Let the sum of numbers in first bucket is s1.
Similarly there are s2,s3,s4,...,sn sums.
------(i)
According to our assumption
Similarly,
Adding up the above equations,we get ;
But this is a contradiction to the equation --(i)
So our assumption is wrong.
Thus,there will always be at least one bucket
with its sum of numbers to be >=2n+1.
(Proved)
Comments