Sets

This topic has expert replies
User avatar
Legendary Member
Posts: 1132
Joined: Mon Jul 20, 2009 3:38 am
Location: India
Thanked: 64 times
Followed by:6 members
GMAT Score:760

Sets

by harsh.champ » Sun Feb 07, 2010 7:45 am
Let T be the set of integers 3, 11, 19, 27,...451, 459, 467 and S be a subset of T such that the sum of no two elements of S is 470. The maximum possible number of elements in S is

(A)32
(B)28
(C)29
(D)30
(E)27

The ans. is D.
It takes time and effort to explain, so if my comment helped you please press Thanks button :)



Just because something is hard doesn't mean you shouldn't try,it means you should just try harder.

"Keep Walking" - Johnny Walker :P
Source: — Problem Solving |

GMAT/MBA Expert

User avatar
GMAT Instructor
Posts: 16207
Joined: Mon Dec 08, 2008 6:26 pm
Location: Vancouver, BC
Thanked: 5254 times
Followed by:1268 members
GMAT Score:770

by Brent@GMATPrepNow » Sun Feb 07, 2010 9:04 am
harsh.champ wrote:Let T be the set of integers 3, 11, 19, 27,...451, 459, 467 and S be a subset of T such that the sum of no two elements of S is 470. The maximum possible number of elements in S is
(A)32
(B)28
(C)29
(D)30
(E)27
The ans. is D.
Nice question - where did you get it?

Notice that the first term (3) and the last term (467) have a sum of 470. So, set S can contain only 1 number from this pair.
Also notice that the second term (11) and the second to last term (459) have a sum of 470. So, set S can contain only 1 number from this pair.
And so the pattern continues.

So, how many pairs of numbers do we have? To answer this, we need to know how many numbers are in the sequence.
There is a formula for this kind of sequence where each term is derived by adding (or subtracting) a constant value to the previous term. The formula for finding the nth term is tn = a + d(n-1) where a is the first term and d is the constant value (difference).

In the sequence 3, 11, 19, 27, . . . ,451, 459, 467 the first term (a) is 3 and the constant value (d) is 8
So, the nth term will be: tn = 3 + 8(n-1)
We want to know the value of n such that 3 + 8(n-1) = 467 (the last term of the sequence).
Solving 3 + 8(n-1) = 467 for n, we get n=59. So, there are 59 terms in our sequence.
This means that we have 29 pairs of values that add to 470, and one lone number (235) that has no other number to pair up with.

We're now ready to count.
We have 29 prohibited number pairs: (3 and 467), (11 and 459), (19 and 451), . . .
We can take 1 number from each of these pairs, so we can have 29 numbers in set S.
PLUS we can have the lone number (235)

So, set S can have a maximum of 29+1 (30) numbers.
Brent Hanneson - Creator of GMATPrepNow.com
Image

User avatar
Legendary Member
Posts: 1275
Joined: Thu Sep 21, 2006 11:13 pm
Location: Arabian Sea
Thanked: 125 times
Followed by:2 members

by ajith » Sun Feb 07, 2010 9:05 am
harsh.champ wrote:Let T be the set of integers 3, 11, 19, 27,...451, 459, 467 and S be a subset of T such that the sum of no two elements of S is 470. The maximum possible number of elements in S is

(A)32
(B)28
(C)29
(D)30
(E)27

The ans. is D.
3, 11, 19, 27,...451, 459, 467 has (467-3)/8 +1 59 numbers in it

now 3+467 = 11+459 = .... =470

The only number which doesnt have a pair is the 30th number = 3+29*8 =235

Now if we include all numbers in the set till 235, the sum of any two will not be 470

if include any number after it there will be at least 1 pair which adds up-to 470

so 3,11...235 - 30 is the maximum the set can have
Always borrow money from a pessimist, he doesn't expect to be paid back.