How many four-digit numbers are there such that all three digits are different and the first digit and last digit is not zero?
Choose the correct choice from the following options:
A) 2128
B) 3458
C) 4207
D) 5184
E) 8104
All three digits are different and first digit is not zero.   So first digit can be filled in 8 ways.   And, second digit can be filled in 9 ways.   And, third digit can be filled in 9 ways.   And, fourth digit can be filled in 8 ways.   Total ways = 8*9*9*8= 
<gadget id="calculator">8*9*9*8</gadget>
<output>5_184</output>
5184   Hence option (5184).
<result>D</result>
How many four-digit numbers are there such that all three digits are different and the first digit and last digit is not zero?