How many 4-digit numbers have no repeating digits?
If no zeros
9C4*4!
nCr(9,4)*4! = 3024
If there is a zero (zero cannot be the first digit)
9C3*3*3!
nCr(9,3)*3*3! = 1512
3014+1512 = 4526
1. {0,1,2,3,4,5,6,7,8,9}4-digit numbers:(104)∗4!=10!6!=7∗8∗9∗10=5040
2. {1,2,3,4,5,6,7,8,9}3-digit numbers:(93)∗3!=9!6!=7∗8∗9=504
5040−504⏟zero cannot be the first digit=4536