document.write( "Question 205581: How many integers between 1 and 1000 (inclusive) do not contain the digits 8 or 9?\r
\n" ); document.write( "\n" ); document.write( "(A) 200 (B)488 (C)512 (D)521 (E)800
\n" ); document.write( "

Algebra.Com's Answer #155205 by RAY100(1637)\"\" \"About 
You can put this solution on YOUR website!
looking at a typical hundreds chart,
\n" ); document.write( ".
\n" ); document.write( "in each set of 0 to 10,,(1-10,,11-20,,21-30,,etc) we have one 8, and one nine, for a total of two.
\n" ); document.write( ".
\n" ); document.write( "this is times 8, for sets of 10 up to 80.
\n" ); document.write( ".
\n" ); document.write( "then the 80's and 90's, give 10 each.
\n" ); document.write( ".
\n" ); document.write( "for typical 100 set, 8*2 +10 +10 = 36, 8\"s or 9\"s
\n" ); document.write( ".
\n" ); document.write( "this happens for 8,,,,100 sets,,(0-100,100-200, ....700-800),,,or 8*36 = 288
\n" ); document.write( ".
\n" ); document.write( "all,,800's,,have an 8,,,or +100
\n" ); document.write( ".
\n" ); document.write( "and all 900's have a 9,,,or +100
\n" ); document.write( ".
\n" ); document.write( "This brings total to 288 +100+100=488,,,8\"s or 9\"s,,,up to 1000
\n" ); document.write( ".
\n" ); document.write( "total without is 1000 - 488 = 512,,,or answer (c)\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );