If you have a three-digit phone number, the first and second digits have 100 possible values; for each of those the third digit has 10 possible values, giving 100*10 = 1000 possible numbers. So once we get to the 10th digit, we have 10^10 possible numbers.