Solution to Find the minimum number n of integers to be selected from S = {1, 2, … - Sikademy
Author Image

Archangel Macsika

Find the minimum number n of integers to be selected from S = {1, 2, . . . , 9} so that: (a) The sum of two of the n integers is even. (b) The difference of two of the n integers is 5.

The Answer to the Question
is below this banner.

Can't find a solution anywhere?

NEED A FAST ANSWER TO ANY QUESTION OR ASSIGNMENT?

Get the Answers Now!

You will get a detailed answer to your question or assignment in the shortest time possible.

Here's the Solution to this Question

The give set is


S=\{1,2,3,4,5,6,7,8,9\}

S contain 5 odd number and 4 even number.

(a) We know that , sum of two integers is even iff both are odd or both are even.

On the other hand, if we select an even integer and an odd integer, their sum is odd, so two integers is not sufficient.

If we take three integers from set S, then at least two of them must have the same parity, which guarantees that we will have even sum.

Answer: three integers.


(b) Consider the subsets \{1,6\}, \{2,7\}, \{3,8\}, \{4,9\}, \{5\}. The worst case scenario is that we select one number from each of these subsets.

Thus, it is possible to select five integers and avoid a solution to x-y=5,

 from this selection, but not six.

Answer: six integers.

Related Answers

Was this answer helpful?

Join our Community to stay in the know

Get updates for similar and other helpful Answers

Question ID: mtid-5-stid-8-sqid-566-qpid-451