Difference between revisions of "2016 AIME II Problems/Problem 13"
Mathgeek2006 (talk | contribs) (→Solution) |
m (→Solution 1) |
||
Line 7: | Line 7: | ||
*For a score of <math>3</math>, we must have either <math>f(1)=2</math> or <math>f(2)=1</math>, and we can arrange the rest of the rooks however we want, so by PIE the number of ways is <math>5!+5!-4!=216</math>. | *For a score of <math>3</math>, we must have either <math>f(1)=2</math> or <math>f(2)=1</math>, and we can arrange the rest of the rooks however we want, so by PIE the number of ways is <math>5!+5!-4!=216</math>. | ||
*For a score of <math>4</math>, we must have <math>f(1)=3</math>, <math>f(2)=2</math>, or <math>f(3)=1</math>. If <math>f(1)=3</math>, we just don't want <math>f(2)=1</math>, if <math>f(2)=2</math>, we don't want <math>f(1)=1</math>, or if <math>f(3)=1</math>, we don't want <math>f(1)=2</math>, otherwise we can arrange the function however we like. If at least <math>2</math> of the values rooks have a value of <math>4</math>, we can arange the rest of the rooks however we like, so there are <math>3(5!-4!)-3(4!)+3!=222</math> by PIE. | *For a score of <math>4</math>, we must have <math>f(1)=3</math>, <math>f(2)=2</math>, or <math>f(3)=1</math>. If <math>f(1)=3</math>, we just don't want <math>f(2)=1</math>, if <math>f(2)=2</math>, we don't want <math>f(1)=1</math>, or if <math>f(3)=1</math>, we don't want <math>f(1)=2</math>, otherwise we can arrange the function however we like. If at least <math>2</math> of the values rooks have a value of <math>4</math>, we can arange the rest of the rooks however we like, so there are <math>3(5!-4!)-3(4!)+3!=222</math> by PIE. | ||
− | *If the score is <math>5</math>, then we have either <math>f(4)=1</math>, <math>f(3)=2</math>, <math>f(2)=3</math>, or <math>f(1)=4</math>. If we have the first case, we don't want <math>f(2)=2</math>, <math>f(1)=2</math>, or <math>f(1)=3</math>, so by PIE the number of bad cases is <math>4!+4!-3!=42</math>. If we have the second case, then we don't want <math>f(2)=1</math>, <math>f(1)=1</math>, or <math>f(1)=3</math>, so similarly there are <math>42</math> bad cases. Therefore, there are a total of <math>54</math> good cases for each one. The number of ways to get <math>f(1)=1, f(1)=4</math> is <math>4!-3!</math> because we don't want <math>f(2)=2</math>, the number of ways to get <math>f(4)=1, f(2)=3</math> is <math>4!-3!</math> ways because we don't want <math>f(1)=2</math>, the number of ways to get <math>f(2)=3, f(3)=2</math> is <math>4!-3!</math> ways because we don't want <math>f(1)=1</math>, and the number of ways to get <math>f(1)=4, f(2)=3</math> is <math>4!-3!</math> ways because we don't want <math>f(3)=1</math>. The number of ways to get at least <math>3</math> cases satisfied is <math> | + | *If the score is <math>5</math>, then we have either <math>f(4)=1</math>, <math>f(3)=2</math>, <math>f(2)=3</math>, or <math>f(1)=4</math>. If we have the first case, we don't want <math>f(2)=2</math>, <math>f(1)=2</math>, or <math>f(1)=3</math>, so by PIE the number of bad cases is <math>4!+4!-3!=42</math>. If we have the second case, then we don't want <math>f(2)=1</math>, <math>f(1)=1</math>, or <math>f(1)=3</math>, so similarly there are <math>42</math> bad cases. Therefore, there are a total of <math>54</math> good cases for each one. The number of ways to get <math>f(1)=1, f(1)=4</math> is <math>4!-3!</math> because we don't want <math>f(2)=2</math>, the number of ways to get <math>f(4)=1, f(2)=3</math> is <math>4!-3!</math> ways because we don't want <math>f(1)=2</math>, the number of ways to get <math>f(2)=3, f(3)=2</math> is <math>4!-3!</math> ways because we don't want <math>f(1)=1</math>, and the number of ways to get <math>f(1)=4, f(2)=3</math> is <math>4!-3!</math> ways because we don't want <math>f(3)=1</math>. The number of ways to get at least <math>3</math> cases satisfied is <math>3! \cdot 4</math> because we can arrange the remaining rooks however we like, and the number of ways to get all <math>4</math> cases satisfied is <math>2!=2</math> ways because we can arrange the remaining rooks however we like, so by PIE we have <math>54 \cdot 4-18 \cdot 6 + 3! \cdot 4-2!=130</math> ways to get a score of <math>5</math>. |
*The only way to get a score of <math>7</math> is to have all the rooks run on the antidiagonal. Therefore, the number of ways to get a sum of <math>6</math> is <math>6!-120-216-222-130-1=31</math>. | *The only way to get a score of <math>7</math> is to have all the rooks run on the antidiagonal. Therefore, the number of ways to get a sum of <math>6</math> is <math>6!-120-216-222-130-1=31</math>. | ||
Thus, the expected sum is <math>\dfrac{120 \cdot 2 + 216 \cdot 3 + 222 \cdot 4 + 130 \cdot 5 + 31 \cdot 6 + 1 \cdot 7}{720}= \dfrac{2619}{720}=\dfrac{291}{80}</math>, so the desired answer is <math>291+80=\boxed{371}</math>. | Thus, the expected sum is <math>\dfrac{120 \cdot 2 + 216 \cdot 3 + 222 \cdot 4 + 130 \cdot 5 + 31 \cdot 6 + 1 \cdot 7}{720}= \dfrac{2619}{720}=\dfrac{291}{80}</math>, so the desired answer is <math>291+80=\boxed{371}</math>. |
Revision as of 22:39, 26 February 2017
Beatrix is going to place six rooks on a chessboard where both the rows and columns are labeled to ; the rooks are placed so that no two rooks are in the same row or the same column. The of a square is the sum of its row number and column number. The of an arrangement of rooks is the least value of any occupied square.The average score over all valid configurations is , where and are relatively prime positive integers. Find .
Solution 1
We casework to find the number of ways to get each possible score. Note that the lowest possible score is and the highest possible score is . Let the bijective function denote the row number of the rook for the corresponding column number.
- For a score of , we must have , and we can arrange the rest of the function however we want, so there are ways.
- For a score of , we must have either or , and we can arrange the rest of the rooks however we want, so by PIE the number of ways is .
- For a score of , we must have , , or . If , we just don't want , if , we don't want , or if , we don't want , otherwise we can arrange the function however we like. If at least of the values rooks have a value of , we can arange the rest of the rooks however we like, so there are by PIE.
- If the score is , then we have either , , , or . If we have the first case, we don't want , , or , so by PIE the number of bad cases is . If we have the second case, then we don't want , , or , so similarly there are bad cases. Therefore, there are a total of good cases for each one. The number of ways to get is because we don't want , the number of ways to get is ways because we don't want , the number of ways to get is ways because we don't want , and the number of ways to get is ways because we don't want . The number of ways to get at least cases satisfied is because we can arrange the remaining rooks however we like, and the number of ways to get all cases satisfied is ways because we can arrange the remaining rooks however we like, so by PIE we have ways to get a score of .
- The only way to get a score of is to have all the rooks run on the antidiagonal. Therefore, the number of ways to get a sum of is .
Thus, the expected sum is , so the desired answer is .
Solution by Shaddoll
Solution 2
If the score is , then one of the rooks must appear in the th antidiagonal, and this is the first antidiagonal in which a rook can appear. To demonstrate this, we draw the following diagram when .
We first count the number of arrangements that avoid the squares above the th diagonal, and then we subtract from these the number of arrangements that avoid all squares above the th diagonal. In the first column, there are rows in which to place the rook. In the second column, there is one more possible row, but one of the rows is used up by the rook in the first column, hence there are still places to place the rook. This pattern continues through the th column, so there are ways to place the first rooks while avoiding the crossed out squares. We can similarly compute that there are ways to place the rooks in the first columns that avoid both the crossed out and shaded squares. Therefore, there are ways to place the first rooks such that at least one of them appears in a shaded square.
After this, there are rows and columns in which to place the remaining rooks, and we can do this in ways. Hence the number of arrangements with a score of is . We also know that can range from from to , so the average score is given by
Thus the answer is .
See also
2016 AIME II (Problems • Answer Key • Resources) | ||
Preceded by Problem 12 |
Followed by Problem 14 | |
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.