Question 934680
<pre>
From the 999999 positive integers less than 1 million,
we must subtract: 

the number of non-negative integers that 
consist only of the 9 digits 0,1,3,4,5,6,7,8,9:

To find the number to subtract we will do it as if we could include 0,
and then subtract 1

If we include 0, we can consider these all to be the 6-digit numbers: 

000000, 000001, 000003, 000004, ..., 999999.

There are 9 ways to choose the first digit, 9 ways to choose
the second digit, etc., and 9 ways to choose the sixth digit.

That's 9<sup>6</sup> = 531441, including 0, and 531440, not including 0.

Answer: 999999-531440 = 468559

Edwin</pre>