AIME 2018 II · 第 11 题
AIME 2018 II — Problem 11
题目详情
Problem
Find the number of permutations of such that for each with , at least one of the first terms of the permutation is greater than .
解析
Solution 1
If the first number is , then there are no restrictions. There are , or ways to place the other numbers.
If the first number is , can go in four places, and there are ways to place the other numbers. ways.
If the first number is , ....
4 6 _ _ _ _ 24 ways
4 _ 6 _ _ _ 24 ways
4 _ _ 6 _ _ 24 ways
4 _ _ _ 6 _ 5 must go between and , so there are ways.
ways if 4 is first.
If the first number is , ....
3 6 _ _ _ _ 24 ways
3 _ 6 _ _ _ 24 ways
3 1 _ 6 _ _ 4 ways
3 2 _ 6 _ _ 4 ways
3 4 _ 6 _ _ 6 ways
3 5 _ 6 _ _ 6 ways
3 5 _ _ 6 _ 6 ways
3 _ 5 _ 6 _ 6 ways
3 _ _ 5 6 _ 4 ways
ways
If the first number is , ....
2 6 _ _ _ _ 24 ways
2 _ 6 _ _ _ 18 ways
2 3 _ 6 _ _ 4 ways
2 4 _ 6 _ _ 6 ways
2 5 _ 6 _ _ 6 ways
2 5 _ _ 6 _ 6 ways
2 _ 5 _ 6 _ 4 ways
2 4 _ 5 6 _ 2 ways
2 3 4 5 6 1 1 way
ways
Grand Total :
Solution 2
If is the first number, then there are no restrictions. There are , or ways to place the other numbers.
If is the second number, then the first number can be or , and there are ways to place the other numbers. ways.
If is the third number, then we cannot have the following:
1 _ 6 _ _ _ 24 ways
2 1 6 _ _ _ 6 ways
ways
If is the fourth number, then we cannot have the following:
1 _ _ 6 _ _ 24 ways
2 1 _ 6 _ _ 6 ways
2 3 1 6 _ _ 2 ways
3 1 2 6 _ _ 2 ways
3 2 1 6 _ _ 2 ways
ways
If is the fifth number, then we cannot have the following:
_ _ _ _ 6 5 24 ways
1 5 _ _ 6 _ 6 ways
1 _ 5 _ 6 _ 6 ways
2 1 5 _ 6 _ 2 ways
1 _ _ 5 6 _ 6 ways
2 1 _ 5 6 _ 2 ways
2 3 1 5 6 4, 3 1 2 5 6 4, 3 2 1 5 6 4 3 ways
ways
Grand Total :
Solution 3 (Recursion)
Note the condition in the problem is equivalent to the following condition: for each with , the first terms is not a permutation (since it would mean there must be some integer in the first terms such that ). Then, let denote the number of permutations of satisfying the condition in the problem. We use complementary counting to find . Notice that in order to not satisfy the condition in the problem, there are cases: the first (we don't include since the condition in the problem only holds up to ) terms are a permutation of , and for all , the condition in the problem still holds. Then, for each of these cases, there are ways to arrange the first terms, and then ways to arrange the to terms (assume by contradiction that terms from to is a permutation of . Then, since the first terms are already a permutation of , the first terms form a permutation of . This contradicts our assumption that for all , the condition still holds. Thus, we can only include the permutations of these terms). Now, summing the cases up and subtracting from , we have: . From this recursion, we derive that , , , , , and finally .
~CrazyVideoGamez
~ (Frank FYC)
Solution 4 (PIE)
Let be the set of permutations such that there is no number greater than in the first places. Note that for all and that the set of restricted permutations is .
We will compute the cardinality of this set with PIE.
To finish,
Solution 5 (Recursion)
Define the function as the amount of permutations with maximum digit and string length that satisfy the condition within bounds. For example, would be the amount of ways to make a string with length with the highest digit being . We wish to obtain .
To generate recursion, consider how we would get to from for all such that . We could either jump from the old maximum to the new by concatenating the old string and the new digit , or one could retain the maximum, in which case . To retain the maximum, one would have to pick a new available digit not exceeding .
In the first case, there is only one way to pick the new digit, namely picking . For the second case, there are digits left to choose, because there are digits between 1 and total and there are digits already chosen below or equal to . Thus, . Now that we have the recursive function, we can start evaluating the values of until we get to .
Our requested answer is thus ~sigma
Solution 6 (Complementary)
We can also solve this problem by counting the number of permutations that do NOT satisfy the given conditions; namely, these permutations must satisfy the condition that none of the first terms is greater than for . We can further simplify this method by approaching it through casework on the first terms.
Case 1: None of the first one terms is greater than 1
The first term must obviously be one. Since there are five spaces left for numbers, there are a total of permutations for this case.
Case 2: None of the first two terms is greater than 2
The first two terms must be 1 and 2 in some order. However, we already counted all cases starting with 1 in the previous case, so all of the permutations in this case must begin with . Since there are four spaces left, there are a total of permutations for this case.
Case 3: None of the first three terms is greater than 3
The first three terms must be 1, 2, and 3 in some order. However, the cases beginning with 1__ and 21_ have already been accounted for. There are now ways to order the first three numbers of the permutation, and ways to order the last three numbers, for a total of permutations.
Case 4: None of the first four terms is greater than 4
You can see where the pattern is going - the first four terms must be 1, 2, 3, and 4 in some order. All cases starting with 1 (there are ), the cases starting with 21 (there are ), and the 3 cases from case 3 (there are ) have been accounted for, so there are a total of permutations for this case.
Case 5: None of the first five terms is greater than 5
This is perhaps the hardest case to work with, simply because there are so many subcases, so keeping track is crucial here. Obviously, the first five terms must be 1, 2, 3, 4, and 5, meaning there are 120 ways to order them. Now, we count the permutations we have already counted in previous cases. start with 1, start with 2, start with 3, and start with 4. Subtracting, we get a total of permutations.
Now, we subtract the total number of permutations from our cases from the total number of permutations, which is : .
~TGSN/curiousmind_888
Solution 7(Similar to Solutions 1 and 2 but with more depth)
We will perform cases based on the position of . Notice that if is the first number, the positions of the rest of the numbers absolutely don't matter, so we have cases here.
Now, if is the second number, all we need is the first number to be greater than . Namely, the possibilities for the first number are just to , for a total of numbers. The rest of the number positions don't matter, so we have ways to arrange the rest of the numbers. Hence, for this case, we have cases.
Now, if is the third number, we can break it up into two cases. First, the first number is simply . Then, as "at least one of the first terms is greater than " we just need the second term to be greater than , namely the possibilities are to , a total of numbers. The arrangement of the remaining numbers doesn't matter, and hence that is just . The first part of this case yields . Now, the second part is that the first term is any number from to . Then, the rest of the numbers don't matter. Hence, we have ways to arrange the rest of the numbers. So we have a total of ways for this case.
Now, if is the fourth number, things get a little bit more difficult. We will break it up into cases. First, we have as the first term. Now, if the second term is , all we need for this to succeed is for the third term to be at least , so only two possibilities and . The rest of the number arrangements don't matter, so we have ways for that. So the first part of this case is . Now, if the second term is at least , then we are done. Hence, we have our two possibilities and for the second term, and the remaining number arrangements don't matter. Hence, we have . So if the first term if , we have cases. Now, if the first term is , all we need to satisfy is that "at least one of the first terms is greater than ." Hence, we can break this up also into cases. First, we'll consider two blocks: one block of numbers before the and one block of numbers after the . If is in the first block before and is in the second block, we have ways to arrange the rest of the numbers. There are ways to place the in the first block and ways to place the in the second block for a total of . We can also switch the positions of and , namely, placing in the first block and in the second block, as this won't affect the requirements. So, we have a total of ways for the first part. Now, the second part is when both and are in the first block. There are ways for both and to be in the first block and then ways to arrange the rest of the numbers. So we have for this case. Hence, if is the first term, we have cases. Now, if is the first term, everything is satisfied, and we are left with the task of finding how many ways there are to arrange the rest of the numbers. This is simply . The same occurs if is the first term with ways.
After all the casework, if is the fourth number, there is a total of .
Finally, we move on to the last case of when is the fifth number. We can do a similar casework analysis as we did to find the previous case. We will break up the cases based on which number is placed in the first term.
First, consider if is the first term. Now, if the second term is , then we need and to be both placed in the first block. Otherwise, if and are placed in different blocks or they're both in the second block, the conditions won't be satisfied. If the third term is , then has to be in the fourth term, and we have only way for this to happen. Now, if the third term is , everything is satisfied, and we have ways to arrange them. So if is the second term, we have ways to arrange them. Now, if the second term is , has to be placed in the first block, which has only remaining positions. After placing the , we have remaining spots overall, so we have ways for this to happen. Finally, if is the second term, everything is satisfied, so we have ways to arrange the rest of the numbers. If is the first term, we have ways.
Now, let's consider being the first term. We will do this case a little differently. We will consider the position of the number . Let's say is the second term. Then everything is satisfied, and we have ways for this to happen. If is the third term, everything is once again satisfied, and we have ways. If is the fourth term, we need the number to be either in the second or third positions, with, after the is placed, leaving remaining positions with ways to arrange them. Hence, we have . If is the first term, we have ways.
Now, if is the first term, all we need is to satisfy "at least one of the first terms is greater than ." Therefore, must be placed in the first block where there are positions. The order of the rest of the numbers doesn't matter. We have ways for this to happen.
Finally, if is the first term, everything is satisfied, and we have ways for this to happen.
Finally, the grand total is
.
~ilikemath247365