Divisible sum

Find the minimum number N N such that among any N N positive integers there will always be at least one pair with the sum or difference divisible by 2012.


The answer is 1007.

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.

1 solution

Alan Yan
Jan 27, 2018

Consider the sets { 0 } , { 1 , 2011 } , . . . , { 1005 , 1007 } , { 1006 } \{0\}, \{1, 2011\}, ..., \{1005, 1007\}, \{1006\} . In mod 2012 2012 , we can choose at most 1 1 element from each set, giving an answer of 1007 1007 .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...