Take a test Sign in 中文
← Exercise 481 →
Search
Go to
{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}” No results found for “{{searchWords}}” × back to contents
Contents · by chapter
Basic Counting (147)
Balls in Boxes (6)
Probability (142)

Exercises and their solutions

Exercise 481
Call a positive integer monotonous if it is a one-digit number or its digits, read left to right, are strictly increasing or strictly decreasing. How many monotonous positive integers have all their digits at most $5$?
← Back to Problem 481
Solution
  1. Increasing (including one-digit): nonempty subsets of $\{1,\dots,5\}$: $31$.
  2. Decreasing with at least two digits: subsets of $\{0,\dots,5\}$ of size at least $2$: $64-1-6=57$.
  3. Total: $\boxed{88}$.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year