Difference between revisions of "2012 AMC 12B Problems/Problem 12"
Username222 (talk | contribs) |
|||
Line 1: | Line 1: | ||
+ | How many sequences of zeros and ones of length 20 have all the zeros consecutive, or all the ones consecutive, or both? | ||
+ | |||
+ | <math>\textbf{(A)}\ 190\qquad\textbf{(B)}\ 192\qquad\textbf{(C)}\ 211\qquad\textbf{(D)}\ 380\qquad\textbf{(E)}\ 382</math> | ||
+ | |||
==Solution 1== | ==Solution 1== | ||
− | There are | + | There are <math>\binom{21}{2}</math> selections; however, we count these twice, therefore |
− | 2* | + | <math>2*\binom{21}{2} = 380</math>. The wording of the question implies D not E. |
MAA decided to accept both D and E, however. | MAA decided to accept both D and E, however. |
Revision as of 20:38, 18 February 2013
How many sequences of zeros and ones of length 20 have all the zeros consecutive, or all the ones consecutive, or both?
Solution 1
There are selections; however, we count these twice, therefore
. The wording of the question implies D not E.
MAA decided to accept both D and E, however.
Solution 2
Consider the 20 term sequence of 0's and 1's. Keeping all other terms 1, a sequence of consecutive 0's can be placed in locations. That is, there are 20 strings with 1 zero, 19 strings with 2 consecutive zeros, 18 strings with 3 consecutive zeros, ..., 1 string with 20 consecutive zeros. Hence there are strings with consecutive zeros. The same argument shows there are strings with consecutive 1's. This yields strings in all. However, we have counted twice those strings in which all the 1's and all the 0's are consecutive. These are the cases , , , ..., (of which there are 19) as well as the cases , , , ..., (of which there are 19 as well). This yields so that the answer is .
See Also
2012 AMC 12B (Problems • Answer Key • Resources) | |
Preceded by Problem 11 |
Followed by Problem 13 |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 • 16 • 17 • 18 • 19 • 20 • 21 • 22 • 23 • 24 • 25 | |
All AMC 12 Problems and Solutions |