2019 AMC 12B Problem 23

Below is the professionally curated solution for Problem 23 of the 2019 AMC 12B, 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 of the real AMC 8, AMC 10, AMC 12, and AIME problems in our complete solution collection are used with official legal permission of the Mathematical Association of America (MAA).

Concepts:partitions and compositionscombinationscasework

Difficulty rating: 2050

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

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)=1+35+28+1=65.\binom66+\binom74+\binom82+\binom90=1+35+28+1=65.

Thus, C is the correct answer.

Problem 23 in Other Years