Question 146038
How many seven-digit phone numbers can be formed if the first digit cannot be 0 and 

a.) repetition of digits is not permitted?

9*9*8*7*6*5*4=9*(9!/3!)

b.) if repetition of digits is permitted?

9*10*10*10*10*10*10=9*10^6