2023 AMC 10B Problem 16

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

Difficulty rating: 1800

16.

Define an upno to be a positive integer of 22 or more digits where the digits are strictly increasing moving left to right. Similarly, define a downno to be a positive integer of 22 or more digits where the digits are strictly decreasing moving left to right. For instance, the number 258258 is an upno and 86208620 is a downno. Let UU equal the total number of upnos and let DD equal the total number of downnos. What is UD?|U - D|?

512512

1010

00

99

511511

Solution:

An upno is just a choice of at least 22 digits, written in increasing order. A 00 can never appear: it can't lead and can't follow a smaller digit. So the digits come from {1,,9},\{1, \ldots, 9\}, giving U=2919=502.U = 2^9 - 1 - 9 = 502. A downno can end in 0,0, so its digits are any subset of {0,,9}\{0, \ldots, 9\} of size 2,\ge 2, giving D=210110=1013.D = 2^{10} - 1 - 10 = 1013. So UD=5021013=511.|U - D| = |502 - 1013| = 511. Therefore, the answer is E.

Problem 16 in Other Years