The set S contains n integers such that there always exist two integers in S whose sum, or else whose difference, is a multiple of 2016. What is the minimum value of n ?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
We try to make S as large as possible without any two elements having a difference or sum divisible by 2016, i.e. for elements a , b , a ± b = 0 ( m o d 2 0 1 6 ) .
So, we work on the elements of S mod 2 0 1 6 . Now, if a is in the set, then b must NOT be in the set if a ≡ b ( m o d 2 0 1 6 ) or a ≡ 2 0 1 6 − b ( m o d 2 0 1 6 ) . It is then easy to see that we can fit at most 1 0 0 9 elements into the set, meaning 1 0 1 0 is the minimum number of elements required to satisfy the problem requirements.
Problem Loading...
Note Loading...
Set Loading...
If n = 1 0 0 9 , let S = { 0 , 1 , 2 , … , 1 0 0 8 } . Then for a , b ∈ S and a = b , a + b < 2 0 1 6 and ∣ a − b ∣ < 2 0 1 6 . This show that this set S not satisfying the condition and hence n > 1 0 0 9 .
Next, we show that n = 1 0 1 0 is sufficient. As we dealing with the multiple of 2016, it is easier to consider integers from 0 to 2015 (consider the remainder if the number if divided by 2016). We partition these 2016 numbers into 1009 'boxes', as follows ( 0 ) , ( 1 0 0 8 ) , ( 1 , 2 0 1 5 ) , ( 2 , 2 0 1 4 ) , ( 3 , 2 0 1 3 ) , … , ( i , 2 0 1 6 − i ) , … , ( 1 0 0 7 , 1 0 0 9 )
If there is more than 1 number is selected from a particular box, then it would be i , 2 0 1 6 − i or i , , i (note that it is congruent modulo 2016), which will satisfy the conditions.
Hence the minimum value of n is 1010.