Well, that depends on what rules you want to follow as far as formatting the number is concerned. Can the first digit be a zero? Can it be anything other than a 1?. That is, does it have to be a valid phone number?
Let's assume that the first digit can be anything. We can work the answer out as follows:
Total number of 8-digit numbers (with preceding 0's):
108
Total number of 8-digit numbers that have all unique digits:
10! / 2!
Therefore, the total number of 8-digit numbers - allowing preceding 0's - would be 108 - 10!/2! = 100000000 - 1814400 = 98185600
Now, if you don't want to allow a preceding zero, then your first digit can only be 1-9. So instead we get:
9 * 107 - 9 * (9! / 2!) = 90000000 - 1632960 = 88367040
763920
5 digit telephone numbers having at least one of their digits repeated is = total possible 5 digit telephone numbers - 5 digit telephone numbers without any digit being repeated. =(10*10*10*10*10)-(10*9*8*7*6) =100000-30240 =69760
6561
500
7
763920
5 digit telephone numbers having at least one of their digits repeated is = total possible 5 digit telephone numbers - 5 digit telephone numbers without any digit being repeated. =(10*10*10*10*10)-(10*9*8*7*6) =100000-30240 =69760
98,764
It is possible to create a 3-digit number, without repeated digits so the probability is 1.
6561
There are 5*4*3 = 60 such numbers.
757
With repeated digits, 43 = 64 Without repeated digits, 4*3*2 = 24
24
500
7
987,653