2018 AIME II Problems/Problem 11
Contents
[hide]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, rewritten to make it clearer)
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 k terms are already a permutation of
)
i
(1, 2, \ldots, i)
k+1 \le i \le n-1
a_(n-k)
n!
a_n = n! - \sum_{k=1}{n-1} a_(n-k) k!
a_1 = 1
a_2 = 1
a_3 = 3
a_4 = 13
a_5 = 71
a_6 = \boxed{461}$.
~ Solution rewrite author: [https://artofproblemsolving.com/wiki/index.php/User:CrazyVideoGamez CrazyVideoGamez] ~ Original solution's author:$ (Error compiling LaTeX. Unknown error_msg)BladeRunnerAUG$(Frank FYC)
==Solution 4 (PIE)==
Let$ (Error compiling LaTeX. Unknown error_msg)A_ii
i
\bigcap^{k}_{i=0}{A_{b_i}}=\prod^k_{i=1}{(b_i-b_{i-1})!}
1\le b_0 < b_1\cdots < b_k \le 5
A_1 \cup A_2 \cup A_3 \cup A_4 \cup A_5$.
We will compute the cardinality of this set with PIE.
<cmath>
f(p,q)
q
p
f(4,5)
4
5
f(6,6)=f(5,6)$.
To generate recursion, consider how we would get to$ (Error compiling LaTeX. Unknown error_msg)f(p,q)f(p-1,a)
a
p\le{a}\le6
a
q
q
a=q
q$.
In the first case, there is only one way to pick the new digit, namely picking$ (Error compiling LaTeX. Unknown error_msg)qq-p+1
q
q
p-1
q
f(p,q)=[\sum^{q-1}_{n=p}f(p-1,n)] + (q-p+1)f(p-1,q)
f(p,q)
f(6,6)=f(5,6)$.
<cmath>f(2,3)=3, f(2,4)=5, f(2,5)=7, f(2,6)=9</cmath> <cmath>f(3,4)=13, f(3,5)=29, f(3,6)=51</cmath> <cmath>f(4,5)=71, f(4,6)=195</cmath> <cmath>f(5,6)=461</cmath> Our requested answer is thus$ (Error compiling LaTeX. Unknown error_msg)\boxed{461}$~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$ (Error compiling LaTeX. Unknown error_msg)kk
1\leq$$ (Error compiling LaTeX. Unknown error_msg)k$$ (Error compiling LaTeX. Unknown error_msg)\leq$$ (Error compiling LaTeX. Unknown error_msg)5
k$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$ (Error compiling LaTeX. Unknown error_msg)5!=120$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$ (Error compiling LaTeX. Unknown error_msg)12\cdots4!=24$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$ (Error compiling LaTeX. Unknown error_msg)3!-3 = 33!
3\times6 = 18$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$ (Error compiling LaTeX. Unknown error_msg)3!=62!=2
3\times 1! = 3
(4!-6-2-3)2!=26$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.$ (Error compiling LaTeX. Unknown error_msg)4!3!
3\times2!=6
13\times1!=13
120-24-6-6-13=71$permutations.
Now, we subtract the total number of permutations from our cases from the total number of permutations, which is$ (Error compiling LaTeX. Unknown error_msg)6!720 - 120 - 24 - 18 - 26 - 71 = \boxed{461}$.
~TGSN/curiousmind_888
2018 AIME II (Problems • Answer Key • Resources) | ||
Preceded by Problem 10 |
Followed by Problem 12 | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 | ||
All AIME Problems and Solutions |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.