[Math] How many $7$-digit numbers are there with non-repeating digits

combinationscombinatoricsproof-writing

I have to find the amount of all $7$-digit numbers with non-repeating digits (every digit should be in the number only once). And also I have to find such a number with digits whose sum gives minimal possible number. I do not know how to approach that :/

Best Answer

Using the multiplication rule we get total number of 7 digit numbers as $9*9*8*7*6*5*4=544320$

The reasoning for this can be given as : For the first digit of the number we can select any of the nine of the nine digits from 1 to 9, for the second digit we can select any digit from 0 to 9 excluding the one which we have already placed in the first position . For the third place we have 8 options to choose from 0 to 9 excluding the digits we already placed on first and second positions. Hence the answer appears.

Also there will be $6*6*5*4*3*2*1=4320$ seven digit numbers having the digits $0,1,2,3,4,5,6$ giving minimum sum as 21. The reasoning is same as above.