Take a test Sign in 中文
← Exercise 557 →
Search
Go to
{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}” No results found for “{{searchWords}}” × back to contents
Contents · by chapter
Basic Counting (147)
Balls in Boxes (6)
Probability (142)

Exercises and their solutions

Exercise 557
How many sequences of $0$s and $1$s of length $15$ begin with a $0$, end with a $0$, contain no two consecutive $0$s, and contain no three consecutive $1$s?
← Back to Problem 557
Solution
  1. Write the sequence as $0B_10B_2\cdots B_k0$ with each $B_i\in\{1,11\}$. With $m$ blocks equal to $11$: $2k+1+m=15$, so $2k+m=14$, $m\le k$.
  2. $(k,m)=(7,0),(6,2),(5,4)$: $\binom70+\binom62+\binom54=1+15+5=\boxed{21}$.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year