2018 AIME I Problems/Problem 10
Contents
Problem
The wheel shown below consists of two circles and five spokes, with a label at each point where a spoke meets a circle. A bug walks along the wheel, starting at point . At every step of the process, the bug walks from one labeled point to an adjacent labeled point. Along the inner circle the bug only walks in a counterclockwise direction, and along the outer circle the bug only walks in a clockwise direction. For example, the bug could travel along the path , which has steps. Let be the number of paths with steps that begin and end at point . Find the remainder when is divided by
Solution 1
We divide this up into casework. The "directions" the bug can go are , , and . Let an signal going clockwise (because it has to be in the inner circle), an signal going counter-clockwise, and an switching between inner and outer circles. An example string of length fifteen that gets the bug back to would be . For the bug to end up back at , the difference between the number of 's and 's must be a multiple of .
- Case 1 -- There are 15 more 's than 's.
- There is clearly way for this to happen.
- Case 2 -- There are more 's than 's.
- We split this case up into several sub-cases based on the number of 's.
- Sub-case 1 -- There are 's and 's.
- Notice that the number of ways to order the 's and 's are independent assortments because the 's must be in the "even" spaces between 's (i.e. before the 1st , between the 2nd and 3rd 's, etc.), while the 's must be in the "odd" spaces.
- There are places to put the 's (after the 0th, 2nd, 4th, 6th, 8th, and 10th 's), and places to put the (0) 's. We use stars and bars to get an answer of
- Sub-case 2 -- There are 's, 's, and .
- Similarly and by using stars and bars, we get an amount of
- All the other sub-cases are similar, with a total of by Vandermonde's Identity.
- Case 3 -- There are more 's than 's.
- This case is similar to the other case.
- Here is an example of a sub-case for this case.
- Sub-case
- There are 's and 's.
- There are ways to do this.
- We can see now that the pattern is going to be .
So, the total number of ways is which gives as the answer.
Solution 2 (Official MAA)
Note that the set of sequences of moves the bug makes is in bijective correspondence with the set of strings of s and s of length , where denotes a move which is either counterclockwise or inward along a spoke and denotes a move which is either clockwise or outward along a spoke. (The proof of this basically boils down to the fact that which one depends on whether the bug is on the inner wheel or the outer wheel.) Now the condition that the bug ends at A implies that the difference between the number of s and the number of s is a multiple of , and so we must have either , , or s within the first fourteen moves with the last move being an . This implies the answer is
Solution 3 (Similar To Solution 2 But Modified To Clarify)
Let an signal a move that ends in the outer circle and signal a move that ends in the inner circle. Now notice that for a string of moves to end at , the difference between 's and 's in the string must be a multiple of .
's: Trivially case.
's and 's: Since the string has to end in an for the bug to land on , there are a total of ways to put 's in the first moves.
's and 's: Similarly there are ways to put 's in the first moves.
's: Impossible since the string has to end with an I.
This brings us an answer of .
-Solution by mathleticguyyyyyyyyy- ~Edited by ike.chen
Solution 4 (Recursion)
Define to be the number of sequences of length that ends at and similarly for the other spokes. Also let Apparently everytime the bug has choices for its next move, thus we have . Now we attempt to find a recursive formula for . Computing a few easy terms we have , , , , . Continuing the process yields .
~ Nafer
Solution 5 (Stars and Bars)
We approach this problem by casework for how many times the ant passes on a pair of spokes in and out (switching back and forth between the inner and outer circle). Since each point on the outer circle is connected to a point in the inner circle by a spoke, the points have a one-to-one correspondence. Therefore, we can rethink the scenario by switching directions back and forth in the inner circle (whenever we "go on a spoke" we change directions). The number of "moves" the ant makes in this inner circle would then be 15 minus the (number of times we switch directions) since each time we switch directions, it would act as going on a spoke in our original scenario. Also, note that we will have to end up at point A in the inner circle, so there will be an even number of "switches" that the ant moves from the outer and inner circles so we can think of it in pairs. We proceed as follows:
Case 1: 0 "pairs"
The ant would have to only be in the inner circle and go in one direction. Hence there is way.
Case 2: 1 "pair"
That means we can think about "moves" in the inner circle where we switch directions times (counterclockwise-clockwise-counterclockwise). Note that the number of counterclockwise and clockwise moves are equivalent modulo , which is the only way they can "cancel out". Let the number of counterclockwise moves be and clockwise moves be . Then, the only two feasible solutions for are and . Note that and can be , which is equivalent to switching and immediately switching back. Therefore, we use stars and bars to obtain ways for this case.
Case 3: 2 "pairs"
Using similar logic, we obtain and . Using stars and bars once again, we obtain ways for this case.
Case 4: 3 "pairs"
Again, the only solutions for are and . Using stars and bars, we obtain .
Case 5: 4 "pairs"
The only solutions are and . Using stars and bars, we obtain .
Case 6: 5 "pairs"
The only solutions are and . Using stars and bars, we obtain . Note that there are no more cases since and have to be equivalent modulo 5, which would need to make or negative, hence not possible. Adding all the cases, we get . Taking modulo , we obtain
The process of using stars and bars was the number of ways to group the counterclockwise and clockwise moves. For instance, if there are n "pairs" of switches, then based on the solutions for , we can partition into subsets (indistinguishable) and into subsets respectively. Then, we multiply both results. This is equivalent to putting objects into bins where a bin can have 0 objects since the subsets are indistinguishable. We use the formula for putting objects into bins. Plugging in and for and respectively helps us reach the conclusion for each case.
Also, we derived the solutions since they have to differ by a multiple of . The only feasible difference is . Therefore, is equivalent to the number of moves in the inner circle in our scenario. We can also switch to giving us two feasible solutions for each case.
-Magnetoninja
See Also
2018 AIME I (Problems • Answer Key • Resources) | ||
Preceded by Problem 9 |
Followed by Problem 11 | |
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.