document.write( "Question 375018: How many 10 digit numbers can be formed if the first three digits are 407? \n" ); document.write( "
Algebra.Com's Answer #266721 by Edwin McCravy(20056)\"\" \"About 
You can put this solution on YOUR website!
How many 10 digit numbers can be formed if the first three digits are 407
\n" ); document.write( "
\r\n" );
document.write( "There are two methods.  I'll do both.\r\n" );
document.write( "\r\n" );
document.write( "----------------------------------------\r\n" );
document.write( "\r\n" );
document.write( "The largest 10 digit number that has the first three digits 407 is\r\n" );
document.write( "\r\n" );
document.write( "4079999999\r\n" );
document.write( "\r\n" );
document.write( "and that number is the the number of positive integers from 1 to 4079999999,\r\n" );
document.write( "inclusively.\r\n" );
document.write( "\r\n" );
document.write( "We wish to subtract from that the number of integers less than that number\r\n" );
document.write( "which do not have 407 as its first three digits.\r\n" );
document.write( "\r\n" );
document.write( "The largest 10-digit number that does not have its first three digits as 407 is\r\n" );
document.write( "\r\n" );
document.write( "4069999999\r\n" );
document.write( "\r\n" );
document.write( "and that is the number of positive integers from 1 to 4069999999, inclusively.\r\n" );
document.write( "\r\n" );
document.write( "So we subtract the second number from the first number:\r\n" );
document.write( "\r\n" );
document.write( " 4079999999\r\n" );
document.write( "-4069999999\r\n" );
document.write( "-----------\r\n" );
document.write( "   10000000\r\n" );
document.write( "\r\n" );
document.write( "------------------------------------\r\n" );
document.write( "\r\n" );
document.write( "Or we could do it as an arithmetic sequence:\r\n" );
document.write( "\r\n" );
document.write( "\"a%5B1%5D=4070000000\", \"a%5Bn%5D=4079999999\", \"d=1\"\r\n" );
document.write( "\r\n" );
document.write( "Then use the formula\r\n" );
document.write( "\r\n" );
document.write( "\"a%5Bn%5D=a%5B1%5D%2B%28n-1%29d\"\r\n" );
document.write( "\r\n" );
document.write( "\"4079999999=4070000000%2B%28n-1%29%281%29\"\r\n" );
document.write( "\r\n" );
document.write( "\"4079999999=4070000000%2Bn-1\"\r\n" );
document.write( "\r\n" );
document.write( "\"4079999999=4069999999%2Bn\"\r\n" );
document.write( "\r\n" );
document.write( "\"10000000=n\"\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" ); document.write( "
\n" );