document.write( "Question 662208: How many numbers are there between 500 and 1000 which exactly one their digits as 8? \n" ); document.write( "
Algebra.Com's Answer #412044 by Edwin McCravy(20055)\"\" \"About 
You can put this solution on YOUR website!
\r\n" );
document.write( "580 through 998.\r\n" );
document.write( "\r\n" );
document.write( "We can choose 8 for the 1st digit in 1 way.\r\n" );
document.write( "We can choose the second digit as any of the 9 non-eights.\r\n" );
document.write( "We can choose the third digit as any of the 9 non-eights.\r\n" );
document.write( "\r\n" );
document.write( "That's 1󭘹  or 81 ways\r\n" );
document.write( "\r\n" );
document.write( "We can choose 8 for the 2nd digit in 1 way.\r\n" );
document.write( "We can choose the 1st digit as any of the 4 non-eight digits 5,6,7 or 9.\r\n" );
document.write( "We can choose the 3rd digit as any of the 9 non-eights.\r\n" );
document.write( "\r\n" );
document.write( "That's 1󫶝 or 36 ways\r\n" );
document.write( "\r\n" );
document.write( "We can choose 8 for the 3rd digit in 1 way.\r\n" );
document.write( "We can choose the 1st digit as any of the 4 non-eight digits 5,6,7 or 9.\r\n" );
document.write( "We can choose the 2nd digit as any of the 9 non-eights.\r\n" );
document.write( "\r\n" );
document.write( "That's 1󫶝 or 36 ways\r\n" );
document.write( "\r\n" );
document.write( "Total = 81+36+36 = 153 ways.\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );