If all the six digit numbers withare arranged in the increasing order, then the sum of the digits in the number is ________.
Solution
Core idea. A number with increasing digits is fixed by its set of digits.
Concept refresher. The number of ways to choose objects from different objects is
Independent choices multiply and separate cases add.
Picture the situation. Since the digits strictly increase and none is 0, each number corresponds to a choice of six different digits from 1 to 9, written in increasing order. In increasing order of the numbers, those with a smaller first digit come first, then those with a smaller second digit, and so on.
Approach. Count the blocks of numbers by their leading digits and locate the required position.
Step 1: Starting with 1
The other five digits are chosen from 2 to 9 in ways, so these are the first 56 numbers.
Step 2: Starting with 23
The next numbers start with 2, and first with 23; their other four digits are chosen from 4 to 9 in ways, filling positions 57 to 71.
Step 3: The required number
The next number is the first one starting with 24, which is 245678, and its digits add to .
Answer. 32
Sanity check. The number just before it is 236789, the last one starting with 23, and 245678 is the next larger number with increasing digits.
Common wrong answers
- 35: Stopping one number early, at 236789, gives a digit sum of 35.
Key takeaway
The trap. The last position of a block and the first of the next are easily confused.
How toppers think. They write down the running totals after each block of numbers.
Remember.
More on Combinations
- A box contains 5 blue, 6 yellow and 4 red balls. The number of ways, of drawing 8 balls containing at least…
- Two players A and B play a series of games of badminton. The player, who wins 5 games first, wins the…
- Let pn denote the total number of triangles formed by joining the vertices of an n -side regular polygon. If…
- All 59 on Combinations ›