2017 AMC 10B Problem 17
Problem 17 of 25IntermediateNumber TheoryCounting & Probability
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, and are monotonous, but and are not. How many monotonous positive integers are there?
Answer choices
Show solution
Solution
The strictly increasing positive integers correspond to the nonempty subsets of , written in increasing order. There are of these.
The strictly decreasing positive integers correspond to subsets of , written in decreasing order, except for the empty set and . There are of these.
The one-digit numbers through were counted in both groups, so the total is . Thus, B is the correct answer.