Let A be a subset of T = { 1 , 2 , … , 1 0 0 } subject to the condition that if 2 distinct elements a and b are in A , then a + b is not in A . What is the maximum value of ∣ A ∣ , which is the number of elements in A ?
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.
Let T n = { 1 , 2 , … , n } . A n is any subset of T n subject to the condition as in the problem. The inductive hypothesis is
max ∣ A n ∣ ≤ { ( n + 1 ) / 2 n / 2 + 1 if n is odd if n is even
The base case when n = 1 is trivial. Now we prove the inductive hypothesis. It is easy to see that A n − { n } is a possible A n − 1 . Hence if n is even, ∣ A n ∣ ≤ ∣ A n − 1 ∣ + 1 ≤ n / 2 + 1 . If n is odd, if A n does not contain n , then A n is a kind of A n − 1 and its cardinality < = ( n + 1 ) / 2 . If A n contains n , then A n − { n } does not have 2 distinct elements with sum = n . Hence it contain at most one element from each of the set {1,n-1}, {2, n-2}, \dots, {(n-1)/2,(n+1)/2}. Hence A n contains at most ( n + 1 ) / 2 elements.
Logically, the subset of T, A, should consist of large number in such a way that a+b is more than 100, which is the largest number in set T
So the maximum number of |A| is when A={50,51,52,...,100} which means that the sum of any two numbers from A will result more than 100. so maximum number of |A| is 51.
Looks like 51 to me. If 49 is in A, 50,51 cannot be in A If 48 is in A, 50,51,52 cannot be in A. if n<50 is in A, we must exclude 51-n elements from A.
So, including 50,51,...100 in A, we get 51 elements.
Looking for the subset of T where all values of a+b are not in A. Specifically, a+b < 0 or a+b > 100. Since T is all positive integers 1-100, a+b can never be less than 0. Hence, a+b > 100, and the average value of (a+b) > 50. The minimum average must be 50.5, so the lowest two values of a and b must be 50 and 51 respectively. All values of T between 50 and 100 satisfy the condition that a+b > 100.
Since elements 1-49 are NOT in A, the number of elements in A is: 100-49 = 51.
If (a+b) is not to be a part of set A then the sum should be greater than the greatest number possible in A. And if A is required to have maximum no. elements then its elements should be larger so that their sum would exceed the greatest no.. keeping all this in mind largest possible set A will have elements 50 to 100.
sum of any two numbers from {50,51,52........,100 } is more than 100 does not belong to the set.so that set is the maximum set containing 51 elements.
I claim the answer is 5 1 . Here is a construction that validates this. If 4 9 ∈ A we must have 5 0 , 5 1 ∈ / A . If 4 8 ∈ A we must have 5 0 , 5 1 , 5 2 ∈ / A . If for any X < 5 0 we have X ∈ A , there must be 5 1 − X elements a 1 , a 2 , … , a 5 1 − X ∈ / A . Thus, if we have 5 0 , 5 1 , … , 1 0 0 ∈ A this gives a total of 5 1 elements.
If A ={50, 51, 52..., 100}, then the sum of any 2 distinct elements a and b cannot equal to another element of A as the minimum value of a + b =50+51=101. Here, | A |=51 and the first element of A is 50. If the first element of A l e q 49,
Problem Loading...
Note Loading...
Set Loading...
The set { 5 0 , 5 1 , 5 2 , … , 1 0 0 } satisfies the condition, and has 5 1 elements.
Let A = { a 1 , a 2 , … , a n } , where a i are arranged in increasing order and A satisfies the given conditions. Consider the set B consisting of the n − 1 differences a 2 − a 1 , a 3 − a 1 , … a n − a 1 . If a j − a 1 is in A , then a j − a 1 = a k for some k < j (since the a i are arranged in increasing order). If k = 1 , then a j = a k + a 1 , which would contradict the assumption. Clearly, at most one of the elements of B can be equal to a 1 , since they are all distinct. Hence, at most one of these differences is in A.
Since all the numbers that are in B are also in T , we have 1 0 0 = ∣ T ∣ ≥ ∣ A ∪ B ∣ ≥ ∣ A ∣ + ( n − 1 ) − 1 = 2 n − 2 . Hence n ≤ 5 1 , so A can contain at most 5 1 elements.