Assuming that leading zeros are not counted then:
The first digit can be one of {1, .. , 9} - a choice of 9.
For each of these the second can be one of the remaining 8 digits from {1, .., 9} plus the digit 0 - a choice of 9;
For each of these two choices, the third digit can be one of the 8 unchosen digits, etc.
Thus there are 9 × 9 × 8 × 7 × 6 = 27216 such numbers.
Chat with our AI personalities
9x9x8x7x6x5 = 81x56x30 = 136080
Using the digits of 1345678, there are 210 three digit numbers in which no digit is repeated.
If the digits can be repeated, then there are (5 x 5 x 5 x 5) = 625 different four-digit numbers.If the digits can't be repeated, then there are (5 x 4 x 3 x 2) = 120 different four-digit numbers.
9
625 if numbers can have leading 0s, 500 otherwise.