Question 390865
<font face="Garamond" size="+2">


The smallest 5 digit number is 10000.  The largest is 99999.  99999 minus 10000 is 89999, but since you have a zero-based count, you have to add 1.  That means there are a total of 90000 different 5 digit numbers.


If you disallow zeros in all 5 digits, there are 9 ways to choose the first digit, 9 ways to choose the 2nd digit, and so on so there are *[tex \Large 9^5\ =\ 59049] 5 digit numbers that have no zeros at all.


Hence the difference between 90000 and 59049 is the number of 5 digit numbers with at least one zero.


John
*[tex \LARGE e^{i\pi} + 1 = 0]
My calculator said it, I believe it, that settles it
<div style="text-align:center"><a href="http://outcampaign.org/" target="_blank"><img src="http://cdn.cloudfiles.mosso.com/c116811/scarlet_A.png" border="0" alt="The Out Campaign: Scarlet Letter of Atheism" width="143" height="122" /></a></div>
</font>