Difference between revisions of "2018 AIME I Problems/Problem 9"

m (Solution Exclusion Awareness)
m
Line 1: Line 1:
How many distinct subsets of <math>S={1, 2, ..., 19, 20}</math> are there such that there are two distinct elements that sum to <math>16</math> and two distinct elements that sum to <math>24</math>? Two examples are <math>{6, 10, 20, 18}</math> and <math>{3, 5, 13, 19}</math>.
+
Find the number of four-element subsets of <math>\{1,2,3,4,\dots, 20\}</math> with the property that two distinct elements of a subset have a sum of <math>16</math>, and two distinct elements of a subset have a sum of <math>24</math>. For example, <math>\{3,5,13,19\}</math> and <math>\{6,10,20,18\}</math> are two such subsets.
 
 
Feel free to correct this problem if the wording isn't verbatim (I know it isn't).
 
  
 
==Solutions==
 
==Solutions==
Line 19: Line 17:
  
 
Total gives <math>\boxed{210}</math>. Lesson for this problem: Never be scared to attempt an AIME problem. You will oftentimes get it in ~10 minutes.
 
Total gives <math>\boxed{210}</math>. Lesson for this problem: Never be scared to attempt an AIME problem. You will oftentimes get it in ~10 minutes.
 +
 +
-expiLnCalc

Revision as of 17:27, 7 March 2018

Find the number of four-element subsets of $\{1,2,3,4,\dots, 20\}$ with the property that two distinct elements of a subset have a sum of $16$, and two distinct elements of a subset have a sum of $24$. For example, $\{3,5,13,19\}$ and $\{6,10,20,18\}$ are two such subsets.

Solutions

Solution Exclusion Awareness

This problem is tricky because it is the capital of a few "bashy" calculations. Nevertheless, the process is straightforward. Call the set $[a, b, c, d]$.

Anyone who sees this page: Please edit my [ to curly braces while I look for LATEX on how to do that. I am a noob at LATEX.

Note that there are only two cases: 1 where $a + b = 16$ and $c + d = 24$ or 2 where $a + b = 16$ and $a + c = 24$. Also note that there is no overlap between the two situations! This is because if they overlapped, adding the two equations of both cases and canceling out gives you $a=d$, which is absurd.

Case 1. This is probably the simplest: just make a list of possible combinations for ${a, b}$ and ${c, d}$. We get ${1, 15}...{7, 9}$ for the first and ${4, 20}...{11, 13}$ for the second. That appears to give us $7*8=56$ solutions, right? NO. Because elements can't repeat, take out the supposed sets $[a, b, c, d]$ of ${1, 15, 9, 15}, {2, 14, 10, 14}, {3, 13, 11, 13}, {4, 16, 4, 20}, {5, 11, 5, 19}, {5, 11, 11, 13}, {6, 10, 6, 18}, {6, 10, 10, 14}, {7, 9, 9, 15}, {7, 9, 7, 17}$. That's ten cases gone. So $46$ for Case 1.

Case 2. We can look for solutions by listing possible $a$ values and filling in the blanks. Start with $a=4$, as that is the minimum. We find ${4, 12, 20, ?}$, and likewise up to $a=15$. But we can't have $a=8$ or $a=12$ because $a=b$ or $a=c$, respectively! Now, it would seem like there are $10$ values for $a$ and $17$ unique values for each $?$, giving a total of $170$, but that is once again not true because there are some repeated values! We can subtract 1 from all pairs of sets that have two elements in common, because those can give us identical sets. There are 3 pairs about $a=8$ and 3 pairs about $a=12$, meaning we lose $6$. That's $164$ for Case 2.

Total gives $\boxed{210}$. Lesson for this problem: Never be scared to attempt an AIME problem. You will oftentimes get it in ~10 minutes.

-expiLnCalc