Difference between revisions of "2012 AIME II Problems/Problem 14"

m (Solution)
(Solution)
Line 6: Line 6:
 
Given that each person shakes hands with two people, we can view all of these through graph theory as 'rings'.  This will split it into four cases:  Three rings of three, one ring of three and one ring of six, one ring of four and one ring of five, and one ring of nine. (All other cases that sum to nine won't work, since they have at least one 'ring' of two or fewer points, which doesn't satisfy the handshaking conditions of the problem.)
 
Given that each person shakes hands with two people, we can view all of these through graph theory as 'rings'.  This will split it into four cases:  Three rings of three, one ring of three and one ring of six, one ring of four and one ring of five, and one ring of nine. (All other cases that sum to nine won't work, since they have at least one 'ring' of two or fewer points, which doesn't satisfy the handshaking conditions of the problem.)
  
'''Case 1:'''  To create our groups of three, there are <math>\dfrac{\dbinom{9}{3}\dbinom{6}{3}\dbinom{3}{3}}{3!}</math>.  In general, the number of ways we can arrange people within the rings to count properly is <math>\dfrac{(n-1)!}{2}</math>, since there are <math>(n-1)!</math> ways to arrange items in the circle, and then we don't want to want to consider reflections as separate entities.  Thus, each of the three cases has <math>\dfrac{(3-1)!}{2}=1</math> arrangements.  Therefore, for this case, there are <math>(\dfrac{\dbinom{9}{3}\dbinom{6}{3}\dbinom{3}{3}}{3!})(1)^3=280
+
'''Case 1:'''  To create our groups of three, there are <math>\dfrac{\dbinom{9}{3}\dbinom{6}{3}\dbinom{3}{3}}{3!}</math>.  In general, the number of ways we can arrange people within the rings to count properly is <math>\dfrac{(n-1)!}{2}</math>, since there are <math>(n-1)!</math> ways to arrange items in the circle, and then we don't want to want to consider reflections as separate entities.  Thus, each of the three cases has <math>\dfrac{(3-1)!}{2}=1</math> arrangements.  Therefore, for this case, there are <math>(\dfrac{\dbinom{9}{3}\dbinom{6}{3}\dbinom{3}{3}}{3!})(1)^3=280</math>
  
'''Case 2:'''  For three and six, there are </math>\dbinom{9}{6}=84<math> sets for the rings.  For organization within the ring, as before, there is only one way to arrange the ring of three.  For six, there is </math>\dfrac{(6-1)!}{2}=60<math>.  This means there are </math>(84)(1)(60)=5040<math> arrangements.
+
'''Case 2:'''  For three and six, there are <math>\dbinom{9}{6}=84</math> sets for the rings.  For organization within the ring, as before, there is only one way to arrange the ring of three.  For six, there is <math>\dfrac{(6-1)!}{2}=60</math>.  This means there are <math>(84)(1)(60)=5040</math> arrangements.
  
'''Case 3:'''  For four and five, there are </math>\dbinom{9}{5}=126<math> sets for the rings.  Within the five, there are </math>\dfrac{4!}{2}=12<math>, and within the four there are </math>\dfrac{3!}{2}=3<math> arrangements.  This means the total is (126)(12)(3)=4536.
+
'''Case 3:'''  For four and five, there are <math>\dbinom{9}{5}=126</math> sets for the rings.  Within the five, there are <math>\dfrac{4!}{2}=12</math>, and within the four there are <math>\dfrac{3!}{2}=3</math> arrangements.  This means the total is <math>(126)(12)(3)=4536</math>.
  
'''Case 4:'''  For the nine case, there is </math>\dbinom{9}{9}=1<math> arrangement for the ring.  Within it, there are </math>\dfrac{8!}{2}=20160<math> arrangements.
+
'''Case 4:'''  For the nine case, there is <math>\dbinom{9}{9}=1</math> arrangement for the ring.  Within it, there are <math>\dfrac{8!}{2}=20160</math> arrangements.
  
Summing the cases, we have </math>280+5040+4536+20160=30016 \to \boxed{016}$.
+
Summing the cases, we have <math>280+5040+4536+20160=30016 \to \boxed{016}</math>.
  
 
== See Also ==
 
== See Also ==
 
{{AIME box|year=2012|n=II|num-b=13|num-a=15}}
 
{{AIME box|year=2012|n=II|num-b=13|num-a=15}}

Revision as of 20:33, 3 April 2012

Problem 14

In a group of nine people each person shakes hands with exactly two of the other people from the group. Let $N$ be the number of ways this handshaking can occur. Consider two handshaking arrangements different if and only if at least two people who shake hands under one arrangement do not shake hands under the other arrangement. Find the remainder when $N$ is divided by $1000$.


Solution

Given that each person shakes hands with two people, we can view all of these through graph theory as 'rings'. This will split it into four cases: Three rings of three, one ring of three and one ring of six, one ring of four and one ring of five, and one ring of nine. (All other cases that sum to nine won't work, since they have at least one 'ring' of two or fewer points, which doesn't satisfy the handshaking conditions of the problem.)

Case 1: To create our groups of three, there are $\dfrac{\dbinom{9}{3}\dbinom{6}{3}\dbinom{3}{3}}{3!}$. In general, the number of ways we can arrange people within the rings to count properly is $\dfrac{(n-1)!}{2}$, since there are $(n-1)!$ ways to arrange items in the circle, and then we don't want to want to consider reflections as separate entities. Thus, each of the three cases has $\dfrac{(3-1)!}{2}=1$ arrangements. Therefore, for this case, there are $(\dfrac{\dbinom{9}{3}\dbinom{6}{3}\dbinom{3}{3}}{3!})(1)^3=280$

Case 2: For three and six, there are $\dbinom{9}{6}=84$ sets for the rings. For organization within the ring, as before, there is only one way to arrange the ring of three. For six, there is $\dfrac{(6-1)!}{2}=60$. This means there are $(84)(1)(60)=5040$ arrangements.

Case 3: For four and five, there are $\dbinom{9}{5}=126$ sets for the rings. Within the five, there are $\dfrac{4!}{2}=12$, and within the four there are $\dfrac{3!}{2}=3$ arrangements. This means the total is $(126)(12)(3)=4536$.

Case 4: For the nine case, there is $\dbinom{9}{9}=1$ arrangement for the ring. Within it, there are $\dfrac{8!}{2}=20160$ arrangements.

Summing the cases, we have $280+5040+4536+20160=30016 \to \boxed{016}$.

See Also

2012 AIME II (ProblemsAnswer KeyResources)
Preceded by
Problem 13
Followed by
Problem 15
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
All AIME Problems and Solutions