Difference between revisions of "2017 AIME I Problems/Problem 11"
m (→Problem 11) |
(Improve the clarity of the first part of this solution) |
||
Line 4: | Line 4: | ||
==Solution 1== | ==Solution 1== | ||
− | + | Assume that <math>5 \in \{a_1, a_2, a_3\}</math>, <math>m \neq 5</math>, and WLOG, <math>5 = max(a_1, a_2, a_3)</math>. Then we know that the other two medians in <math>\{a_1, a_2, a_3\}</math> and the smallest number of rows 1, 2, and 3 are all less than 5. But there are only 4 numbers less than 5 in <math>1, 2, 3, \dots, 9</math>, a Contradiction. Thus, if <math>5 \in \{a_1, a_2, a_3\}</math>, then <math>m = 5</math>. | |
WLOG, assume <math>5</math> is in the upper left corner. One of the two other values in the top row needs to be below <math>5</math>, and the other needs to be above <math>5</math>. This can be done in <math>4\cdot4\cdot2=32</math> ways. | WLOG, assume <math>5</math> is in the upper left corner. One of the two other values in the top row needs to be below <math>5</math>, and the other needs to be above <math>5</math>. This can be done in <math>4\cdot4\cdot2=32</math> ways. | ||
Line 10: | Line 10: | ||
Finally, accounting for when <math>5</math> is in every other space, our answer is <math>32\cdot720\cdot9</math>, which is <math>207360</math>. But we only need the last <math>3</math> digits, so <math>\boxed{360}</math> is our answer. | Finally, accounting for when <math>5</math> is in every other space, our answer is <math>32\cdot720\cdot9</math>, which is <math>207360</math>. But we only need the last <math>3</math> digits, so <math>\boxed{360}</math> is our answer. | ||
− | ~Solution by SuperSaiyanOver9000, mathics42 | + | ~Solution by SuperSaiyanOver9000, mathics42, edited by zhaohm |
==Solution 2== | ==Solution 2== |
Revision as of 22:43, 31 January 2023
Contents
[hide]Problem 11
Consider arrangements of the numbers in a array. For each such arrangement, let , , and be the medians of the numbers in rows , , and respectively, and let be the median of . Let be the number of arrangements for which . Find the remainder when is divided by .
Solution 1
Assume that , , and WLOG, . Then we know that the other two medians in and the smallest number of rows 1, 2, and 3 are all less than 5. But there are only 4 numbers less than 5 in , a Contradiction. Thus, if , then .
WLOG, assume is in the upper left corner. One of the two other values in the top row needs to be below , and the other needs to be above . This can be done in ways. The other can be arranged in ways. Finally, accounting for when is in every other space, our answer is , which is . But we only need the last digits, so is our answer.
~Solution by SuperSaiyanOver9000, mathics42, edited by zhaohm
Solution 2
(Complementary Counting with probability)
Notice that m can only equal 4, 5, or 6, and 4 and 6 are symmetric.
WLOG let
1. There is a chance that exactly one of 1, 2, 3 is in the same row with 4.
There are 3 ways to select which of the smaller numbers will get in the row, and then 5
ways to select the number larger than 4.
2. There is a chance that the other two smaller numbers end up in the same row.
There are 2 ways to select the row that the two smaller number are in, and then ways
to place the smaller numbers in the row.
.
Solution 3
We will make sure to multiply by in the end to account for all the possible permutation of the rows.
WLOG, let be present in the Row #.
Notice that MUST be placed with a number lower than it and a number higher than it.
This happens in ways. You can permutate Row # in ways.
Now, take a look at Row and Row .
Because there are numbers to choose from now, you can assign #'s to Row's #2&3 in
ways. There are ways to permute the numbers in the individual Rows.
Hence, our answer is
Solution 4
We see that if one of the medians is 5, then there are two remaining numbers greater than 5 and two less than 5, so it follows that . There are 3 ways to choose which row to have 5 in, ways to choose the other two numbers in that row, ways to arrange the numbers in that row, and ways for the remaining numbers, for our answer is . -Stormersyle
Solution 5
We take the grid, and we do a bunch of stuff with it. First, we sort each row, smallest on the left, largest on the right, then we arrange these 3 rows such that the middle #s are increasing, from top to bottom. Thus, we get that the cell in the very center of the grid must be 5. (We need to multiply by 1296 at the end)
Let S mean a number that is < 5, L mean a number > 5.
In the 2 blank corners, one can be S, and the other one has to be L.
If the top right corner is S, there are 16 ways, otherwise, there are 144 ways. (This is left as an exercise to the reader).
Thus, there are 160 * 1296 total configurations, which gets us an answer of
-AlexLikeMath
Solution 6
We note that if is a median of one of the rows, than . First, focus on the row with in it. There are ways to choose the other numbers in that row and then ways to order it. Now, clearly, there are ways to put the other numbers into the remaining slots so . Hence, our answer is .
(Solution by pleaseletmetwin, but not added to the wiki by pleaseletmetwin)
See Also
2017 AIME I (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.