Suppose a lazy phone company employee assigns telephone numbers by choosing random seven-digit numbers. In a town with 10,000 phones, what is the probability that two people receive the same number?
i = var(’i’) 1-product(1.-i/10^7,i,1,9999)
0.9932699132835016