Find the minimum value of m such that any m-element subset of the set of integers {1,2,3...,2016} contains at least 2 numbers a and b such that |a-b| is smaller than or equal to 3.
Answers
Divide the set into 4 equivalent subsets consisting of 504 elements, in which each element is in AP of common difference 4, as the following.
where,
Consider any one set among these 4 sets. If we include atleast one element from any among the other three, say if we include an element from any among the other three, then there should be atleast one element in the first considered set, say if there exists such that
For example, consider the set Include the element in the set then we see and such that and
As if we replace any few elements in the considered set, say if an element is replaced by there should exist in the considered set such that
For example, in the set if is replaced by then we see such that
So the minimum value of is equal to 1 added to the cardinality of or or or i.e.,
Hence 505 is the answer.