document.write( "Question 919902: how many of the numbers between 1000 and 3000 begin or end with 2? \n" ); document.write( "
Algebra.Com's Answer #558056 by Edwin McCravy(20055)\"\" \"About 
You can put this solution on YOUR website!
\r\n" );
document.write( "Case 1:  The ones that begin with 2.\r\n" );
document.write( "They are the three digit integers 000 through 999 with a 2 in \r\n" );
document.write( "front.  So there are 1000 of those. \r\n" );
document.write( "\r\n" );
document.write( "Case 2:  The rest.\r\n" );
document.write( "Case 1 includes all the ones that begin and end in 2.  So we\r\n" );
document.write( "don't want to count those again.  So the ones that end with 2 \r\n" );
document.write( "but don't begin with 2 are the three digit numbers 100 through \r\n" );
document.write( "199 with a 2 placed on the end.  There are 100 of those.\r\n" );
document.write( "\r\n" );
document.write( "Answer: 1000 + 100 = 1100  \r\n" );
document.write( "\r\n" );
document.write( "Edwin

\n" ); document.write( "
\n" ); document.write( "
\n" );