返回题库

AIME 2025 I · 第 7 题

AIME 2025 I — Problem 7

专题
Contest Math
难度
L4
来源
AIME

题目详情

Problem

The twelve letters AA,BB,CC,DD,EE,FF,GG,HH,II,JJ,KK, and LL are randomly grouped into six pairs of letters. The two letters in each pair are placed next to each other in alphabetical order to form six two-letter words, and then those six words are listed alphabetically. For example, a possible result is ABAB, CJCJ, DGDG, EKEK, FLFL, HIHI. The probability that the last word listed contains GG is mn\frac mn, where mm and nn are relatively prime positive integers. Find m+nm+n.

Video solution by grogg007

https://youtu.be/wib5vos7Sd4?t=27

解析

Solution 1

Note that order does not matter here. This is because any permutation of the 66 pairs will automatically get ordered in alphabetical order. The same is true for within each of the pairs. In other words, ABAB CHCH DIDI EJEJ FKFK GLGL should be counted equally as HCHC ABAB DIDI EJEJ FKFK GLGL.

We construct two cases: GG is the first letter of the last word and GG is the second letter of the last word.

Our first case is when GG is the first letter of the last word. Then the second letter of the last word must be one of H,I,J,K,LH, I, J, K, L. Call that set of 55 letters Ω\Omega. There are 55 ways to choose the second letter from Ω\Omega. The other 44 letters of Ω\Omega must be used in the other 55 words.

For the other 5 words, each of their first letters must be before GG in the alphabet. Otherwise, the word with GG will not be the last. There are 66 letters before GG: A,B,C,D,E,FA,B,C,D,E,F. Call that set of 66 letters Σ\Sigma. Exactly one of the words must have two letters from Σ\Sigma. The other 4 will have their first letter from Σ\Sigma and the second letter from Ω\Omega. There are 4!4! ways to determine the possible pairings of letters from Σ\Sigma and Ω\Omega, respectively.

Therefore, this case has 5(62)4!=51524=18005 \cdot {6\choose{2}} \cdot 4! = 5 \cdot 15 \cdot 24 = 1800 orderings.

The second case is when GG is the second letter of the last word. You can see that the first letter of that word must be FF. Otherwise, that word cannot be the last word. The other 55 words must start with AA, BB, CC, DD, and EE. The second letter of each of those words will come from Ω\Omega. There will be 5!5! ways to distribute the elements of Ω\Omega to one of A,B,C,D,EA, B, C, D, E. There are therefore 5!=1205! = 120 orderings in the case.

In total, there are 1800+120=19201800+120 = 1920 orderings. However, we want the probability. The number of ways to put the 1212 letters into pairs is 119753111 \cdot 9 \cdot 7 \cdot 5 \cdot 3 \cdot 1. This is true because we can say this: Start with AA. It has 1111 options for who it will partner with. There are now 1010 letters left. Pick one of those letters. It has 99 options for who it will partner with. There are now 88 letters left. Continue until there are only 22 letters left, and there is only 11 option for that last word. Therefore, there will be 119753111 \cdot 9 \cdot 7 \cdot 5 \cdot 3 \cdot 1 options.

The probability is therefore 19201197531=128693\frac{1920}{11 \cdot 9 \cdot 7 \cdot 5 \cdot 3 \cdot 1} = \frac{128}{693}. The requested answer is 128+693=821128 + 693 = \boxed{821}.

~lprado

Minor latex edits by T3CHN0B14D3

Solution 2: Same but quicker

Splitting up into 22 cases: GG is the first letter or the second letter of the last word.

Case 1:1: GG in first letter

Notice that AA must take the first letter of first word, one of the letters BB - FF needs to be the second letter of a word and the rest being the first letter of a word. The combinations will be 1+2+3+4+9=19.1 + 2 + 3 + 4 + 9 = 19. After the first 77 letters has been decided then the last 55 will just fill by 5!.5!. This case will have 195!19 \cdot 5! outcomes.

Case 2:2: GG in last letter

Notice that AA - GG has been arranged by A?B?C?D?E?FG,A? B? C? D? E? FG, where the ?? is undecided. We have another 5!5! to fill out the possible outcomes.

In total, there are 165!.16 \cdot 5!. The total case will be 119753111 \cdot 9 \cdot 7 \cdot 5 \cdot 3 \cdot 1 (Consider A must be in the first letter of first word, then you have 1111 choices, then you must take the next letter in alphabetical order as mandatory, then you have a free choice of 99 and so on).

Answer:

=16543211197531= \frac{16 \cdot 5 \cdot 4 \cdot 3 \cdot 2 \cdot 1}{ 11 \cdot 9 \cdot 7 \cdot 5 \cdot 3 \cdot 1} =16421197= \frac{16 \cdot 4 \cdot 2}{11 \cdot 9 \cdot 7} =128693= \frac{128}{ 693} Therefore it gives us the answer of 128+693=821.{128 + 693 = \boxed{821}.}

~Mitsuihisashi14 ~Latex by mathkiddus

Alternative Step in Solutions 1 and 2: Total Arrangements

The total number of possible arrangements can also be calculated using combinations. We wish to find the total number of ways to form 66 pairs of letters from the given 1212. There are 12!12! ways to do so. However, the 22 letters in each pair can only be arranged in 11 way, not 2!2! ways, because they must be in alphabetical order. Thus, we must divide by 2!2! for each of the 66 pairs, giving 12!2!2!2!2!2!2!\frac{12!}{2!2!2!2!2!2!} or 12!26\frac{12!}{2^6} arrangements.

We must also take into account the number of ways to arrange the 66 pairs relative to each other. In the problem, only 11 possible arrangement can arise from 6!6! different cases because the pairs of letters must be in alphabetical order. Therefore, we must divide by 6!6! to give the total number of possible arrangements as 12!266!=21035527112624325=335711=10,395\frac{12!}{2^6\cdot6!}=\frac{2^{10}\cdot3^5\cdot5^2\cdot7\cdot11}{2^6\cdot2^4\cdot3^2\cdot5}=3^3\cdot5\cdot7\cdot11=10,395.

~Christian

Video Solution 1 by SpreadTheMathLove

https://www.youtube.com/watch?v=59Q5bKVtTq4

Video Solution - Probability with strings of letters by HungryCalculator

https://www.youtube.com/watch?v=Z13I6QHDWkQ

~HungryCalculator