2023 AMC 10B Problem 16

Attempt Problem 16 of the 2023 AMC 10B 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 2023 AMC 10B solutions, or check the answer key.

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

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 ∣U−D∣?|U - D|?
512512
1010
00
99
511511
Answer: E
Concepts:subsetsdigits
Small hint:
Each such number is just a choice of its set of digits, written in the required order
Big hint:
Increasing numbers use digits from {1,…,9};\{1, \ldots, 9\}; decreasing numbers may also include a trailing 00
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=29−1−9=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=210−1−10=1013.D = 2^{10} - 1 - 10 = 1013. So ∣U−D∣=∣502−1013∣=511.|U - D| = |502 - 1013| = 511. Therefore, the answer is E.
LIVE by Po-Shen Loh
Programs

LIVE Classes

Self-Paced Classes

Stars

Scholarship

About Us

Who Is Po-Shen Loh?

Email Contact

Newsletter

Jobs

Become a Star

For a more Thought Full world.

© 2026 Expii, Inc.