2
$\begingroup$

Number of 3-digit numbers in which digit at hundred's place is greater than other two digits.

MY ATTEMPT:

Two cases are possible:

1) Ten's and Unit's digits are identical

$9+8+7+...1=45$ possibilities

2) Ten's and Unit's digits are not identical

$\frac{1}{3}{(9.9.8)}$ possibilities $=216$

Total $45+216=261$ but the real answer is $285$.Where did I go wrong?

$\endgroup$

2 Answers 2

3
$\begingroup$

Your answer for case (1) is right.

For case (2), you have undercounted for the following reason, and basically due to not being careful enough with $0$ digits. When you write $9 \cdot 9 \cdot 8$, you are counting three-digit numbers where first digit is not $0$, second digit is not first digit (but can be $0$), and third digit is not second or first digit (but can be $0$). Then you are dividing by $3$ because only one in 3 possibilities you counted actually had the first digit being the largest. BUT, this is not correct: if you take a number like $102$, then you did not count $012$ and $021$, so you can't divide by $3$.

Instead, for case (2) just write $10 \cdot 9 \cdot 8$ -- allow the first digit to be $0$ before you divide out by $3$. Note that $0$ will never be the largest digit, so you are only temporarily counting numbers with $0$ as the first digit before you divide by $3$ to get rid of possibilities where the first digit is not the greatest.

Your answer is then $$ 45 + \frac{10 \cdot 9 \cdot 8}{3} = 285, $$ as it should be.

Edit: More concisely, the answer is $$ \binom{10}{2} + 2 \binom{10}{3}. $$ We could pick two digits, in $\binom{10}{2}$ ways, and make the higher one the first digit and use two of the other digits. Or, we could pick three digits, in $\binom{10}{3}$ ways, and use the highest of the three as the first digit and then rearrange the other two in $2$ ways.

$\endgroup$
2
$\begingroup$

It doesn't matter if the tens and unit digits are different. Just that they are less than the hundreds digit. So for 9 any number 0-8 in tens or one digit is acceptable. 9X9 is 81. For 8 any number between 0-7 is acceptable. 8x8 is 64. working way down to 1 only 0 in both tens and ones works. That will sum to 285.

$\endgroup$

You must log in to answer this question.