2019 AMC 12B Problem 23

Attempt Problem 23 of the 2019 AMC 12B below, then check your answer against the professionally curated solution from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2019 AMC 12B solutions, or check the answer key.

All problems are used with official legal permission of the Mathematical Association of America (MAA).

23.

How many sequences of 00s and 11s of length 1919 are there that begin with a 0,0, end with a 0,0, contain no two consecutive 00s, and contain no three consecutive 11s?

5555

6060

6565

7070

7575

Answer: C
Concepts:partitions and compositionscombinationscasework
Difficulty rating: 2050
Solution:

No two 00s are adjacent, so the 00s are separated by blocks of 11s, each of size 11 or 22 (never 33). If there are kk zeros, there are k1k-1 such blocks summing to 19k19-k ones.

The number of size-22 blocks is (19k)(k1)=202k,(19-k)-(k-1)=20-2k, which must satisfy 0202kk1,0\le20-2k\le k-1, i.e. 7k10.7\le k\le10.

Summing (k1202k)\binom{k-1}{20-2k} over k=7,8,9,10k=7,8,9,10 gives (66)+(74)+(82)+(90)\binom66+\binom74+\binom82+\binom90 =1+35+28+1=1+35+28+1 =65.=65.

Thus, C is the correct answer.

← Problem 22#22
Full Exam

Problem 23 in Other Years