Difference between revisions of "2005 AIME I Problems/Problem 5"
(→Solution 2) |
(→Intuition) |
||
(13 intermediate revisions by 8 users not shown) | |||
Line 13: | Line 13: | ||
== Solution 3 == | == Solution 3 == | ||
− | First, we can break this problem up into two parts: the amount of ways to order the coins based on color, and which side is facing up for each coin (assuming they are indistinguishable). | + | First, we can break this problem up into two parts: the amount of ways to order the coins based on color, and which side is facing up for each coin (assuming they are indistinguishable). In the end, we multiply these values together. |
− | First, there are obviously <math>\binom{8}{4}</math> | + | First, there are obviously <math>\binom{8}{4}</math> ways to order the coins based on color. |
Next, we set up a recurrence. Let <math>a_n</math> be the number of ways <math>n</math> indistinguishable coins to be stacked such that no heads are facing each other. | Next, we set up a recurrence. Let <math>a_n</math> be the number of ways <math>n</math> indistinguishable coins to be stacked such that no heads are facing each other. | ||
Line 22: | Line 22: | ||
Finally, to get the result, we do <math>70\times 9</math> to get <math>\boxed{630}</math>. | Finally, to get the result, we do <math>70\times 9</math> to get <math>\boxed{630}</math>. | ||
+ | |||
+ | ~superagh | ||
+ | |||
+ | == Intuition == | ||
+ | Really try not to overthink especially in combinatorics. In this case, we just have to notice that after we place a coin facing up ANYWHERE, the rest of the coins to the right of the row of coins MUST be facing up. (Or else we have a coin facing up followed by a coin facing down, and that is not cool). | ||
+ | So for example, suppose we started with a coin facing up. Then the next coin must also be facing up. Then so must the next coin. And so on. Now we know what happens if it starts with a coin facing up. Hmmmmmmm. What if it starts with a coin facing down? | ||
+ | |||
+ | Well, start with a coin facing down. Now, does the next coin HAVE to have a coin facing down, or can it have a coin facing up? It could have both! But wait! What happens if the next coin is heads? Well we saw already that now the next coin must be heads, or else we have a up coin followed by a down coin, which once again, sucks. So now everything to the right of the up coin must be facing up. | ||
+ | |||
+ | So we can have the following configurations: <math>9U, 1D+8U, 2D+7U, 3D+6U, ..., 9D+0U</math>. These are the total number of configurations, which is <math>9</math>. (As a sidenote, we really count the number of solutions to <math>a+b=8</math>, which is <math>8+1=9</math>). So we must now put the 4 gold coins as a part of this sequence of ups and downs. This can be done in <math>8\choose 4</math> ways, and the rest of the silver coins can be put in <math>8-4</math>choose <math>4</math> ways. (We subtract the <math>4</math> from the <math>8</math> for the silver coin placement, because we already used up <math>4</math> coins, namely the gold ones). So we have the answer as <math>9 \binom {8}{4}=630</math>. | ||
+ | |||
+ | ~th1nq3r | ||
== See also == | == See also == |
Latest revision as of 00:51, 1 March 2023
Problem
Robert has 4 indistinguishable gold coins and 4 indistinguishable silver coins. Each coin has an engraving of one face on one side, but not on the other. He wants to stack the eight coins on a table into a single stack so that no two adjacent coins are face to face. Find the number of possible distinguishable arrangements of the 8 coins.
Solution 1
There are two separate parts to this problem: one is the color (gold vs silver), and the other is the orientation.
There are ways to position the gold coins in the stack of 8 coins, which determines the positions of the silver coins.
Create a string of letters H and T to denote the orientation of the top of the coin. To avoid making two faces touch, we cannot have the arrangement HT. Thus, all possible configurations must be a string of tails followed by a string of heads, since after the first H no more tails can appear. The first H can occur in a maximum of eight times different positions, and then there is also the possibility that it doesn’t occur at all, for total configurations. Thus, the answer is .
Solution 2
We can imagine the coins as a string of and . Because no adjacent coins can have faces touching, subsequent to changing from to , the numbers following must be ; therefore, the number of possible permutations if all the coins are indistinguishable is (there are possible places to change from to and there is the possibility that there no change occurs). There are possibilities of what coins are gold and what coins are silver, so the solution is .
Solution 3
First, we can break this problem up into two parts: the amount of ways to order the coins based on color, and which side is facing up for each coin (assuming they are indistinguishable). In the end, we multiply these values together.
First, there are obviously ways to order the coins based on color.
Next, we set up a recurrence. Let be the number of ways indistinguishable coins to be stacked such that no heads are facing each other.
Consider the top coin. If it is facing up, then there are ways for the rest of the coins below it to be arranged. If it is facing down however, there will only be one way to arrange the coins. We can the recurrence: Note , so .
Finally, to get the result, we do to get .
~superagh
Intuition
Really try not to overthink especially in combinatorics. In this case, we just have to notice that after we place a coin facing up ANYWHERE, the rest of the coins to the right of the row of coins MUST be facing up. (Or else we have a coin facing up followed by a coin facing down, and that is not cool). So for example, suppose we started with a coin facing up. Then the next coin must also be facing up. Then so must the next coin. And so on. Now we know what happens if it starts with a coin facing up. Hmmmmmmm. What if it starts with a coin facing down?
Well, start with a coin facing down. Now, does the next coin HAVE to have a coin facing down, or can it have a coin facing up? It could have both! But wait! What happens if the next coin is heads? Well we saw already that now the next coin must be heads, or else we have a up coin followed by a down coin, which once again, sucks. So now everything to the right of the up coin must be facing up.
So we can have the following configurations: . These are the total number of configurations, which is . (As a sidenote, we really count the number of solutions to , which is ). So we must now put the 4 gold coins as a part of this sequence of ups and downs. This can be done in ways, and the rest of the silver coins can be put in choose ways. (We subtract the from the for the silver coin placement, because we already used up coins, namely the gold ones). So we have the answer as .
~th1nq3r
See also
2005 AIME I (Problems • Answer Key • Resources) | ||
Preceded by Problem 4 |
Followed by Problem 6 | |
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.