2017 AMC 10B Problem 17

Below is the professionally curated solution for Problem 17 of the 2017 AMC 10B, from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2017 AMC 10B 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:subsetsdigitsbijection

Difficulty rating: 1660

17.

Call a positive integer monotonous if it is a one-digit number or its digits, when read from left to right, form either a strictly increasing or a strictly decreasing sequence. For example, 3,3, 23578,23578, and 987620987620 are monotonous, but 88,88, 7434,7434, and 2355723557 are not. How many monotonous positive integers are there?

10241024

15241524

15331533

15361536

20482048

Solution:

The strictly increasing positive integers correspond to the nonempty subsets of {1,2,3,4,5,6,7,8,9}\{1,2,3,4,5,6,7,8,9\}, written in increasing order. There are 291=5112^9-1=511 of these.

The strictly decreasing positive integers correspond to subsets of {0,1,2,3,4,5,6,7,8,9}\{0,1,2,3,4,5,6,7,8,9\}, written in decreasing order, except for the empty set and {0}\{0\}. There are 2102=10222^{10}-2=1022 of these.

The one-digit numbers 11 through 99 were counted in both groups, so the total is 511+10229=1524511+1022-9=1524. Thus, B is the correct answer.

Problem 17 in Other Years