返回题库

AIME 2012 II · 第 14 题

AIME 2012 II — Problem 14

专题
Contest Math
难度
L4
来源
AIME

题目详情

Problem 14

In a group of nine people each person shakes hands with exactly two of the other people from the group. Let NN 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 NN is divided by 10001000.

解析

Solution 1

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 (93)(63)(33)3!\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 (n1)!2\dfrac{(n-1)!}{2}, since there are (n1)!(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 (31)!2=1\dfrac{(3-1)!}{2}=1 arrangements. Therefore, for this case, there are ((93)(63)(33)3!)(1)3=280\left(\dfrac{\dbinom{9}{3}\dbinom{6}{3}\dbinom{3}{3}}{3!}\right)(1)^3=280

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

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

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

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

Note: the reason why we divided by 3!3! in Case 1 and not the other three cases is because for case one and case one only, the groups each have 3 people, implying a symmetric configuration.

For example, for 3 people A, B, C in group 1, they could very well be in group 2 or 3 too, because each group has 3 people.

However, for all the other three cases, the configurations are not symmetric and so dividing by 2!2! or like would be incorrect. It is not possible to configure A, B, C such that they can be both a group of 3 and a group of 6, since {A, B, C} only has 3 elements.

~mathboy282

Solution 2

Let fNf_N be the number of ways a group of NN people can shake hands with exactly two of the other people from the group, where N3N \ge 3.

We can easily find that f3=1f_3=1.

Continuing on, we will label the people as AA,BB,CC,... corresponding with NN.

f4f_4: There are (32)=3\dbinom{3}{2}=3 possible ways for person AA to shake hands with two others (WLOG assume AA shakes hands with BB and CC), and there is only one possible outcome thereon (BB and CC both shakes hands with DD).

Therefore, we can conclude that f4=3f_4=3

f5f_5: There are (42)=6\dbinom{4}{2}=6 possible ways for person AA to shake hands with two others (WLOG assume they are BB and CC). Then, BB and CC must also shake hands with the remaining two people (22 ways), and those last 22 people must shake hands with each other (11 way). Therefore, f5=(42)(2)(1)=12f_5=\dbinom{4}{2}\ast(2)\ast(1)=12

f6f_6: There are (52)=10\dbinom{5}{2}=10 possible ways for person AA to shake hands with two others (WLOG assume they are BB and CC). However, BB and CC shake hands with each other, then there are f3f_3 ways for the rest of the people to shake hands. If BB and CC shake hands with two others out of the three remaining people (3\ast2 ways), those 22 people must shake hands with the last person (11 way). Therefore, f6=(52)(f3)+3(2)(1)=70f_6=\dbinom{5}{2}\ast(f_3)+3\ast(2)\ast(1)=70

Now we have enough information to find f9f_9

f9f_9: There are (82)=28\dbinom{8}{2}=28 possible ways for person AA to shake hands with two others (WLOG assume they are BB and CC).

Case 1: BB and CC shake hands with each other

There are f6f_6 ways for DD,EE,FF,GG,HH, and II to shake hands

Case 2: BB and CC shake hands with one of the others out of the 66 remaining people (66 ways)

There are f5f_5 ways for EE,FF,GG,HH, and II to shake hands

Case 3: If BB and CC shake hands with two different people (there are 6\ast5 ways to choose the people but WLOG assume they are DD and EE). Calculations of Case 3 are in its subcases.

Subcase 3.1: DD and EE shake hands with each other There are f4f_4 ways for FF,GG,HH, and II to shake hands

Subcase 3.2: DD and EE each shake hands with one other person (there are 44 ways to choose the person, WLOG let that be FF) There are f3f_3 ways for GG,HH, and II to shake hands

Subcase 3.3: DD and EE each shake hands with two different people (there are 4\ast3 ways, WLOG let that be FF and GG) There are 212\ast1 ways for FF and GG to then shake hands with HH and II, and HH and II will shake hands with each other.

We have

28(f6+6(f5)+6(5)(f4)+4(f3)+4(3)(2)(1)=28(70+6(12)+6(5)(3+4(1)+4(3)(2)(1)=30016\begin{aligned} 28(f_6+6\ast(f_5)+6\ast(5)\ast(f_4)+4\ast(f_3)+4\ast(3)\ast(2)\ast(1) &= 28(70+6\ast(12)+6\ast(5)\ast(3+4\ast(1)+4\ast(3)\ast(2)\ast(1) \\ &= 30016 \end{aligned} which gives us the answer of 016\boxed{016}

~Danielzh

Video Solution

Very Neat solution: https://www.youtube.com/watch?v=lG8N9RuI-8o

Similar Problems

2006 HMMT feb. combo #9.