Number of three-digit even numbers with no repeat condition.

combinatoricspermutations

I have to find the total number of three-digit even numbers where no digit can be repeated.

I tried and got answer $9 \times 9 \times 5$, but it is wrong. There is something weird with $2$ digits. I mean if an even number is there in the second place, then in the third place $4$ types of even can come, but if odd is there in the second place, then five even numbers can come in the third place. Thanks in advance.

Best Answer

The last digit can be determined by $5$ different ways. If it is $0$, then the two other digits are obtained in $9\times 8$ different cases.

If the last digit is something other than $0$, then the first digit can be determined by $8$ different cases (other than the last digit and $0$) and the middle one in $8$ different cases (excluding the first and last digits). Hence the total cases are $$9\times 8+4\times 8\times 8$$