AMC 10 Step by Step

2005 AMC 10B Problem 25

P21-25~4 minPrint

A subset BB of the set of integers from 11 to 100100 , inclusive, has the property that no two elements of BB sum to 125125 . What is the maximum possible number of elements in BB ?

Log in to save your progress.
Show solution without answering

Key insight

Numbers 1 to 24 have no partner making 125, so keep them all. Numbers 25 to 100 form 38 pairs; keep one from each: 62.

Solution

This is a "greatest possible" question, so show two things: 6262 numbers can be chosen, and more than 6262 cannot.

Part 1: which numbers can cause trouble?

1. A number kk is only a problem if its partner 125−k125 - k is also between 11 and 100100. For k=24k = 24 the partner would be 101101, which is too big. So 1,2,…,241, 2, \ldots, 24 never cause trouble.
2. The numbers 2525 through 100100 (7676 numbers) pair up so each pair adds to 125125:
25+100,26+99,27+98,…,62+63.25 + 100,\quad 26 + 99,\quad 27 + 98,\quad \ldots,\quad 62 + 63.
That is 76÷2=3876 \div 2 = 38 pairs, and no number is in two pairs.

Part 2: more than 6262 is impossible.

  1. BB cannot hold both numbers of any pair, since they add to 125125. So from 2525 to 100100, BB has at most 3838 numbers, one per pair.
  2. Adding the 2424 safe numbers, BB has at most 24+38=6224 + 38 = 62 numbers.

Part 3: 6262 is possible.

  1. Take B={1,2,3,…,62}B = \{1, 2, 3, \ldots, 62\}. The two biggest numbers in it add to 62+61=12362 + 61 = 123, which is less than 125125. So no two numbers in BB add to 125125.

Sixty-two is possible and sixty-three is not, so the greatest size is 6262.

The answer is (C) 62\boxed{\textbf{(C)}\ 62}.

Why this works

When a rule says "no two chosen numbers may add to a certain total," pair each number with the partner it would clash with. You can take at most one from each pair, and numbers with no partner are free. For a "greatest" question, you also need an example that reaches the limit; here the smallest 6262 numbers do it.

Alternative approach

Build the set greedily from the bottom: add 1,2,3,…1, 2, 3, \ldots one at a time as long as no two chosen numbers add to 125125. The first clash is 62+63=12562 + 63 = 125, so you can go up to 6262. The pairing argument above is what proves you cannot do better another way.

Concise solution

A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.

Which numbers can be part of a pair summing to 125125? A number kk needs a partner 125−k125 - k that also lies in 11 to 100100, which requires 25≤k≤10025 \le k \le 100. So the numbers 11 through 2424 are completely safe: all 2424 of them can go into BB.

The numbers 2525 through 100100 (7676 numbers) split into the 3838 disjoint pairs
{25,100}, {26,99}, …, {62,63},\{25, 100\},\ \{26, 99\},\ \ldots,\ \{62, 63\},
each summing to 125125. BB may contain at most one number from each pair, so it has at most 3838 of these numbers.

Upper bound: ∣B∣≤24+38=62|B| \le 24 + 38 = 62.

This is achievable: take B={1,2,…,62}B = \{1, 2, \ldots, 62\}. Its two largest elements sum to 62+61=123<12562 + 61 = 123 < 125, so no two elements reach 125125.

The answer is (C) 62\boxed{\textbf{(C)}\ 62}.

Review in the AoPS books

Similar problems

Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site.